pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www Add e2guardian 3.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bf716c1cbae
branches:  trunk
changeset: 359214:1bf716c1cbae
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Fri Mar 03 14:09:18 2017 +0000

description:
Add e2guardian 3.5.0

e2guardian is a content filtering proxy that works in conjunction with another
caching proxy such as Squid or Oops. More information can be found in the
e2guardian(8) man page, the "doc" subdirectory of the distribution, and the
comments in the configuration and list files themselves.

e2guardian is a fork of DansGuardian and the maintainers fully acknowledge
the work carried out by and the copyright of Daniel Baron and other
contributors to the Dansguardian project.

diffstat:

 www/Makefile                       |    3 +-
 www/e2guardian/DESCR               |    8 +
 www/e2guardian/Makefile            |   75 +++++++++++
 www/e2guardian/PLIST               |  244 +++++++++++++++++++++++++++++++++++++
 www/e2guardian/distinfo            |    6 +
 www/e2guardian/files/configdirs    |   43 ++++++
 www/e2guardian/files/configfiles   |  141 +++++++++++++++++++++
 www/e2guardian/files/e2guardian.sh |   19 ++
 www/e2guardian/options.mk          |   11 +
 9 files changed, 549 insertions(+), 1 deletions(-)

diffs (truncated from 596 to 300 lines):

diff -r 2bd086024bc2 -r 1bf716c1cbae www/Makefile
--- a/www/Makefile      Fri Mar 03 13:10:41 2017 +0000
+++ b/www/Makefile      Fri Mar 03 14:09:18 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1218 2017/03/02 03:55:06 maya Exp $
+# $NetBSD: Makefile,v 1.1219 2017/03/03 14:09:18 prlw1 Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -99,6 +99,7 @@
 SUBDIR+=       drivel
 SUBDIR+=       drraw
 SUBDIR+=       drupal7
+SUBDIR+=       e2guardian
 SUBDIR+=       elinks
 SUBDIR+=       eliom
 SUBDIR+=       emacs-w3m
diff -r 2bd086024bc2 -r 1bf716c1cbae www/e2guardian/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/e2guardian/DESCR      Fri Mar 03 14:09:18 2017 +0000
@@ -0,0 +1,8 @@
+e2guardian is a content filtering proxy that works in conjunction with another
+caching proxy such as Squid or Oops. More information can be found in the
+e2guardian(8) man page, the "doc" subdirectory of the distribution, and the
+comments in the configuration and list files themselves.
+
+e2guardian is a fork of DansGuardian and the maintainers fully acknowledge
+the work carried out by and the copyright of Daniel Baron and other
+contributors to the Dansguardian project.
diff -r 2bd086024bc2 -r 1bf716c1cbae www/e2guardian/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/e2guardian/Makefile   Fri Mar 03 14:09:18 2017 +0000
@@ -0,0 +1,75 @@
+# $NetBSD: Makefile,v 1.1 2017/03/03 14:09:18 prlw1 Exp $
+
+DISTNAME=      e2guardian-3.5.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=e2guardian/}
+GITHUB_PROJECT=        e2guardian
+GITHUB_TAG=    v${PKGVERSION}
+
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      http://www.e2guardian.org/
+COMMENT=       Web content filtering proxy
+LICENSE=       gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c++
+USE_TOOLS=     autoconf automake perl pkg-config
+RCD_SCRIPTS+=  e2guardian
+
+# Fix bug in configure.ac: the paths are expanded too soon
+SUBST_CLASSES+=                pathfix
+SUBST_STAGE.pathfix=   pre-configure
+SUBST_MESSAGE.pathfix= Fixing premature variable expansion
+SUBST_FILES.pathfix=   configs/Makefile.am
+SUBST_FILES.pathfix+=  configs/*/Makefile.am
+SUBST_FILES.pathfix+=  configs/*/*/Makefile.am
+SUBST_SED.pathfix=     -e 's,DGCONFDIR,sysconfdir,'
+
+E2G_USER?=             e2grdn
+E2G_GROUP?=            e2grdn
+E2G_LOG?=              e2guardian
+
+PKG_USERS_VARS+=       E2G_USER
+PKG_GROUPS_VARS+=      E2G_GROUP
+
+PKG_USERS=             ${E2G_USER}:${E2G_GROUP}
+PKG_GROUPS=            ${E2G_GROUP}
+PKG_GECOS.${E2G_USER}= e2guardian webfilter pseudo-user
+
+PKG_SYSCONFSUBDIR=     e2guardian
+BUILD_DEFS+=           VARBASE
+
+OWN_DIRS_PERMS+=       ${VARBASE}/log/e2guardian \
+                        ${E2G_USER} ${E2G_GROUP} 0755
+
+CONFIGURE_ARGS+=       --with-proxyuser=${E2G_USER}
+CONFIGURE_ARGS+=       --with-proxygroup=${E2G_GROUP}
+CONFIGURE_ARGS+=       --with-piddir=${VARBASE}/run
+CONFIGURE_ARGS+=       --with-logdir=${VARBASE}/log/${E2G_LOG}
+
+.include "options.mk"
+
+CHECK_WRKREF_SKIP=     sbin/e2guardian
+
+REPLACE_PERL+=         data/e2guardian.pl
+
+EGDIR=                 ${PREFIX}/share/examples/e2guardian
+INSTALL_MAKE_FLAGS+=   sysconfdir=${EGDIR}
+
+EGDIRS!=               cat ${.CURDIR}/files/configdirs
+.for d in ${EGDIRS}
+OWN_DIRS+=             ${PKG_SYSCONFDIR}/${d}
+INSTALLATION_DIRS+=    ${EGDIR}/${d}
+.endfor
+
+EGFILES!=              cat ${.CURDIR}/files/configfiles
+.for f in ${EGFILES}
+CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+pre-configure:
+       cd ${WRKSRC} && ${SH} autogen.sh
+
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2bd086024bc2 -r 1bf716c1cbae www/e2guardian/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/e2guardian/PLIST      Fri Mar 03 14:09:18 2017 +0000
@@ -0,0 +1,244 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/03 14:09:18 prlw1 Exp $
+man/man8/e2guardian.8
+sbin/e2guardian
+share/doc/e2guardian/AuthPlugins
+share/doc/e2guardian/ContentScanners
+share/doc/e2guardian/DownloadManagers
+share/doc/e2guardian/FAQ
+share/doc/e2guardian/FAQ.html
+share/doc/e2guardian/Plugins
+share/e2guardian/blockedflash.swf
+share/e2guardian/e2guardian.pl
+share/e2guardian/languages/arspanish/fancydmtemplate.html
+share/e2guardian/languages/arspanish/messages
+share/e2guardian/languages/arspanish/template.html
+share/e2guardian/languages/bulgarian/fancydmtemplate.html
+share/e2guardian/languages/bulgarian/messages
+share/e2guardian/languages/bulgarian/template.html
+share/e2guardian/languages/chinesebig5/fancydmtemplate.html
+share/e2guardian/languages/chinesebig5/messages
+share/e2guardian/languages/chinesebig5/template.html
+share/e2guardian/languages/chinesegb2312/fancydmtemplate.html
+share/e2guardian/languages/chinesegb2312/messages
+share/e2guardian/languages/chinesegb2312/template.html
+share/e2guardian/languages/czech/fancydmtemplate.html
+share/e2guardian/languages/czech/messages
+share/e2guardian/languages/czech/template.html
+share/e2guardian/languages/danish/fancydmtemplate.html
+share/e2guardian/languages/danish/messages
+share/e2guardian/languages/danish/template.html
+share/e2guardian/languages/dutch/fancydmtemplate.html
+share/e2guardian/languages/dutch/messages
+share/e2guardian/languages/dutch/template.html
+share/e2guardian/languages/french/fancydmtemplate.html
+share/e2guardian/languages/french/messages
+share/e2guardian/languages/french/template.html
+share/e2guardian/languages/german/fancydmtemplate.html
+share/e2guardian/languages/german/messages
+share/e2guardian/languages/german/template.html
+share/e2guardian/languages/hebrew/fancydmtemplate.html
+share/e2guardian/languages/hebrew/messages
+share/e2guardian/languages/hebrew/template.html
+share/e2guardian/languages/hungarian/fancydmtemplate.html
+share/e2guardian/languages/hungarian/messages
+share/e2guardian/languages/hungarian/template.html
+share/e2guardian/languages/indonesian/fancydmtemplate.html
+share/e2guardian/languages/indonesian/messages
+share/e2guardian/languages/indonesian/template.html
+share/e2guardian/languages/italian/fancydmtemplate.html
+share/e2guardian/languages/italian/messages
+share/e2guardian/languages/italian/template.html
+share/e2guardian/languages/japanese/fancydmtemplate.html
+share/e2guardian/languages/japanese/messages
+share/e2guardian/languages/japanese/template.html
+share/e2guardian/languages/lithuanian/fancydmtemplate.html
+share/e2guardian/languages/lithuanian/messages
+share/e2guardian/languages/lithuanian/template.html
+share/e2guardian/languages/malay/fancydmtemplate.html
+share/e2guardian/languages/malay/messages
+share/e2guardian/languages/malay/template.html
+share/e2guardian/languages/mxspanish/fancydmtemplate.html
+share/e2guardian/languages/mxspanish/messages
+share/e2guardian/languages/mxspanish/template.html
+share/e2guardian/languages/polish/fancydmtemplate.html
+share/e2guardian/languages/polish/messages
+share/e2guardian/languages/polish/template.html
+share/e2guardian/languages/portuguese/fancydmtemplate.html
+share/e2guardian/languages/portuguese/messages
+share/e2guardian/languages/portuguese/messagesaccents
+share/e2guardian/languages/portuguese/template.html
+share/e2guardian/languages/ptbrazilian/fancydmtemplate.html
+share/e2guardian/languages/ptbrazilian/messages
+share/e2guardian/languages/ptbrazilian/template.html
+share/e2guardian/languages/russian-1251/fancydmtemplate.html
+share/e2guardian/languages/russian-1251/messages
+share/e2guardian/languages/russian-1251/template.html
+share/e2guardian/languages/russian-koi8-r/fancydmtemplate.html
+share/e2guardian/languages/russian-koi8-r/messages
+share/e2guardian/languages/russian-koi8-r/template.html
+share/e2guardian/languages/slovak/fancydmtemplate.html
+share/e2guardian/languages/slovak/messages
+share/e2guardian/languages/slovak/template.html
+share/e2guardian/languages/spanish/fancydmtemplate.html
+share/e2guardian/languages/spanish/messages
+share/e2guardian/languages/spanish/template.html
+share/e2guardian/languages/swedish/fancydmtemplate.html
+share/e2guardian/languages/swedish/messages
+share/e2guardian/languages/swedish/template.html
+share/e2guardian/languages/turkish/fancydmtemplate.html
+share/e2guardian/languages/turkish/messages
+share/e2guardian/languages/turkish/template.html
+share/e2guardian/languages/ukenglish/fancydmtemplate.html
+share/e2guardian/languages/ukenglish/messages
+share/e2guardian/languages/ukenglish/messages.alt
+share/e2guardian/languages/ukenglish/template.html
+share/e2guardian/scripts/bsd-init
+share/e2guardian/scripts/e2guardian
+share/e2guardian/scripts/e2guardian.service
+share/e2guardian/scripts/logrotation
+share/e2guardian/scripts/solaris-init
+share/e2guardian/scripts/systemv-init
+share/e2guardian/transparent1x1.gif
+share/examples/e2guardian/authplugins/ident.conf
+share/examples/e2guardian/authplugins/ip.conf
+share/examples/e2guardian/authplugins/port.conf
+share/examples/e2guardian/authplugins/proxy-basic.conf
+share/examples/e2guardian/authplugins/proxy-digest.conf
+share/examples/e2guardian/downloadmanagers/default.conf
+share/examples/e2guardian/downloadmanagers/fancy.conf
+share/examples/e2guardian/e2guardian.conf
+share/examples/e2guardian/e2guardianf1.conf
+share/examples/e2guardian/lists/addheaderregexplist
+share/examples/e2guardian/lists/authexceptionsitelist
+share/examples/e2guardian/lists/authexceptionurllist
+share/examples/e2guardian/lists/authplugins/ipgroups
+share/examples/e2guardian/lists/authplugins/portgroups
+share/examples/e2guardian/lists/bannedextensionlist
+share/examples/e2guardian/lists/bannediplist
+share/examples/e2guardian/lists/bannedmimetypelist
+share/examples/e2guardian/lists/bannedphraselist
+share/examples/e2guardian/lists/bannedregexpheaderlist
+share/examples/e2guardian/lists/bannedregexpurllist
+share/examples/e2guardian/lists/bannedrooms/default
+share/examples/e2guardian/lists/bannedsearchlist
+share/examples/e2guardian/lists/bannedsitelist
+share/examples/e2guardian/lists/bannedsslsitelist
+share/examples/e2guardian/lists/bannedurllist
+share/examples/e2guardian/lists/contentregexplist
+share/examples/e2guardian/lists/downloadmanagers/managedextensionlist
+share/examples/e2guardian/lists/downloadmanagers/managedmimetypelist
+share/examples/e2guardian/lists/embededreferersitelist
+share/examples/e2guardian/lists/embededrefererurllist
+share/examples/e2guardian/lists/exceptionextensionlist
+share/examples/e2guardian/lists/exceptionfilesitelist
+share/examples/e2guardian/lists/exceptionfileurllist
+share/examples/e2guardian/lists/exceptioniplist
+share/examples/e2guardian/lists/exceptionmimetypelist
+share/examples/e2guardian/lists/exceptionphraselist
+share/examples/e2guardian/lists/exceptionregexpurllist
+share/examples/e2guardian/lists/exceptionsitelist
+share/examples/e2guardian/lists/exceptionurllist
+share/examples/e2guardian/lists/filtergroupslist
+share/examples/e2guardian/lists/greysitelist
+share/examples/e2guardian/lists/greysslsitelist
+share/examples/e2guardian/lists/greyurllist
+share/examples/e2guardian/lists/headerregexplist
+share/examples/e2guardian/lists/localbannedsearchlist
+share/examples/e2guardian/lists/localbannedsitelist
+share/examples/e2guardian/lists/localbannedsslsitelist
+share/examples/e2guardian/lists/localbannedurllist
+share/examples/e2guardian/lists/localexceptionsitelist
+share/examples/e2guardian/lists/localexceptionurllist
+share/examples/e2guardian/lists/localgreysitelist
+share/examples/e2guardian/lists/localgreysslsitelist
+share/examples/e2guardian/lists/localgreyurllist
+share/examples/e2guardian/lists/logregexpurllist
+share/examples/e2guardian/lists/logsitelist
+share/examples/e2guardian/lists/logurllist
+share/examples/e2guardian/lists/nocheckcertsitelist
+share/examples/e2guardian/lists/phraselists/badwords/weighted_dutch
+share/examples/e2guardian/lists/phraselists/badwords/weighted_french
+share/examples/e2guardian/lists/phraselists/badwords/weighted_german
+share/examples/e2guardian/lists/phraselists/badwords/weighted_portuguese
+share/examples/e2guardian/lists/phraselists/badwords/weighted_spanish
+share/examples/e2guardian/lists/phraselists/chat/weighted
+share/examples/e2guardian/lists/phraselists/chat/weighted_italian
+share/examples/e2guardian/lists/phraselists/conspiracy/weighted
+share/examples/e2guardian/lists/phraselists/domainsforsale/weighted
+share/examples/e2guardian/lists/phraselists/drugadvocacy/weighted
+share/examples/e2guardian/lists/phraselists/forums/weighted
+share/examples/e2guardian/lists/phraselists/gambling/banned
+share/examples/e2guardian/lists/phraselists/gambling/banned_portuguese
+share/examples/e2guardian/lists/phraselists/gambling/weighted
+share/examples/e2guardian/lists/phraselists/gambling/weighted_portuguese
+share/examples/e2guardian/lists/phraselists/games/weighted
+share/examples/e2guardian/lists/phraselists/goodphrases/exception
+share/examples/e2guardian/lists/phraselists/goodphrases/exception_email
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_danish
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_dutch
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_malay
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_polish
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_portuguese
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_general_swedish
+share/examples/e2guardian/lists/phraselists/goodphrases/weighted_news
+share/examples/e2guardian/lists/phraselists/googlesearches/banned
+share/examples/e2guardian/lists/phraselists/gore/weighted
+share/examples/e2guardian/lists/phraselists/gore/weighted_portuguese
+share/examples/e2guardian/lists/phraselists/idtheft/weighted



Home | Main Index | Thread Index | Old Index