%n sh-utils %v 1.12 %c * %l * %b * %d * %f * %t sh-utils-1.12.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N sh-utils-1.12/doc/Makefile.in sh-utils-MCC/doc/Makefile.in --- sh-utils-1.12/doc/Makefile.in Fri Nov 4 06:52:12 1994 +++ sh-utils-MCC/doc/Makefile.in Fri Aug 16 08:27:10 1996 @@ -57,7 +57,4 @@ install: all installdirs - cd $(srcdir) && for file in sh-utils.info; do \ - $(INSTALL_DATA) $$file $(infodir)/$$file; \ - done uninstall: diff -ru2N sh-utils-1.12/lib/Makefile.in sh-utils-MCC/lib/Makefile.in --- sh-utils-1.12/lib/Makefile.in Fri Nov 4 06:52:36 1994 +++ sh-utils-MCC/lib/Makefile.in Fri Aug 16 08:16:55 1996 @@ -25,5 +25,5 @@ RANLIB = @RANLIB@ DEFS = @DEFS@ -CFLAGS = @CFLAGS@ +CFLAGS = -O6 -fomit-frame-pointer YACC = @YACC@ @@ -34,7 +34,7 @@ strtod.c strtol.c strtoul.c xgetcwd.c xgethostname.c xmalloc.c xstrdup.c -OBJECTS = regex.o getdate.o posixtm.o strftime.o \ -basename.o error.o full-write.o getline.o getopt.o getopt1.o getugroups.o \ -group-member.o long-options.o putenv.o safe-lstat.o safe-stat.o \ +OBJECTS = regex.o getdate.o posixtm.o \ +error.o full-write.o getline.o getugroups.o \ +group-member.o long-options.o safe-lstat.o safe-stat.o \ stripslash.o xgetcwd.o xgethostname.o xmalloc.o xstrdup.o @LIBOBJS@ @ALLOCA@ diff -ru2N sh-utils-1.12/man/Makefile.in sh-utils-MCC/man/Makefile.in --- sh-utils-1.12/man/Makefile.in Fri Nov 4 06:53:09 1994 +++ sh-utils-MCC/man/Makefile.in Fri Aug 16 08:20:57 1996 @@ -25,10 +25,10 @@ manext = 1 INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ +INSTALL_DATA = install -m 444 RM = rm # Files to install on all systems MANFILES1 = basename.1 date.1 dirname.1 echo.1 env.1 expr.1 false.1 groups.1 \ -hostname.1 id.1 logname.1 pathchk.1 printenv.1 printf.1 pwd.1 sleep.1 \ +id.1 logname.1 pathchk.1 printenv.1 printf.1 pwd.1 sleep.1 \ tee.1 test.1 true.1 tty.1 users.1 who.1 whoami.1 yes.1 @@ -59,4 +59,5 @@ $(INSTALL_DATA) $(srcdir)/$$f \ $(mandir)/`echo $$name|sed '$(transform)'`$(manext); \ + gzip -9f /usr/man/man1/$$f; \ done @if test `../src/id -u` = 0; then \ @@ -64,4 +65,5 @@ $(INSTALL_DATA) $(srcdir)/su.1 \ $(mandir)/`echo su|sed '$(transform)'`.$(manext); \ + gzip -9f /usr/man/man1/su.1; \ else echo WARNING: you are not root, so not installing su.1; fi diff -ru2N sh-utils-1.12/src/Makefile.in sh-utils-MCC/src/Makefile.in --- sh-utils-1.12/src/Makefile.in Fri Nov 4 06:53:32 1994 +++ sh-utils-MCC/src/Makefile.in Fri Aug 16 08:22:48 1996 @@ -27,9 +27,9 @@ INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_PROGRAM = install -s -m 555 CC = @CC@ DEFS = @DEFS@ LIBS = @LIBS@ -CFLAGS = @CFLAGS@ +CFLAGS = -O6 -fomit-frame-pointer LDFLAGS = @LDFLAGS@ RM = rm @@ -47,5 +47,5 @@ false.sh true.sh version.h -PROGS = basename date dirname echo env expr false groups hostname id logname \ +PROGS = basename date dirname echo env expr false groups id logname \ pathchk printenv printf pwd sleep tee test true tty users who whoami yes @PROGS@ @@ -79,5 +79,5 @@ $(INSTALL_PROGRAM) su $(bindir)/$(binprefix)su; \ chown root $(bindir)/$(binprefix)su; \ - chmod 4755 $(bindir)/$(binprefix)su; \ + chmod u+s $(bindir)/$(binprefix)su; \ else echo WARNING: you are not root, so not installing su; fi diff -ru2N sh-utils-1.12/src/su.c sh-utils-MCC/src/su.c --- sh-utils-1.12/src/su.c Tue Oct 11 02:47:02 1994 +++ sh-utils-MCC/src/su.c Fri Aug 16 08:25:13 1996 @@ -124,8 +124,8 @@ /* The default PATH for simulated logins to non-superuser accounts. */ -#define DEFAULT_LOGIN_PATH ":/usr/ucb:/bin:/usr/bin" +#define DEFAULT_LOGIN_PATH "/usr/local/bin:/opt/bin:/usr/bin/X11:/usr/bin:/bin" /* The default PATH for simulated logins to superuser accounts. */ -#define DEFAULT_ROOT_LOGIN_PATH "/usr/ucb:/bin:/usr/bin:/etc" +#define DEFAULT_ROOT_LOGIN_PATH "/bin:/usr/bin:/opt/bin:/usr/sbin:/opt/sbin:/sbin:/usr/bin/X11" /* The shell to run if none is given in the user's passwd entry. */ ENDPATCH ./configure --prefix=/usr make * make install * (cd /usr/bin;mv -f date echo false pwd stty su true uname /bin) * rmdir /usr/info %%