summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-09-17 16:00:30 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-09-17 16:00:30 +0000
commit3456abb04b57eefea2138a3a73a056eec8b4f454 (patch)
treeb183daad99d959bb87c91a7994eae9ee13ba51d6 /app-admin/sudo
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-3456abb04b57eefea2138a3a73a056eec8b4f454.tar.gz
gentoo-2-3456abb04b57eefea2138a3a73a056eec8b4f454.tar.bz2
gentoo-2-3456abb04b57eefea2138a3a73a056eec8b4f454.zip
Version bump
Diffstat (limited to 'app-admin/sudo')
-rw-r--r--app-admin/sudo/ChangeLog7
-rw-r--r--app-admin/sudo/Manifest2
-rw-r--r--app-admin/sudo/files/digest-sudo-1.6.8_p11
-rw-r--r--app-admin/sudo/files/sudo-1.6.8_p1-suid_fix.patch11
-rw-r--r--app-admin/sudo/sudo-1.6.8_p1.ebuild48
5 files changed, 68 insertions, 1 deletions
diff --git a/app-admin/sudo/ChangeLog b/app-admin/sudo/ChangeLog
index af9c8fa168e6..33b6d5b3c8ee 100644
--- a/app-admin/sudo/ChangeLog
+++ b/app-admin/sudo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/sudo
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.25 2004/07/31 04:56:31 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.26 2004/09/17 16:00:30 aliz Exp $
+
+*sudo-1.6.8_p1 (17 Sep 2004)
+
+ 17 Sep 2004; Daniel Ahlberg <aliz@gentoo.org> sudo-1.6.8_p1.ebuild:
+ Version bump.
31 Jul 2004; <solar@gentoo.org> sudo-1.6.7_p5.ebuild:
gnuconfig update needed for atleast uclibc
diff --git a/app-admin/sudo/Manifest b/app-admin/sudo/Manifest
index 6b263e55cf82..15471569e272 100644
--- a/app-admin/sudo/Manifest
+++ b/app-admin/sudo/Manifest
@@ -1,6 +1,8 @@
MD5 0e0016865e514e87266db998b33bd851 sudo-1.6.6.ebuild 877
+MD5 c4364dcfd263577598949e28a081203a sudo-1.6.8_p1.ebuild 976
MD5 c4364dcfd263577598949e28a081203a sudo-1.6.7_p5.ebuild 976
MD5 c198e00e292c18385d489ad8ccd91bd6 ChangeLog 2967
MD5 a5463236fbb98e4ee6b1a0faba8c9c52 files/sudo 135
MD5 d3a1edd41e6a44e7dae35d250aea266e files/digest-sudo-1.6.6 62
MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5 64
+MD5 703a1c523c89153f9bf6f11be6b65778 files/digest-sudo-1.6.8_p1 64
diff --git a/app-admin/sudo/files/digest-sudo-1.6.8_p1 b/app-admin/sudo/files/digest-sudo-1.6.8_p1
new file mode 100644
index 000000000000..c0f172fb962e
--- /dev/null
+++ b/app-admin/sudo/files/digest-sudo-1.6.8_p1
@@ -0,0 +1 @@
+MD5 7fa9649f327d2e92eb1a73da537759d5 sudo-1.6.8p1.tar.gz 583464
diff --git a/app-admin/sudo/files/sudo-1.6.8_p1-suid_fix.patch b/app-admin/sudo/files/sudo-1.6.8_p1-suid_fix.patch
new file mode 100644
index 000000000000..8697a1e352ed
--- /dev/null
+++ b/app-admin/sudo/files/sudo-1.6.8_p1-suid_fix.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2004-09-17 15:26:12.578416939 +0000
++++ Makefile.in 2004-09-17 15:26:28.361587463 +0000
+@@ -172,7 +172,7 @@
+ $(NROFF) -man $< > $(srcdir)/$@
+
+ sudo: $(SUDOBJS) $(LIBOBJS)
+- $(CC) -o $@ $(SUDOBJS) $(LIBOBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS)
++ $(CC) -o $@ $(SUDOBJS) $(LIBOBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS) -Wl,-z,now
+
+ visudo: $(VISUDOBJS) $(LIBOBJS)
+ $(CC) -o $@ $(VISUDOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
diff --git a/app-admin/sudo/sudo-1.6.8_p1.ebuild b/app-admin/sudo/sudo-1.6.8_p1.ebuild
new file mode 100644
index 000000000000..1233011e019c
--- /dev/null
+++ b/app-admin/sudo/sudo-1.6.8_p1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.8_p1.ebuild,v 1.1 2004/09/17 16:00:30 aliz Exp $
+
+inherit gnuconfig eutils
+
+#
+# TODO: Fix support for krb4 and krb5
+#
+
+DESCRIPTION="Allows certain users/groups to run commands as root"
+HOMEPAGE="http://www.sudo.ws/"
+SRC_URI="ftp://ftp.sudo.ws/pub/sudo/${P/_/}.tar.gz"
+
+LICENSE="Sudo"
+SLOT="0"
+KEYWORDS="-*"
+#KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
+IUSE="pam"
+
+DEPEND="pam? ( >=sys-libs/pam-0.73-r1 )"
+
+S=${WORKDIR}/${P/_/}
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+ gnuconfig_update
+
+ epatch ${FILESDIR}/${P}-suid_fix.patch
+}
+
+src_compile() {
+ econf \
+ --with-all-insults \
+ --disable-path-info \
+ --with-env-editor \
+ `use_with pam` \
+ || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dodoc BUGS CHANGES HISTORY PORTING README RUNSON TODO \
+ TROUBLESHOOTING UPGRADE sample.*
+ insinto /etc/pam.d
+ doins ${FILESDIR}/sudo
+}