source:
patches/coreutils-5.97-suppress_uptime_kill_su-1.patch@
0c3999a
Last change on this file since 0c3999a was f74ae22, checked in by , 18 years ago | |
---|---|
|
|
File size: 13.2 KB |
-
coreutils-5.94
Submitted By: Matthew Burgess <matthew at linuxfromscratch dot org> Date: 2006-03-15 Initial Package Version: 5.94 Origin: original suppress_hotname_uptame_kill_su patch (Robert Connolly) Upstream Status: N/A Description: This patch supresses the building of uptime, and kill. The su command is built so the testsuite can run, use './src/su', but it will not be installed. Also see: http://www.linuxfromscratch.org/patches/downloads/coreutils/ coreutils-5.0-dupes-2.patch diff -Naur coreutils-5.94.orig/AUTHORS coreutils-5.94/AUTHORS
old new 34 34 hostname: Jim Meyering 35 35 id: Arnold Robbins, David MacKenzie 36 36 join: Mike Haertel 37 kill: Paul Eggert38 37 link: Michael Stone 39 38 ln: Mike Parker, David MacKenzie 40 39 logname: FIXME: unknown … … 83 82 unexpand: David MacKenzie 84 83 uniq: Richard Stallman, David MacKenzie 85 84 unlink: Michael Stone 86 uptime: Joseph Arceneaux, David MacKenzie, Kaveh Ghazi87 85 users: Joseph Arceneaux, David MacKenzie 88 86 vdir: Richard Stallman, David MacKenzie 89 87 wc: Paul Rubin, David MacKenzie -
coreutils-5.94
diff -Naur coreutils-5.94.orig/Makefile.in coreutils-5.94/Makefile.in
old new 148 148 $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \ 149 149 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 150 150 $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \ 151 $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4\151 $(top_srcdir)/m4/unlocked-io.m4 \ 152 152 $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \ 153 153 $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \ 154 154 $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \ -
coreutils-5.94
diff -Naur coreutils-5.94.orig/README coreutils-5.94/README
old new 9 9 10 10 [ basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd 11 11 df dir dircolors dirname du echo env expand expr factor false fmt fold 12 ginstall groups head hostid hostname id join killlink ln logname ls12 ginstall groups head hostid hostname id join link ln logname ls 13 13 md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr 14 14 printenv printf ptx pwd readlink rm rmdir seq sha1sum shred sleep sort 15 15 split stat stty su sum sync tac tail tee test touch tr true tsort tty 16 uname unexpand uniq unlink u ptime users vdir wc who whoami yes16 uname unexpand uniq unlink users vdir wc who whoami yes 17 17 18 18 See the file NEWS for a list of major changes in the current release. 19 19 -
coreutils-5.94
diff -Naur coreutils-5.94.orig/configure coreutils-5.94/configure
old new 50418 50418 { echo "$as_me:$LINENO: result: $gnulib_cv_have_boot_time" >&5 50419 50419 echo "${ECHO_T}$gnulib_cv_have_boot_time" >&6; } 50420 50420 if test $gnulib_cv_have_boot_time = yes; then 50421 OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime\$(EXEEXT)" 50422 MAN="$MAN uptime.1" 50421 echo "uptime is suppressed" 50423 50422 fi 50424 50423 50425 50424 -
man/Makefile.in
diff -Naur coreutils-5.94.orig/man/Makefile.in coreutils-5.94/man/Makefile.in
old new 142 142 $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \ 143 143 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 144 144 $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \ 145 $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4\145 $(top_srcdir)/m4/unlocked-io.m4 \ 146 146 $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \ 147 147 $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \ 148 148 $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \ … … 303 303 basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \ 304 304 cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \ 305 305 echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 \ 306 head.1 hostid.1 hostname.1 id.1 install.1 join.1 kill.1\306 head.1 hostid.1 hostname.1 id.1 install.1 join.1 \ 307 307 link.1 ln.1 logname.1 \ 308 308 ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \ 309 309 paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \ 310 310 rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \ 311 su .1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \312 tty.1 uname.1 unexpand.1 uniq.1 unlink.1 u ptime.1 users.1 vdir.1 wc.1 \311 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \ 312 tty.1 uname.1 unexpand.1 uniq.1 unlink.1 users.1 vdir.1 wc.1 \ 313 313 who.1 whoami.1 yes.1 314 314 315 315 man_aux = $(dist_man_MANS:.1=.x) … … 575 575 id.1: $(common_dep) $(srcdir)/id.x ../src/id.c 576 576 install.1: $(common_dep) $(srcdir)/install.x ../src/install.c 577 577 join.1: $(common_dep) $(srcdir)/join.x ../src/join.c 578 kill.1: $(common_dep) $(srcdir)/kill.x ../src/kill.c579 578 link.1: $(common_dep) $(srcdir)/link.x ../src/link.c 580 579 ln.1: $(common_dep) $(srcdir)/ln.x ../src/ln.c 581 580 logname.1: $(common_dep) $(srcdir)/logname.x ../src/logname.c … … 608 607 split.1: $(common_dep) $(srcdir)/split.x ../src/split.c 609 608 stat.1: $(common_dep) $(srcdir)/stat.x ../src/stat.c 610 609 stty.1: $(common_dep) $(srcdir)/stty.x ../src/stty.c 611 su.1: $(common_dep) $(srcdir)/su.x ../src/su.c612 610 sum.1: $(common_dep) $(srcdir)/sum.x ../src/sum.c 613 611 sync.1: $(common_dep) $(srcdir)/sync.x ../src/sync.c 614 612 tac.1: $(common_dep) $(srcdir)/tac.x ../src/tac.c … … 624 622 unexpand.1: $(common_dep) $(srcdir)/unexpand.x ../src/unexpand.c 625 623 uniq.1: $(common_dep) $(srcdir)/uniq.x ../src/uniq.c 626 624 unlink.1: $(common_dep) $(srcdir)/unlink.x ../src/unlink.c 627 uptime.1: $(common_dep) $(srcdir)/uptime.x ../src/uptime.c628 625 users.1: $(common_dep) $(srcdir)/users.x ../src/users.c 629 626 vdir.1: $(common_dep) $(srcdir)/vdir.x ../src/ls.c 630 627 wc.1: $(common_dep) $(srcdir)/wc.x ../src/wc.c … … 656 653 check-x-vs-1: 657 654 PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \ 658 655 t=ls-files.$$$$; \ 659 (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\656 (cd $(srcdir) && ls -1 *.x) | grep -v -e 'kill.x' -e 'su.x' -e 'uptime.x' | sed 's/\.x$$//' | $(ASSORT) > $$t;\ 660 657 echo $(dist_man_MANS) | tr -s ' ' '\n' | sed 's/\.1$$//' \ 661 658 | $(ASSORT) | diff - $$t || { rm $$t; exit 1; }; \ 662 659 rm $$t -
src/Makefile.in
diff -Naur coreutils-5.94.orig/src/Makefile.in coreutils-5.94/src/Makefile.in
old new 39 39 host_triplet = @host@ 40 40 EXTRA_PROGRAMS = chroot$(EXEEXT) df$(EXEEXT) hostid$(EXEEXT) \ 41 41 nice$(EXEEXT) pinky$(EXEEXT) stty$(EXEEXT) su$(EXEEXT) \ 42 uname$(EXEEXT) u ptime$(EXEEXT) users$(EXEEXT) who$(EXEEXT)42 uname$(EXEEXT) users$(EXEEXT) who$(EXEEXT) 43 43 bin_PROGRAMS = [$(EXEEXT) chgrp$(EXEEXT) chown$(EXEEXT) chmod$(EXEEXT) \ 44 44 cp$(EXEEXT) dd$(EXEEXT) dircolors$(EXEEXT) du$(EXEEXT) \ 45 45 ginstall$(EXEEXT) link$(EXEEXT) ln$(EXEEXT) dir$(EXEEXT) \ … … 56 56 uniq$(EXEEXT) wc$(EXEEXT) basename$(EXEEXT) date$(EXEEXT) \ 57 57 dirname$(EXEEXT) echo$(EXEEXT) env$(EXEEXT) expr$(EXEEXT) \ 58 58 factor$(EXEEXT) false$(EXEEXT) hostname$(EXEEXT) id$(EXEEXT) \ 59 kill$(EXEEXT)logname$(EXEEXT) pathchk$(EXEEXT) \59 logname$(EXEEXT) pathchk$(EXEEXT) \ 60 60 printenv$(EXEEXT) printf$(EXEEXT) pwd$(EXEEXT) seq$(EXEEXT) \ 61 61 sleep$(EXEEXT) tee$(EXEEXT) test$(EXEEXT) true$(EXEEXT) \ 62 62 tty$(EXEEXT) whoami$(EXEEXT) yes$(EXEEXT) $(am__EXEEXT_1) \ … … 169 169 $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \ 170 170 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 171 171 $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \ 172 $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4\172 $(top_srcdir)/m4/unlocked-io.m4 \ 173 173 $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \ 174 174 $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \ 175 175 $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \ … … 350 350 join_LDADD = $(LDADD) 351 351 join_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \ 352 352 ../lib/libcoreutils.a 353 kill_SOURCES = kill.c354 kill_OBJECTS = kill.$(OBJEXT)355 kill_LDADD = $(LDADD)356 kill_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \357 ../lib/libcoreutils.a358 353 link_SOURCES = link.c 359 354 link_OBJECTS = link.$(OBJEXT) 360 355 link_LDADD = $(LDADD) … … 577 572 unlink_LDADD = $(LDADD) 578 573 unlink_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \ 579 574 ../lib/libcoreutils.a 580 uptime_SOURCES = uptime.c581 uptime_OBJECTS = uptime.$(OBJEXT)582 uptime_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)583 575 users_SOURCES = users.c 584 576 users_OBJECTS = users.$(OBJEXT) 585 577 users_LDADD = $(LDADD) … … 622 614 csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \ 623 615 dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \ 624 616 fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \ 625 id.c join.c kill.clink.c ln.c logname.c $(ls_SOURCES) \617 id.c join.c link.c ln.c logname.c $(ls_SOURCES) \ 626 618 $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \ 627 619 nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \ 628 620 printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \ 629 621 rmdir.c seq.c setuidgid.c $(sha1sum_SOURCES) shred.c sleep.c \ 630 622 sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c \ 631 623 tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c \ 632 unexpand.c uniq.c unlink.c u ptime.c users.c $(vdir_SOURCES) \624 unexpand.c uniq.c unlink.c users.c $(vdir_SOURCES) \ 633 625 wc.c who.c whoami.c yes.c 634 626 DIST_SOURCES = $(__SOURCES) basename.c cat.c $(chgrp_SOURCES) chmod.c \ 635 627 $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \ 636 628 csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \ 637 629 dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \ 638 630 fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \ 639 id.c join.c kill.clink.c ln.c logname.c $(ls_SOURCES) \631 id.c join.c link.c ln.c logname.c $(ls_SOURCES) \ 640 632 $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \ 641 633 nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \ 642 634 printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \ 643 635 rmdir.c seq.c setuidgid.c $(sha1sum_SOURCES) shred.c sleep.c \ 644 636 sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c \ 645 637 tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c \ 646 unexpand.c uniq.c unlink.c u ptime.c users.c $(vdir_SOURCES) \638 unexpand.c uniq.c unlink.c users.c $(vdir_SOURCES) \ 647 639 wc.c who.c whoami.c yes.c 648 640 HEADERS = $(noinst_HEADERS) 649 641 ETAGS = etags … … 840 832 nanosec_libs = $(LDADD) $(POW_LIB) $(LIB_NANOSLEEP) 841 833 sleep_LDADD = $(nanosec_libs) 842 834 tail_LDADD = $(nanosec_libs) 843 uptime_LDADD = $(LDADD) $(GETLOADAVG_LIBS)844 835 su_LDADD = $(LDADD) $(LIB_CRYPT) 845 836 SUFFIXES = .sh 846 837 installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'` … … 1076 1067 join$(EXEEXT): $(join_OBJECTS) $(join_DEPENDENCIES) 1077 1068 @rm -f join$(EXEEXT) 1078 1069 $(LINK) $(join_LDFLAGS) $(join_OBJECTS) $(join_LDADD) $(LIBS) 1079 kill$(EXEEXT): $(kill_OBJECTS) $(kill_DEPENDENCIES)1080 @rm -f kill$(EXEEXT)1081 $(LINK) $(kill_LDFLAGS) $(kill_OBJECTS) $(kill_LDADD) $(LIBS)1082 1070 link$(EXEEXT): $(link_OBJECTS) $(link_DEPENDENCIES) 1083 1071 @rm -f link$(EXEEXT) 1084 1072 $(LINK) $(link_LDFLAGS) $(link_OBJECTS) $(link_LDADD) $(LIBS) … … 1226 1214 unlink$(EXEEXT): $(unlink_OBJECTS) $(unlink_DEPENDENCIES) 1227 1215 @rm -f unlink$(EXEEXT) 1228 1216 $(LINK) $(unlink_LDFLAGS) $(unlink_OBJECTS) $(unlink_LDADD) $(LIBS) 1229 uptime$(EXEEXT): $(uptime_OBJECTS) $(uptime_DEPENDENCIES)1230 @rm -f uptime$(EXEEXT)1231 $(LINK) $(uptime_LDFLAGS) $(uptime_OBJECTS) $(uptime_LDADD) $(LIBS)1232 1217 users$(EXEEXT): $(users_OBJECTS) $(users_DEPENDENCIES) 1233 1218 @rm -f users$(EXEEXT) 1234 1219 $(LINK) $(users_LDFLAGS) $(users_OBJECTS) $(users_LDADD) $(LIBS) … … 1322 1307 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/id.Po@am__quote@ 1323 1308 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/install.Po@am__quote@ 1324 1309 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/join.Po@am__quote@ 1325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kill.Po@am__quote@1326 1310 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lbracket.Po@am__quote@ 1327 1311 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@ 1328 1312 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ln.Po@am__quote@ … … 1378 1362 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unexpand.Po@am__quote@ 1379 1363 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uniq.Po@am__quote@ 1380 1364 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@ 1381 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uptime.Po@am__quote@1382 1365 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/users.Po@am__quote@ 1383 1366 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wc.Po@am__quote@ 1384 1367 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/who.Po@am__quote@ … … 1606 1589 && can_create_suid_root_executable=yes; \ 1607 1590 rm -f $$TMPFILE; \ 1608 1591 if test $$can_create_suid_root_executable = yes; then \ 1609 $(INSTALL_SU); \1592 echo "Installation of su is suppressed"; \ 1610 1593 else \ 1611 1594 echo "WARNING: insufficient access; not installing su"; \ 1612 1595 echo "NOTE: to install su, run 'make install-root' as root"; \
Note:
See TracBrowser
for help on using the repository browser.