diff options
author | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2007-04-24 13:45:09 +0000 |
---|---|---|
committer | Jose Alberto Suarez Lopez <bass@gentoo.org> | 2007-04-24 13:45:09 +0000 |
commit | 31d6af579f247461d51e199d1d9ac48554df981a (patch) | |
tree | fe8b574984a2d037ae1a0d1b0045b71078b420b0 /net-proxy/ufdbguard | |
parent | newconfd and newinitd (bug #174266) (diff) | |
download | gentoo-2-31d6af579f247461d51e199d1d9ac48554df981a.tar.gz gentoo-2-31d6af579f247461d51e199d1d9ac48554df981a.tar.bz2 gentoo-2-31d6af579f247461d51e199d1d9ac48554df981a.zip |
more junk
Diffstat (limited to 'net-proxy/ufdbguard')
-rw-r--r-- | net-proxy/ufdbguard/files/digest-ufdbguard-1.11 | 3 | ||||
-rw-r--r-- | net-proxy/ufdbguard/files/ufdbguard.confd | 9 | ||||
-rw-r--r-- | net-proxy/ufdbguard/files/ufdbguard.initd | 43 |
3 files changed, 0 insertions, 55 deletions
diff --git a/net-proxy/ufdbguard/files/digest-ufdbguard-1.11 b/net-proxy/ufdbguard/files/digest-ufdbguard-1.11 deleted file mode 100644 index 07347c58eef3..000000000000 --- a/net-proxy/ufdbguard/files/digest-ufdbguard-1.11 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4c5face3013045de88c570ae2665dc1f ufdbGuard-1.11.tar.gz 586455 -RMD160 bf5386f65283a41de2263566b812f0f20c22a9fe ufdbGuard-1.11.tar.gz 586455 -SHA256 5ce227a5cc23c2f6b6f5ccac3e59711386feaa751ff56a922890e4cb240528f3 ufdbGuard-1.11.tar.gz 586455 diff --git a/net-proxy/ufdbguard/files/ufdbguard.confd b/net-proxy/ufdbguard/files/ufdbguard.confd deleted file mode 100644 index c80752dc0349..000000000000 --- a/net-proxy/ufdbguard/files/ufdbguard.confd +++ /dev/null @@ -1,9 +0,0 @@ -UFDB_OPTS="" -UFDB_GT="alwaysallow alwaysdeny" - -UFDB_CONFDIR="/etc/ufdbguard" -UFDB_CONF="${UFDB_CONFDIR}/ufdbGuard.conf" -UFDB_PIDFILE="/var/run/ufdbguardd.pid" -UFDB_BINARY="/usr/bin/ufdbguardd" - -UFDB_LOGDIR=$( grep logdir ${UFDB_CONF} 2>/dev/null | awk '{print $2}' ) UFDB_USER="squid" diff --git a/net-proxy/ufdbguard/files/ufdbguard.initd b/net-proxy/ufdbguard/files/ufdbguard.initd deleted file mode 100644 index e6e27067ec49..000000000000 --- a/net-proxy/ufdbguard/files/ufdbguard.initd +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdbguard.initd,v 1.1 2007/04/24 13:43:39 bass Exp $ - -depend() { - need net - before squid - use logger -} - -ufgt() { - if [ -f "/etc/ufdbguard/blacklists/${1}/domains" ] ; then - einfo "Generating domainlist $1" - /usr/bin/ufdbGenTable -t ${1} -d ${UFDB_CONFDIR}/blacklists/${1}/domains - fi -} - -start() { - - if [ -n "${UFDB_GT}" ] ; then - for gt in ${UFDB_GT} ; do - ufgt ${gt} - done - fi - - if [ ! -d "${UFDB_LOGDIR}" ] ; then - mkdir -p ${UFDB_LOGDIR} - chown -R ${UFDB_USER} ${UFDB_LOGDIR} - fi - - ebegin "Starting ufdbGuard" - start-stop-daemon --start --chuid ${UFDB_USER} \ - --exec ${UFDB_BINARY} --pidfile ${UFDB_PIDFILE} -- -c ${UFDB_CONF} \ - ${UFDB_OPTS} - eend $? "Failed to start ufdbguard" -} - -stop() { - ebegin "Stopping ufdbguard" - start-stop-daemon --stop --exec ${UFDB_BINARY} --pidfile ${UFDB_PIDFILE} - eend $? "Failed to stop ufdbguard" -} |