mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

262 lines
13 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/coreutils/no-broken-progs-in.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./Makefile.in.orig 2004-10-01 19:05:13.027154464 +0200
  20. +++ ./Makefile.in 2004-10-01 19:04:44.930425816 +0200
  21. @@ -148,7 +148,7 @@
  22. $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \
  23. $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \
  24. $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \
  25. - $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4 \
  26. + $(top_srcdir)/m4/unlocked-io.m4 \
  27. $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \
  28. $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \
  29. $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \
  30. --- ./configure.orig 2004-10-01 19:04:58.239402544 +0200
  31. +++ ./configure 2004-10-01 19:04:44.924426728 +0200
  32. @@ -47462,8 +47462,7 @@
  33. echo "$as_me:$LINENO: result: $gnulib_cv_have_boot_time" >&5
  34. echo "${ECHO_T}$gnulib_cv_have_boot_time" >&6
  35. if test $gnulib_cv_have_boot_time = yes; then
  36. - OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uptime\$(EXEEXT)"
  37. - MAN="$MAN uptime.1"
  38. +echo "uptime is surpressed"
  39. fi
  40. --- ./man/Makefile.in.orig 2004-10-01 19:05:24.542403880 +0200
  41. +++ ./man/Makefile.in 2004-10-01 19:05:56.565535624 +0200
  42. @@ -142,7 +142,7 @@
  43. $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \
  44. $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \
  45. $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \
  46. - $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4 \
  47. + $(top_srcdir)/m4/unlocked-io.m4 \
  48. $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \
  49. $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \
  50. $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \
  51. @@ -302,14 +302,14 @@
  52. dist_man_MANS = \
  53. basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \
  54. cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \
  55. - echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 \
  56. - head.1 hostid.1 hostname.1 id.1 install.1 join.1 kill.1 \
  57. + echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 \
  58. + head.1 hostid.1 id.1 install.1 join.1 \
  59. link.1 ln.1 logname.1 \
  60. ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
  61. paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \
  62. rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \
  63. - su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \
  64. - tty.1 uname.1 unexpand.1 uniq.1 unlink.1 uptime.1 users.1 vdir.1 wc.1 \
  65. + sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \
  66. + tty.1 uname.1 unexpand.1 uniq.1 unlink.1 users.1 vdir.1 wc.1 \
  67. who.1 whoami.1 yes.1
  68. man_aux = $(dist_man_MANS:.1=.x)
  69. @@ -568,14 +568,11 @@
  70. false.1: $(common_dep) $(srcdir)/false.x ../src/false.c
  71. fmt.1: $(common_dep) $(srcdir)/fmt.x ../src/fmt.c
  72. fold.1: $(common_dep) $(srcdir)/fold.x ../src/fold.c
  73. -groups.1: $(common_dep) $(srcdir)/groups.x ../src/groups.sh
  74. head.1: $(common_dep) $(srcdir)/head.x ../src/head.c
  75. hostid.1: $(common_dep) $(srcdir)/hostid.x ../src/hostid.c
  76. -hostname.1: $(common_dep) $(srcdir)/hostname.x ../src/hostname.c
  77. id.1: $(common_dep) $(srcdir)/id.x ../src/id.c
  78. install.1: $(common_dep) $(srcdir)/install.x ../src/install.c
  79. join.1: $(common_dep) $(srcdir)/join.x ../src/join.c
  80. -kill.1: $(common_dep) $(srcdir)/kill.x ../src/kill.c
  81. link.1: $(common_dep) $(srcdir)/link.x ../src/link.c
  82. ln.1: $(common_dep) $(srcdir)/ln.x ../src/ln.c
  83. logname.1: $(common_dep) $(srcdir)/logname.x ../src/logname.c
  84. @@ -608,7 +605,6 @@
  85. split.1: $(common_dep) $(srcdir)/split.x ../src/split.c
  86. stat.1: $(common_dep) $(srcdir)/stat.x ../src/stat.c
  87. stty.1: $(common_dep) $(srcdir)/stty.x ../src/stty.c
  88. -su.1: $(common_dep) $(srcdir)/su.x ../src/su.c
  89. sum.1: $(common_dep) $(srcdir)/sum.x ../src/sum.c
  90. sync.1: $(common_dep) $(srcdir)/sync.x ../src/sync.c
  91. tac.1: $(common_dep) $(srcdir)/tac.x ../src/tac.c
  92. @@ -624,7 +620,6 @@
  93. unexpand.1: $(common_dep) $(srcdir)/unexpand.x ../src/unexpand.c
  94. uniq.1: $(common_dep) $(srcdir)/uniq.x ../src/uniq.c
  95. unlink.1: $(common_dep) $(srcdir)/unlink.x ../src/unlink.c
  96. -uptime.1: $(common_dep) $(srcdir)/uptime.x ../src/uptime.c
  97. users.1: $(common_dep) $(srcdir)/users.x ../src/users.c
  98. vdir.1: $(common_dep) $(srcdir)/vdir.x ../src/ls.c
  99. wc.1: $(common_dep) $(srcdir)/wc.x ../src/wc.c
  100. @@ -656,7 +651,7 @@
  101. check-x-vs-1:
  102. PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
  103. t=ls-files.$$$$; \
  104. - (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
  105. + (cd $(srcdir) && ls -1 *.x) | grep -v 'uptime.x' | grep -v 'kill.x' | sed 's/\.x$$//' | $(ASSORT) > $$t; \
  106. echo $(dist_man_MANS) | tr -s ' ' '\n' | sed 's/\.1$$//' \
  107. | $(ASSORT) | diff - $$t || { rm $$t; exit 1; }; \
  108. rm $$t
  109. --- ./src/Makefile.in.orig 2004-10-01 19:05:35.737701936 +0200
  110. +++ ./src/Makefile.in 2004-10-01 19:04:44.941424144 +0200
  111. @@ -39,7 +39,7 @@
  112. host_triplet = @host@
  113. EXTRA_PROGRAMS = chroot$(EXEEXT) df$(EXEEXT) hostid$(EXEEXT) \
  114. nice$(EXEEXT) pinky$(EXEEXT) stty$(EXEEXT) su$(EXEEXT) \
  115. - uname$(EXEEXT) uptime$(EXEEXT) users$(EXEEXT) who$(EXEEXT)
  116. + uname$(EXEEXT) users$(EXEEXT) who$(EXEEXT)
  117. bin_PROGRAMS = [$(EXEEXT) chgrp$(EXEEXT) chown$(EXEEXT) chmod$(EXEEXT) \
  118. cp$(EXEEXT) dd$(EXEEXT) dircolors$(EXEEXT) du$(EXEEXT) \
  119. ginstall$(EXEEXT) link$(EXEEXT) ln$(EXEEXT) dir$(EXEEXT) \
  120. @@ -55,8 +55,8 @@
  121. tail$(EXEEXT) tr$(EXEEXT) tsort$(EXEEXT) unexpand$(EXEEXT) \
  122. uniq$(EXEEXT) wc$(EXEEXT) basename$(EXEEXT) date$(EXEEXT) \
  123. dirname$(EXEEXT) echo$(EXEEXT) env$(EXEEXT) expr$(EXEEXT) \
  124. - factor$(EXEEXT) false$(EXEEXT) hostname$(EXEEXT) id$(EXEEXT) \
  125. - kill$(EXEEXT) logname$(EXEEXT) pathchk$(EXEEXT) \
  126. + factor$(EXEEXT) false$(EXEEXT) id$(EXEEXT) \
  127. + logname$(EXEEXT) pathchk$(EXEEXT) \
  128. printenv$(EXEEXT) printf$(EXEEXT) pwd$(EXEEXT) seq$(EXEEXT) \
  129. sleep$(EXEEXT) tee$(EXEEXT) test$(EXEEXT) true$(EXEEXT) \
  130. tty$(EXEEXT) whoami$(EXEEXT) yes$(EXEEXT) $(am__EXEEXT_1) \
  131. @@ -169,7 +169,7 @@
  132. $(top_srcdir)/m4/ullong_max.m4 $(top_srcdir)/m4/ulonglong.m4 \
  133. $(top_srcdir)/m4/unicodeio.m4 $(top_srcdir)/m4/unistd-safer.m4 \
  134. $(top_srcdir)/m4/unlink-busy.m4 $(top_srcdir)/m4/unlinkdir.m4 \
  135. - $(top_srcdir)/m4/unlocked-io.m4 $(top_srcdir)/m4/uptime.m4 \
  136. + $(top_srcdir)/m4/unlocked-io.m4 \
  137. $(top_srcdir)/m4/userspec.m4 $(top_srcdir)/m4/utimbuf.m4 \
  138. $(top_srcdir)/m4/utime.m4 $(top_srcdir)/m4/utimecmp.m4 \
  139. $(top_srcdir)/m4/utimens.m4 $(top_srcdir)/m4/utimes-null.m4 \
  140. @@ -621,29 +621,29 @@
  141. $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \
  142. csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \
  143. dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \
  144. - fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \
  145. - id.c join.c kill.c link.c ln.c logname.c $(ls_SOURCES) \
  146. + fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c \
  147. + id.c join.c link.c ln.c logname.c $(ls_SOURCES) \
  148. $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \
  149. nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \
  150. printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \
  151. rmdir.c seq.c setuidgid.c $(sha1sum_SOURCES) shred.c sleep.c \
  152. sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c \
  153. tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c \
  154. - unexpand.c uniq.c unlink.c uptime.c users.c $(vdir_SOURCES) \
  155. + unexpand.c uniq.c unlink.c users.c $(vdir_SOURCES) \
  156. wc.c who.c whoami.c yes.c
  157. DIST_SOURCES = $(__SOURCES) basename.c cat.c $(chgrp_SOURCES) chmod.c \
  158. $(chown_SOURCES) chroot.c cksum.c comm.c $(cp_SOURCES) \
  159. csplit.c cut.c date.c dd.c df.c $(dir_SOURCES) dircolors.c \
  160. dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c \
  161. - fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c hostname.c \
  162. - id.c join.c kill.c link.c ln.c logname.c $(ls_SOURCES) \
  163. + fmt.c fold.c $(ginstall_SOURCES) head.c hostid.c \
  164. + id.c join.c link.c ln.c logname.c $(ls_SOURCES) \
  165. $(md5sum_SOURCES) mkdir.c mkfifo.c mknod.c $(mv_SOURCES) \
  166. nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c \
  167. printenv.c printf.c ptx.c pwd.c readlink.c $(rm_SOURCES) \
  168. rmdir.c seq.c setuidgid.c $(sha1sum_SOURCES) shred.c sleep.c \
  169. sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c \
  170. tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c \
  171. - unexpand.c uniq.c unlink.c uptime.c users.c $(vdir_SOURCES) \
  172. + unexpand.c uniq.c unlink.c users.c $(vdir_SOURCES) \
  173. wc.c who.c whoami.c yes.c
  174. HEADERS = $(noinst_HEADERS)
  175. ETAGS = etags
  176. @@ -786,14 +786,14 @@
  177. sharedstatedir = @sharedstatedir@
  178. sysconfdir = @sysconfdir@
  179. target_alias = @target_alias@
  180. -bin_SCRIPTS = groups
  181. +bin_SCRIPTS =
  182. noinst_HEADERS = \
  183. system.h checksum.h copy.h cp-hash.h ls.h dircolors.h remove.h \
  184. chown-core.h fs.h \
  185. wheel.h wheel-size.h
  186. EXTRA_DIST = dcgen dircolors.hin tac-pipe.c \
  187. - groups.sh wheel-gen.pl extract-magic
  188. + wheel-gen.pl extract-magic
  189. CLEANFILES = $(SCRIPTS) su
  190. AM_CPPFLAGS = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../lib
  191. @@ -840,7 +840,6 @@
  192. nanosec_libs = $(LDADD) $(POW_LIB) $(LIB_NANOSLEEP)
  193. sleep_LDADD = $(nanosec_libs)
  194. tail_LDADD = $(nanosec_libs)
  195. -uptime_LDADD = $(LDADD) $(GETLOADAVG_LIBS)
  196. su_LDADD = $(LDADD) $(LIB_CRYPT)
  197. SUFFIXES = .sh
  198. installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
  199. @@ -1067,18 +1066,12 @@
  200. hostid$(EXEEXT): $(hostid_OBJECTS) $(hostid_DEPENDENCIES)
  201. @rm -f hostid$(EXEEXT)
  202. $(LINK) $(hostid_LDFLAGS) $(hostid_OBJECTS) $(hostid_LDADD) $(LIBS)
  203. -hostname$(EXEEXT): $(hostname_OBJECTS) $(hostname_DEPENDENCIES)
  204. - @rm -f hostname$(EXEEXT)
  205. - $(LINK) $(hostname_LDFLAGS) $(hostname_OBJECTS) $(hostname_LDADD) $(LIBS)
  206. id$(EXEEXT): $(id_OBJECTS) $(id_DEPENDENCIES)
  207. @rm -f id$(EXEEXT)
  208. $(LINK) $(id_LDFLAGS) $(id_OBJECTS) $(id_LDADD) $(LIBS)
  209. join$(EXEEXT): $(join_OBJECTS) $(join_DEPENDENCIES)
  210. @rm -f join$(EXEEXT)
  211. $(LINK) $(join_LDFLAGS) $(join_OBJECTS) $(join_LDADD) $(LIBS)
  212. -kill$(EXEEXT): $(kill_OBJECTS) $(kill_DEPENDENCIES)
  213. - @rm -f kill$(EXEEXT)
  214. - $(LINK) $(kill_LDFLAGS) $(kill_OBJECTS) $(kill_LDADD) $(LIBS)
  215. link$(EXEEXT): $(link_OBJECTS) $(link_DEPENDENCIES)
  216. @rm -f link$(EXEEXT)
  217. $(LINK) $(link_LDFLAGS) $(link_OBJECTS) $(link_LDADD) $(LIBS)
  218. @@ -1226,9 +1219,6 @@
  219. unlink$(EXEEXT): $(unlink_OBJECTS) $(unlink_DEPENDENCIES)
  220. @rm -f unlink$(EXEEXT)
  221. $(LINK) $(unlink_LDFLAGS) $(unlink_OBJECTS) $(unlink_LDADD) $(LIBS)
  222. -uptime$(EXEEXT): $(uptime_OBJECTS) $(uptime_DEPENDENCIES)
  223. - @rm -f uptime$(EXEEXT)
  224. - $(LINK) $(uptime_LDFLAGS) $(uptime_OBJECTS) $(uptime_LDADD) $(LIBS)
  225. users$(EXEEXT): $(users_OBJECTS) $(users_DEPENDENCIES)
  226. @rm -f users$(EXEEXT)
  227. $(LINK) $(users_LDFLAGS) $(users_OBJECTS) $(users_LDADD) $(LIBS)
  228. @@ -1318,11 +1308,9 @@
  229. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fold.Po@am__quote@
  230. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/head.Po@am__quote@
  231. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostid.Po@am__quote@
  232. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostname.Po@am__quote@
  233. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/id.Po@am__quote@
  234. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/install.Po@am__quote@
  235. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/join.Po@am__quote@
  236. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kill.Po@am__quote@
  237. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lbracket.Po@am__quote@
  238. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@
  239. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ln.Po@am__quote@
  240. @@ -1378,7 +1366,6 @@
  241. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unexpand.Po@am__quote@
  242. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uniq.Po@am__quote@
  243. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unlink.Po@am__quote@
  244. -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uptime.Po@am__quote@
  245. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/users.Po@am__quote@
  246. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wc.Po@am__quote@
  247. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/who.Po@am__quote@
  248. @@ -1606,7 +1593,7 @@
  249. && can_create_suid_root_executable=yes; \
  250. rm -f $$TMPFILE; \
  251. if test $$can_create_suid_root_executable = yes; then \
  252. - $(INSTALL_SU); \
  253. + echo "Installation of su is surpressed"; \
  254. else \
  255. echo "WARNING: insufficient access; not installing su"; \
  256. echo "NOTE: to install su, run 'make install-root' as root"; \