pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net Added RRL (Response Rate Limiting) build option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ad8b4ef4d78
branches:  trunk
changeset: 610903:1ad8b4ef4d78
user:      pettai <pettai%pkgsrc.org@localhost>
date:      Sat Nov 10 23:44:30 2012 +0000

description:
Added RRL (Response Rate Limiting) build option

diffstat:

 net/bind98/Makefile   |  7 +++++--
 net/bind98/distinfo   |  5 ++++-
 net/bind98/options.mk |  8 +++++++-
 net/bind99/Makefile   |  7 +++++--
 net/bind99/distinfo   |  5 ++++-
 net/bind99/options.mk |  8 +++++++-
 6 files changed, 32 insertions(+), 8 deletions(-)

diffs (126 lines):

diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind98/Makefile
--- a/net/bind98/Makefile       Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind98/Makefile       Sat Nov 10 23:44:30 2012 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 17:18:11 asau Exp $
+# $NetBSD: Makefile,v 1.21 2012/11/10 23:44:30 pettai Exp $
 
 DISTNAME=      bind-${BIND_VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${DISTNAME:S/-P/pl/}
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
                http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
 
+PATCHFILES=    rl-9.8.4.patch
+PATCH_SITES=   http://ss.vix.com/~vixie/
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.isc.org/software/bind/
 COMMENT=       Version 9.8 of the Berkeley Internet Name Daemon, implementation of DNS
diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind98/distinfo
--- a/net/bind98/distinfo       Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind98/distinfo       Sat Nov 10 23:44:30 2012 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.15 2012/10/10 03:06:37 taca Exp $
+$NetBSD: distinfo,v 1.16 2012/11/10 23:44:30 pettai Exp $
 
 SHA1 (bind-9.8.4.tar.gz) = 3ea4b34fa12868796e4aad06663e7d1689b1cbe1
 RMD160 (bind-9.8.4.tar.gz) = 20940bcf6c47eefaec905d474a3470f4aa9aa9a8
 Size (bind-9.8.4.tar.gz) = 7141026 bytes
+SHA1 (rl-9.8.4.patch) = caa4b944c4d29b9dcbdfab1ff7888c485c0bac71
+RMD160 (rl-9.8.4.patch) = 0d81be5dc04daa5c2724d05764f5dd3aea4c3592
+Size (rl-9.8.4.patch) = 91928 bytes
 SHA1 (patch-bin_dig_dighost.c) = 3f37033cc64e1153268ab437fab533d2920bb18c
 SHA1 (patch-bin_tests_system_Makefile.in) = 650ac962464e23f6c4278e7025f55f282789f9c9
 SHA1 (patch-config.threads.in) = 045531d8378a88c654ab98ba6ea65786c8cf4e2b
diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind98/options.mk
--- a/net/bind98/options.mk     Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind98/options.mk     Sat Nov 10 23:44:30 2012 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.1.1.1 2011/03/04 03:52:15 taca Exp $
+# $NetBSD: options.mk,v 1.2 2012/11/10 23:44:30 pettai Exp $
 
 PKG_OPTIONS_VAR=        PKG_OPTIONS.bind98
 PKG_SUPPORTED_OPTIONS=  bind-dig-sigchase bind-xml-statistics-server
 PKG_SUPPORTED_OPTIONS+=        inet6 threads mysql pgsql ldap dlz-filesystem
+PKG_SUPPORTED_OPTIONS+=        rrl
 
 .include "../../mk/pthread.buildlink3.mk"
 
@@ -51,6 +52,11 @@
 CONFIGURE_ARGS+=       --with-dlz-filesystem
 .endif
 
+.if !empty(PKG_OPTIONS:Mrrl)
+PATCHFILES=rl-9.8.4.patch
+PATCH_SITES=http://ss.vix.com/~vixie/
+.endif
+
 ###
 ### The statistics server in bind98 and later needs libxml2
 ###
diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind99/Makefile
--- a/net/bind99/Makefile       Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind99/Makefile       Sat Nov 10 23:44:30 2012 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile,v 1.16 2012/11/08 16:01:51 tron Exp $
+# $NetBSD: Makefile,v 1.17 2012/11/10 23:45:39 pettai Exp $
 
 DISTNAME=      bind-${BIND_VERSION}
 PKGNAME=       ${DISTNAME:S/-P/pl/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
                http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
 
+PATCHFILES=    rl-9.9.2.patch
+PATCH_SITES=   http://ss.vix.com/~vixie/
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.isc.org/software/bind/
 COMMENT=       Version 9.9 of the Berkeley Internet Name Daemon, implementation of DNS
diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind99/distinfo
--- a/net/bind99/distinfo       Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind99/distinfo       Sat Nov 10 23:44:30 2012 +0000
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.9 2012/10/10 03:07:12 taca Exp $
+$NetBSD: distinfo,v 1.10 2012/11/10 23:45:39 pettai Exp $
 
 SHA1 (bind-9.9.2.tar.gz) = eb9fa7b497d67ce61a120cb96c302381bc385324
 RMD160 (bind-9.9.2.tar.gz) = 80118091f62a5f44565c86ab1ce4461c2c6d890b
 Size (bind-9.9.2.tar.gz) = 7285050 bytes
+SHA1 (rl-9.9.2.patch) = 18250e466e03a36a0b81dbceb41570aa2d548118
+RMD160 (rl-9.9.2.patch) = ea855f46db89b0791a8cf610474106775104568b
+Size (rl-9.9.2.patch) = 91993 bytes
 SHA1 (patch-bin_dig_Makefile.in) = d2c2a0b137be7e31fdc15438d107116fc38a38b9
 SHA1 (patch-bin_dig_dighost.c) = 186cdc70605242afb0211dc8802ec75677a65614
 SHA1 (patch-bin_nsupdate_Makefile.in) = 42b39d60468ffa8ed13f77259755b217966de664
diff -r ddcf956cdcac -r 1ad8b4ef4d78 net/bind99/options.mk
--- a/net/bind99/options.mk     Sat Nov 10 22:16:40 2012 +0000
+++ b/net/bind99/options.mk     Sat Nov 10 23:44:30 2012 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.3 2012/07/10 10:23:03 sbd Exp $
+# $NetBSD: options.mk,v 1.4 2012/11/10 23:45:39 pettai Exp $
 
 PKG_OPTIONS_VAR=        PKG_OPTIONS.bind99
 PKG_SUPPORTED_OPTIONS=  bind-dig-sigchase bind-xml-statistics-server
 PKG_SUPPORTED_OPTIONS+=        inet6 threads readline mysql pgsql ldap dlz-filesystem
+PKG_SUPPORTED_OPTIONS+=        rrl
 PKG_SUGGESTED_OPTIONS+=        readline
 
 PTHREAD_OPTS+=         native
@@ -53,6 +54,11 @@
 CONFIGURE_ARGS+=       --with-dlz-filesystem
 .endif
 
+.if !empty(PKG_OPTIONS:Mrrl)
+PATCHFILES=rl-9.9.2.patch
+PATCH_SITES=http://ss.vix.com/~vixie/
+.endif
+
 ###
 ### The statistics server in bind99 and later needs libxml2
 ###



Home | Main Index | Thread Index | Old Index