summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/checkpassword/ChangeLog10
-rw-r--r--net-mail/checkpassword/checkpassword-0.90-r3.ebuild37
-rw-r--r--net-mail/checkpassword/files/0.90-exit.patch10
-rw-r--r--net-mail/cmd5checkpw/ChangeLog10
-rw-r--r--net-mail/cmd5checkpw/cmd5checkpw-0.30-r1.ebuild72
-rw-r--r--net-mail/cmd5checkpw/metadata.xml2
-rw-r--r--net-mail/dot-forward/ChangeLog10
-rw-r--r--net-mail/dot-forward/dot-forward-0.71-r3.ebuild49
8 files changed, 193 insertions, 7 deletions
diff --git a/net-mail/checkpassword/ChangeLog b/net-mail/checkpassword/ChangeLog
index 3d65d4fec6e5..a1120cd9ede8 100644
--- a/net-mail/checkpassword/ChangeLog
+++ b/net-mail/checkpassword/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/checkpassword
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpassword/ChangeLog,v 1.21 2006/10/21 19:45:18 hansmi Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpassword/ChangeLog,v 1.22 2008/04/06 17:13:28 hollow Exp $
+
+*checkpassword-0.90-r3 (06 Apr 2008)
+
+ 06 Apr 2008; Benedikt Böhm <hollow@gentoo.org> +files/0.90-exit.patch,
+ +checkpassword-0.90-r3.ebuild:
+ use new qmail.eclass; ebuild cleanup
21 Oct 2006; Michael Hanselmann <hansmi@gentoo.org>
checkpassword-0.90-r2.ebuild:
diff --git a/net-mail/checkpassword/checkpassword-0.90-r3.ebuild b/net-mail/checkpassword/checkpassword-0.90-r3.ebuild
new file mode 100644
index 000000000000..1ac822a60f79
--- /dev/null
+++ b/net-mail/checkpassword/checkpassword-0.90-r3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/checkpassword/checkpassword-0.90-r3.ebuild,v 1.1 2008/04/06 17:13:28 hollow Exp $
+
+inherit eutils fixheadtails flag-o-matic qmail
+
+DESCRIPTION="A uniform password checking interface for root applications"
+HOMEPAGE="http://cr.yp.to/checkpwd.html"
+SRC_URI="http://cr.yp.to/checkpwd/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-errno.patch
+ epatch "${FILESDIR}"/${PV}-exit.patch
+
+ ht_fix_file Makefile print-cc.sh
+
+ use static && append-ldflags -static
+ qmail_set_cc
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ into /
+ dobin checkpassword || die
+ dodoc CHANGES README TODO VERSION FILES SYSDEPS TARGETS
+}
diff --git a/net-mail/checkpassword/files/0.90-exit.patch b/net-mail/checkpassword/files/0.90-exit.patch
new file mode 100644
index 000000000000..e8e4d2d1fc1e
--- /dev/null
+++ b/net-mail/checkpassword/files/0.90-exit.patch
@@ -0,0 +1,10 @@
+Index: checkpassword-0.90/checkpassword.c
+===================================================================
+--- checkpassword-0.90.orig/checkpassword.c
++++ checkpassword-0.90/checkpassword.c
+@@ -1,3 +1,5 @@
++#include <unistd.h>
++
+ #include "error.h"
+ #include "pathexec.h"
+ #include "prot.h"
diff --git a/net-mail/cmd5checkpw/ChangeLog b/net-mail/cmd5checkpw/ChangeLog
index b0b7a18385d1..a7d3546eaac8 100644
--- a/net-mail/cmd5checkpw/ChangeLog
+++ b/net-mail/cmd5checkpw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/cmd5checkpw
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/ChangeLog,v 1.45 2007/02/22 01:40:28 peper Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/ChangeLog,v 1.46 2008/04/06 17:11:21 hollow Exp $
+
+*cmd5checkpw-0.30-r1 (06 Apr 2008)
+
+ 06 Apr 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
+ +cmd5checkpw-0.30-r1.ebuild:
+ use new qmail.eclass; ebuild cleanup
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/net-mail/cmd5checkpw/cmd5checkpw-0.30-r1.ebuild b/net-mail/cmd5checkpw/cmd5checkpw-0.30-r1.ebuild
new file mode 100644
index 000000000000..7178c47091ff
--- /dev/null
+++ b/net-mail/cmd5checkpw/cmd5checkpw-0.30-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cmd5checkpw/cmd5checkpw-0.30-r1.ebuild,v 1.1 2008/04/06 17:11:21 hollow Exp $
+
+inherit eutils fixheadtails qmail
+
+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=""
+RDEPEND=""
+
+pkg_setup() {
+ enewuser cmd5checkpw 212 -1 /dev/null bin
+ ewarn
+ 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"
+ ewarn
+}
+
+src_unpack() {
+ mv "${DISTDIR}"/${PN}-${MY_VER}{_tgz.bin,.tar.gz}
+ unpack ${PN}-${MY_VER}.tar.gz
+ cd "${S}"
+
+ epatch "${FILESDIR}"/euid_${MY_VER}.diff
+ epatch "${FILESDIR}"/reloc.diff
+
+ 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/:" \
+ -i Makefile
+
+ ht_fix_file Makefile
+
+ qmail_set_cc
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ 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/metadata.xml b/net-mail/cmd5checkpw/metadata.xml
index 210ce3ffc25e..0cb478b8c6ca 100644
--- a/net-mail/cmd5checkpw/metadata.xml
+++ b/net-mail/cmd5checkpw/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>qmail</herd>
+ <herd>qmail</herd>
</pkgmetadata>
diff --git a/net-mail/dot-forward/ChangeLog b/net-mail/dot-forward/ChangeLog
index 890ad668a6d1..0daab311ca36 100644
--- a/net-mail/dot-forward/ChangeLog
+++ b/net-mail/dot-forward/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/dot-forward
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/ChangeLog,v 1.24 2006/10/21 19:45:47 hansmi Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/ChangeLog,v 1.25 2008/04/06 17:08:19 hollow Exp $
+
+*dot-forward-0.71-r3 (06 Apr 2008)
+
+ 06 Apr 2008; Benedikt Böhm <hollow@gentoo.org>
+ +dot-forward-0.71-r3.ebuild:
+ use new qmail.eclass; ebuild cleanup
21 Oct 2006; Michael Hanselmann <hansmi@gentoo.org>
dot-forward-0.71-r2.ebuild:
diff --git a/net-mail/dot-forward/dot-forward-0.71-r3.ebuild b/net-mail/dot-forward/dot-forward-0.71-r3.ebuild
new file mode 100644
index 000000000000..e8b14a3a9074
--- /dev/null
+++ b/net-mail/dot-forward/dot-forward-0.71-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dot-forward/dot-forward-0.71-r3.ebuild,v 1.1 2008/04/06 17:08:19 hollow Exp $
+
+inherit eutils fixheadtails qmail
+
+DESCRIPTION="reads sendmail's .forward files under qmail"
+HOMEPAGE="http://cr.yp.to/dot-forward.html"
+SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+# See bug 97850
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+ qmail_create_groups
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-errno.patch
+
+ ht_fix_file Makefile
+
+ qmail_set_cc
+}
+
+src_compile() {
+ emake prog || die
+}
+
+src_install() {
+ dodoc BLURB CHANGES FILES INSTALL README SYSDEPS TARGETS THANKS
+ dodoc TODO VERSION
+ doman *.1
+
+ insopts -o root -g qmail -m 755
+ insinto "${QMAIL_HOME}"/bin
+ doins dot-forward || die
+}