summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-09-27 11:55:55 +0000
committerSimon Stelling <blubb@gentoo.org>2006-09-27 11:55:55 +0000
commitefe3b4a459ec456522dc63b7d3f1290877ac9aa8 (patch)
treebf419cf775a919a35f573d9cf64383daca64dfdf /mail-filter/libspf2
parentRemove obsolete version (#148065). (diff)
downloadgentoo-2-efe3b4a459ec456522dc63b7d3f1290877ac9aa8.tar.gz
gentoo-2-efe3b4a459ec456522dc63b7d3f1290877ac9aa8.tar.bz2
gentoo-2-efe3b4a459ec456522dc63b7d3f1290877ac9aa8.zip
fix 64bit issues; bug 113128; thanks to Olivier Hill for the patch
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'mail-filter/libspf2')
-rw-r--r--mail-filter/libspf2/ChangeLog8
-rw-r--r--mail-filter/libspf2/files/digest-libspf2-1.2.52
-rw-r--r--mail-filter/libspf2/files/digest-libspf2-1.2.5-r12
-rw-r--r--mail-filter/libspf2/files/digest-libspf2-1.2.5-r23
-rw-r--r--mail-filter/libspf2/files/libspf2-1.2.5-64bit.patch11
-rw-r--r--mail-filter/libspf2/libspf2-1.2.5-r2.ebuild46
6 files changed, 71 insertions, 1 deletions
diff --git a/mail-filter/libspf2/ChangeLog b/mail-filter/libspf2/ChangeLog
index c93f84319d16..99ff48bbd8c0 100644
--- a/mail-filter/libspf2/ChangeLog
+++ b/mail-filter/libspf2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/libspf2
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.16 2006/01/26 23:15:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.17 2006/09/27 11:55:55 blubb Exp $
+
+*libspf2-1.2.5-r2 (27 Sep 2006)
+
+ 27 Sep 2006; Simon Stelling <blubb@gentoo.org>
+ +files/libspf2-1.2.5-64bit.patch, +libspf2-1.2.5-r2.ebuild:
+ fix 64bit issues; bug 113128; thanks to Olivier Hill for the patch
26 Jan 2006; Aron Griffis <agriffis@gentoo.org> libspf2-1.2.5-r1.ebuild:
Mark 1.2.5-r1 stable on ia64
diff --git a/mail-filter/libspf2/files/digest-libspf2-1.2.5 b/mail-filter/libspf2/files/digest-libspf2-1.2.5
index 935e47348967..5991e9e3cdbd 100644
--- a/mail-filter/libspf2/files/digest-libspf2-1.2.5
+++ b/mail-filter/libspf2/files/digest-libspf2-1.2.5
@@ -1 +1,3 @@
MD5 06ed6a3b0b54c8590679315ae2d28ad9 libspf2-1.2.5.tar.gz 517945
+RMD160 7f53005709551dfe8a1db28c5c8195caff64b7da libspf2-1.2.5.tar.gz 517945
+SHA256 879410f87ab4ffd575b1d8149167de6d5eee751199debc039efcc1558c7d0ecb libspf2-1.2.5.tar.gz 517945
diff --git a/mail-filter/libspf2/files/digest-libspf2-1.2.5-r1 b/mail-filter/libspf2/files/digest-libspf2-1.2.5-r1
index 935e47348967..5991e9e3cdbd 100644
--- a/mail-filter/libspf2/files/digest-libspf2-1.2.5-r1
+++ b/mail-filter/libspf2/files/digest-libspf2-1.2.5-r1
@@ -1 +1,3 @@
MD5 06ed6a3b0b54c8590679315ae2d28ad9 libspf2-1.2.5.tar.gz 517945
+RMD160 7f53005709551dfe8a1db28c5c8195caff64b7da libspf2-1.2.5.tar.gz 517945
+SHA256 879410f87ab4ffd575b1d8149167de6d5eee751199debc039efcc1558c7d0ecb libspf2-1.2.5.tar.gz 517945
diff --git a/mail-filter/libspf2/files/digest-libspf2-1.2.5-r2 b/mail-filter/libspf2/files/digest-libspf2-1.2.5-r2
new file mode 100644
index 000000000000..5991e9e3cdbd
--- /dev/null
+++ b/mail-filter/libspf2/files/digest-libspf2-1.2.5-r2
@@ -0,0 +1,3 @@
+MD5 06ed6a3b0b54c8590679315ae2d28ad9 libspf2-1.2.5.tar.gz 517945
+RMD160 7f53005709551dfe8a1db28c5c8195caff64b7da libspf2-1.2.5.tar.gz 517945
+SHA256 879410f87ab4ffd575b1d8149167de6d5eee751199debc039efcc1558c7d0ecb libspf2-1.2.5.tar.gz 517945
diff --git a/mail-filter/libspf2/files/libspf2-1.2.5-64bit.patch b/mail-filter/libspf2/files/libspf2-1.2.5-64bit.patch
new file mode 100644
index 000000000000..293b7ae1e35c
--- /dev/null
+++ b/mail-filter/libspf2/files/libspf2-1.2.5-64bit.patch
@@ -0,0 +1,11 @@
+--- src/libspf2/spf_interpret.c.orig 2005-02-21 22:41:27.000000000 -0500
++++ src/libspf2/spf_interpret.c 2005-11-20 22:55:04.000000000 -0500
+@@ -49,7 +49,7 @@
+ SPF_record_t *spf_record;
+ SPF_errcode_t err;
+ char *buf;
+- int buflen;
++ size_t buflen;
+ int len;
+
+ SPF_ASSERT_NOTNULL(spf_response);
diff --git a/mail-filter/libspf2/libspf2-1.2.5-r2.ebuild b/mail-filter/libspf2/libspf2-1.2.5-r2.ebuild
new file mode 100644
index 000000000000..2f355b4b235f
--- /dev/null
+++ b/mail-filter/libspf2/libspf2-1.2.5-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.5-r2.ebuild,v 1.1 2006/09/27 11:55:55 blubb Exp $
+
+inherit eutils
+
+DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair."
+HOMEPAGE="http://www.libspf2.org/"
+SRC_URI="http://www.libspf2.org/spf/libspf2-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/patch-libspf2-1.2.5-nointernal || die
+ epatch ${FILESDIR}/${P}-64bit.patch || die
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+
+ dodoc Changelog INSTALL README TODO docs/*.txt docs/API
+}
+
+pkg_postinst() {
+ einfo "${P} was successfully installed."
+ einfo "Please read the associated docs for help."
+ einfo "Or visit the website @ ${HOMEPAGE}"
+ echo
+ ewarn "This package is still in unstable."
+ ewarn "Please report bugs to http://bugs.gentoo.org/"
+ ewarn "However, please do an advanced query to search for bugs"
+ ewarn "before reporting. This will keep down on duplicates."
+}