home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
gnu
/
shellutils-1.9.4-src.lha
/
src
/
diffs
/
shellutils-1.9.4.diffs
Wrap
Text File
|
1994-02-21
|
17KB
|
598 lines
diff -rc shellutils-1.9.4-fsf/INSTALL shellutils-1.9.4-amiga/INSTALL
*** shellutils-1.9.4-fsf/INSTALL Wed Sep 15 23:05:10 1993
--- shellutils-1.9.4-amiga/INSTALL Mon Feb 21 21:58:46 1994
***************
*** 35,42 ****
where DIR is the directory that contains the source code.
By default, `make install' will install the package's files in
! `/usr/local/bin', `/usr/local/man', etc. You can specify an
! installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'. Alternately, you can do so by consistently
giving a value for the `prefix' variable when you run `make', e.g.,
make prefix=/usr/gnu
--- 35,42 ----
where DIR is the directory that contains the source code.
By default, `make install' will install the package's files in
! `/gnu/bin', `/gnu/man', etc. You can specify an
! installation prefix other than `/gnu' by giving `configure' the
option `--prefix=PATH'. Alternately, you can do so by consistently
giving a value for the `prefix' variable when you run `make', e.g.,
make prefix=/usr/gnu
diff -rc shellutils-1.9.4-fsf/Makefile.in shellutils-1.9.4-amiga/Makefile.in
*** shellutils-1.9.4-fsf/Makefile.in Sun Feb 20 01:11:56 1994
--- shellutils-1.9.4-amiga/Makefile.in Mon Feb 21 22:01:24 1994
***************
*** 25,31 ****
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
--- 25,31 ----
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /gnu
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
***************
*** 38,45 ****
NEWS configure configure.in config.h.in acconfig.h mkinstalldirs install.sh
# Redundant stuff for making only selected programs.
! PROGS = basename date dirname echo env expr false groups id logname \
! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
# Subdirectories to run make in for the primary targets.
SUBDIRS = lib src man
--- 38,45 ----
NEWS configure configure.in config.h.in acconfig.h mkinstalldirs install.sh
# Redundant stuff for making only selected programs.
! PROGS = basename date dirname echo env expr id logname \
! pathchk printenv printf sleep tee test whoami yes @PROGS@
# Subdirectories to run make in for the primary targets.
SUBDIRS = lib src man
***************
*** 57,63 ****
check:
installcheck:
! $(PROGS) su:
cd lib; $(MAKE) all
cd src; $(MAKE) $@
--- 57,63 ----
check:
installcheck:
! $(PROGS):
cd lib; $(MAKE) all
cd src; $(MAKE) $@
diff -rc shellutils-1.9.4-fsf/configure shellutils-1.9.4-amiga/configure
*** shellutils-1.9.4-fsf/configure Thu Feb 10 14:59:49 1994
--- shellutils-1.9.4-amiga/configure Mon Feb 21 22:17:54 1994
***************
*** 102,108 ****
srcdirdefaulted=yes
# Try the directory containing this script, then `..'.
prog=$0
! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
test "X$confdir" = "X$prog" && confdir=.
srcdir=$confdir
if test ! -r $srcdir/$unique_file; then
--- 102,108 ----
srcdirdefaulted=yes
# Try the directory containing this script, then `..'.
prog=$0
! confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
test "X$confdir" = "X$prog" && confdir=.
srcdir=$confdir
if test ! -r $srcdir/$unique_file; then
***************
*** 131,136 ****
--- 131,138 ----
# We want these before the checks, so the checks can modify their values.
+ CFLAGS="-O2" #HACK (fnf)
+ LDFLAGS="" #HACK (fnf)
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
if test -z "$CC"; then
***************
*** 415,421 ****
echo checking for POSIXized ISC
if test -d /etc/conf/kconfig.d &&
! grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
ISC=1 # If later tests want to check for ISC.
--- 417,423 ----
echo checking for POSIXized ISC
if test -d /etc/conf/kconfig.d &&
! grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
then
ISC=1 # If later tests want to check for ISC.
***************
*** 1001,1007 ****
EOF
if eval $compile; then
rm -rf conftest*
! PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
fi
rm -f conftest*
--- 1003,1009 ----
EOF
if eval $compile; then
rm -rf conftest*
! PROGS="$PROGS nice" MAN="$MAN nice.1"
fi
rm -f conftest*
***************
*** 1029,1035 ****
\${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
"
}
! PROGS="$PROGS nice nohup" MAN="$MAN nice.1 nohup.1"
fi
rm -f conftest*
--- 1031,1037 ----
\${SEDeA}NICE_PRIORITY\${SEDeB}NICE_PRIORITY\${SEDeC}1\${SEDeD}
"
}
! PROGS="$PROGS nice" MAN="$MAN nice.1"
fi
rm -f conftest*
***************
*** 1139,1145 ****
rm -f conftest*
if test -n "$have_termios"; then
! PROGS="$PROGS stty" MAN="$MAN stty.1"
echo checking for c_line in struct termios
cat > conftest.c <<EOF
#include "confdefs.h"
--- 1141,1147 ----
rm -f conftest*
if test -n "$have_termios"; then
! PROGS="$PROGS" MAN="$MAN"
echo checking for c_line in struct termios
cat > conftest.c <<EOF
#include "confdefs.h"
diff -rc shellutils-1.9.4-fsf/lib/getusershell.c shellutils-1.9.4-amiga/lib/getusershell.c
*** shellutils-1.9.4-fsf/lib/getusershell.c Sun Oct 17 03:38:20 1993
--- shellutils-1.9.4-amiga/lib/getusershell.c Mon Feb 21 21:59:58 1994
***************
*** 50,56 ****
/* List of shells to use if the shells file is missing. */
static char const* const default_shells[] =
{
! "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL
};
/* Index of the next shell in `default_shells' to return.
--- 50,56 ----
/* List of shells to use if the shells file is missing. */
static char const* const default_shells[] =
{
! "/bin/sh", "/bin/ksh", "/bin/bash", NULL
};
/* Index of the next shell in `default_shells' to return.
diff -rc shellutils-1.9.4-fsf/man/Makefile.in shellutils-1.9.4-amiga/man/Makefile.in
*** shellutils-1.9.4-fsf/man/Makefile.in Tue Feb 1 14:14:23 1994
--- shellutils-1.9.4-amiga/man/Makefile.in Mon Feb 21 22:00:10 1994
***************
*** 20,26 ****
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /usr/local
exec_prefix = $(prefix)
mandir = $(prefix)/man/man1
manprefix = $(binprefix)
--- 20,26 ----
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /gnu
exec_prefix = $(prefix)
mandir = $(prefix)/man/man1
manprefix = $(binprefix)
diff -rc shellutils-1.9.4-fsf/src/Makefile.in shellutils-1.9.4-amiga/src/Makefile.in
*** shellutils-1.9.4-fsf/src/Makefile.in Mon Feb 14 21:42:07 1994
--- shellutils-1.9.4-amiga/src/Makefile.in Mon Feb 21 22:01:18 1994
***************
*** 20,26 ****
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
binprefix =
--- 20,26 ----
srcdir = @srcdir@
VPATH = @srcdir@
! prefix = /gnu
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
binprefix =
***************
*** 44,53 ****
DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
false.sh true.sh version.h long-options.h
! PROGS = basename date dirname echo env expr false groups id logname \
! pathchk printenv printf sleep tee test true tty who whoami yes @PROGS@
! all: $(PROGS) su
incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
.c.o:
--- 44,53 ----
DISTFILES = Makefile.in system.h $(SOURCES) groups.sh nohup.sh \
false.sh true.sh version.h long-options.h
! PROGS = basename date dirname echo env expr id logname \
! pathchk printenv printf sleep tee test whoami yes @PROGS@
! all: $(PROGS)
incl = -I.. -I$(srcdir) -I$(srcdir)/../lib
.c.o:
***************
*** 58,64 ****
$(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; \
done
rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
! @if test `./id -u` = 0; then \
echo you are root, so installing su; \
$(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \
chown root $(bindir)/$(binprefix)su; \
--- 58,64 ----
$(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$$f; \
done
rm -f $(bindir)/'['; ln $(bindir)/$(binprefix)test $(bindir)/'['
! @if false; then