home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / cpio-2.3-src.lha / src / diffs / cpio-2.3.diffs
Encoding:
Text File  |  1994-02-23  |  6.8 KB  |  233 lines

  1. diff -rc cpio-2.3-fsf/INSTALL cpio-2.3-amiga/INSTALL
  2. *** cpio-2.3-fsf/INSTALL    Fri May 14 23:31:53 1993
  3. --- cpio-2.3-amiga/INSTALL    Wed Feb 23 11:05:19 1994
  4. ***************
  5. *** 33,40 ****
  6.   DIR is the directory that contains the source code.
  7.   
  8.   By default, `make install' will install the package's files in
  9. ! /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify an
  10. ! installation prefix other than /usr/local by giving `configure' the option
  11.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  12.   for the `prefix' variable when you run `make', e.g.,
  13.       make prefix=/usr/gnu
  14. --- 33,40 ----
  15.   DIR is the directory that contains the source code.
  16.   
  17.   By default, `make install' will install the package's files in
  18. ! /gnu/bin, /gnu/lib, /gnu/man, etc.  You can specify an
  19. ! installation prefix other than /gnu by giving `configure' the option
  20.   `--prefix=PATH'.  Alternately, you can do so by consistently giving a value
  21.   for the `prefix' variable when you run `make', e.g.,
  22.       make prefix=/usr/gnu
  23. diff -rc cpio-2.3-fsf/Makefile.in cpio-2.3-amiga/Makefile.in
  24. *** cpio-2.3-fsf/Makefile.in    Mon Jul  5 19:47:57 1993
  25. --- cpio-2.3-amiga/Makefile.in    Wed Feb 23 12:27:22 1994
  26. ***************
  27. *** 59,68 ****
  28.   # make it empty.
  29.   RTAPELIB = @RTAPELIB@
  30.   
  31. ! CFLAGS = -g
  32. ! LDFLAGS = -g
  33.   
  34. ! prefix = /usr/local
  35.   exec_prefix = $(prefix)
  36.   
  37.   # Prefix for each installed program, normally empty or `g'.
  38. --- 59,68 ----
  39.   # make it empty.
  40.   RTAPELIB = @RTAPELIB@
  41.   
  42. ! CFLAGS = -O2
  43. ! LDFLAGS =
  44.   
  45. ! prefix = /gnu
  46.   exec_prefix = $(prefix)
  47.   
  48.   # Prefix for each installed program, normally empty or `g'.
  49. ***************
  50. *** 74,80 ****
  51.   bindir = $(exec_prefix)/bin
  52.   
  53.   # Where to put the rmt executable.
  54. ! libdir = /etc
  55.   
  56.   # Where to put the Unix-style manual pages.
  57.   mandir = $(prefix)/man/man1
  58. --- 74,80 ----
  59.   bindir = $(exec_prefix)/bin
  60.   
  61.   # Where to put the rmt executable.
  62. ! libdir = /gnu/etc
  63.   
  64.   # Where to put the Unix-style manual pages.
  65.   mandir = $(prefix)/man/man1
  66. diff -rc cpio-2.3-fsf/configure cpio-2.3-amiga/configure
  67. *** cpio-2.3-fsf/configure    Mon Jul  5 19:48:43 1993
  68. --- cpio-2.3-amiga/configure    Wed Feb 23 12:28:22 1994
  69. ***************
  70. *** 95,101 ****
  71.     srcdirdefaulted=yes
  72.     # Try the directory containing this script, then `..'.
  73.     prog=$0
  74. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  75.     test "X$confdir" = "X$prog" && confdir=.
  76.     srcdir=$confdir
  77.     if test ! -r $srcdir/$unique_file; then
  78. --- 95,101 ----
  79.     srcdirdefaulted=yes
  80.     # Try the directory containing this script, then `..'.
  81.     prog=$0
  82. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  83.     test "X$confdir" = "X$prog" && confdir=.
  84.     srcdir=$confdir
  85.     if test ! -r $srcdir/$unique_file; then
  86. ***************
  87. *** 290,296 ****
  88.   
  89.   echo checking for POSIXized ISC
  90.   if test -d /etc/conf/kconfig.d &&
  91. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  92.   then
  93.     ISC=1 # If later tests want to check for ISC.
  94.     {
  95. --- 290,296 ----
  96.   
  97.   echo checking for POSIXized ISC
  98.   if test -d /etc/conf/kconfig.d &&
  99. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  100.   then
  101.     ISC=1 # If later tests want to check for ISC.
  102.     {
  103. ***************
  104. *** 403,409 ****
  105.   #include <sys/socket.h>
  106.   EOF
  107.   err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  108. ! if test -z "$err"; then
  109.     PROGS="$PROGS rmt"
  110.   fi
  111.   rm -f conftest*
  112. --- 403,411 ----
  113.   #include <sys/socket.h>
  114.   EOF
  115.   err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  116. ! # The rmt executable doesn't currently build on AmigaDOS because 
  117. ! # setsockopt() is missing, so disable building it.  -fnf
  118. ! if false && test -z "$err"; then
  119.     PROGS="$PROGS rmt"
  120.   fi
  121.   rm -f conftest*
  122. ***************
  123. *** 411,418 ****
  124.   
  125.   test -n "$have_mtio" && PROGS="$PROGS mt"
  126.   echo checking for remote shell
  127. ! if test -f /usr/ucb/rsh || test -f /usr/bin/remsh || test -f /usr/bin/rsh ||
  128. !   test -f /usr/bsd/rsh || test -f /usr/bin/nsh; then
  129.     RTAPELIB=rtapelib.o
  130.   else
  131.     echo checking for netdb.h
  132. --- 413,419 ----
  133.   
  134.   test -n "$have_mtio" && PROGS="$PROGS mt"
  135.   echo checking for remote shell
  136. ! if test -f /gnu/bin/remsh || test -f /gnu/bin/rsh || test -f /gnu/bin/nsh; then
  137.     RTAPELIB=rtapelib.o
  138.   else
  139.     echo checking for netdb.h
  140. ***************
  141. *** 420,426 ****
  142.   #include <netdb.h>
  143.   EOF
  144.   err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  145. ! if test -z "$err"; then
  146.     {
  147.   test -n "$verbose" && \
  148.   echo '    defining' HAVE_NETDB_H
  149. --- 421,429 ----
  150.   #include <netdb.h>
  151.   EOF
  152.   err=`eval "($CPP \$DEFS conftest.c >/dev/null) 2>&1"`
  153. ! # On the Amiga this currently succeeds but the link fails because it
  154. ! # doesn't find getservbyname() and _rexec().  So hack it away...   -fnf
  155. ! if false && test -z "$err"; then
  156.     {
  157.   test -n "$verbose" && \
  158.   echo '    defining' HAVE_NETDB_H
  159. diff -rc cpio-2.3-fsf/mt.1 cpio-2.3-amiga/mt.1
  160. *** cpio-2.3-fsf/mt.1    Tue Jun 29 18:25:47 1993
  161. --- cpio-2.3-amiga/mt.1    Wed Feb 23 11:05:34 1994
  162. ***************
  163. *** 16,22 ****
  164.   drive.
  165.   .PP
  166.   The default tape device to operate on is taken from the file
  167. ! .I /usr/include/sys/mtio.h
  168.   when
  169.   .B mt
  170.   is compiled.  It can be overridden by giving a device file name in
  171. --- 16,22 ----
  172.   drive.
  173.   .PP
  174.   The default tape device to operate on is taken from the file
  175. ! .I /gnu/include/sys/mtio.h
  176.   when
  177.   .B mt
  178.   is compiled.  It can be overridden by giving a device file name in
  179. diff -rc cpio-2.3-fsf/rtapelib.c cpio-2.3-amiga/rtapelib.c
  180. *** cpio-2.3-fsf/rtapelib.c    Fri Sep 18 18:45:37 1992
  181. --- cpio-2.3-amiga/rtapelib.c    Wed Feb 23 11:06:51 1994
  182. ***************
  183. *** 372,399 ****
  184.   
  185.         if (*login)
  186.       {
  187. !       execl ("/usr/ucb/rsh", "rsh", system, "-l", login,
  188.            "/etc/rmt", (char *) 0);
  189. !       execl ("/usr/bin/remsh", "remsh", system, "-l", login,
  190.            "/etc/rmt", (char *) 0);
  191. !       execl ("/usr/bin/rsh", "rsh", system, "-l", login,
  192. !          "/etc/rmt", (char *) 0);
  193. !       execl ("/usr/bsd/rsh", "rsh", system, "-l", login,
  194. !          "/etc/rmt", (char *) 0);
  195. !       execl ("/usr/bin/nsh", "nsh", system, "-l", login,
  196.            "/etc/rmt", (char *) 0);
  197.       }
  198.         else
  199.       {
  200. !       execl ("/usr/ucb/rsh", "rsh", system,
  201. !          "/etc/rmt", (char *) 0);
  202. !       execl ("/usr/bin/remsh", "remsh", system,
  203. !          "/etc/rmt", (char *) 0);
  204. !       execl ("/usr/bin/rsh", "rsh", system,
  205.            "/etc/rmt", (char *) 0);
  206. !       execl ("/usr/bsd/rsh", "rsh", system,
  207.            "/etc/rmt", (char *) 0);
  208. !       execl ("/usr/bin/nsh", "nsh", system,
  209.            "/etc/rmt", (char *) 0);
  210.       }
  211.   
  212. --- 372,391 ----
  213.   
  214.         if (*login)
  215.       {
  216. !       execl ("/gnu/bin/remsh", "remsh", system, "-l", login,
  217.            "/etc/rmt", (char *) 0);
  218. !       execl ("/gnu/bin/rsh", "rsh", system, "-l", login,
  219.            "/etc/rmt", (char *) 0);
  220. !       execl ("/gnu/bin/nsh", "nsh", system, "-l", login,
  221.            "/etc/rmt", (char *) 0);
  222.       }
  223.         else
  224.       {
  225. !       execl ("/gnu/bin/remsh", "remsh", system,
  226.            "/etc/rmt", (char *) 0);
  227. !       execl ("/gnu/bin/rsh", "rsh", system,
  228.            "/etc/rmt", (char *) 0);
  229. !       execl ("/gnu/bin/nsh", "nsh", system,
  230.            "/etc/rmt", (char *) 0);
  231.       }
  232.   
  233.