diff options
author | zuntum <zuntum@pkgsrc.org> | 2002-08-04 10:15:53 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2002-08-04 10:15:53 +0000 |
commit | 6197b86047c28f8760a6551e1006fb9225b3b62e (patch) | |
tree | e704b2179c4907b29a7b027518bffa8bd58ec739 /www/squidGuard | |
parent | 1cdbd920748a973871b31b2de76cf6eaf4ace6a8 (diff) | |
download | pkgsrc-6197b86047c28f8760a6551e1006fb9225b3b62e.tar.gz |
Initial import of squidGuard-1.2.0
squidGuard is a combined filter, redirector and access controller plugin
for Squid. It can be used to:
* limit the web access for some users to a list of accepted/well known web
servers and/or URLs only.
* block access to some listed or blacklisted web servers and/or URLs
for some users.
* block access to URLs matching a list of regular expressions or words
for some users.
* enforce the use of domainnames/prohibit the use of IP address in URLs.
* redirect blocked URLs to an "intelligent" CGI based info page.
* redirect unregistered user to a registration form.
* redirect popular downloads like Netscape, MSIE etc. to local copies.
* redirect banners to an empty GIF.
* have different access rules based on time of day, day of the week, date etc.
* have different rules for different user groups.
* and much more..
Diffstat (limited to 'www/squidGuard')
-rw-r--r-- | www/squidGuard/DESCR | 17 | ||||
-rw-r--r-- | www/squidGuard/Makefile | 26 | ||||
-rw-r--r-- | www/squidGuard/PLIST | 2 | ||||
-rw-r--r-- | www/squidGuard/distinfo | 5 | ||||
-rw-r--r-- | www/squidGuard/patches/patch-aa | 40 |
5 files changed, 90 insertions, 0 deletions
diff --git a/www/squidGuard/DESCR b/www/squidGuard/DESCR new file mode 100644 index 00000000000..545abb36c00 --- /dev/null +++ b/www/squidGuard/DESCR @@ -0,0 +1,17 @@ +squidGuard is a combined filter, redirector and access controller plugin +for Squid. It can be used to: + +* limit the web access for some users to a list of accepted/well known web + servers and/or URLs only. +* block access to some listed or blacklisted web servers and/or URLs + for some users. +* block access to URLs matching a list of regular expressions or words + for some users. +* enforce the use of domainnames/prohibit the use of IP address in URLs. +* redirect blocked URLs to an "intelligent" CGI based info page. +* redirect unregistered user to a registration form. +* redirect popular downloads like Netscape, MSIE etc. to local copies. +* redirect banners to an empty GIF. +* have different access rules based on time of day, day of the week, date etc. +* have different rules for different user groups. +* and much more.. diff --git a/www/squidGuard/Makefile b/www/squidGuard/Makefile new file mode 100644 index 00000000000..96836971a3f --- /dev/null +++ b/www/squidGuard/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/04 10:15:53 zuntum Exp $ +# + +DISTNAME= squidGuard-1.2.0 +CATEGORIES= www +MASTER_SITES= ftp://ftp.teledanmark.no/pub/www/proxy/squidGuard/ \ + http://ftp.teledanmark.no/pub/www/proxy/squidGuard/ + +MAINTAINER= zuntum@netbsd.org +HOMEPAGE= http://www.squidguard.org/ +COMMENT= ultrafast and free filter, redirector and access controller for Squid + +GNU_CONFIGURE= YES + +.include "../../mk/bsd.prefs.mk" + +SQUID_SYSCONFDIR?= ${PKG_SYSCONFDIR} + +CONFIGURE_ARGS+= --with-db-inc=${BUILDLINK_DIR}/include/db2 +CONFIGURE_ARGS+= --with-db-lib=${BUILDLINK_DIR}/lib/db2 +CONFIGURE_ARGS+= --with-sg-config=${SQUID_SYSCONFDIR}/squid/filter.conf +CONFIGURE_ARGS+= --with-sg-logdir=/var/squid/logs +CONFIGURE_ARGS+= --with-sg-dbhome=${SQUID_SYSCONFDIR}/squid/db + +.include "../../databases/db/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/squidGuard/PLIST b/www/squidGuard/PLIST new file mode 100644 index 00000000000..1518ecbb815 --- /dev/null +++ b/www/squidGuard/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/04 10:15:53 zuntum Exp $ +bin/squidGuard diff --git a/www/squidGuard/distinfo b/www/squidGuard/distinfo new file mode 100644 index 00000000000..7ba543adbb8 --- /dev/null +++ b/www/squidGuard/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/04 10:15:53 zuntum Exp $ + +SHA1 (squidGuard-1.2.0.tar.gz) = 8eb27b6eb85a3f8ed073b12a593a2c9ad97d7478 +Size (squidGuard-1.2.0.tar.gz) = 1852737 bytes +SHA1 (patch-aa) = fc3b201d9222aec50ad452af25100e108d660edc diff --git a/www/squidGuard/patches/patch-aa b/www/squidGuard/patches/patch-aa new file mode 100644 index 00000000000..ee7c89614e7 --- /dev/null +++ b/www/squidGuard/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/04 10:15:53 zuntum Exp $ + +--- configure.orig Tue Dec 18 10:16:53 2001 ++++ configure +@@ -2265,8 +2265,7 @@ for ac_dir in $ac_dummy; do + IFS=$ac_save_IFS + test -z "$ac_dir" && ac_dir=. + if $as_executable_p "$ac_dir/$ac_word"; then +- ac_cv_path_LYNX="$ac_dir/$ac_word" +- echo "$as_me:2269: found $ac_dir/$ac_word" >&5 ++ echo "$as_me:2269: found $ac_dir/$ac_word but ommiting deliberately" >&5 + break + fi + done +@@ -2402,13 +2401,13 @@ CFLAGS="$CFLAGS $db_inc" + CPPFLAGS="$CPPFLAGS $db_inc" + LDFLAGS="$LDFLAGS $db_lib" + +-echo "$as_me:2405: checking for db_version in -ldb" >&5 +-echo $ECHO_N "checking for db_version in -ldb... $ECHO_C" >&6 ++echo "$as_me:2405: checking for db_version in -ldb2" >&5 ++echo $ECHO_N "checking for db_version in -ldb2... $ECHO_C" >&6 + if test "${ac_cv_lib_db_db_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldb $LIBS" ++LIBS="-ldb2 $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line 2413 "configure" + #include "confdefs.h" +@@ -2456,7 +2455,7 @@ if test $ac_cv_lib_db_db_version = yes; + #define HAVE_LIBDB 1 + EOF + +- LIBS="-ldb $LIBS" ++ LIBS="-ldb2 $LIBS" + + else + |