diff options
author | Joshua Kinard <kumba@gentoo.org> | 2003-08-10 07:56:37 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2003-08-10 07:56:37 +0000 |
commit | 1cf90d8d5671bd3ff9d13e31c34ff7146966200e (patch) | |
tree | 4c11361a2b8ce22f00b1eeac5808a4f9f25b852e /app-admin | |
parent | Moved sus-2.0.1 to x86 stable; added sus-2.0.2 to unstable (diff) | |
download | gentoo-2-1cf90d8d5671bd3ff9d13e31c34ff7146966200e.tar.gz gentoo-2-1cf90d8d5671bd3ff9d13e31c34ff7146966200e.tar.bz2 gentoo-2-1cf90d8d5671bd3ff9d13e31c34ff7146966200e.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/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/sus/Manifest | 6 | ||||
-rw-r--r-- | app-admin/sus/files/digest-sus-2.0.2 | 1 | ||||
-rw-r--r-- | app-admin/sus/sus-2.0.1.ebuild | 4 | ||||
-rw-r--r-- | app-admin/sus/sus-2.0.2.ebuild | 51 |
5 files changed, 66 insertions, 6 deletions
diff --git a/app-admin/sus/ChangeLog b/app-admin/sus/ChangeLog index 960ad7657cb2..0326a93aa71f 100644 --- a/app-admin/sus/ChangeLog +++ b/app-admin/sus/ChangeLog @@ -1,9 +1,17 @@ # ChangeLog for app-admin/sus # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/ChangeLog,v 1.1 2003/06/28 02:51:18 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sus/ChangeLog,v 1.2 2003/08/10 07:56:31 kumba Exp $ + + +*sus-2.0.2 (10 Aug 2003) + 10 Aug 2003; Joshua Kinard <kumba@gentoo.org> sus-2.0.2.ebuild: + Added ebuild for sus-2.0.2.ebuild to x86/sparc/mips unstable. *sus-2.0.1 (27 Jun 2003) + 10 Aug 2003; Joshua Kinard <kumba@gentoo.org> sus-2.0.1.ebuild: + Moved sus-2.0.1 to x86 stable + 27 Jun 2003; Joshua Kinard <kumba@gentoo.org> sus-2.0.1.ebuild, files/susers.cpp: Initial creation; Set KEYWORDS to ~x86, ~sparc, and ~mips 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 "" +} |