summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-10-08 16:43:19 +0000
committerSimon Stelling <blubb@gentoo.org>2006-10-08 16:43:19 +0000
commit0ce96cb96da232f0f0f1376bffac453c5942380d (patch)
tree3a4a4321db2c345c459755ea748088b633fde3de /mail-filter/rblcheck
parentStable on amd64 - bug #150440 (diff)
downloadgentoo-2-0ce96cb96da232f0f0f1376bffac453c5942380d.tar.gz
gentoo-2-0ce96cb96da232f0f0f1376bffac453c5942380d.tar.bz2
gentoo-2-0ce96cb96da232f0f0f1376bffac453c5942380d.zip
added ~amd64 and a patch; fixup (R)DEPEND
(Portage version: 2.1.2_pre2-r3)
Diffstat (limited to 'mail-filter/rblcheck')
-rw-r--r--mail-filter/rblcheck/ChangeLog10
-rw-r--r--mail-filter/rblcheck/files/digest-rblcheck-1.54
-rw-r--r--mail-filter/rblcheck/files/rblcheck-1.5-configure.patch20
-rw-r--r--mail-filter/rblcheck/rblcheck-1.5.ebuild18
4 files changed, 45 insertions, 7 deletions
diff --git a/mail-filter/rblcheck/ChangeLog b/mail-filter/rblcheck/ChangeLog
index f56de2422d3e..ae063fdc4135 100644
--- a/mail-filter/rblcheck/ChangeLog
+++ b/mail-filter/rblcheck/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/rblcheck
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/rblcheck/ChangeLog,v 1.5 2005/05/23 08:48:43 ferdy Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/rblcheck/ChangeLog,v 1.6 2006/10/08 16:43:19 blubb Exp $
+
+ 08 Oct 2006; Simon Stelling <blubb@gentoo.org>
+ +files/rblcheck-1.5-configure.patch, rblcheck-1.5.ebuild:
+ - added patch to make it compile on amd64, thanks to Cliff Cunnington
+ - marked testing on amd64
+ - fixed up (R)DEPEND
23 May 2005; Fernando J. Pereda <ferdy@gentoo.org> rblcheck-1.5.ebuild:
fix CVS Header Error
diff --git a/mail-filter/rblcheck/files/digest-rblcheck-1.5 b/mail-filter/rblcheck/files/digest-rblcheck-1.5
index 1925eaf231ee..e2ae3dcd359e 100644
--- a/mail-filter/rblcheck/files/digest-rblcheck-1.5
+++ b/mail-filter/rblcheck/files/digest-rblcheck-1.5
@@ -1 +1,3 @@
-MD5 fb7ee9adc0e09eee9dda195f9b9e7ca4 rblcheck-1.5.tar.gz 150395
+MD5 fb7ee9adc0e09eee9dda195f9b9e7ca4 rblcheck-1.5.tar.gz 150395
+RMD160 82dd687151175084d74958090877311d9d2e8f23 rblcheck-1.5.tar.gz 150395
+SHA256 c0f28cb0ec215ce2244e2a2008dac76bb6426adf0804f53c6784e6baeec13a47 rblcheck-1.5.tar.gz 150395
diff --git a/mail-filter/rblcheck/files/rblcheck-1.5-configure.patch b/mail-filter/rblcheck/files/rblcheck-1.5-configure.patch
new file mode 100644
index 000000000000..f21f0dfa4a6a
--- /dev/null
+++ b/mail-filter/rblcheck/files/rblcheck-1.5-configure.patch
@@ -0,0 +1,20 @@
+--- rblcheck-1.5/configure 2005-07-01 10:50:36.000000000 +0100
++++ rblcheck-1.5/configure 2005-07-01 10:57:05.000000000 +0100
+@@ -1529,13 +1529,12 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 1531 "configure"
+ #include "confdefs.h"
+-/* Override any gcc2 internal prototype to avoid an error. */
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char res_query();
++
++/* Include <resolv.h> to get macro definition for res_query */
++#include <resolv.h>
+
+ int main() {
+-res_query()
++res_query("",0,0,"",0)
+ ; return 0; }
+ EOF
+ if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/mail-filter/rblcheck/rblcheck-1.5.ebuild b/mail-filter/rblcheck/rblcheck-1.5.ebuild
index 66263a70e1c2..66f3ecf8d8c1 100644
--- a/mail-filter/rblcheck/rblcheck-1.5.ebuild
+++ b/mail-filter/rblcheck/rblcheck-1.5.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/rblcheck/rblcheck-1.5.ebuild,v 1.6 2005/05/23 08:48:43 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/rblcheck/rblcheck-1.5.ebuild,v 1.7 2006/10/08 16:43:19 blubb Exp $
+
+inherit eutils
DESCRIPTION="Perform lookups in RBL-styles services."
HOMEPAGE="http://rblcheck.sourceforge.net/"
@@ -8,10 +10,18 @@ SRC_URI="mirror://sourceforge/rblcheck/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc alpha hppa mips"
+KEYWORDS="alpha ~amd64 hppa mips ppc sparc x86"
IUSE=""
-DEPEND="virtual/libc"
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-configure.patch
+}
src_compile() {
cd ${S}