Small fix to the regex file.

from Thomas Pfaff
ok Gonzalo L. R. (maintainer)
This commit is contained in:
ajacoutot 2011-09-20 15:20:03 +00:00
parent 190770732b
commit d7e7763365
3 changed files with 11 additions and 4 deletions

View File

@ -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. <gonzalo@x61.com.ar>

View File

@ -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

View File

@ -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