On Mon, Jan 01, 2018 at 06:50:58PM +0100, Giovanni Bechis wrote:
> Update to latest version and enable tests.
>  Comments ? Ok ?
>   Cheers
>    Giovanni
I found defelopment has moved to github, update accordingly.
 Cheers
  Giovanni
Index: Makefile
===================================================================
RCS file: /var/cvs/ports/net/rbldnsd/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile    15 Nov 2017 21:28:05 -0000      1.10
+++ Makefile    1 Jan 2018 21:17:31 -0000
@@ -2,9 +2,12 @@
 
 COMMENT=       small daemon for DNSBLs
 
-DISTNAME=      rbldnsd-0.997a
+DISTNAME=      rbldnsd-0.998.20180101
+GH_ACCOUNT=    spamhaus
+GH_PROJECT=    rbldnsd
+GH_COMMIT=     6111aba2a76423a0a05030c1bb8ca697a24877bb
+
 CATEGORIES=    net
-REVISION=      2
 
 HOMEPAGE=      http://www.corpit.ru/mjt/rbldnsd.html
 
@@ -12,15 +15,18 @@ HOMEPAGE=   http://www.corpit.ru/mjt/rbldn
 PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB=               c z
-
-MASTER_SITES=  http://www.corpit.ru/mjt/rbldnsd/
+MODULES=               lang/python
+MODPY_RUNDEP=          no
 
 CONFIGURE_STYLE=simple
-WRKDIST=       ${WRKDIR}/${DISTNAME:S/rbldnsd_/rbldnsd-/}
 RBLDNSD_BASE=  ${VARBASE}/rbldnsd
 SUBST_VARS=    VARBASE RBLDNSD_BASE
 
-NO_TEST=       Yes
+TEST_TARGET=   check
+TEST_DEPENDS=  net/py-dns
+
+pre-configure:
+       ${SUBST_CMD} ${WRKSRC}/Makefile.in
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/net/rbldnsd/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    15 Oct 2013 01:18:01 -0000      1.5
+++ distinfo    1 Jan 2018 21:14:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (rbldnsd-0.997a.tar.gz) = nBfGveaZUFggSmaAVEQDnTFSOn1O9AzsBZ5QWgiCqO8=
-SIZE (rbldnsd-0.997a.tar.gz) = 144771
+SHA256 (rbldnsd-0.998.20180101-6111aba2.tar.gz) = 
m78JldQuQVqbWZ3BMoDFeylATsHIJcZObznz+Ao9u7g=
+SIZE (rbldnsd-0.998.20180101-6111aba2.tar.gz) = 156127
Index: patches/patch-btrie_c
===================================================================
RCS file: patches/patch-btrie_c
diff -N patches/patch-btrie_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-btrie_c       1 Jan 2018 17:38:52 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: btrie.c
+--- btrie.c.orig
++++ btrie.c
+@@ -301,6 +301,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <setjmp.h>
++#include <sys/socket.h>
+ #if defined(TEST) && defined(NDEBUG)
+ # warning undefining NDEBUG for TEST build
+ # undef NDEBUG
Index: patches/patch-rbldnsd_c
===================================================================
RCS file: /var/cvs/ports/net/rbldnsd/patches/patch-rbldnsd_c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-rbldnsd_c
--- patches/patch-rbldnsd_c     15 Oct 2013 01:18:01 -0000      1.4
+++ patches/patch-rbldnsd_c     1 Jan 2018 21:16:12 -0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-rbldnsd_c,v 1.4 2013/10/15 01:18:01 william Exp $
---- rbldnsd.c.orig     Sat Apr  6 12:28:53 2013
-+++ rbldnsd.c  Mon Oct  7 16:47:34 2013
-@@ -530,7 +530,7 @@ break;
+Index: rbldnsd.c
+--- rbldnsd.c.orig
++++ rbldnsd.c
+@@ -661,7 +661,7 @@ break;
  #endif
  
    if (!user && !(uid = getuid()))

Attachment: signature.asc
Description: PGP signature



Reply via email to