summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-09-15 03:54:44 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-09-15 03:54:44 +0000
commitc85e3cba0f530be0855bcf24d0a6c8cfe4a514a3 (patch)
tree6e2acc241ad7b3f49c4b0e83c0c66ba5cd393851 /app-admin
parentbump to match imagemagick (diff)
downloadhistorical-c85e3cba0f530be0855bcf24d0a6c8cfe4a514a3.tar.gz
historical-c85e3cba0f530be0855bcf24d0a6c8cfe4a514a3.tar.bz2
historical-c85e3cba0f530be0855bcf24d0a6c8cfe4a514a3.zip
Revbump which also corrects security issue.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/sus/ChangeLog7
-rw-r--r--app-admin/sus/Manifest4
-rw-r--r--app-admin/sus/files/digest-sus-2.0.61
-rw-r--r--app-admin/sus/sus-2.0.6.ebuild51
4 files changed, 61 insertions, 2 deletions
diff --git a/app-admin/sus/ChangeLog b/app-admin/sus/ChangeLog
index 5d27cb42784e..550e770aa3f8 100644
--- a/app-admin/sus/ChangeLog
+++ b/app-admin/sus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/sus
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/ChangeLog,v 1.5 2004/09/13 20:39:01 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/ChangeLog,v 1.6 2004/09/15 03:54:43 kumba Exp $
+
+*sus-2.0.6 (14 Sep 2004)
+
+ 14 Sep 2004; Joshua Kinard <kumba@gentoo.org> +sus-2.0.6.ebuild:
+ Revbump which also corrects security issue.
*sus-2.0.2-r1 (13 Sep 2004)
diff --git a/app-admin/sus/Manifest b/app-admin/sus/Manifest
index 754e67691393..b4c81d93887f 100644
--- a/app-admin/sus/Manifest
+++ b/app-admin/sus/Manifest
@@ -1,5 +1,7 @@
-MD5 92c3a7a90fc2818c7fbde61385daab76 ChangeLog 949
+MD5 ebd6fda08eee2564bc44b3fe779bce12 ChangeLog 1089
+MD5 4115ce7301f317f736755773d911f2fe sus-2.0.6.ebuild 1255
MD5 2db23955801c9d77a22de1ffe82d3131 sus-2.0.2-r1.ebuild 1394
MD5 37ab627480600ea8a18055974761eb3c files/digest-sus-2.0.2-r1 60
MD5 e551ecc3164caa7ab831c58f5f7244a5 files/susers.cpp 988
MD5 01f6c4974f79047b74718f27c22b2ae5 files/sus-2.0.2-syslog-vuln-fix.patch 406
+MD5 ba3748fd03f0aa5d0fb0db4afa83ffe1 files/digest-sus-2.0.6 60
diff --git a/app-admin/sus/files/digest-sus-2.0.6 b/app-admin/sus/files/digest-sus-2.0.6
new file mode 100644
index 000000000000..c799a1eae99e
--- /dev/null
+++ b/app-admin/sus/files/digest-sus-2.0.6
@@ -0,0 +1 @@
+MD5 afef157f6b4ca2ab6c56ff8c7cf19c2f sus-2.0.6.tar.Z 203397
diff --git a/app-admin/sus/sus-2.0.6.ebuild b/app-admin/sus/sus-2.0.6.ebuild
new file mode 100644
index 000000000000..2fa6f104ff88
--- /dev/null
+++ b/app-admin/sus/sus-2.0.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/sus-2.0.6.ebuild,v 1.1 2004/09/15 03:54:43 kumba Exp $
+
+inherit gcc
+
+DESCRIPTION="allows certain users to run commands as root or other users"
+HOMEPAGE="http://pdg.uow.edu.au/sus/"
+SRC_URI="http://pdg.uow.edu.au/sus/${P}.tar.Z"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc mips"
+IUSE="pam"
+
+DEPEND="virtual/libc
+ pam? ( >=sys-libs/pam-0.73-r1 )"
+
+
+src_compile() {
+ local myconf
+ local lflags
+ myconf="-DDEBUG"
+ use pam && myconf="${myconf} -DUSE_PAM" && lflags="-lpam"
+ myconf="${myconf} -DPROMISCUOUS -DUSE_SHADOW \
+ -DSUSERS=\\\"/etc/susers.cpp\\\""
+ make \
+ CC=$(gcc-getCC) \
+ CFLAGS="${CFLAGS} ${myconf}" \
+ LFLAGS="${lflags}" \
+ sus || die
+}
+
+src_install() {
+ dobin sus || die
+ newman man/sus.1 sus.8
+ dodoc 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 "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."
+}