# 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
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 32b85747d9e68e28efc2b2e03e91e246 rblcheck-1.5.ebuild 648
-MD5 c29111204a90a6a73b14cf624443d547 ChangeLog 947
+AUX rblcheck-1.5-configure.patch 719 RMD160 ed25e5c9eac3b400d96a218269f84d31987b35a4 SHA1 84fa1b2d11d4beeaf92fd89eb00b86e750a2423e SHA256 4aaa5d55b223221e06e831d8b3374dc82333e72699821f408477633b9a7ec8e6
+MD5 9e076fcdf40f014c5b9b850761cdaf30 files/rblcheck-1.5-configure.patch 719
+RMD160 ed25e5c9eac3b400d96a218269f84d31987b35a4 files/rblcheck-1.5-configure.patch 719
+SHA256 4aaa5d55b223221e06e831d8b3374dc82333e72699821f408477633b9a7ec8e6 files/rblcheck-1.5-configure.patch 719
+DIST rblcheck-1.5.tar.gz 150395 RMD160 82dd687151175084d74958090877311d9d2e8f23 SHA1 395e4bde8c2d3ec350e81a0af64cb63f82c4cdb3 SHA256 c0f28cb0ec215ce2244e2a2008dac76bb6426adf0804f53c6784e6baeec13a47
+EBUILD rblcheck-1.5.ebuild 752 RMD160 19a16242a7d76820871da282cd28e490cfde3711 SHA1 ea420ae85e1edc2a8b5b55afc0fb451d793eaf75 SHA256 da2272b69f51fd289ba03a081dc9b8bf455def38a7118ff08fd7e621841cbb83
+MD5 af20c803875b5931725c0ffd873a7534 rblcheck-1.5.ebuild 752
+RMD160 19a16242a7d76820871da282cd28e490cfde3711 rblcheck-1.5.ebuild 752
+SHA256 da2272b69f51fd289ba03a081dc9b8bf455def38a7118ff08fd7e621841cbb83 rblcheck-1.5.ebuild 752
+MISC ChangeLog 1180 RMD160 4dcedf5758ebb602250ad83bf2ae5eb6886375c1 SHA1 ea7e159c0859772e0c5866fb0a8b3cbbf113fb68 SHA256 76f95e8b504cb4215166c0ca1b9a1081a9ce61c11165c123706e41da05d8fbaf
+MD5 8790c317b588a5d51893f401b547e76a ChangeLog 1180
+RMD160 4dcedf5758ebb602250ad83bf2ae5eb6886375c1 ChangeLog 1180
+SHA256 76f95e8b504cb4215166c0ca1b9a1081a9ce61c11165c123706e41da05d8fbaf ChangeLog 1180
+MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 5b98f78399ffb83e1d63e1e054e8886f files/digest-rblcheck-1.5 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCkZj+ViELBEf1JB0RAialAJ9P1JfSH1RRnhspHrAKXsmTlSjHEwCePPnh
-j0ucwSoq7TA5jLRUEYuKzuQ=
-=6Aym
------END PGP SIGNATURE-----
+RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161
+SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 metadata.xml 161
+MD5 c3563ae260bf733950c3bd582726138e files/digest-rblcheck-1.5 238
+RMD160 869915db34acc4bdae9550200bfae156d9f82b21 files/digest-rblcheck-1.5 238
+SHA256 43e72735b479c7205c1d664b4ee8ceac700ecd9d3b91ba10bb6463f246e147cc files/digest-rblcheck-1.5 238
-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
--- /dev/null
+--- 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
-# 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/"
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}