summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-03-15 08:34:16 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-03-15 08:34:16 +0000
commit9500e252393588d289331e579814d9dd0ce65663 (patch)
treead994353836da42c9ae14e7882a327a330d0c94d /net-mail/cmd5checkpw
parentAdded ~x86 keyword to latest gtk2 build... (diff)
downloadhistorical-9500e252393588d289331e579814d9dd0ce65663.tar.gz
historical-9500e252393588d289331e579814d9dd0ce65663.tar.bz2
historical-9500e252393588d289331e579814d9dd0ce65663.zip
Bug #85288: no lazy bindings for setuid code.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-mail/cmd5checkpw')
-rw-r--r--net-mail/cmd5checkpw/ChangeLog8
-rw-r--r--net-mail/cmd5checkpw/Manifest10
-rw-r--r--net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild64
-rw-r--r--net-mail/cmd5checkpw/files/digest-cmd5checkpw-0.22-r31
4 files changed, 78 insertions, 5 deletions
diff --git a/net-mail/cmd5checkpw/ChangeLog b/net-mail/cmd5checkpw/ChangeLog
index b8f77a471566..3f848c46fb5c 100644
--- a/net-mail/cmd5checkpw/ChangeLog
+++ b/net-mail/cmd5checkpw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/cmd5checkpw
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/ChangeLog,v 1.23 2005/02/21 16:39:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/ChangeLog,v 1.24 2005/03/15 08:34:16 robbat2 Exp $
+
+*cmd5checkpw-0.22-r3 (15 Mar 2005)
+
+ 15 Mar 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +cmd5checkpw-0.22-r3.ebuild:
+ Bug #85288: no lazy bindings for setuid code.
21 Feb 2005; Aron Griffis <agriffis@gentoo.org>
cmd5checkpw-0.22-r2.ebuild:
diff --git a/net-mail/cmd5checkpw/Manifest b/net-mail/cmd5checkpw/Manifest
index 5ff954079bc8..7a3a1e911764 100644
--- a/net-mail/cmd5checkpw/Manifest
+++ b/net-mail/cmd5checkpw/Manifest
@@ -1,8 +1,10 @@
-MD5 eecef52161d2dd369c448a6292e7d440 ChangeLog 2772
+MD5 bf38629e78ff602efb52fba1f05bd508 cmd5checkpw-0.22-r3.ebuild 1562
+MD5 855083cb17e18016a59cc5cb3bbe9539 cmd5checkpw-0.22-r2.ebuild 1508
+MD5 6e66126dad5f506b07e6c9c860d3ee77 ChangeLog 2940
MD5 aacd8f2db592426a19a8f21256399c34 cmd5checkpw-0.22-r1.ebuild 1399
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 855083cb17e18016a59cc5cb3bbe9539 cmd5checkpw-0.22-r2.ebuild 1508
-MD5 ad1486139852e253c71bccd1c53083ba files/digest-cmd5checkpw-0.22-r1 67
MD5 a3bc1c985b3e114b9e1a4b9a8b7810da files/poppasswd 84
-MD5 ad1486139852e253c71bccd1c53083ba files/digest-cmd5checkpw-0.22-r2 67
MD5 970ef1c2abdda72f534516f43e89f20a files/euid.diff 931
+MD5 ad1486139852e253c71bccd1c53083ba files/digest-cmd5checkpw-0.22-r1 67
+MD5 ad1486139852e253c71bccd1c53083ba files/digest-cmd5checkpw-0.22-r2 67
+MD5 ad1486139852e253c71bccd1c53083ba files/digest-cmd5checkpw-0.22-r3 67
diff --git a/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild b/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild
new file mode 100644
index 000000000000..ddd2d68bb092
--- /dev/null
+++ b/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild,v 1.1 2005/03/15 08:34:16 robbat2 Exp $
+
+inherit eutils gcc
+
+DESCRIPTION="A checkpassword compatible authentication program that used CRAM-MD5 authentication mode."
+SRC_URI="http://members.elysium.pl/brush/cmd5checkpw/dist/${P}.tar.gz"
+HOMEPAGE="http://members.elysium.pl/brush/cmd5checkpw/"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+douser() {
+ enewuser cmd5checkpw 212 /bin/false /dev/null bin
+}
+
+pkg_preinst() {
+ douser
+}
+
+pkg_setup() {
+ douser
+}
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+
+ epatch ${FILESDIR}/euid.diff || die 'Applying euid.diff failed'
+}
+
+src_compile() {
+ cp Makefile Makefile.orig
+ sed \
+ -e "s:-c -g -Wall -O3:${CFLAGS}:" \
+ -e "s:cp cmd5checkpw /bin/:cp cmd5checkpw \${D}/bin/:" \
+ -e "s:cp cmd5checkpw.8 /usr/man/man8/:cp cmd5checkpw.8 \${D}/usr/share/man/man8/:" \
+ -e "/^LDFLAGS/ a LDFLAGS+='-Wl,-z,now'" \
+ < Makefile.orig > Makefile
+ cd ${S}
+ echo "$(gcc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(gcc-getCC) ${LDFLAGS}" > conf-ld
+ make || die
+}
+
+src_install() {
+ dodir /etc /bin /usr/share/man/man8
+ insinto /etc
+ doins ${FILESDIR}/poppasswd
+ make install
+ fowners cmd5checkpw /etc/poppasswd /bin/cmd5checkpw
+ fperms 400 /etc/poppasswd
+ fperms u+s /bin/cmd5checkpw
+}
+
+pkg_postinst() {
+ chmod 400 ${ROOT}/etc/poppasswd
+ chown cmd5checkpw ${ROOT}/etc/poppasswd
+}
diff --git a/net-mail/cmd5checkpw/files/digest-cmd5checkpw-0.22-r3 b/net-mail/cmd5checkpw/files/digest-cmd5checkpw-0.22-r3
new file mode 100644
index 000000000000..53de5a450fbb
--- /dev/null
+++ b/net-mail/cmd5checkpw/files/digest-cmd5checkpw-0.22-r3
@@ -0,0 +1 @@
+MD5 40092caf3608cbc8bd23220b2b28cb52 cmd5checkpw-0.22.tar.gz 24323