[arch-commits] Commit in rblcheck/repos (20 files)
Sébastien Luttringer
seblu at archlinux.org
Fri Sep 18 01:31:10 UTC 2015
Date: Friday, September 18, 2015 @ 03:31:09
Author: seblu
Revision: 140636
archrelease: copy trunk to community-i686, community-x86_64
Added:
rblcheck/repos/community-i686/01-change-filename-tags-for-directories.patch
(from rev 140635, rblcheck/trunk/01-change-filename-tags-for-directories.patch)
rblcheck/repos/community-i686/02-fix-configure.patch
(from rev 140635, rblcheck/trunk/02-fix-configure.patch)
rblcheck/repos/community-i686/03-custom-rbl.patch
(from rev 140635, rblcheck/trunk/03-custom-rbl.patch)
rblcheck/repos/community-i686/04-fix-missing-include.patch
(from rev 140635, rblcheck/trunk/04-fix-missing-include.patch)
rblcheck/repos/community-i686/PKGBUILD
(from rev 140635, rblcheck/trunk/PKGBUILD)
rblcheck/repos/community-x86_64/01-change-filename-tags-for-directories.patch
(from rev 140635, rblcheck/trunk/01-change-filename-tags-for-directories.patch)
rblcheck/repos/community-x86_64/02-fix-configure.patch
(from rev 140635, rblcheck/trunk/02-fix-configure.patch)
rblcheck/repos/community-x86_64/03-custom-rbl.patch
(from rev 140635, rblcheck/trunk/03-custom-rbl.patch)
rblcheck/repos/community-x86_64/04-fix-missing-include.patch
(from rev 140635, rblcheck/trunk/04-fix-missing-include.patch)
rblcheck/repos/community-x86_64/PKGBUILD
(from rev 140635, rblcheck/trunk/PKGBUILD)
Deleted:
rblcheck/repos/community-i686/01-change-filename-tags-for-directories.patch
rblcheck/repos/community-i686/02-fix-configure.patch
rblcheck/repos/community-i686/03-custom-rbl.patch
rblcheck/repos/community-i686/04-fix-missing-include.patch
rblcheck/repos/community-i686/PKGBUILD
rblcheck/repos/community-x86_64/01-change-filename-tags-for-directories.patch
rblcheck/repos/community-x86_64/02-fix-configure.patch
rblcheck/repos/community-x86_64/03-custom-rbl.patch
rblcheck/repos/community-x86_64/04-fix-missing-include.patch
rblcheck/repos/community-x86_64/PKGBUILD
----------------------------------------------------------------+
/01-change-filename-tags-for-directories.patch | 42 ++++
/02-fix-configure.patch | 40 ++++
/03-custom-rbl.patch | 34 +++
/04-fix-missing-include.patch | 24 ++
/PKGBUILD | 92 ++++++++++
community-i686/01-change-filename-tags-for-directories.patch | 21 --
community-i686/02-fix-configure.patch | 20 --
community-i686/03-custom-rbl.patch | 21 --
community-i686/04-fix-missing-include.patch | 12 -
community-i686/PKGBUILD | 44 ----
community-x86_64/01-change-filename-tags-for-directories.patch | 21 --
community-x86_64/02-fix-configure.patch | 20 --
community-x86_64/03-custom-rbl.patch | 21 --
community-x86_64/04-fix-missing-include.patch | 12 -
community-x86_64/PKGBUILD | 44 ----
15 files changed, 232 insertions(+), 236 deletions(-)
Deleted: community-i686/01-change-filename-tags-for-directories.patch
===================================================================
--- community-i686/01-change-filename-tags-for-directories.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-i686/01-change-filename-tags-for-directories.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,21 +0,0 @@
---- a/docs/rblcheck.sgml (revision 71)
-+++ b/docs/rblcheck.sgml (revision 72)
-@@ -160,7 +160,7 @@
- <Para>
- When you are done, you can type <Application>make install</Application> to
- install the software (by default, everything will be installed in
--<Filename>/usr/local</Filename>.
-+<Filename class="directory">/usr/local</Filename>.
- </Para>
-
- <Para>
-@@ -397,7 +397,8 @@
- A recent addition to the rblcheck package is the <Application>rbl</Application>
- shell script, which is a simple wrapper around rblcheck, with one special
- feature: it will read a global <Filename>rblcheckrc</Filename> (usually
--in <Filename>/etc</Filename> or <Filename>/usr/etc</Filename>), and then
-+in <Filename class="directory">/etc</Filename> or
-+<Filename class="directory">/usr/etc</Filename>), and then
- a <Filename>.rblcheckrc</Filename> from the current user's home directory.
- These files can contain any of the usual <Application>rblcheck</Application>
- command-line arguments (see <XRef linkend="using_rblcheck">), but are most
Copied: rblcheck/repos/community-i686/01-change-filename-tags-for-directories.patch (from rev 140635, rblcheck/trunk/01-change-filename-tags-for-directories.patch)
===================================================================
--- community-i686/01-change-filename-tags-for-directories.patch (rev 0)
+++ community-i686/01-change-filename-tags-for-directories.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,21 @@
+--- a/docs/rblcheck.sgml (revision 71)
++++ b/docs/rblcheck.sgml (revision 72)
+@@ -160,7 +160,7 @@
+ <Para>
+ When you are done, you can type <Application>make install</Application> to
+ install the software (by default, everything will be installed in
+-<Filename>/usr/local</Filename>.
++<Filename class="directory">/usr/local</Filename>.
+ </Para>
+
+ <Para>
+@@ -397,7 +397,8 @@
+ A recent addition to the rblcheck package is the <Application>rbl</Application>
+ shell script, which is a simple wrapper around rblcheck, with one special
+ feature: it will read a global <Filename>rblcheckrc</Filename> (usually
+-in <Filename>/etc</Filename> or <Filename>/usr/etc</Filename>), and then
++in <Filename class="directory">/etc</Filename> or
++<Filename class="directory">/usr/etc</Filename>), and then
+ a <Filename>.rblcheckrc</Filename> from the current user's home directory.
+ These files can contain any of the usual <Application>rblcheck</Application>
+ command-line arguments (see <XRef linkend="using_rblcheck">), but are most
Deleted: community-i686/02-fix-configure.patch
===================================================================
--- community-i686/02-fix-configure.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-i686/02-fix-configure.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,20 +0,0 @@
---- a/configure 2005-07-01 10:50:36.000000000 +0100
-+++ b/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
Copied: rblcheck/repos/community-i686/02-fix-configure.patch (from rev 140635, rblcheck/trunk/02-fix-configure.patch)
===================================================================
--- community-i686/02-fix-configure.patch (rev 0)
+++ community-i686/02-fix-configure.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,20 @@
+# Copyright 2015 Séastien Luttringer
+--- a/configure.in 2015-09-18 02:55:59.825544232 +0200
++++ b/configure.in 2015-09-18 03:23:33.544191972 +0200
+@@ -19,15 +19,7 @@
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+
+-dnl Figure out where to get res_query from. First, see if it's in the
+-dnl C library (Linux, and probably a few others). Then, check libbind
+-dnl (generally, if you've installed bind 8, you're going to want to use
+-dnl the new library). Finally, check for libresolv (which should exist
+-dnl on most systems).
+-AC_CHECK_FUNC(res_query,,
+- AC_CHECK_LIB(resolv,res_query,,
+- AC_CHECK_LIB(bind,res_query,,
+- AC_MSG_ERROR(cannot locate res_query function))))
++AC_CHECK_LIB(resolv, __res_query)
+
+ dnl All done.
+ AC_OUTPUT(Makefile docs/Makefile config/rblcheck.spec config/pkginfo)
Deleted: community-i686/03-custom-rbl.patch
===================================================================
--- community-i686/03-custom-rbl.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-i686/03-custom-rbl.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,21 +0,0 @@
---- a/sites.h
-+++ b/sites.h
-@@ -62,3 +62,18 @@
- /* ORDB: Open Relay DataBase
- http://www.ordb.org/ */
- /* SITE("relays.ordb.org") */
-+
-+
-+SITE("zen.spamhaus.org");
-+SITE("sbl.spamhaus.org");
-+SITE("xbl.spamhaus.org");
-+SITE("pbl.spamhaus.org");
-+SITE("bl.spamcop.net");
-+SITE("psbl.surriel.com");
-+SITE("dnsbl.njabl.org");
-+SITE("dul.dnsbl.sorbs.net");
-+SITE("all.spam-rbl.fr");
-+SITE("spam.spam-rbl.fr");
-+SITE("dsl.spam-rbl.fr");
-+SITE("bogon.spam-rbl.fr");
-+
Copied: rblcheck/repos/community-i686/03-custom-rbl.patch (from rev 140635, rblcheck/trunk/03-custom-rbl.patch)
===================================================================
--- community-i686/03-custom-rbl.patch (rev 0)
+++ community-i686/03-custom-rbl.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,17 @@
+--- a/sites.h
++++ b/sites.h
+@@ -62,3 +62,14 @@
+ /* ORDB: Open Relay DataBase
+ http://www.ordb.org/ */
+ /* SITE("relays.ordb.org") */
++
++
++SITE("zen.spamhaus.org");
++SITE("sbl.spamhaus.org");
++SITE("xbl.spamhaus.org");
++SITE("pbl.spamhaus.org");
++SITE("bl.spamcop.net");
++SITE("psbl.surriel.com");
++SITE("dnsbl.njabl.org");
++SITE("dnsbl.sorbs.net");
++
Deleted: community-i686/04-fix-missing-include.patch
===================================================================
--- community-i686/04-fix-missing-include.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-i686/04-fix-missing-include.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,12 +0,0 @@
-# Copyright © Sébastien Luttringer
---- a/rblcheck.c 2012-06-23 20:11:05.508352459 +0200
-+++ b/rblcheck.c 2014-03-27 02:20:45.286918851 +0100
-@@ -30,6 +30,8 @@
- #include <arpa/nameser.h>
- #include <resolv.h>
- #include <netdb.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-
- /*-- PORTABILITY ------------------------------------------------------------*/
-
Copied: rblcheck/repos/community-i686/04-fix-missing-include.patch (from rev 140635, rblcheck/trunk/04-fix-missing-include.patch)
===================================================================
--- community-i686/04-fix-missing-include.patch (rev 0)
+++ community-i686/04-fix-missing-include.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,12 @@
+# Copyright © Sébastien Luttringer
+--- a/rblcheck.c 2012-06-23 20:11:05.508352459 +0200
++++ b/rblcheck.c 2014-03-27 02:20:45.286918851 +0100
+@@ -30,6 +30,8 @@
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ #include <netdb.h>
++#include <unistd.h>
++#include <stdlib.h>
+
+ /*-- PORTABILITY ------------------------------------------------------------*/
+
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-i686/PKGBUILD 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
-
-pkgname=rblcheck
-pkgver=1.5
-pkgrel=2
-pkgdesc='Tool to query RBL servers'
-arch=('i686' 'x86_64')
-url='http://rblcheck.sourceforge.net/'
-license=('GPL2')
-depends=('glibc' 'bash')
-backup=('etc/rblcheckrc')
-source=("http://downloads.sourceforge.net/rblcheck/$pkgname-$pkgver.tar.gz"
- '01-change-filename-tags-for-directories.patch'
- '02-fix-configure.patch'
- '03-custom-rbl.patch'
- '04-fix-missing-include.patch')
-md5sums=('fb7ee9adc0e09eee9dda195f9b9e7ca4'
- '9e8ed44f4bc6abf235a14065b6aa373c'
- '2db00ffd71e17753e89c0968c76d5871'
- 'f9ff2de975584f71f7794550691a0272'
- 'ccc95fb87a4192d4a0ddb36cd5df0a36')
-
-prepare() {
- cd $pkgname-$pkgver
- for p in "$srcdir"/*.patch; do
- msg2 "Apply patch ${p##*/}"
- patch -p 1 -i "$p"
- done
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm 644 /dev/null "$pkgdir/etc/rblcheckrc"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rblcheck/repos/community-i686/PKGBUILD (from rev 140635, rblcheck/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+
+pkgname=rblcheck
+pkgver=1.5
+pkgrel=3
+pkgdesc='Tool to query RBL servers'
+arch=('i686' 'x86_64')
+url='https://github.com/logic/rblcheck'
+license=('GPL2')
+depends=('glibc' 'bash')
+makedepends=('git')
+backup=('etc/rblcheckrc')
+source=("git+https://github.com/logic/rblcheck.git#tag=rblcheck-$pkgver"
+ '01-change-filename-tags-for-directories.patch'
+ '02-fix-configure.patch'
+ '03-custom-rbl.patch'
+ '04-fix-missing-include.patch')
+md5sums=('SKIP'
+ '9e8ed44f4bc6abf235a14065b6aa373c'
+ 'ef71fccbf229eafc7ff6df57de2511ea'
+ 'a9bc3e8a9b13adc20dfc40052a3ab367'
+ 'ccc95fb87a4192d4a0ddb36cd5df0a36')
+
+prepare() {
+ cd $pkgname
+ for p in "$srcdir"/*.patch; do
+ msg2 "Apply patch ${p##*/}"
+ patch -p 1 -i "$p"
+ done
+}
+
+build() {
+ cd $pkgname
+ ./bootstrap
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 /dev/null "$pkgdir/etc/rblcheckrc"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/01-change-filename-tags-for-directories.patch
===================================================================
--- community-x86_64/01-change-filename-tags-for-directories.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-x86_64/01-change-filename-tags-for-directories.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,21 +0,0 @@
---- a/docs/rblcheck.sgml (revision 71)
-+++ b/docs/rblcheck.sgml (revision 72)
-@@ -160,7 +160,7 @@
- <Para>
- When you are done, you can type <Application>make install</Application> to
- install the software (by default, everything will be installed in
--<Filename>/usr/local</Filename>.
-+<Filename class="directory">/usr/local</Filename>.
- </Para>
-
- <Para>
-@@ -397,7 +397,8 @@
- A recent addition to the rblcheck package is the <Application>rbl</Application>
- shell script, which is a simple wrapper around rblcheck, with one special
- feature: it will read a global <Filename>rblcheckrc</Filename> (usually
--in <Filename>/etc</Filename> or <Filename>/usr/etc</Filename>), and then
-+in <Filename class="directory">/etc</Filename> or
-+<Filename class="directory">/usr/etc</Filename>), and then
- a <Filename>.rblcheckrc</Filename> from the current user's home directory.
- These files can contain any of the usual <Application>rblcheck</Application>
- command-line arguments (see <XRef linkend="using_rblcheck">), but are most
Copied: rblcheck/repos/community-x86_64/01-change-filename-tags-for-directories.patch (from rev 140635, rblcheck/trunk/01-change-filename-tags-for-directories.patch)
===================================================================
--- community-x86_64/01-change-filename-tags-for-directories.patch (rev 0)
+++ community-x86_64/01-change-filename-tags-for-directories.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,21 @@
+--- a/docs/rblcheck.sgml (revision 71)
++++ b/docs/rblcheck.sgml (revision 72)
+@@ -160,7 +160,7 @@
+ <Para>
+ When you are done, you can type <Application>make install</Application> to
+ install the software (by default, everything will be installed in
+-<Filename>/usr/local</Filename>.
++<Filename class="directory">/usr/local</Filename>.
+ </Para>
+
+ <Para>
+@@ -397,7 +397,8 @@
+ A recent addition to the rblcheck package is the <Application>rbl</Application>
+ shell script, which is a simple wrapper around rblcheck, with one special
+ feature: it will read a global <Filename>rblcheckrc</Filename> (usually
+-in <Filename>/etc</Filename> or <Filename>/usr/etc</Filename>), and then
++in <Filename class="directory">/etc</Filename> or
++<Filename class="directory">/usr/etc</Filename>), and then
+ a <Filename>.rblcheckrc</Filename> from the current user's home directory.
+ These files can contain any of the usual <Application>rblcheck</Application>
+ command-line arguments (see <XRef linkend="using_rblcheck">), but are most
Deleted: community-x86_64/02-fix-configure.patch
===================================================================
--- community-x86_64/02-fix-configure.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-x86_64/02-fix-configure.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,20 +0,0 @@
---- a/configure 2005-07-01 10:50:36.000000000 +0100
-+++ b/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
Copied: rblcheck/repos/community-x86_64/02-fix-configure.patch (from rev 140635, rblcheck/trunk/02-fix-configure.patch)
===================================================================
--- community-x86_64/02-fix-configure.patch (rev 0)
+++ community-x86_64/02-fix-configure.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,20 @@
+# Copyright 2015 Séastien Luttringer
+--- a/configure.in 2015-09-18 02:55:59.825544232 +0200
++++ b/configure.in 2015-09-18 03:23:33.544191972 +0200
+@@ -19,15 +19,7 @@
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+
+-dnl Figure out where to get res_query from. First, see if it's in the
+-dnl C library (Linux, and probably a few others). Then, check libbind
+-dnl (generally, if you've installed bind 8, you're going to want to use
+-dnl the new library). Finally, check for libresolv (which should exist
+-dnl on most systems).
+-AC_CHECK_FUNC(res_query,,
+- AC_CHECK_LIB(resolv,res_query,,
+- AC_CHECK_LIB(bind,res_query,,
+- AC_MSG_ERROR(cannot locate res_query function))))
++AC_CHECK_LIB(resolv, __res_query)
+
+ dnl All done.
+ AC_OUTPUT(Makefile docs/Makefile config/rblcheck.spec config/pkginfo)
Deleted: community-x86_64/03-custom-rbl.patch
===================================================================
--- community-x86_64/03-custom-rbl.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-x86_64/03-custom-rbl.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,21 +0,0 @@
---- a/sites.h
-+++ b/sites.h
-@@ -62,3 +62,18 @@
- /* ORDB: Open Relay DataBase
- http://www.ordb.org/ */
- /* SITE("relays.ordb.org") */
-+
-+
-+SITE("zen.spamhaus.org");
-+SITE("sbl.spamhaus.org");
-+SITE("xbl.spamhaus.org");
-+SITE("pbl.spamhaus.org");
-+SITE("bl.spamcop.net");
-+SITE("psbl.surriel.com");
-+SITE("dnsbl.njabl.org");
-+SITE("dul.dnsbl.sorbs.net");
-+SITE("all.spam-rbl.fr");
-+SITE("spam.spam-rbl.fr");
-+SITE("dsl.spam-rbl.fr");
-+SITE("bogon.spam-rbl.fr");
-+
Copied: rblcheck/repos/community-x86_64/03-custom-rbl.patch (from rev 140635, rblcheck/trunk/03-custom-rbl.patch)
===================================================================
--- community-x86_64/03-custom-rbl.patch (rev 0)
+++ community-x86_64/03-custom-rbl.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,17 @@
+--- a/sites.h
++++ b/sites.h
+@@ -62,3 +62,14 @@
+ /* ORDB: Open Relay DataBase
+ http://www.ordb.org/ */
+ /* SITE("relays.ordb.org") */
++
++
++SITE("zen.spamhaus.org");
++SITE("sbl.spamhaus.org");
++SITE("xbl.spamhaus.org");
++SITE("pbl.spamhaus.org");
++SITE("bl.spamcop.net");
++SITE("psbl.surriel.com");
++SITE("dnsbl.njabl.org");
++SITE("dnsbl.sorbs.net");
++
Deleted: community-x86_64/04-fix-missing-include.patch
===================================================================
--- community-x86_64/04-fix-missing-include.patch 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-x86_64/04-fix-missing-include.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,12 +0,0 @@
-# Copyright © Sébastien Luttringer
---- a/rblcheck.c 2012-06-23 20:11:05.508352459 +0200
-+++ b/rblcheck.c 2014-03-27 02:20:45.286918851 +0100
-@@ -30,6 +30,8 @@
- #include <arpa/nameser.h>
- #include <resolv.h>
- #include <netdb.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-
- /*-- PORTABILITY ------------------------------------------------------------*/
-
Copied: rblcheck/repos/community-x86_64/04-fix-missing-include.patch (from rev 140635, rblcheck/trunk/04-fix-missing-include.patch)
===================================================================
--- community-x86_64/04-fix-missing-include.patch (rev 0)
+++ community-x86_64/04-fix-missing-include.patch 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,12 @@
+# Copyright © Sébastien Luttringer
+--- a/rblcheck.c 2012-06-23 20:11:05.508352459 +0200
++++ b/rblcheck.c 2014-03-27 02:20:45.286918851 +0100
+@@ -30,6 +30,8 @@
+ #include <arpa/nameser.h>
+ #include <resolv.h>
+ #include <netdb.h>
++#include <unistd.h>
++#include <stdlib.h>
+
+ /*-- PORTABILITY ------------------------------------------------------------*/
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-09-18 01:30:37 UTC (rev 140635)
+++ community-x86_64/PKGBUILD 2015-09-18 01:31:09 UTC (rev 140636)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
-
-pkgname=rblcheck
-pkgver=1.5
-pkgrel=2
-pkgdesc='Tool to query RBL servers'
-arch=('i686' 'x86_64')
-url='http://rblcheck.sourceforge.net/'
-license=('GPL2')
-depends=('glibc' 'bash')
-backup=('etc/rblcheckrc')
-source=("http://downloads.sourceforge.net/rblcheck/$pkgname-$pkgver.tar.gz"
- '01-change-filename-tags-for-directories.patch'
- '02-fix-configure.patch'
- '03-custom-rbl.patch'
- '04-fix-missing-include.patch')
-md5sums=('fb7ee9adc0e09eee9dda195f9b9e7ca4'
- '9e8ed44f4bc6abf235a14065b6aa373c'
- '2db00ffd71e17753e89c0968c76d5871'
- 'f9ff2de975584f71f7794550691a0272'
- 'ccc95fb87a4192d4a0ddb36cd5df0a36')
-
-prepare() {
- cd $pkgname-$pkgver
- for p in "$srcdir"/*.patch; do
- msg2 "Apply patch ${p##*/}"
- patch -p 1 -i "$p"
- done
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -Dm 644 /dev/null "$pkgdir/etc/rblcheckrc"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rblcheck/repos/community-x86_64/PKGBUILD (from rev 140635, rblcheck/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-09-18 01:31:09 UTC (rev 140636)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+
+pkgname=rblcheck
+pkgver=1.5
+pkgrel=3
+pkgdesc='Tool to query RBL servers'
+arch=('i686' 'x86_64')
+url='https://github.com/logic/rblcheck'
+license=('GPL2')
+depends=('glibc' 'bash')
+makedepends=('git')
+backup=('etc/rblcheckrc')
+source=("git+https://github.com/logic/rblcheck.git#tag=rblcheck-$pkgver"
+ '01-change-filename-tags-for-directories.patch'
+ '02-fix-configure.patch'
+ '03-custom-rbl.patch'
+ '04-fix-missing-include.patch')
+md5sums=('SKIP'
+ '9e8ed44f4bc6abf235a14065b6aa373c'
+ 'ef71fccbf229eafc7ff6df57de2511ea'
+ 'a9bc3e8a9b13adc20dfc40052a3ab367'
+ 'ccc95fb87a4192d4a0ddb36cd5df0a36')
+
+prepare() {
+ cd $pkgname
+ for p in "$srcdir"/*.patch; do
+ msg2 "Apply patch ${p##*/}"
+ patch -p 1 -i "$p"
+ done
+}
+
+build() {
+ cd $pkgname
+ ./bootstrap
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 /dev/null "$pkgdir/etc/rblcheckrc"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list