summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-27 19:20:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-27 19:20:12 +0000
commit379f761b49cf39a0f9c78820ea6d8fedaf09bcef (patch)
treef45f1c6b27903205d31a77fdb155c7d7d0572a1d /net-mail/cmd5checkpw
parentRepoman issues. (diff)
downloadgentoo-2-379f761b49cf39a0f9c78820ea6d8fedaf09bcef.tar.gz
gentoo-2-379f761b49cf39a0f9c78820ea6d8fedaf09bcef.tar.bz2
gentoo-2-379f761b49cf39a0f9c78820ea6d8fedaf09bcef.zip
old ebuilds using bindnow-flags
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/cmd5checkpw')
-rw-r--r--net-mail/cmd5checkpw/Manifest4
-rw-r--r--net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild64
-rw-r--r--net-mail/cmd5checkpw/cmd5checkpw-0.30.ebuild76
-rw-r--r--net-mail/cmd5checkpw/files/euid.diff51
4 files changed, 0 insertions, 195 deletions
diff --git a/net-mail/cmd5checkpw/Manifest b/net-mail/cmd5checkpw/Manifest
index 51725f71c9dc..55898dc8d965 100644
--- a/net-mail/cmd5checkpw/Manifest
+++ b/net-mail/cmd5checkpw/Manifest
@@ -1,11 +1,7 @@
-AUX euid.diff 931 RMD160 39ab4ee00efd3dc0216a5aa105fa89543b0e2d71 SHA1 6e9a06cbe8acd13bb0aa7b077854b6cb8f54b5e6 SHA256 65fde0d1ef923906bcb3796b21ecb25241dfd7803df653d02c675c5ecbdde5c7
AUX euid_030.diff 1107 RMD160 a434c82d7ac8fc609c0d325a9dc1a420d3b788ef SHA1 8a20b0d92124d69d118bc3352512cac23d1845b5 SHA256 32f1f3294e5df0980290b2fddc008526d8f92850d5d7162a08d359a0891ef9cd
AUX poppasswd 84 RMD160 4d29b7e894d68972b542f9be8bddd99defce4b71 SHA1 26c20376ff564d0db5dc796264dd3c7a34a4b194 SHA256 1effea701373e52beff1b45b2d71ff1c215c4459a1f4c42c5950177c93a014cb
AUX reloc.diff 2330 RMD160 7141c69d763fa33addeda691d8f83c4f0ad715a4 SHA1 4e8c179eaa8c7777dc960fb755b268501a2666e1 SHA256 bc75c9aaa7aded7ca662d0d34b956a91e5e5f11c1c89095bdbe4b49344e9bec3
-DIST cmd5checkpw-0.22.tar.gz 24323 RMD160 30226f9866247c252cbd3053f239d361f53b6ff7 SHA1 8774aa2644f2a2cf1c62d6bd7d058134ba117841 SHA256 26d375a909520aaf980b59f01d994a796c87dfcf317b9dc31284f14ed92032d9
DIST cmd5checkpw-030_tgz.bin 25812 RMD160 01445093e6f005ebdb5483836e15625cc326d563 SHA1 0c78f99e38fa9faba3730a27c0fe2d5d182aff72 SHA256 88588e134a498f7efa69ee1d2a217aec7cb65a41b4206100455b5aa40d692f2d
-EBUILD cmd5checkpw-0.22-r3.ebuild 1554 RMD160 a7be061d363e339ca1227004a17771f80e3743f0 SHA1 a6d4bdad930785d0f5a0564c1120437ec5ab0472 SHA256 2d55ecae6ca2a7befb5d0bdbf926accac371784f5c71b5676d40cf285f375605
EBUILD cmd5checkpw-0.30-r1.ebuild 1774 RMD160 9a72452c2365bfce9d9bfe321239da85fb0096e5 SHA1 8a58697f010236d650a47eb26475bc242da52905 SHA256 49cd6dabdfdc7d2a9e1b6626a95a04bff81a3b7c73494536592698b50ce2d24b
-EBUILD cmd5checkpw-0.30.ebuild 2030 RMD160 764c7920f4b2254afbbdfc4dcf85c7c367b4a68c SHA1 b425b7a3d1dbc19f5f723b28df78ec194405f00e SHA256 e88dd75c9982c656314a725d5ea1f67583b0608661d3f94d63f5887b43e38278
MISC ChangeLog 7091 RMD160 640d30efe87540087393ed6ed64818934f8a40e6 SHA1 841742e8e90ed81489108def3886da8463ff56e4 SHA256 6bbc0153f878dcad7bc9364dde69c42aee225fa5ef7a9cdc4ff20d80b7efb4c3
MISC metadata.xml 159 RMD160 aa4ad961079c26af99cc726320fc79401e65ea9a SHA1 35fb9f5820b650eb060f5c4ece62c60de1bab0e9 SHA256 b0c15ada9b1606aa2ff9da86e0b7f0bbcd31f202958e29b4d862bf81a1a374e7
diff --git a/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild b/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild
deleted file mode 100644
index 4455760df71f..000000000000
--- a/net-mail/cmd5checkpw/cmd5checkpw-0.22-r3.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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.9 2005/10/21 21:18:17 hansmi Exp $
-
-inherit eutils toolchain-funcs
-
-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 -1 /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 "$(tc-getCC) ${CFLAGS}" > conf-cc
- echo "$(tc-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/cmd5checkpw-0.30.ebuild b/net-mail/cmd5checkpw/cmd5checkpw-0.30.ebuild
deleted file mode 100644
index 0a687a7c9e8f..000000000000
--- a/net-mail/cmd5checkpw/cmd5checkpw-0.30.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/cmd5checkpw-0.30.ebuild,v 1.14 2006/10/21 19:45:05 hansmi Exp $
-
-inherit eutils toolchain-funcs fixheadtails flag-o-matic
-
-MY_VER="030"
-
-DESCRIPTION="A checkpassword compatible authentication program that used CRAM-MD5 authentication mode."
-SRC_URI="http://www.fehcom.de/qmail/auth/${PN}-${MY_VER}_tgz.bin"
-HOMEPAGE="http://www.fehcom.de/qmail/smtpauth.html"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="virtual/libc"
-
-douser() {
- enewuser cmd5checkpw 212 -1 /dev/null bin
-}
-
-pkg_preinst() {
- douser
-}
-
-pkg_setup() {
- douser
- echo
- ewarn "this version is in NO WAY COMPATIBLE with cmd5checkpw-0.2x"
- ewarn "it actually receives the authentication credentials"
- ewarn "in a different order then the old implementation"
- ewarn "see bug #100693 for details"
- ewarn "this version IS needed by >=qmail-1.03-r16"
- echo
-}
-
-src_unpack() {
- tar -xzf "${DISTDIR}/${PN}-${MY_VER}_tgz.bin" -C "${WORKDIR}"
- cd "${S}"
- epatch ${FILESDIR}/euid_${MY_VER}.diff || die
- epatch ${FILESDIR}/reloc.diff || die
- ht_fix_file ${S}/Makefile
-}
-
-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+='$(bindnow-flags)'" \
- < Makefile.orig > Makefile
- cd ${S}
- echo "$(tc-getCC) ${CFLAGS}" > conf-cc
- echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
- make || die
-}
-
-src_install() {
- dodir /etc /bin /usr/share/man/man8
- insinto /etc
- doins ${FILESDIR}/poppasswd
- exeinto /bin
- doexe cmd5checkpw
- doman cmd5checkpw.8
- 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/euid.diff b/net-mail/cmd5checkpw/files/euid.diff
deleted file mode 100644
index 6f5ad4f89bdf..000000000000
--- a/net-mail/cmd5checkpw/files/euid.diff
+++ /dev/null
@@ -1,51 +0,0 @@
---- main.c-orig 2004-11-23 11:34:05.757230992 +0100
-+++ main.c 2004-11-23 11:55:46.117546176 +0100
-@@ -6,6 +6,10 @@
- #include <stdio.h>
- #include <unistd.h>
-
-+#include <sys/types.h>
-+#include <unistd.h>
-+
-+
- #define LINE_MAX 256
- #define SMTP_PASSWD_FILE "/etc/poppasswd"
- char up[513];
-@@ -22,10 +26,26 @@
- unsigned char h;
- FILE *fp;
- int j;
--
-+ uid_t uid;
-+ gid_t gid;
- char *linepnt;
-
- if ((fp = fopen(SMTP_PASSWD_FILE, "rt")) == NULL) _exit(2);
-+
-+ uid = getuid();
-+ gid = getgid();
-+
-+ if (gid != getegid()) {
-+ if (setegid(gid))
-+ _exit(2);
-+ }
-+
-+
-+ if (uid && (uid != geteuid())) {
-+ if (seteuid(uid))
-+ _exit(2);
-+ }
-+
- while (fgets(line, LINE_MAX, fp) != NULL) {
- if ((linepnt = strchr(line, '\n')) != NULL) {
- *linepnt = 0;
-@@ -38,7 +58,8 @@
- break;
- }
- }
-- fclose(fp);
-+
-+ if (EOF == fclose(fp)) _exit(2);
-
- if (!found_user) return(1);
-