FreeBSD Bugzilla – Attachment 19985 Details for
Bug 35382
Updated port: DansGuardin Content Filter -- updated to version 2.2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
dansguardian.port
dansguardian.port (text/plain), 19.79 KB, created by
fcash
on 2002-02-27 18:30:00 UTC
(
hide
)
Description:
dansguardian.port
Filename:
MIME Type:
Creator:
fcash
Created:
2002-02-27 18:30:00 UTC
Size:
19.79 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># /usr/ports/www/dansguardian/ ># /usr/ports/www/dansguardian/files ># /usr/ports/www/dansguardian/files/Makefile-patch ># /usr/ports/www/dansguardian/files/conf-patch ># /usr/ports/www/dansguardian/files/script-patch ># /usr/ports/www/dansguardian/files/man-patch ># /usr/ports/www/dansguardian/files/logrotation ># /usr/ports/www/dansguardian/files/dansguardian.log ># /usr/ports/www/dansguardian/pkg-plist ># /usr/ports/www/dansguardian/distinfo ># /usr/ports/www/dansguardian/pkg-comment ># /usr/ports/www/dansguardian/Makefile ># /usr/ports/www/dansguardian/pkg-descr ># >echo c - /usr/ports/www/dansguardian/ >mkdir -p /usr/ports/www/dansguardian/ > /dev/null 2>&1 >echo c - /usr/ports/www/dansguardian/files >mkdir -p /usr/ports/www/dansguardian/files > /dev/null 2>&1 >echo x - /usr/ports/www/dansguardian/files/Makefile-patch >sed 's/^X//' >/usr/ports/www/dansguardian/files/Makefile-patch << 'END-of-/usr/ports/www/dansguardian/files/Makefile-patch' >X--- work/DansGuardian-2.2.5/Makefile Sat Feb 16 17:31:46 2002 >X+++ files/Makefile Sat Feb 16 17:32:24 2002 >X@@ -5,12 +5,12 @@ >X #Don't forget the trailing / >X >X PREFIX = /usr/local >X-CONFFILELOCATION = ${PREFIX}/usr/local/etc/dansguardian/ >X-BINARYLOCATION = ${PREFIX}/usr/local/sbin/ >X-SYSVLOCATION = ${PREFIX}/usr/local/etc/rc.d/ >X-CGIBINLOCATION = ${PREFIX}/usr/local/www/cgi-bin.default/ >X-MANUALFILES = ${PREFIX}/usr/local/man/ >X-LOGLOCATION = ${PREFIX}/usr/local/var/log/dansguardian/ >X+CONFFILELOCATION = ${PREFIX}/etc/dansguardian/ >X+BINARYLOCATION = ${PREFIX}/sbin/ >X+SYSVLOCATION = ${PREFIX}/etc/rc.d/ >X+CGIBINLOCATION = ${PREFIX}/www/cgi-bin/ >X+MANUALFILES = ${PREFIX}/man/ >X+LOGLOCATION = ${PREFIX}/var/log/ >X PROXYUSER = nobody >X PROXYGROUP = nobody >X PIDDIR = /var/run/ >X@@ -33,7 +33,7 @@ >X dansguardian.conf config.cache Makefile logrotation >X >X PASSVARS = -DPROXYUSER=\"${PROXYUSER}\" >X-PASSVARS += -DLOGLOCATION=\"${LOGLOCATION}access.log\" >X+PASSVARS += -DLOGLOCATION=\"${LOGLOCATION}dansguardian.log\" >X PASSVARS += -DCONFFILELOCATION=\"${CONFFILELOCATION}dansguardian.conf\" >X PASSVARS += -DPIDDIR=\"${PIDDIR}\" >X >X@@ -54,32 +54,31 @@ >X $(CPP) -o dansguardian $(DGCFLAGS) $(DEBUG) $(OBJ) $(LIBS) dansguardian.cpp >X >X install: >X- @test -d $(SYSVLOCATION) || install -d $(SYSVLOCATION) >X- @test -d $(CONFFILELOCATION) || install -d $(CONFFILELOCATION) >X- @test -d $(CGIBINLOCATION) || install -d $(CGIBINLOCATION) >X- @test -d $(MANUALFILES)man8/ || install -d $(MANUALFILES)man8/ >X- @test -d $(LOGLOCATION) || install -d $(LOGLOCATION) >X- @test -d $(BINARYLOCATION) || /usr/sbin/install -d $(BINARYLOCATION) >X- cp -f ./dansguardian $(BINARYLOCATION)dansguardian >X- cp -f ./dansguardian.conf $(CONFFILELOCATION)dansguardian.conf >X- cp -f ./bannedphraselist $(CONFFILELOCATION)bannedphraselist >X- cp -f ./bannedextensionlist $(CONFFILELOCATION)bannedextensionlist >X- cp -f ./bannedmimetypelist $(CONFFILELOCATION)bannedmimetypelist >X- cp -f ./bannedurllist $(CONFFILELOCATION)bannedurllist >X- cp -f ./bannedregexpurllist $(CONFFILELOCATION)bannedregexpurllist >X- cp -f ./bannedsitelist $(CONFFILELOCATION)bannedsitelist >X- cp -f ./exceptionsitelist $(CONFFILELOCATION)exceptionsitelist >X- cp -f ./exceptionuserlist $(CONFFILELOCATION)exceptionuserlist >X- cp -f ./exceptioniplist $(CONFFILELOCATION)exceptioniplist >X- cp -f ./pics $(CONFFILELOCATION)pics >X- cp -f ./logrotation $(CONFFILELOCATION)logrotation >X- cp -f ./dansguardian.bsdv $(SYSVLOCATION)dansguardian.sh >X- cp -f ./dansguardian.pl $(CGIBINLOCATION)dansguardian.pl >X- chmod o+x $(CGIBINLOCATION)dansguardian.pl >X- cp -f ./dansguardian.8.gz $(MANUALFILES)man8/dansguardian.8.gz >X- chown -R $(PROXYUSER).$(PROXYGROUP) $(LOGLOCATION) >X- chmod -R u+wr $(LOGLOCATION) >X- chmod u+wrx $(LOGLOCATION) >X+ @test -d $(SYSVLOCATION) || install -d $(SYSVLOCATION) >X+ @test -d $(CONFFILELOCATION) || install -d $(CONFFILELOCATION) >X+ @test -d $(CGIBINLOCATION) || install -d $(CGIBINLOCATION) >X+ @test -d $(MANUALFILES)man8/ || install -d $(MANUALFILES)man8/ >X+ @test -d $(LOGLOCATION) || install -d $(LOGLOCATION) >X+ @test -d $(BINARYLOCATION) || /usr/sbin/install -d $(BINARYLOCATION) >X+ install -o nobody -g nobody -m 755 dansguardian $(BINARYLOCATION)dansguardian >X+ install -o nobody -g nobody -m 644 dansguardian.conf $(CONFFILELOCATION)dansguardian.conf >X+ install -o nobody -g nobody -m 644 bannedphraselist $(CONFFILELOCATION)bannedphraselist >X+ install -o nobody -g nobody -m 644 bannedextensionlist $(CONFFILELOCATION)bannedextensionlist >X+ install -o nobody -g nobody -m 644 bannedmimetypelist $(CONFFILELOCATION)bannedmimetypelist >X+ install -o nobody -g nobody -m 644 bannedurllist $(CONFFILELOCATION)bannedurllist >X+ install -o nobody -g nobody -m 644 bannedregexpurllist $(CONFFILELOCATION)bannedregexpurllist >X+ install -o nobody -g nobody -m 644 bannedsitelist $(CONFFILELOCATION)bannedsitelist >X+ install -o nobody -g nobody -m 644 exceptionsitelist $(CONFFILELOCATION)exceptionsitelist >X+ install -o nobody -g nobody -m 644 exceptionuserlist $(CONFFILELOCATION)exceptionuserlist >X+ install -o nobody -g nobody -m 644 exceptioniplist $(CONFFILELOCATION)exceptioniplist >X+ install -o nobody -g nobody -m 644 pics $(CONFFILELOCATION)pics >X+ install -o nobody -g nobody -m 755 logrotation $(BINARYLOCATION)dg-logrotate >X+ install -o nobody -g nobody -m 755 dansguardian.bsdv $(SYSVLOCATION)dansguardian.sh >X+ install -o nobody -g nobody -m 755 dansguardian.pl $(CGIBINLOCATION)dansguardian.pl >X+ install -o nobody -g nobody -m 644 dansguardian.8.gz $(MANUALFILES)man8/dansguardian.8.gz >X+ install -o nobody -g nobody -m 644 dansguardian.log ${LOGLOCATION}/dansguardian.log >X+ chown $(PROXYUSER).$(PROXYGROUP) $(LOGLOCATION)/dansguardian.log >X+ chmod u+wr $(LOGLOCATION)/dansguardian.log >X >X uninstall: >X rm -f $(BINARYLOCATION)dansguardian >END-of-/usr/ports/www/dansguardian/files/Makefile-patch >echo x - /usr/ports/www/dansguardian/files/conf-patch >sed 's/^X//' >/usr/ports/www/dansguardian/files/conf-patch << 'END-of-/usr/ports/www/dansguardian/files/conf-patch' >X--- work/DansGuardian-2.2.4/dansguardian.conf Sat Feb 9 19:07:34 2002 >X+++ files/dansguardian.conf Sat Feb 9 19:06:44 2002 >X@@ -1,24 +1,17 @@ >X # DansGuardian config file for version 2.2.4 >X >X- >X # Web Access Denied Reporting (does not affect logging) >X-# >X # -1 = log, but do not block - Stealth mode >X # 0 = just say 'Access Denied' >X # 1 = report why but not what denied phrase >X # 2 = report fully >X-# >X reportinglevel = 1 >X >X- >X- >X # Logging Settings >X # 0 = none 1 = just denied 2 = all text based 3 = all requests >X loglevel = 2 >X >X- >X # Network Settings >X-# >X # the IP that DansGuardian listens on. If left blank DansGuardian will >X # listen on all IPs. That would include all NICs, loopback, modem, etc. >X # Normally you would have your firewall protecting this, but if you want >X@@ -37,24 +30,19 @@ >X >X # accessdeniedaddress is the address of your web server to which the cgi >X # dansguardian reporting script was copied >X-# >X-accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl' >X- >X- >X+accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin.default/dansguardian.pl' >X >X # Content filtering files location >X-bannedphraselist = '/usr/local/usr/local/etc/dansguardian/bannedphraselist' >X-bannedextensionlist = '/usr/local/usr/local/etc/dansguardian/bannedextensionlist' >X-bannedmimetypelist = '/usr/local/usr/local/etc/dansguardian/bannedmimetypelist' >X-bannedsitelist = '/usr/local/usr/local/etc/dansguardian/bannedsitelist' >X-bannedurllist = '/usr/local/usr/local/etc/dansguardian/bannedurllist' >X-bannedregexpurllist = '/usr/local/usr/local/etc/dansguardian/bannedregexpurllist' >X-exceptionsitelist = '/usr/local/usr/local/etc/dansguardian/exceptionsitelist' >X-exceptioniplist = '/usr/local/usr/local/etc/dansguardian/exceptioniplist' >X-exceptionuserlist = '/usr/local/usr/local/etc/dansguardian/exceptionuserlist' >X-picsfile = '/usr/local/usr/local/etc/dansguardian/pics' >X- >X- >X+bannedphraselist = '/usr/local/etc/dansguardian/bannedphraselist' >X+bannedextensionlist = '/usr/local/etc/dansguardian/bannedextensionlist' >X+bannedmimetypelist = '/usr/local/etc/dansguardian/bannedmimetypelist' >X+bannedsitelist = '/usr/local/etc/dansguardian/bannedsitelist' >X+bannedurllist = '/usr/local/etc/dansguardian/bannedurllist' >X+bannedregexpurllist = '/usr/local/etc/dansguardian/bannedregexpurllist' >X+exceptionsitelist = '/usr/local/etc/dansguardian/exceptionsitelist' >X+exceptioniplist = '/usr/local/etc/dansguardian/exceptioniplist' >X+exceptionuserlist = '/usr/local/etc/dansguardian/exceptionuserlist' >X+picsfile = '/usr/local/etc/dansguardian/pics' >X >X # Reverse lookups for banned site and URLs. >X # If set to on, DansGuardian will look up the forward DNS for an IP URL >X@@ -65,8 +53,6 @@ >X # bannedsitelist file instead. >X reverseaddresslookups = off >X >X- >X- >X # Build bannedsitelist and bannedurllist cache files. >X # This will compare the date stamp of the list file with the date stamp of >X # the cache file and will recreate as needed. >X@@ -75,8 +61,6 @@ >X # be significant. Fast computers do not need this option. on | off >X createlistcachefiles = on >X >X- >X- >X # POST protection (web upload and forms) >X # does not block forms without any file upload, i.e. this is just for >X # blocking or limiting uploads >X@@ -88,8 +72,6 @@ >X #maxuploadsize = 0 >X maxuploadsize = -1 >X >X- >X- >X # Username identification methods (used in logging) >X # You can have as many methods as you want and not just one. The first one >X # will be used then if no username is found, the next will be used. >X@@ -104,10 +86,7 @@ >X username_id_method_ntlm = off # **NOT IMPLEMENTED** >X username_id_method_ident = off >X >X- >X- >X # Misc settings >X- >X # if on it adds an X-Forwarded-For: <clientip> to the HTTP request >X # header. This may help solve some problem sites that need to know the >X # source ip. on | off >X@@ -119,10 +98,7 @@ >X # On large sites you might want to double or triple this number. >X maxchildren = 180 >X >X- >X # if on it logs some debug info regarding fork()ing and accept()ing which >X # can usually be ignored. These are logged by syslog. It is safe to leave >X # it on or off >X log_connection_handling_errors = on >X- >X- >END-of-/usr/ports/www/dansguardian/files/conf-patch >echo x - /usr/ports/www/dansguardian/files/script-patch >sed 's/^X//' >/usr/ports/www/dansguardian/files/script-patch << 'END-of-/usr/ports/www/dansguardian/files/script-patch' >X--- work/DansGuardian-2.2.5/dansguardian.bsdv Sat Feb 16 17:54:15 2002 >X+++ files/dansguardian.bsdv Sat Feb 16 18:02:37 2002 >X@@ -1,32 +1,24 @@ >X #!/bin/sh >X-# >X-# BSD startup script for dansguardian >X-# partly based on httpd startup script >X-# >X-# description: A web content filtering plugin for web \ >X-# proxies, developed to filter using lists of \ >X-# banned phrases, MIME types, filename \ >X-# extensions and PICS labling. >X-# processname: dansguardian >X- >X- >X # See how we were called. >X >X case "$1" in >X start) >X- [ -x /usr/local/usr/local/sbin/dansguardian ] && /usr/local/usr/local/sbin/dansguardian > /dev/null && echo -e ' dansguardian\c' >X+ /usr/local/sbin/dansguardian >X+ echo -n " dansguardian" >X ;; >X stop) >X- /usr/local/usr/local/sbin/dansguardian -q >X- [ -r /tmp/.dguardianipc ] && echo -e ' dansguardian\c' >X- rm -f /tmp/.dguardianipc >X+ /usr/local/sbin/dansguardian -q >X+ if [ -e /tmp/.dguardianipc ]; then >X+ rm -f /tmp/.dguardianipc >X+ fi >X+ echo -n " dansguardian" >X ;; >X restart) >X $0 stop >X- $0 start >X+ /usr/local/sbin/dansguardian >X ;; >X *) >X- echo "Usage: configure {start|stop|restart}" >&2 >X+ echo "Usage: $0 {start|stop|restart}" >X ;; >X esac >X exit 0 >END-of-/usr/ports/www/dansguardian/files/script-patch >echo x - /usr/ports/www/dansguardian/files/man-patch >sed 's/^X//' >/usr/ports/www/dansguardian/files/man-patch << 'END-of-/usr/ports/www/dansguardian/files/man-patch' >X--- work/DansGuardian-2.2.4/dansguardian.8 Mon Jan 21 13:48:27 2002 >X+++ files/dansguardian.8 Sat Feb 9 19:38:16 2002 >X@@ -3,7 +3,7 @@ >X .SH NAME >X DansGuardian 2 >X .SH SYNOPSIS >X-/etc/rc.d/init.d/dansguardian [stop|start|status|restart] >X+/usr/local/etc/rc.d/init.d/dansguardian [stop|start|status|restart] >X .SH DESCRIPTION >X A Introduction >X >END-of-/usr/ports/www/dansguardian/files/man-patch >echo x - /usr/ports/www/dansguardian/files/logrotation >sed 's/^X//' >/usr/ports/www/dansguardian/files/logrotation << 'END-of-/usr/ports/www/dansguardian/files/logrotation' >X#!/bin/sh >X >X# Generic shell script to rotate and compress log files for a given program. >X# This script currently support up to 3 log files per program. More can be >X# added as needed. >X >X >X##### Begin user-modifiable section. Change these variables to point to the >X##### correct directories and files. >X >XBACKUPS=/usr/local/var/log/backups >XLOGDIR=/usr/local/var/log >X >XLOG1="dansguardian.log" >XLOG2="" >XLOG3="" >X >XUSER=nobody >XGROUP=nobody >X >XFILEMODE=644 >X >XINITSCRIPT=/usr/local/etc/rc.d/dansguardian.sh >X >X##### End of user-modifiable section. Code below shouldn't need changing. Have a look >X##### just in case, if you want. >X >X# Below is the actual log rotation. It works in two parts: >X# Part 1 stops the daemon, moves the old logs, creates the new logs, and restarts the daemon. >X# Part 2 rotates the archived logs, and compresses the new archive >X >X >X# Check which lognames have been set, and build the list of log files to use. >X# [ ${VARIABLE} ] returns true if $VARIABLE is set to anything other than "" >Xif [ ${LOG3} ]; then >X LOGS="${LOG1} ${LOG2} ${LOG3}" >Xelif [ ${LOG2} ]; then >X LOGS="${LOG1} ${LOG2}" >Xelif [ ${LOG1} ]; then >X LOGS="${LOG1}" >Xelse >X echo "Error: No log files defined." >X echo "" >X exit 1 >Xfi >X >X# Check that the backup directory exists, create it if it doesn't >Xif [ ! -d ${BACKUPS} ]; then >X mkdir -p ${BACKUPS} >Xfi >X >X# Stop daemon >X${INITSCRIPT} stop > /dev/null >X >X# Move the existing logs to the backup directory >Xcd ${LOGDIR} >Xmv ${LOGS} ${BACKUPS}/ >X >X# Create new log files >Xtouch ${LOGS} >Xchown ${USER}:${GROUP} ${LOGS} >Xchmod ${FILEMODE} ${LOGS} >X >X# Start daemon >X${INITSCRIPT} start > /dev/null >X >X >X# Rotate compressed archives of $LOG1 >Xif [ ${LOG1} ]; then >X cd ${BACKUPS} >X if [ -e ${LOG1}.4.gz ]; then >X rm -f ${LOG1}.4.gz >X fi >X >X if [ -e ${LOG1}.3.gz ]; then >X mv -f ${LOG1}.3.gz ${LOG1}.4.gz >X fi >X >X if [ -e ${LOG1}.2.gz ]; then >X mv -f ${LOG1}.2.gz ${LOG1}.3.gz >X fi >X >X if [ -e ${LOG1}.1.gz ]; then >X mv -f ${LOG1}.1.gz ${LOG1}.2.gz >X fi >X >X if [ -e ${LOG1} ]; then >X gzip -9 -f ${LOG1} >X mv -f ${LOG1}.gz ${LOG1}.1.gz >X fi >Xfi >X >X# Rotate compressed archives of $LOG2 >Xif [ ${LOG2} ]; then >X cd ${BACKUPS} >X if [ -e ${LOG2}.4.gz ]; then >X rm -f ${LOG2}.4.gz >X fi >X >X if [ -e ${LOG2}.3.gz ]; then >X mv -f ${LOG2}.3.gz ${LOG2}.4.gz >X fi >X >X if [ -e ${LOG2}.2.gz ]; then >X mv -f ${LOG2}.2.gz ${LOG2}.3.gz >X fi >X >X if [ -e ${LOG2}.1.gz ]; then >X mv -f ${LOG2}.1.gz ${LOG2}.2.gz >X fi >X >X if [ -e ${LOG2} ]; then >X gzip -9 -f ${LOG2} >X mv -f ${LOG2}.gz ${LOG2}.1.gz >X fi >Xfi >X >X# Rotate compressed archives of $LOG3 >Xif [ ${LOG3} ]; then >X cd ${BACKUPS} >X if [ -e ${LOG3}.4.gz ]; then >X rm -f ${LOG3}.4.gz >X fi >X >X if [ -e ${LOG3}.3.gz ]; then >X mv -f ${LOG3}.3.gz ${LOG3}.4.gz >X fi >X >X if [ -e ${LOG3}.2.gz ]; then >X mv -f ${LOG3}.2.gz ${LOG3}.3.gz >X fi >X >X if [ -e ${LOG3}.1.gz ]; then >X mv -f ${LOG3}.1.gz ${LOG3}.2.gz >X fi >X >X if [ -e ${LOG3} ]; then >X gzip -9 -f ${LOG3} >X mv -f ${LOG3}.gz ${LOG3}.1.gz >X fi >Xfi >END-of-/usr/ports/www/dansguardian/files/logrotation >echo x - /usr/ports/www/dansguardian/files/dansguardian.log >sed 's/^X//' >/usr/ports/www/dansguardian/files/dansguardian.log << 'END-of-/usr/ports/www/dansguardian/files/dansguardian.log' >END-of-/usr/ports/www/dansguardian/files/dansguardian.log >echo x - /usr/ports/www/dansguardian/pkg-plist >sed 's/^X//' >/usr/ports/www/dansguardian/pkg-plist << 'END-of-/usr/ports/www/dansguardian/pkg-plist' >X@exec mkdir -p etc/dansguardian >X@exec mkdir -p var/log >Xetc/dansguardian/dansguardian.conf >Xetc/dansguardian/bannedphraselist >Xetc/dansguardian/bannedextensionlist >Xetc/dansguardian/bannedmimetypelist >Xetc/dansguardian/bannedurllist >Xetc/dansguardian/bannedregexpurllist >Xetc/dansguardian/bannedsitelist >Xetc/dansguardian/exceptionsitelist >Xetc/dansguardian/exceptionuserlist >Xetc/dansguardian/exceptioniplist >Xetc/dansguardian/pics >Xsbin/dansguardian >Xsbin/dg-logrotate >Xvar/log/dansguardian.log >Xwww/cgi-bin.default/dansguardian.pl >X@dirrm etc/dansguardian >END-of-/usr/ports/www/dansguardian/pkg-plist >echo x - /usr/ports/www/dansguardian/distinfo >sed 's/^X//' >/usr/ports/www/dansguardian/distinfo << 'END-of-/usr/ports/www/dansguardian/distinfo' >XMD5 (DansGuardian-2.2.6-0.source.tar.gz) = 3eccea0bb3e12fa4d884da291a5141a4 >END-of-/usr/ports/www/dansguardian/distinfo >echo x - /usr/ports/www/dansguardian/pkg-comment >sed 's/^X//' >/usr/ports/www/dansguardian/pkg-comment << 'END-of-/usr/ports/www/dansguardian/pkg-comment' >XA fast, simple web content filter for Squid proxy servers >END-of-/usr/ports/www/dansguardian/pkg-comment >echo x - /usr/ports/www/dansguardian/Makefile >sed 's/^X//' >/usr/ports/www/dansguardian/Makefile << 'END-of-/usr/ports/www/dansguardian/Makefile' >X# New ports collection makefile for: dansguardian >X# Date created: February 16, 2002 >X# Whom: Freddie Cash <fcash@bigfoot.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= dansguardian >XPORTVERSION= 2.2.6 >XCATEGORIES= www >XMASTER_SITES= http://backup.dansguardian.org/downloads/2/Stable/ \ >X http://dansguardian.org/downloads/2/Stable/ >XDISTNAME= DansGuardian-2.2.6-0.source >X#EXTRACT_SUFX= .tar.gz >X >XMAINTAINER= fcash@bigfoot.com >X >XRUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid24:install \ >X ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13:install >X >XWRKSRC= ${WRKDIR}/DansGuardian-2.2.6 >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS+= --bindir=${PREFIX}/sbin/ --sysconfdir=${PREFIX}/etc/dansguardian/ --sysvdir=${PREFIX}/etc/rc.d/ --mandir=${PREFIX}/man/ --logdir=${PREFIX}/var/log/dansguardian/ --cgidir=${PREFIX}/www/cgi-bin.default/ --piddir=/var/run/ >X >XMAN8= dansguardian.8 >XMANDIRS= ${PREFIX}/man >XMANCOMPRESSED= yes >X >XRESTRICTED= "Commercial download is restricted. Check http://dansguardian.org/?page=copyright2 for more info." >X >X.include <bsd.port.pre.mk> >X >X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) >XIGNORE="You must manually download ${DISTNAME}${EXTRACT_SUFX} from one of ${MASTER_SITES} and place it in ${DISTDIR} before you can run make to install." >X.endif >X >Xpost-configure: >X cd ${WRKSRC}/autoconf ; ${CAT} platform.h | ${SED} "s/\/usr\/local\/usr\/local/\/usr\/local/" > platform.h >X cd ${WRKSRC} ; ${PATCH} < ${PATCHDIR}/Makefile-patch >X cd ${WRKSRC} ; ${PATCH} < ${PATCHDIR}/conf-patch >X cd ${WRKSRC} ; ${PATCH} < ${PATCHDIR}/man-patch >X cd ${WRKSRC} ; ${PATCH} < ${PATCHDIR}/script-patch >X ${CP} -f ${PATCHDIR}/logrotation ${PATCHDIR}/dansguardian.log ${WRKSRC}/ >Xpost-install: >X strip ${PREFIX}/sbin/dansguardian >X >X.include <bsd.port.post.mk> >END-of-/usr/ports/www/dansguardian/Makefile >echo x - /usr/ports/www/dansguardian/pkg-descr >sed 's/^X//' >/usr/ports/www/dansguardian/pkg-descr << 'END-of-/usr/ports/www/dansguardian/pkg-descr' >XDansGuardian is a web content filtering proxy pass-through >Xfor Linux, FreeBSD, OpenBSD, and Solaris. It relies on a proxy >Xserver for all fetching (currenly uses Squid). It filters using >Xmultiple methods: URL and domain filtering, content >Xphrase filtering, PICS filtering, MIME filtering, file >Xextension filtering, and POST filtering. >X >XFor more info, check the DansGuardian website: >XWWW: http://www.dansguardian.org >X >X- Freddie Cash >Xfcash@bigfoot.com >END-of-/usr/ports/www/dansguardian/pkg-descr >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 35382
: 19985