pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/bannerfilter Import of bannerfilter 1.31
details: https://anonhg.NetBSD.org/pkgsrc/rev/9551f9831d78
branches: trunk
changeset: 479430:9551f9831d78
user: mjl <mjl%pkgsrc.org@localhost>
date: Sat Aug 14 12:49:45 2004 +0000
description:
Import of bannerfilter 1.31
This script blocks advertising banners on the Web.
Unlike most other similar solutions, BannerFilter does more than simply
block advertising graphics. It also blocks advertising frames on a few
sites, and automatically closes pop-up windows.
diffstat:
www/bannerfilter/DESCR | 5 +++++
www/bannerfilter/Makefile | 33 +++++++++++++++++++++++++++++++++
www/bannerfilter/PLIST | 33 +++++++++++++++++++++++++++++++++
www/bannerfilter/distinfo | 5 +++++
www/bannerfilter/patches/patch-aa | 13 +++++++++++++
5 files changed, 89 insertions(+), 0 deletions(-)
diffs (109 lines):
diff -r 88934680e940 -r 9551f9831d78 www/bannerfilter/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bannerfilter/DESCR Sat Aug 14 12:49:45 2004 +0000
@@ -0,0 +1,5 @@
+This script blocks advertising banners on the Web.
+
+Unlike most other similar solutions, BannerFilter does more than simply
+block advertising graphics. It also blocks advertising frames on a few
+sites, and automatically closes pop-up windows.
diff -r 88934680e940 -r 9551f9831d78 www/bannerfilter/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bannerfilter/Makefile Sat Aug 14 12:49:45 2004 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/14 12:49:45 mjl Exp $
+#
+
+DISTNAME= bannerfilter-1.31
+CATEGORIES= www
+MASTER_SITES= http://phroggy.com/files/unix/
+
+MAINTAINER= INSERT_YOUR_MAIL_ADDRESS_HERE
+HOMEPAGE= http://phroggy.com/bannerfilter/
+COMMENT= Blocks advertising banners as squid redirector script
+
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= YES
+
+SHAREDIR= ${PREFIX}/share/bannerfilter
+CONF_FILES= ${SHAREDIR}/bannerfilter.conf ${PKG_SYSCONFDIR}/bannerfilter.conf
+REPLACE_PERL= redirector.pl
+FILES_SUBST+= SHAREDIR=${SHAREDIR}
+
+do-build:
+ @${SED} ${FILES_SUBST_SED} ${WRKSRC}/bannerfilter.conf > ${WRKSRC}/bannerfilter.conf.new && \
+ ${MV} ${WRKSRC}/bannerfilter.conf.new ${WRKSRC}/bannerfilter.conf
+
+do-install:
+ ${INSTALL_DATA_DIR} ${SHAREDIR}/www ${SHAREDIR}/doc ${SHAREDIR}/data
+ ${INSTALL_DATA} ${WRKSRC}/www/* ${SHAREDIR}/www/
+ ${INSTALL_DATA} ${WRKSRC}/*.data ${SHAREDIR}/data/
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/COPYING ${WRKSRC}/README ${SHAREDIR}/doc/
+ ${INSTALL_DATA} ${WRKSRC}/bannerfilter.conf ${SHAREDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/redirector.pl ${PREFIX}/bin/bannerfilter-redirector.pl
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 88934680e940 -r 9551f9831d78 www/bannerfilter/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bannerfilter/PLIST Sat Aug 14 12:49:45 2004 +0000
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/14 12:49:45 mjl Exp $
+bin/bannerfilter-redirector.pl
+share/bannerfilter/bannerfilter.conf
+share/bannerfilter/data/banners.data
+share/bannerfilter/data/banners.local.data
+share/bannerfilter/data/exceptions.data
+share/bannerfilter/data/exceptions.local.data
+share/bannerfilter/data/frames.data
+share/bannerfilter/data/frames.local.data
+share/bannerfilter/data/popups.data
+share/bannerfilter/data/popups.local.data
+share/bannerfilter/doc/CHANGES
+share/bannerfilter/doc/COPYING
+share/bannerfilter/doc/README
+share/bannerfilter/www/banner.gif
+share/bannerfilter/www/blocked.html
+share/bannerfilter/www/empty.js
+share/bannerfilter/www/flash.swf
+share/bannerfilter/www/goatsecx.gif
+share/bannerfilter/www/header_tile.gif
+share/bannerfilter/www/hometown.html
+share/bannerfilter/www/namezero.html
+share/bannerfilter/www/nbci.html
+share/bannerfilter/www/null.gif
+share/bannerfilter/www/popup.html
+share/bannerfilter/www/test.html
+share/bannerfilter/www/xbbackground.gif
+share/bannerfilter/www/xoom.html
+share/bannerfilter/www/yahoo.html
+@dirrm share/bannerfilter/data
+@dirrm share/bannerfilter/doc
+@dirrm share/bannerfilter/www
+@dirrm share/bannerfilter
diff -r 88934680e940 -r 9551f9831d78 www/bannerfilter/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bannerfilter/distinfo Sat Aug 14 12:49:45 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/14 12:49:45 mjl Exp $
+
+SHA1 (bannerfilter-1.31.tar.gz) = 734277149b5180b3213e558ac02fe5f465103378
+Size (bannerfilter-1.31.tar.gz) = 36294 bytes
+SHA1 (patch-aa) = 6ebc088bc68f650dbcc7d70a9ee8ab8dbe0e1c14
diff -r 88934680e940 -r 9551f9831d78 www/bannerfilter/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bannerfilter/patches/patch-aa Sat Aug 14 12:49:45 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/08/14 12:49:45 mjl Exp $
+
+--- bannerfilter.conf.orig Sat Aug 14 14:22:23 2004
++++ bannerfilter.conf Sat Aug 14 14:23:00 2004
+@@ -5,7 +5,7 @@
+
+ # Path to the directory containing the data files (if not specified,
+ # look in the same directory that redirector.pl is in):
+-; DATA = /usr/local/squid/bannerfilter/
++DATA = @SHAREDIR@/data/
+
+ # URL of the directory containing the HTML and graphics files (this must
+ # be accessible to the machine running Squid; it does not need to be
Home |
Main Index |
Thread Index |
Old Index