summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2003-08-10 07:56:37 +0000
committerJoshua Kinard <kumba@gentoo.org>2003-08-10 07:56:37 +0000
commitc1b67ed76eaeecdb935a8a5f154474c9f60ed1bd (patch)
tree7a6eb0f895e93e6e77253f1da3b21e1695d03fe9 /app-admin
parentMoved sus-2.0.1 to x86 stable; added sus-2.0.2 to unstable (diff)
downloadhistorical-c1b67ed76eaeecdb935a8a5f154474c9f60ed1bd.tar.gz
historical-c1b67ed76eaeecdb935a8a5f154474c9f60ed1bd.tar.bz2
historical-c1b67ed76eaeecdb935a8a5f154474c9f60ed1bd.zip
Moved sus-2.0.1 to x86 stable; added sus-2.0.2 to unstable
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/sus/Manifest6
-rw-r--r--app-admin/sus/files/digest-sus-2.0.21
-rw-r--r--app-admin/sus/sus-2.0.1.ebuild4
-rw-r--r--app-admin/sus/sus-2.0.2.ebuild51
4 files changed, 57 insertions, 5 deletions
diff --git a/app-admin/sus/Manifest b/app-admin/sus/Manifest
index 12fed91e017a..281326eee76f 100644
--- a/app-admin/sus/Manifest
+++ b/app-admin/sus/Manifest
@@ -1,6 +1,6 @@
-MD5 88b3eabac5c7ad13e60655cc2f8d65be ChangeLog 636
-MD5 c6a47fa24e0c5736b72c136d06e157a4 sus-2.0.1.ebuild 1296
-MD5 5f12bac41c990c0ff246473971f7b7ff sus-2.0.2.ebuild 1297
+MD5 2b78b2e4fd5340c93e8fc2c50384bd10 ChangeLog 636
+MD5 e7f30077b3148a199a09965a92e59621 sus-2.0.1.ebuild 1296
+MD5 4a100e469278814b729061172d3ac02b sus-2.0.2.ebuild 1297
MD5 37ab627480600ea8a18055974761eb3c files/digest-sus-2.0.2 60
MD5 caca9a5256341cde0959a983aea7c65a files/digest-sus-2.0.1 60
MD5 e551ecc3164caa7ab831c58f5f7244a5 files/susers.cpp 988
diff --git a/app-admin/sus/files/digest-sus-2.0.2 b/app-admin/sus/files/digest-sus-2.0.2
new file mode 100644
index 000000000000..5211b8cc7bc0
--- /dev/null
+++ b/app-admin/sus/files/digest-sus-2.0.2
@@ -0,0 +1 @@
+MD5 4831625b38d9268128a06706b185c2b6 sus-2.0.2.tar.Z 202773
diff --git a/app-admin/sus/sus-2.0.1.ebuild b/app-admin/sus/sus-2.0.1.ebuild
index 359dec4da47f..8f4e8f576e71 100644
--- a/app-admin/sus/sus-2.0.1.ebuild
+++ b/app-admin/sus/sus-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/sus-2.0.1.ebuild,v 1.1 2003/06/28 02:51:18 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/sus-2.0.1.ebuild,v 1.2 2003/08/10 07:56:31 kumba Exp $
DESCRIPTION="allows certain users to run commands as root or other users"
SRC_URI="http://pdg.uow.edu.au/sus/${P}.tar.Z"
@@ -8,7 +8,7 @@ HOMEPAGE="http://pdg.uow.edu.au/sus/"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~mips"
+KEYWORDS="x86 ~sparc ~mips"
IUSE="pam"
DEPEND="virtual/glibc
diff --git a/app-admin/sus/sus-2.0.2.ebuild b/app-admin/sus/sus-2.0.2.ebuild
new file mode 100644
index 000000000000..7075e0703ffa
--- /dev/null
+++ b/app-admin/sus/sus-2.0.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/sus-2.0.2.ebuild,v 1.1 2003/08/10 07:56:31 kumba Exp $
+
+DESCRIPTION="allows certain users to run commands as root or other users"
+SRC_URI="http://pdg.uow.edu.au/sus/${P}.tar.Z"
+HOMEPAGE="http://pdg.uow.edu.au/sus/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~mips"
+IUSE="pam"
+
+DEPEND="virtual/glibc
+ pam? ( >=sys-libs/pam-0.73-r1 )"
+
+src_compile() {
+ local myconf
+ local lflags
+ myconf="-DDEBUG"
+ use pam > /dev/null 2>&1 && myconf="${myconf} -DUSE_PAM" && lflags="-lpam"
+ myconf="${myconf} -DPROMISCUOUS -DUSE_SHADOW \
+ -DSUSERS=\\\"/etc/susers.cpp\\\""
+ make \
+ CC=${CC} \
+ CFLAGS="${CFLAGS} ${myconf}" \
+ LFLAGS="${lflags}" \
+ sus || die
+}
+
+src_install() {
+ ln -s man/sus.1 sus.8
+ dobin sus
+ doman sus.8
+ dodoc COPYING INSTALL README susers.sample
+ dodir /var/run/sus
+ insinto /etc
+ newins ${FILESDIR}/susers.cpp susers.cpp
+ fperms 4755 /usr/bin/sus
+ fperms 700 /var/run/sus
+ insinto /etc
+ doins ${FILESDIR}/susers.cpp
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "A default configuration file has been installed as"
+ einfo "/etc/susers.cpp. It is best to read over it and"
+ einfo "make any changes as necessary."
+ einfo ""
+}