source:
clfs-sysroot/patches/coreutils-6.9-suppress_uptime_kill_su-1.patch@
55541c7
Last change on this file since 55541c7 was 88f5ffd, checked in by , 18 years ago | |
---|---|
|
|
File size: 13.0 KB |
-
coreutils-6.5
Submitted By: Matthew Burgess <matthew at linuxfromscratch dot org> Date: 2006-11-20 Initial Package Version: 6.5 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. Updated for 6.3, 6.4, and 6.5 by Jim Gifford diff -Naur coreutils-6.5.orig/AUTHORS coreutils-6.5/AUTHORS
old new 35 35 hostname: Jim Meyering 36 36 id: Arnold Robbins, David MacKenzie 37 37 join: Mike Haertel 38 kill: Paul Eggert39 38 link: Michael Stone 40 39 ln: Mike Parker, David MacKenzie 41 40 logname: FIXME: unknown … … 89 88 unexpand: David MacKenzie 90 89 uniq: Richard Stallman, David MacKenzie 91 90 unlink: Michael Stone 92 uptime: Joseph Arceneaux, David MacKenzie, Kaveh Ghazi93 91 users: Joseph Arceneaux, David MacKenzie 94 92 vdir: Richard Stallman, David MacKenzie 95 93 wc: Paul Rubin, David MacKenzie -
coreutils-6.5
diff -Naur coreutils-6.5.orig/Makefile.in coreutils-6.5/Makefile.in
old new 177 177 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 178 178 $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink-busy.m4 \ 179 179 $(top_srcdir)/m4/unlinkdir.m4 $(top_srcdir)/m4/unlocked-io.m4 \ 180 $(top_srcdir)/m4/u ptime.m4 $(top_srcdir)/m4/userspec.m4 \180 $(top_srcdir)/m4/userspec.m4 \ 181 181 $(top_srcdir)/m4/utimbuf.m4 $(top_srcdir)/m4/utime.m4 \ 182 182 $(top_srcdir)/m4/utimecmp.m4 $(top_srcdir)/m4/utimens.m4 \ 183 183 $(top_srcdir)/m4/utimes-null.m4 $(top_srcdir)/m4/utimes.m4 \ -
coreutils-6.5
diff -Naur coreutils-6.5.orig/README coreutils-6.5/README
old new 9 9 10 10 [ base64 basename cat chgrp chmod chown chroot cksum comm cp csplit cut date 11 11 dd 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 sha224sum sha256sum 15 15 sha384sum sha512sum shred shuf sleep sort split stat stty su sum sync tac 16 tail tee test touch tr true tsort tty uname unexpand uniq unlink uptime16 tail tee test touch tr true tsort tty uname unexpand uniq unlink 17 17 users vdir wc who whoami yes 18 18 19 19 See the file NEWS for a list of major changes in the current release. -
coreutils-6.5
diff -Naur coreutils-6.5.orig/configure coreutils-6.5/configure
old new 49467 49467 { echo "$as_me:$LINENO: result: $gnulib_cv_have_boot_time" >&5 49468 49468 echo "${ECHO_T}$gnulib_cv_have_boot_time" >&6; } 49469 49469 if test $gnulib_cv_have_boot_time = yes; then 49470 OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime\$(EXEEXT)" 49471 MAN="$MAN uptime.1" 49470 echo "uptime is suppressed" 49472 49471 fi 49473 49472 49474 49473 -
man/Makefile.in
diff -Naur coreutils-6.5.orig/man/Makefile.in coreutils-6.5/man/Makefile.in
old new 172 172 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 173 173 $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink-busy.m4 \ 174 174 $(top_srcdir)/m4/unlinkdir.m4 $(top_srcdir)/m4/unlocked-io.m4 \ 175 $(top_srcdir)/m4/u ptime.m4 $(top_srcdir)/m4/userspec.m4 \175 $(top_srcdir)/m4/userspec.m4 \ 176 176 $(top_srcdir)/m4/utimbuf.m4 $(top_srcdir)/m4/utime.m4 \ 177 177 $(top_srcdir)/m4/utimecmp.m4 $(top_srcdir)/m4/utimens.m4 \ 178 178 $(top_srcdir)/m4/utimes-null.m4 $(top_srcdir)/m4/utimes.m4 \ … … 382 382 base64.1 basename.1 cat.1 chgrp.1 chmod.1 chown.1 cksum.1 comm.1 \ 383 383 cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \ 384 384 echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 \ 385 head.1 hostname.1 id.1 install.1 join.1 kill.1\385 head.1 hostname.1 id.1 install.1 join.1 \ 386 386 link.1 ln.1 logname.1 \ 387 387 ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nl.1 nohup.1 od.1 \ 388 388 paste.1 pathchk.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \ 389 389 rm.1 rmdir.1 seq.1 sha1sum.1 sha224sum.1 sha256sum.1 sha384sum.1 sha512sum.1 \ 390 390 shred.1 shuf.1 sleep.1 sort.1 split.1 stat.1 \ 391 su .1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \391 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \ 392 392 tty.1 unexpand.1 uniq.1 unlink.1 vdir.1 wc.1 \ 393 393 whoami.1 yes.1 $(MAN) 394 394 … … 668 668 id.1: $(common_dep) $(srcdir)/id.x ../src/id.c 669 669 install.1: $(common_dep) $(srcdir)/install.x ../src/install.c 670 670 join.1: $(common_dep) $(srcdir)/join.x ../src/join.c 671 kill.1: $(common_dep) $(srcdir)/kill.x ../src/kill.c672 671 link.1: $(common_dep) $(srcdir)/link.x ../src/link.c 673 672 ln.1: $(common_dep) $(srcdir)/ln.x ../src/ln.c 674 673 logname.1: $(common_dep) $(srcdir)/logname.x ../src/logname.c … … 706 705 split.1: $(common_dep) $(srcdir)/split.x ../src/split.c 707 706 stat.1: $(common_dep) $(srcdir)/stat.x ../src/stat.c 708 707 stty.1: $(common_dep) $(srcdir)/stty.x ../src/stty.c 709 su.1: $(common_dep) $(srcdir)/su.x ../src/su.c710 708 sum.1: $(common_dep) $(srcdir)/sum.x ../src/sum.c 711 709 sync.1: $(common_dep) $(srcdir)/sync.x ../src/sync.c 712 710 tac.1: $(common_dep) $(srcdir)/tac.x ../src/tac.c … … 722 720 unexpand.1: $(common_dep) $(srcdir)/unexpand.x ../src/unexpand.c 723 721 uniq.1: $(common_dep) $(srcdir)/uniq.x ../src/uniq.c 724 722 unlink.1: $(common_dep) $(srcdir)/unlink.x ../src/unlink.c 725 uptime.1: $(common_dep) $(srcdir)/uptime.x ../src/uptime.c726 723 users.1: $(common_dep) $(srcdir)/users.x ../src/users.c 727 724 vdir.1: $(common_dep) $(srcdir)/vdir.x ../src/ls.c 728 725 wc.1: $(common_dep) $(srcdir)/wc.x ../src/wc.c … … 754 751 check-x-vs-1: 755 752 PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \ 756 753 t=ls-files.$$$$; \ 757 (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\754 (cd $(srcdir) && ls -1 *.x) | grep -v -e 'kill.x' -e 'su.x' -e 'uptime.x' | sed 's/\.x$$//' | $(ASSORT) > $$t;\ 758 755 echo $(dist_man_MANS) | tr -s ' ' '\n' | sed 's/\.1$$//' \ 759 756 | $(ASSORT) | diff - $$t || { rm $$t; exit 1; }; \ 760 757 rm $$t -
src/Makefile.in
diff -Naur coreutils-6.5.orig/src/Makefile.in coreutils-6.5/src/Makefile.in
old new 35 35 host_triplet = @host@ 36 36 EXTRA_PROGRAMS = chroot$(EXEEXT) df$(EXEEXT) hostid$(EXEEXT) \ 37 37 nice$(EXEEXT) pinky$(EXEEXT) stty$(EXEEXT) su$(EXEEXT) \ 38 uname$(EXEEXT) u ptime$(EXEEXT) users$(EXEEXT) who$(EXEEXT)38 uname$(EXEEXT) users$(EXEEXT) who$(EXEEXT) 39 39 bin_PROGRAMS = [$(EXEEXT) chgrp$(EXEEXT) chown$(EXEEXT) chmod$(EXEEXT) \ 40 40 cp$(EXEEXT) dd$(EXEEXT) dircolors$(EXEEXT) du$(EXEEXT) \ 41 41 ginstall$(EXEEXT) link$(EXEEXT) ln$(EXEEXT) dir$(EXEEXT) \ … … 53 53 tsort$(EXEEXT) unexpand$(EXEEXT) uniq$(EXEEXT) wc$(EXEEXT) \ 54 54 basename$(EXEEXT) date$(EXEEXT) dirname$(EXEEXT) echo$(EXEEXT) \ 55 55 env$(EXEEXT) expr$(EXEEXT) factor$(EXEEXT) false$(EXEEXT) \ 56 hostname$(EXEEXT) id$(EXEEXT) kill$(EXEEXT)logname$(EXEEXT) \56 hostname$(EXEEXT) id$(EXEEXT) logname$(EXEEXT) \ 57 57 pathchk$(EXEEXT) printenv$(EXEEXT) printf$(EXEEXT) \ 58 58 pwd$(EXEEXT) seq$(EXEEXT) sleep$(EXEEXT) tee$(EXEEXT) \ 59 59 test$(EXEEXT) true$(EXEEXT) tty$(EXEEXT) whoami$(EXEEXT) \ … … 180 180 $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \ 181 181 $(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink-busy.m4 \ 182 182 $(top_srcdir)/m4/unlinkdir.m4 $(top_srcdir)/m4/unlocked-io.m4 \ 183 $(top_srcdir)/m4/u ptime.m4 $(top_srcdir)/m4/userspec.m4 \183 $(top_srcdir)/m4/userspec.m4 \ 184 184 $(top_srcdir)/m4/utimbuf.m4 $(top_srcdir)/m4/utime.m4 \ 185 185 $(top_srcdir)/m4/utimecmp.m4 $(top_srcdir)/m4/utimens.m4 \ 186 186 $(top_srcdir)/m4/utimes-null.m4 $(top_srcdir)/m4/utimes.m4 \ … … 366 366 join_LDADD = $(LDADD) 367 367 join_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \ 368 368 ../lib/libcoreutils.a 369 kill_SOURCES = kill.c370 kill_OBJECTS = kill.$(OBJEXT)371 kill_LDADD = $(LDADD)372 kill_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \373 ../lib/libcoreutils.a374 369 link_SOURCES = link.c 375 370 link_OBJECTS = link.$(OBJEXT) 376 371 link_LDADD = $(LDADD) … … 619 614 unlink_LDADD = $(LDADD) 620 615 unlink_DEPENDENCIES = ../lib/libcoreutils.a $(am__DEPENDENCIES_1) \ 621 616 ../lib/libcoreutils.a 622 uptime_SOURCES = uptime.c623 uptime_OBJECTS = uptime.$(OBJEXT)624 uptime_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \625 $(am__DEPENDENCIES_1)626 617 users_SOURCES = users.c 627 618 users_OBJECTS = users.$(OBJEXT) 628 619 users_LDADD = $(LDADD) … … 666 657 csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \ 667 658 dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \ 668 659 fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \ 669 id.c join.c kill.clink.c ln.c logname.c $(ls_SOURCES) \660 id.c join.c link.c ln.c logname.c $(ls_SOURCES) \ 670 661 $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \ 671 662 nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \ 672 663 printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \ … … 675 666 $(sha512sum_SOURCES) shred.c shuf.c sleep.c sort.c split.c \ 676 667 stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c test.c \ 677 668 touch.c tr.c true.c tsort.c tty.c uname.c unexpand.c uniq.c \ 678 unlink.c u ptime.c users.c $(vdir_SOURCES) wc.c who.c whoami.c \669 unlink.c users.c $(vdir_SOURCES) wc.c who.c whoami.c \ 679 670 yes.c 680 671 DIST_SOURCES = $(__SOURCES) base64.c basename.c cat.c $(chgrp_SOURCES) \ 681 672 chmod.c $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \ 682 673 csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \ 683 674 dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \ 684 675 fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \ 685 id.c join.c kill.clink.c ln.c logname.c $(ls_SOURCES) \676 id.c join.c link.c ln.c logname.c $(ls_SOURCES) \ 686 677 $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \ 687 678 nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \ 688 679 printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \ … … 691 682 $(sha512sum_SOURCES) shred.c shuf.c sleep.c sort.c split.c \ 692 683 stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c test.c \ 693 684 touch.c tr.c true.c tsort.c tty.c uname.c unexpand.c uniq.c \ 694 unlink.c u ptime.c users.c $(vdir_SOURCES) wc.c who.c whoami.c \685 unlink.c users.c $(vdir_SOURCES) wc.c who.c whoami.c \ 695 686 yes.c 696 687 HEADERS = $(noinst_HEADERS) 697 688 ETAGS = etags … … 949 940 tail_LDADD = $(nanosec_libs) 950 941 951 942 # If necessary, add -lm to resolve use of pow in lib/strtod.c. 952 uptime_LDADD = $(LDADD) $(POW_LIB) $(GETLOADAVG_LIBS)953 943 su_LDADD = $(LDADD) $(LIB_CRYPT) 954 944 SUFFIXES = .sh 955 945 installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'` … … 1196 1186 join$(EXEEXT): $(join_OBJECTS) $(join_DEPENDENCIES) 1197 1187 @rm -f join$(EXEEXT) 1198 1188 $(LINK) $(join_OBJECTS) $(join_LDADD) $(LIBS) 1199 kill$(EXEEXT): $(kill_OBJECTS) $(kill_DEPENDENCIES)1200 @rm -f kill$(EXEEXT)1201 $(LINK) $(kill_OBJECTS) $(kill_LDADD) $(LIBS)1202 1189 link$(EXEEXT): $(link_OBJECTS) $(link_DEPENDENCIES) 1203 1190 @rm -f link$(EXEEXT) 1204 1191 $(LINK) $(link_OBJECTS) $(link_LDADD) $(LIBS) … … 1361 1348 unlink$(EXEEXT): $(unlink_OBJECTS) $(unlink_DEPENDENCIES) 1362 1349 @rm -f unlink$(EXEEXT) 1363 1350 $(LINK) $(unlink_OBJECTS) $(unlink_LDADD) $(LIBS) 1364 uptime$(EXEEXT): $(uptime_OBJECTS) $(uptime_DEPENDENCIES)1365 @rm -f uptime$(EXEEXT)1366 $(LINK) $(uptime_OBJECTS) $(uptime_LDADD) $(LIBS)1367 1351 users$(EXEEXT): $(users_OBJECTS) $(users_DEPENDENCIES) 1368 1352 @rm -f users$(EXEEXT) 1369 1353 $(LINK) $(users_OBJECTS) $(users_LDADD) $(LIBS) … … 1458 1442 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/id.Po@am__quote@ 1459 1443 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/install.Po@am__quote@ 1460 1444 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/join.Po@am__quote@ 1461 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kill.Po@am__quote@1462 1445 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lbracket.Po@am__quote@ 1463 1446 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@ 1464 1447 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ln.Po@am__quote@ … … 1518 1501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unexpand.Po@am__quote@ 1519 1502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uniq.Po@am__quote@ 1520 1503 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@ 1521 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uptime.Po@am__quote@1522 1504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/users.Po@am__quote@ 1523 1505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wc.Po@am__quote@ 1524 1506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/who.Po@am__quote@ … … 1839 1821 && can_create_suid_root_executable=yes; \ 1840 1822 rm -f $$TMPFILE; \ 1841 1823 if test $$can_create_suid_root_executable = yes; then \ 1842 $(INSTALL_SU); \1824 echo "Installation of su is suppressed"; \ 1843 1825 else \ 1844 1826 echo "WARNING: insufficient access; not installing su"; \ 1845 1827 echo "NOTE: to install su, run 'make install-root' as root"; \
Note:
See TracBrowser
for help on using the repository browser.