summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-03-18 13:53:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-03-18 13:53:41 +0000
commit21f1dcb7442850f25065b84589822615ca48024b (patch)
tree483844b367b048fbd6ed4912a995640ee4e2075f /sys-apps/sh-utils
parentAdded gnome-print to the compile time dependency list (diff)
downloadgentoo-2-21f1dcb7442850f25065b84589822615ca48024b.tar.gz
gentoo-2-21f1dcb7442850f25065b84589822615ca48024b.tar.bz2
gentoo-2-21f1dcb7442850f25065b84589822615ca48024b.zip
Removed some old ebuilds, and patched textutils and sh-utils to remove RMS's su/wheel/fascism rant
Diffstat (limited to 'sys-apps/sh-utils')
-rw-r--r--sys-apps/sh-utils/ChangeLog11
-rw-r--r--sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3 (renamed from sys-apps/sh-utils/files/digest-sh-utils-2.0.11)1
-rw-r--r--sys-apps/sh-utils/files/digest-sh-utils-2.0j-r41
-rw-r--r--sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff54
-rw-r--r--sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild (renamed from sys-apps/sh-utils/sh-utils-2.0.11.ebuild)28
5 files changed, 85 insertions, 10 deletions
diff --git a/sys-apps/sh-utils/ChangeLog b/sys-apps/sh-utils/ChangeLog
index c1d3167fbe8f..759503d7c751 100644
--- a/sys-apps/sh-utils/ChangeLog
+++ b/sys-apps/sh-utils/ChangeLog
@@ -1,10 +1,17 @@
# ChangeLog for sys-apps/sh-utils
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/ChangeLog,v 1.2 2002/03/14 22:27:00 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/ChangeLog,v 1.3 2002/03/18 13:53:41 seemant Exp $
+
+*sh-utils-2.0.11-r3 (18 Mar 2002)
+
+ 18 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sh-utils-2.0.11-r3.ebuild :
+
+ Patch in ${FILESDIR} removes RMS's rant about su and the wheel group and
+ fascism.
*sh-utils-2.0.11-r2 (12 Mar 2002)
- 12 Mar 2002 Seemant Kulleen <seemant@gentoo.org> ChangeLog :
+ 12 Mar 2002; Seemant Kulleen <seemant@gentoo.org> sh-utils-2.0.11-r2.ebuild :
Added a patch to uname.c from the nuname package. This allows display in the
uname output of more kinds of processors (AuthenticAMD, Cyrix, and possibly
diff --git a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11 b/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3
index 71cf6fbdf3b6..675c7c442e76 100644
--- a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11
+++ b/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3
@@ -1 +1,2 @@
MD5 78ba650ef854d0b8f2bfcf12997295c2 sh-utils-2.0.11.tar.gz 1667803
+MD5 0b61a85851c2197b62bd07376867e1a1 nuname-1.0.tar.gz 46757
diff --git a/sys-apps/sh-utils/files/digest-sh-utils-2.0j-r4 b/sys-apps/sh-utils/files/digest-sh-utils-2.0j-r4
deleted file mode 100644
index e5ea3f04143f..000000000000
--- a/sys-apps/sh-utils/files/digest-sh-utils-2.0j-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 82087d6cc313189c312a0cf8ef875a2c sh-utils-2.0j.tar.gz 1658880
diff --git a/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff b/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff
new file mode 100644
index 000000000000..6d7d5fa13af5
--- /dev/null
+++ b/sys-apps/sh-utils/files/sh-utils-2.0.11-gentoo.diff
@@ -0,0 +1,54 @@
+--- sh-utils.texi Mon Mar 18 04:50:39 2002
++++ sh-utils.texi.new Mon Mar 18 04:56:40 2002
+@@ -47,7 +47,6 @@
+ * seq: (sh-utils)seq invocation. Print numeric sequences
+ * sleep: (sh-utils)sleep invocation. Delay for a specified time.
+ * stty: (sh-utils)stty invocation. Print/change terminal settings.
+-* su: (sh-utils)su invocation. Modify user and group id.
+ * tee: (sh-utils)tee invocation. Redirect to multiple files.
+ * test: (sh-utils)test invocation. File/string tests.
+ * true: (sh-utils)true invocation. Do nothing, successfully.
+@@ -3026,8 +3025,7 @@
+ @findex syslog
+ @code{su} can optionally be compiled to use @code{syslog} to report
+ failed, and optionally successful, @code{su} attempts. (If the system
+-supports @code{syslog}.) However, GNU @code{su} does not check if the
+-user is a member of the @code{wheel} group; see below.
++supports @code{syslog}.)
+
+ The program accepts the following options. Also see @ref{Common options}.
+
+@@ -3098,33 +3096,6 @@
+
+ @end table
+
+-@cindex wheel group, not supported
+-@cindex group wheel, not supported
+-@cindex fascism
+-@heading Why GNU @code{su} does not support the @samp{wheel} group
+-
+-(This section is by Richard Stallman.)
+-
+-@cindex Twenex
+-@cindex MIT AI lab
+-Sometimes a few of the users try to hold total power over all the
+-rest. For example, in 1984, a few users at the MIT AI lab decided to
+-seize power by changing the operator password on the Twenex system and
+-keeping it secret from everyone else. (I was able to thwart this coup
+-and give power back to the users by patching the kernel, but I
+-wouldn't know how to do that in Unix.)
+-
+-However, occasionally the rulers do tell someone. Under the usual
+-@code{su} mechanism, once someone learns the root password who
+-sympathizes with the ordinary users, he or she can tell the rest. The
+-``wheel group'' feature would make this impossible, and thus cement the
+-power of the rulers.
+-
+-I'm on the side of the masses, not that of the rulers. If you are
+-used to supporting the bosses and sysadmins in whatever they do, you
+-might find this idea strange at first.
+-
+-
+ @node Delaying
+ @chapter Delaying
+
diff --git a/sys-apps/sh-utils/sh-utils-2.0.11.ebuild b/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild
index 147e5b402083..887a88c7660b 100644
--- a/sys-apps/sh-utils/sh-utils-2.0.11.ebuild
+++ b/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild
@@ -1,16 +1,30 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/sh-utils-2.0.11.ebuild,v 1.1 2001/12/12 20:01:34 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild,v 1.1 2002/03/18 13:53:41 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Your standard GNU shell utilities"
-SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${P}.tar.gz"
+SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${P}.tar.gz http://www2.cddc.vt.edu/linux/utils/shell/nuname-1.0.tar.gz"
DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
RDEPEND="virtual/glibc"
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ # patch to add Chipset info. in uname output
+ tar zxf ${DISTDIR}/nuname-1.0.tar.gz
+ cd ${S}
+ patch src/uname.c ../nuname/lin_uname_patch
+ mv ../nuname/README ../nuname/README.nuname
+
+ # patch to remove Stallman's rant about su and the wheel group
+ patch doc/sh-utils.texi ${FILESDIR}/${P}-gentoo.diff
+ rm doc/sh-utils.info
+}
+
src_compile() {
local myconf
use nls || myconf="--disable-nls"
@@ -24,6 +38,8 @@ src_compile() {
else
emake LDFLAGS=-static || die
fi
+ cd doc
+ make
}
src_install() {
@@ -31,14 +47,15 @@ src_install() {
rm -rf ${D}/usr/lib
dodir /bin
cd ${D}/usr/bin
- mv date echo false pwd stty su true uname ${D}/bin
+ mv date echo false pwd stty su true uname sleep ${D}/bin
if [ -z "`use build`" ]
then
# We must use hostname from net-base
rm ${D}/usr/bin/hostname
cd ${S}
- dodoc AUTHORS COPYING ChangeLog ChangeLog.0 NEWS README THANKS TODO
+ dodoc AUTHORS COPYING ChangeLog ChangeLog.0 NEWS README THANKS TODO
+ dodoc ../nuname/README.nuname
else
rm -rf ${D}/usr/share
fi
@@ -49,6 +66,3 @@ src_install() {
rm ${D}/usr/bin/uptime
rm ${D}/usr/share/man/man1/uptime.1.gz
}
-
-
-