From d7e7763365075f1fc9d967bb53504af505f01655 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 20 Sep 2011 15:20:03 +0000 Subject: [PATCH] Small fix to the regex file. from Thomas Pfaff ok Gonzalo L. R. (maintainer) --- net/adsuck/Makefile | 4 ++-- net/adsuck/patches/patch-files_regex | 7 +++++++ net/adsuck/pkg/adsuck.rc | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 net/adsuck/patches/patch-files_regex diff --git a/net/adsuck/Makefile b/net/adsuck/Makefile index 531ee68b887..14b145b0297 100644 --- a/net/adsuck/Makefile +++ b/net/adsuck/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.19 2011/06/23 22:50:28 naddy Exp $ +# $OpenBSD: Makefile,v 1.20 2011/09/20 15:20:03 ajacoutot Exp $ COMMENT= DNS relay for ad blocking DISTNAME= adsuck-2.3 CATEGORIES= net -REVISION= 0 +REVISION= 1 HOMEPAGE= http://opensource.conformal.com/wiki/Adsuck MAINTAINER= Gonzalo L. R. diff --git a/net/adsuck/patches/patch-files_regex b/net/adsuck/patches/patch-files_regex new file mode 100644 index 00000000000..fa06af33a8d --- /dev/null +++ b/net/adsuck/patches/patch-files_regex @@ -0,0 +1,7 @@ +$OpenBSD: patch-files_regex,v 1.1 2011/09/20 15:20:03 ajacoutot Exp $ +--- files/regex.orig Tue Aug 16 11:05:50 2011 ++++ files/regex Tue Aug 16 11:05:53 2011 +@@ -1,2 +1,2 @@ + # example regex expression +-banner|ads|stat[^i][^c]|track|[^u]click|adx|2o7|hitbox|count|meter ++#banner|ads|stat[^i][^c]|track|[^u]click|adx|2o7|hitbox|count|meter diff --git a/net/adsuck/pkg/adsuck.rc b/net/adsuck/pkg/adsuck.rc index f1634847b09..66168b72d3e 100644 --- a/net/adsuck/pkg/adsuck.rc +++ b/net/adsuck/pkg/adsuck.rc @@ -1,9 +1,9 @@ #!/bin/sh # -# $OpenBSD: adsuck.rc,v 1.1 2011/03/18 13:13:59 ajacoutot Exp $ +# $OpenBSD: adsuck.rc,v 1.2 2011/09/20 15:20:03 ajacoutot Exp $ daemon="${TRUEPREFIX}/sbin/adsuck" -daemon_flags="-c /var/adsuck -f /files/resolv.conf /files/hosts.small" +daemon_flags="-c /var/adsuck -f /files/resolv.conf -r /files/regex /files/hosts.small" . /etc/rc.d/rc.subr