diff options
-rw-r--r-- | net-mail/qmail/ChangeLog | 3 | ||||
-rw-r--r-- | net-mail/qmail/files/1.03-r10/errno.patch | 38 | ||||
-rw-r--r-- | net-mail/qmail/files/digest-qmail-1.03-r10 | 1 | ||||
-rw-r--r-- | net-mail/qmail/qmail-1.03-r10.ebuild | 11 |
4 files changed, 50 insertions, 3 deletions
diff --git a/net-mail/qmail/ChangeLog b/net-mail/qmail/ChangeLog index ae1bb4761892..b451c6c095eb 100644 --- a/net-mail/qmail/ChangeLog +++ b/net-mail/qmail/ChangeLog @@ -1,12 +1,13 @@ # ChangeLog for net-mail/qmail # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/ChangeLog,v 1.14 2003/02/05 01:46:09 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/ChangeLog,v 1.15 2003/02/05 05:38:14 raker Exp $ *qmail-1.03-r10 (01 Feb 2003) 04 Feb 2003; Nick Hadaway <raker@gentoo.org> qmail-1.03-r10.ebuild : Moved the ssl cert creation to pkg_config() and it only goes through the cert creation if the file doesn't already exist. Thanks vapier. + Added a patch for 0.0.0.0 addresses and errno detection. 02 Feb 2003; Nick Hadaway <raker@gentoo.org> qmail-1.03-r10.ebuild : Added a missing qmail-todo. Thanks to shadow@ines.ro on bug #14963 diff --git a/net-mail/qmail/files/1.03-r10/errno.patch b/net-mail/qmail/files/1.03-r10/errno.patch new file mode 100644 index 000000000000..f9b77b91e065 --- /dev/null +++ b/net-mail/qmail/files/1.03-r10/errno.patch @@ -0,0 +1,38 @@ +% diff -u3 error.h.orig error.h +--- error.h.orig 1998-06-15 06:53:16.000000000 -0400 ++++ error.h 2002-12-24 20:28:40.000000000 -0500 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem; + + +% diff -u3 dns.c.orig dns.c +--- dns.c.orig 2002-08-09 19:20:48.000000000 -0400 ++++ dns.c 2002-12-24 20:42:46.000000000 -0500 +@@ -7,8 +7,6 @@ + #include <errno.h> + extern int res_query(); + extern int res_search(); +-extern int errno; +-extern int h_errno; + #include "ip.h" + #include "ipalloc.h" + #include "fmt.h" + + +% diff -u3 cdb_seek.c.orig cdb_seek.c +--- cdb_seek.c.orig 1998-06-15 06:53:16.000000000 -0400 ++++ cdb_seek.c 2002-12-24 20:42:52.000000000 -0500 +@@ -1,6 +1,5 @@ + #include <sys/types.h> + #include <errno.h> +-extern int errno; + #include "cdb.h" + + #ifndef SEEK_SET diff --git a/net-mail/qmail/files/digest-qmail-1.03-r10 b/net-mail/qmail/files/digest-qmail-1.03-r10 index 6ad5ffb471dd..aa9a903999e5 100644 --- a/net-mail/qmail/files/digest-qmail-1.03-r10 +++ b/net-mail/qmail/files/digest-qmail-1.03-r10 @@ -3,3 +3,4 @@ MD5 6b202f71a99fb41e9e32906017270ba0 qmail-smtpd-auth-0.31.tar.gz 8798 MD5 1d5b0aafb651ce2ad02aac6af80758c0 qmail-link-sync.patch 1403 MD5 99070bb55cac5ad61f8fb203422e651e ext_todo-20030105.patch 33763 MD5 2ff58c3570870a8ff9a1d9eb9aec05a6 big-concurrency.patch 9331 +MD5 8edda59102180973dd1bb546da7de160 qmail-0.0.0.0.patch 450 diff --git a/net-mail/qmail/qmail-1.03-r10.ebuild b/net-mail/qmail/qmail-1.03-r10.ebuild index f90dd4b04e6f..244b76eea0ed 100644 --- a/net-mail/qmail/qmail-1.03-r10.ebuild +++ b/net-mail/qmail/qmail-1.03-r10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r10.ebuild,v 1.5 2003/02/05 01:46:09 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r10.ebuild,v 1.6 2003/02/05 05:38:14 raker Exp $ IUSE="ssl" @@ -13,7 +13,8 @@ SRC_URI="http://cr.yp.to/software/qmail-1.03.tar.gz http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-auth-0.31.tar.gz http://www.jedi.claranet.fr/qmail-link-sync.patch http://www.nrg4u.com/qmail/ext_todo-20030105.patch - http://www.qmail.org/big-concurrency.patch" + http://www.qmail.org/big-concurrency.patch + http://www.suspectclass.com/~sgifford/qmail/qmail-0.0.0.0.patch" DEPEND="virtual/glibc sys-apps/groff >=sys-apps/ucspi-tcp-0.88 @@ -60,6 +61,12 @@ src_unpack() { # Increase limits for large mail systems epatch ${DISTDIR}/big-concurrency.patch || die + # Treat 0.0.0.0 as a local address + epatch ${DISTDIR}/qmail-0.0.0.0.patch || die + + # Let the system decide how to define errno + epatch ${FILESDIR}/${PV}-${PR}/errno.patch || die + if [ `use ssl` ]; then echo "gcc ${CFLAGS} -DTLS" > conf-cc else |