diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-08-18 14:34:43 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-08-18 14:34:43 +0000 |
commit | 4ffa7ba72d4cf2b1561d05a77b6b0f07697c8ba6 (patch) | |
tree | da751a9805861d3609187ee9a57ef4077e5b6230 /net-proxy | |
parent | Masked gnustep-env, don't use this sort of virtual any more, as it is (diff) | |
download | historical-4ffa7ba72d4cf2b1561d05a77b6b0f07697c8ba6.tar.gz historical-4ffa7ba72d4cf2b1561d05a77b6b0f07697c8ba6.tar.bz2 historical-4ffa7ba72d4cf2b1561d05a77b6b0f07697c8ba6.zip |
Version bump. Remove dansguardian-dgav block atom from DEPENDs.
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'net-proxy')
9 files changed, 280 insertions, 24 deletions
diff --git a/net-proxy/dansguardian/ChangeLog b/net-proxy/dansguardian/ChangeLog index 260f61b5ceac..01d2014bc302 100644 --- a/net-proxy/dansguardian/ChangeLog +++ b/net-proxy/dansguardian/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-proxy/dansguardian # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/ChangeLog,v 1.29 2007/06/17 06:01:15 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/ChangeLog,v 1.30 2007/08/18 14:34:42 mrness Exp $ + +*dansguardian-2.9.9.0_beta (18 Aug 2007) + + 18 Aug 2007; Alin Năstac <mrness@gentoo.org> + +files/dansguardian-2.9.9.0-gentoo.patch, + +files/dansguardian-2.9.9.0-no-default-lists.patch, + +files/dansguardian-2.9.9.0-uclibc++.patch, + dansguardian-2.8.0.6-r1.ebuild, dansguardian-2.9.8.5_beta.ebuild, + +dansguardian-2.9.9.0_beta.ebuild: + Version bump. Remove dansguardian-dgav block atom from DEPENDs. 17 Jun 2007; Alin Năstac <mrness@gentoo.org> -files/dansguardian-2.9.8.2-gentoo.patch, diff --git a/net-proxy/dansguardian/Manifest b/net-proxy/dansguardian/Manifest index 8360d92a2e4f..e61677c5f673 100644 --- a/net-proxy/dansguardian/Manifest +++ b/net-proxy/dansguardian/Manifest @@ -17,6 +17,18 @@ AUX dansguardian-2.9.8.5-uclibc++.patch 3015 RMD160 cfdfdf1141ba24f09c42ec319d60 MD5 161972dc92a3cd7687283ada35fac505 files/dansguardian-2.9.8.5-uclibc++.patch 3015 RMD160 cfdfdf1141ba24f09c42ec319d60a6763125dce4 files/dansguardian-2.9.8.5-uclibc++.patch 3015 SHA256 1312ff97e277d49c4cb7fb967731483ab8ddebf139f00b64e95bc1bfd802c612 files/dansguardian-2.9.8.5-uclibc++.patch 3015 +AUX dansguardian-2.9.9.0-gentoo.patch 472 RMD160 9f3f7e24308ce1115e58ea63142be1c92849a2e3 SHA1 b916bd0b52f24ea13729a67f2acbdf7ac312ba43 SHA256 460bef702eca985df7e84d899abd4adafc229b47ee511f4e3248313ee837990d +MD5 75967ce3f147f356e797cd3e94ac57fe files/dansguardian-2.9.9.0-gentoo.patch 472 +RMD160 9f3f7e24308ce1115e58ea63142be1c92849a2e3 files/dansguardian-2.9.9.0-gentoo.patch 472 +SHA256 460bef702eca985df7e84d899abd4adafc229b47ee511f4e3248313ee837990d files/dansguardian-2.9.9.0-gentoo.patch 472 +AUX dansguardian-2.9.9.0-no-default-lists.patch 906 RMD160 2add3c6b61cdae358920cdec952c56587b3dbe18 SHA1 5174c5e3435070ed58e31177f838cb870979fc7b SHA256 7ab592bb542cbd1f23f1377d143cf162bb67a9cfc9be043c3919f2af7efa59b7 +MD5 3428f8af00658b61078ea6c16ed7dfca files/dansguardian-2.9.9.0-no-default-lists.patch 906 +RMD160 2add3c6b61cdae358920cdec952c56587b3dbe18 files/dansguardian-2.9.9.0-no-default-lists.patch 906 +SHA256 7ab592bb542cbd1f23f1377d143cf162bb67a9cfc9be043c3919f2af7efa59b7 files/dansguardian-2.9.9.0-no-default-lists.patch 906 +AUX dansguardian-2.9.9.0-uclibc++.patch 3015 RMD160 6e46b8306979a2b49ae99aebc001e92e1d3ff151 SHA1 b263e2b871b99893d0800866a445f5d9e1a8d64f SHA256 d6d6ad729774ec3d93f6a7d21da75a1e7499068dac014ecf040099e870627e30 +MD5 33564bc3cdf2f1ddb02cb75a41c6d12c files/dansguardian-2.9.9.0-uclibc++.patch 3015 +RMD160 6e46b8306979a2b49ae99aebc001e92e1d3ff151 files/dansguardian-2.9.9.0-uclibc++.patch 3015 +SHA256 d6d6ad729774ec3d93f6a7d21da75a1e7499068dac014ecf040099e870627e30 files/dansguardian-2.9.9.0-uclibc++.patch 3015 AUX dansguardian-xnaughty-2.7.6-1.diff 2325 RMD160 9716fa42f87adb3f27e8009d2ff1da46ebdc8fa9 SHA1 ab7ee4f3c7f3a0865cab6913d4ac3eefa07d1989 SHA256 ae438113e94d2292e85dbf9be702b002e3f1b36b853bb7a7573e11786a1db9a7 MD5 6313b934a33da7e4308812e834494074 files/dansguardian-xnaughty-2.7.6-1.diff 2325 RMD160 9716fa42f87adb3f27e8009d2ff1da46ebdc8fa9 files/dansguardian-xnaughty-2.7.6-1.diff 2325 @@ -31,18 +43,23 @@ RMD160 c2c433f4209518a83725382f8952141a34d58d25 files/dansguardian.logrotate 188 SHA256 124775c1a6dd20652e7b7511bb484c654ac63cc0c0a2baf2357d8ce7086867a2 files/dansguardian.logrotate 188 DIST dansguardian-2.8.0.6.source.tar.gz 212737 RMD160 cf3493b26b4fcd5b366a6fe472e3c6c9e3cfe6d3 SHA1 6d82eed13536a64a2f6711fa221756fa0bfe19f0 SHA256 f4d51b805e979369896906b49a388bf102f56cf0755acc9cb1ec2e4176aac34b DIST dansguardian-2.9.8.5.tar.gz 469549 RMD160 d63337e728331d658d7a2941549b8132dbbd467e SHA1 69a96319532d3d3afec8cf52bb67b52b78fa65dc SHA256 614a9287b852996bf56aff62e39324e86e091dba388de99bc2b608a626084e62 -EBUILD dansguardian-2.8.0.6-r1.ebuild 1308 RMD160 e39a97785ef12e03be4fbc8d1719d64d8e2ff6c8 SHA1 b7b6f037409917d04c9c6de81e5d938c12c29ef9 SHA256 64416167ee7f7197fbf642c71f023347ad78d219d8b5e90cf1ab4a063508a3d6 -MD5 d6d7a39faf1eacef321056bd39afeb5f dansguardian-2.8.0.6-r1.ebuild 1308 -RMD160 e39a97785ef12e03be4fbc8d1719d64d8e2ff6c8 dansguardian-2.8.0.6-r1.ebuild 1308 -SHA256 64416167ee7f7197fbf642c71f023347ad78d219d8b5e90cf1ab4a063508a3d6 dansguardian-2.8.0.6-r1.ebuild 1308 -EBUILD dansguardian-2.9.8.5_beta.ebuild 2991 RMD160 3a4ea8b1d186c0259441aa243301b9aab9c182e8 SHA1 cc5de42ff9afdfd31259ce9b8c5b46837b05c583 SHA256 d250cf5a305de54ef3a6413dfc27c50d2771d544a8a077f16db376285f82a6f0 -MD5 da5240926abd54c4e817a8070e663ab3 dansguardian-2.9.8.5_beta.ebuild 2991 -RMD160 3a4ea8b1d186c0259441aa243301b9aab9c182e8 dansguardian-2.9.8.5_beta.ebuild 2991 -SHA256 d250cf5a305de54ef3a6413dfc27c50d2771d544a8a077f16db376285f82a6f0 dansguardian-2.9.8.5_beta.ebuild 2991 -MISC ChangeLog 10824 RMD160 646008e301ed9b8a986a1e580e8111cae6abceb1 SHA1 5be85562b829a907b3b020ac0d06cc10fe333ebe SHA256 6f5cee3093a8e47cb3118889227f2625aa46c7b08c0cd99ed76be6520d5186fe -MD5 2f404c52638456f3f3fbb3d63058ddd0 ChangeLog 10824 -RMD160 646008e301ed9b8a986a1e580e8111cae6abceb1 ChangeLog 10824 -SHA256 6f5cee3093a8e47cb3118889227f2625aa46c7b08c0cd99ed76be6520d5186fe ChangeLog 10824 +DIST dansguardian-2.9.9.0.tar.gz 471642 RMD160 ba440aec5303b3900cd0382a1ac516b6bb5220e7 SHA1 8e472f8c0346bbc8cf54b7abb8568025e8022af1 SHA256 a34d73dfd432af46f1a75ea0cdae495f48d537c3552684e6c5761105b0cdd294 +EBUILD dansguardian-2.8.0.6-r1.ebuild 1270 RMD160 0d45f9159fb4f889a6fd33b78cd19c5b85c60087 SHA1 5f571fcb4848b3b73cd43b2a8c6428cff1e8d4e7 SHA256 bf3daaa0db173f82c1a5f37548a5f18e374668fd3892fedf5d62b53ea26456b4 +MD5 a533ddb52745db23f2801891b594fc7d dansguardian-2.8.0.6-r1.ebuild 1270 +RMD160 0d45f9159fb4f889a6fd33b78cd19c5b85c60087 dansguardian-2.8.0.6-r1.ebuild 1270 +SHA256 bf3daaa0db173f82c1a5f37548a5f18e374668fd3892fedf5d62b53ea26456b4 dansguardian-2.8.0.6-r1.ebuild 1270 +EBUILD dansguardian-2.9.8.5_beta.ebuild 2983 RMD160 947de25dec1f1b9ecf737ffe1a9fbb1dd798b8e4 SHA1 c85cb5a72ee13b5861370cf7a188c3463fbeb1b7 SHA256 d08edacacc8fa38d2d828aa0415378f4783926feae2b2e535be5e4e371f6d679 +MD5 0744b225d5a23eaf6794740e30c1fe56 dansguardian-2.9.8.5_beta.ebuild 2983 +RMD160 947de25dec1f1b9ecf737ffe1a9fbb1dd798b8e4 dansguardian-2.9.8.5_beta.ebuild 2983 +SHA256 d08edacacc8fa38d2d828aa0415378f4783926feae2b2e535be5e4e371f6d679 dansguardian-2.9.8.5_beta.ebuild 2983 +EBUILD dansguardian-2.9.9.0_beta.ebuild 3347 RMD160 856e965abb55ee3a6c8c2804c363b61293df9699 SHA1 29548c73de0c31d2f40377f1fdc15cb284242923 SHA256 9cd6f839951889daebf1412d31a0f8258ffcd1fb4bfa09fbdea56f61ddbd55e1 +MD5 4b4558888372616f78232d73097687af dansguardian-2.9.9.0_beta.ebuild 3347 +RMD160 856e965abb55ee3a6c8c2804c363b61293df9699 dansguardian-2.9.9.0_beta.ebuild 3347 +SHA256 9cd6f839951889daebf1412d31a0f8258ffcd1fb4bfa09fbdea56f61ddbd55e1 dansguardian-2.9.9.0_beta.ebuild 3347 +MISC ChangeLog 11230 RMD160 8569222023c1e825c79b21bc6c3761d18b612743 SHA1 6a3aa52d879ad7db1f2e29cd9ff2499978b4c16b SHA256 c2f55284c123366c58c958b9c16f2981653023549f73e0e5179b1df7fdbcbe97 +MD5 12b09c116bad68c02a6498501b416a8e ChangeLog 11230 +RMD160 8569222023c1e825c79b21bc6c3761d18b612743 ChangeLog 11230 +SHA256 c2f55284c123366c58c958b9c16f2981653023549f73e0e5179b1df7fdbcbe97 ChangeLog 11230 MISC metadata.xml 568 RMD160 9ccaf23e0461f24434c3d8d2375b64cf195c9f4a SHA1 e600d39cf81dbfe1885a3021da330152e1c533ed SHA256 db37880b6baac7d3294b7f8432f1ca816c85356430700e7078d891d4f100ef76 MD5 30b14eaf02c479d70f60157c1a29a294 metadata.xml 568 RMD160 9ccaf23e0461f24434c3d8d2375b64cf195c9f4a metadata.xml 568 @@ -53,10 +70,13 @@ SHA256 d3b7befbd826b0c1ba6acbd61579767cb39cbfbd7597d196998969d499c6dc4b files/di MD5 2bfadc3727f0396294af403607256272 files/digest-dansguardian-2.9.8.5_beta 262 RMD160 3631a9c54285bfcfc750f341e8fc2b905108c9e0 files/digest-dansguardian-2.9.8.5_beta 262 SHA256 c68cc8d55d511810fb1d947af97a75ba0a11d90a2a0aa3d1342b3dadb6dc15cf files/digest-dansguardian-2.9.8.5_beta 262 +MD5 11c763bd669ef9ad89f7edbea36b2b2a files/digest-dansguardian-2.9.9.0_beta 262 +RMD160 ee50bcd9127877b8f61f6259aa42e187a913b57a files/digest-dansguardian-2.9.9.0_beta 262 +SHA256 7e3c1a694bf788492d92cc8585eedf2d3fb450d3ee2e3224ff96a6b87e81a1c7 files/digest-dansguardian-2.9.9.0_beta 262 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) +Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGdM49JnxX6mF440QRAremAKCgc022G9L15CSx1yGOiBawsYeTDQCglHRa -fAp+SJEh++GgMLJ7Yg1Cq2g= -=yL3Q +iD8DBQFGxwOPVSA5X31g7/gRAqpWAJ99vXvDfwuhn2Nz9abEd2tUg7YbZACfXOxq +PRpxRpSPf1rZfTHtdFdQS84= +=4eoK -----END PGP SIGNATURE----- diff --git a/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild b/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild index 8f9c77b39754..9ae2ed05b2fc 100644 --- a/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild +++ b/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild,v 1.7 2006/05/31 21:18:35 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.8.0.6-r1.ebuild,v 1.8 2007/08/18 14:34:42 mrness Exp $ inherit eutils toolchain-funcs @@ -12,7 +12,6 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 ~sparc x86" IUSE="" -DEPEND="!net-proxy/dansguardian-dgav" src_unpack() { unpack ${A} diff --git a/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild b/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild index 6195c5d8265f..05d9a92bdb03 100644 --- a/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild +++ b/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild,v 1.3 2007/06/17 06:01:15 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.9.8.5_beta.ebuild,v 1.4 2007/08/18 14:34:42 mrness Exp $ inherit eutils autotools @@ -15,11 +15,11 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="clamav kaspersky debug ntlm pcre" -DEPEND="!net-proxy/dansguardian-dgav - pcre? ( >=dev-libs/libpcre-6.0 ) +DEPEND="pcre? ( >=dev-libs/libpcre-6.0 ) clamav? ( app-antivirus/clamav )" +RDEPEND="${DEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" pkg_setup() { if has_version "<${CATEGORY}/${PN}-2.9" ; then diff --git a/net-proxy/dansguardian/dansguardian-2.9.9.0_beta.ebuild b/net-proxy/dansguardian/dansguardian-2.9.9.0_beta.ebuild new file mode 100644 index 000000000000..1c315490864b --- /dev/null +++ b/net-proxy/dansguardian/dansguardian-2.9.9.0_beta.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.9.9.0_beta.ebuild,v 1.1 2007/08/18 14:34:42 mrness Exp $ + +inherit eutils autotools + +MY_P=${P/_beta/} + +DESCRIPTION="Web content filtering via proxy" +HOMEPAGE="http://dansguardian.org" +SRC_URI="http://dansguardian.org/downloads/2/Beta/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="clamav kaspersky debug ntlm pcre" + +DEPEND="pcre? ( >=dev-libs/libpcre-6.0 ) + clamav? ( app-antivirus/clamav )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if has_version "<${CATEGORY}/${PN}-2.9" ; then + ewarn "This version introduces brand new USE flags:" + ewarn " clamav kaspersky ntlm pcre" + echo + + local f="${ROOT}/etc/dansguardian" + f=${f//\/\///} + if [ -d "${f}" ] ; then + eerror "The structure of ${f} has changed in this version!" + eerror "For avoiding confusion, you must either move or delete the old ${f}," + eerror "then continue with the upgrade:" + eerror " mv '${f}' '${f}.old'" + eerror " emerge --resume" + die "Obsolete config files detected" + fi + fi +} + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P%_beta}-gentoo.patch" + epatch "${FILESDIR}/${P%_beta}-uclibc++.patch" + epatch "${FILESDIR}/${P%_beta}-no-default-lists.patch" + + cd "${S}" + eautoreconf +} + +src_compile() { + local myconf="--with-logdir=/var/log/dansguardian + --with-piddir=/var/run + $(use_enable pcre) + $(use_enable ntlm) + --enable-fancydm + --enable-email" + if use clamav; then + myconf="${myconf} --enable-clamd --enable-clamav + --with-proxyuser=clamav + --with-proxygroup=clamav" + fi + if use kaspersky; then + myconf="${myconf} --enable-kavd" + fi + if use debug; then + myconf="${myconf} --with-dgdebug=on" + fi + + econf ${myconf} || die "configure failed" + + emake OPTIMISE="${CFLAGS}" || die "emake failed" +} + +src_install() { + make "DESTDIR=${D}" install || die "make install failed" + + # Copying init script + newinitd "${FILESDIR}/dansguardian.init" dansguardian + + if use clamav; then + sed -r -i -e 's/[ \t]+use dns/& clamd/' "${D}/etc/init.d/dansguardian" + sed -r -i -e 's/^#( *contentscanner *=.*clamdscan[.]conf.*)/\1/' "${D}/etc/dansguardian/dansguardian.conf" + sed -r -i -e 's/^#( *clamdudsfile *=.*)/\1/' "${D}/etc/dansguardian/contentscanners/clamdscan.conf" + elif use kaspersky; then + sed -r -i -e 's/^#( *contentscanner *=.*kavdscan[.]conf.*)/\1/' "${D}/etc/dansguardian/dansguardian.conf" + fi + + # Copying logrotation file + insinto /etc/logrotate.d + newins "${FILESDIR}/dansguardian.logrotate" dansguardian + + keepdir /var/log/dansguardian + fperms o-rwx /var/log/dansguardian + + # TODO : see if no-default-lists.patch and these linea are still needed in next version + local f + touch "${T}"/emptyfile + insinto /etc/dansguardian/lists + for f in exceptionfileurllist bannedregexpheaderlist logsitelist logurllist headerregexplist logregexpurllist; do + newins "${T}"/emptyfile ${f} + done +} + +pkg_postinst() { + local runas="nobody:nobody" + if use clamav ; then + runas="clamav:clamav" + fi + einfo "The dansguardian daemon will run by default as ${runas}" + + if [ -d "${ROOT}/var/log/dansguardian" ] ; then + chown -R ${runas} "${ROOT}/var/log/dansguardian" + chmod o-rwx "${ROOT}/var/log/dansguardian" + fi +} diff --git a/net-proxy/dansguardian/files/dansguardian-2.9.9.0-gentoo.patch b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-gentoo.patch new file mode 100644 index 000000000000..757878683e20 --- /dev/null +++ b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-gentoo.patch @@ -0,0 +1,12 @@ +diff -Nru dansguardian-2.9.9.0.orig/doc/dansguardian.8 dansguardian-2.9.9.0/doc/dansguardian.8 +--- dansguardian-2.9.9.0.orig/doc/dansguardian.8 2006-10-16 19:17:10.000000000 +0300 ++++ dansguardian-2.9.9.0/doc/dansguardian.8 2007-08-18 16:33:39.000000000 +0300 +@@ -3,7 +3,7 @@ + .SH NAME + DansGuardian 2 + .SH SYNOPSIS +-/etc/rc.d/init.d/dansguardian [stop|start|status|restart] ++/etc/init.d/dansguardian [stop|start|status|restart|reload] + .SH DESCRIPTION + An Introduction + diff --git a/net-proxy/dansguardian/files/dansguardian-2.9.9.0-no-default-lists.patch b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-no-default-lists.patch new file mode 100644 index 000000000000..e069ef6bb7b9 --- /dev/null +++ b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-no-default-lists.patch @@ -0,0 +1,16 @@ +diff -Nru dansguardian-2.9.9.0.orig/configs/dansguardianf1.conf.in dansguardian-2.9.9.0/configs/dansguardianf1.conf.in +--- dansguardian-2.9.9.0.orig/configs/dansguardianf1.conf.in 2007-08-18 17:19:27.000000000 +0300 ++++ dansguardian-2.9.9.0/configs/dansguardianf1.conf.in 2007-08-18 17:15:46.000000000 +0300 +@@ -71,9 +71,9 @@ + # Supply categorised lists here and the category string shall be logged against + # matching requests, but matching these lists does not perform any filtering + # action. +-#logsitelist = '@DGCONFDIR@/lists/logsitelist' +-#logurllist = '@DGCONFDIR@/lists/logurllist' +-#logregexpurllist = '@DGCONFDIR@/lists/logregexpurllist' ++logsitelist = '@DGCONFDIR@/lists/logsitelist' ++logurllist = '@DGCONFDIR@/lists/logurllist' ++logregexpurllist = '@DGCONFDIR@/lists/logregexpurllist' + + # Outgoing HTTP header rules: + # Optional lists for blocking based on, and modification of, outgoing HTTP diff --git a/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch new file mode 100644 index 000000000000..fd452885b151 --- /dev/null +++ b/net-proxy/dansguardian/files/dansguardian-2.9.9.0-uclibc++.patch @@ -0,0 +1,77 @@ +diff -Nru dansguardian-2.9.9.0.orig/configure.ac dansguardian-2.9.9.0/configure.ac +--- dansguardian-2.9.9.0.orig/configure.ac 2007-07-11 11:48:21.000000000 +0300 ++++ dansguardian-2.9.9.0/configure.ac 2007-08-18 16:34:30.000000000 +0300 +@@ -104,6 +104,7 @@ + AC_CHECK_FUNCS([dup2 gettimeofday memset select]) + AC_CHECK_FUNCS([strerror strstr strtol]) + AC_CHECK_FUNCS([setuid setgid umask seteuid setreuid setlocale strdup]) ++AC_SEARCH_LIBS([floor], [m]) + AC_SEARCH_LIBS([gethostbyname], [nsl]) + AC_SEARCH_LIBS([socket], [socket], [], [ + AC_CHECK_LIB( +diff -Nru dansguardian-2.9.9.0.orig/src/ConnectionHandler.cpp dansguardian-2.9.9.0/src/ConnectionHandler.cpp +--- dansguardian-2.9.9.0.orig/src/ConnectionHandler.cpp 2007-08-09 12:48:27.000000000 +0300 ++++ dansguardian-2.9.9.0/src/ConnectionHandler.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -32,6 +32,7 @@ + #include <syslog.h> + #include <cerrno> + #include <cstdio> ++#include <ctime> + #include <algorithm> + #include <netdb.h> + #include <cstdlib> +diff -Nru dansguardian-2.9.9.0.orig/src/dansguardian.cpp dansguardian-2.9.9.0/src/dansguardian.cpp +--- dansguardian-2.9.9.0.orig/src/dansguardian.cpp 2007-03-27 14:33:19.000000000 +0300 ++++ dansguardian-2.9.9.0/src/dansguardian.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -27,6 +27,7 @@ + + #include <iostream> + #include <cstdio> ++#include <ctime> + #include <unistd.h> + #include <cerrno> + #include <syslog.h> +diff -Nru dansguardian-2.9.9.0.orig/src/DynamicURLList.cpp dansguardian-2.9.9.0/src/DynamicURLList.cpp +--- dansguardian-2.9.9.0.orig/src/DynamicURLList.cpp 2006-12-19 12:26:47.000000000 +0200 ++++ dansguardian-2.9.9.0/src/DynamicURLList.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -25,6 +25,7 @@ + + #include <syslog.h> + #include <algorithm> ++#include <ctime> + #include <sys/stat.h> + #include <sys/time.h> + +diff -Nru dansguardian-2.9.9.0.orig/src/FatController.cpp dansguardian-2.9.9.0/src/FatController.cpp +--- dansguardian-2.9.9.0.orig/src/FatController.cpp 2007-07-12 12:35:02.000000000 +0300 ++++ dansguardian-2.9.9.0/src/FatController.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -33,6 +33,7 @@ + + #include <syslog.h> + #include <csignal> ++#include <ctime> + #include <sys/stat.h> + #include <pwd.h> + #include <cerrno> +diff -Nru dansguardian-2.9.9.0.orig/src/ListContainer.cpp dansguardian-2.9.9.0/src/ListContainer.cpp +--- dansguardian-2.9.9.0.orig/src/ListContainer.cpp 2007-08-09 12:41:33.000000000 +0300 ++++ dansguardian-2.9.9.0/src/ListContainer.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -29,6 +29,7 @@ + #include "RegExp.hpp" + #include <cstdlib> + #include <cstdio> ++#include <ctime> + #include <unistd.h> + #include "String.hpp" + #include <iostream> +diff -Nru dansguardian-2.9.9.0.orig/src/ListManager.cpp dansguardian-2.9.9.0/src/ListManager.cpp +--- dansguardian-2.9.9.0.orig/src/ListManager.cpp 2007-02-02 12:16:16.000000000 +0200 ++++ dansguardian-2.9.9.0/src/ListManager.cpp 2007-08-18 16:34:30.000000000 +0300 +@@ -25,6 +25,7 @@ + + #include <syslog.h> + #include <sys/stat.h> ++#include <ctime> + + + // GLOBALS diff --git a/net-proxy/dansguardian/files/digest-dansguardian-2.9.9.0_beta b/net-proxy/dansguardian/files/digest-dansguardian-2.9.9.0_beta new file mode 100644 index 000000000000..ba8d14a43dc8 --- /dev/null +++ b/net-proxy/dansguardian/files/digest-dansguardian-2.9.9.0_beta @@ -0,0 +1,3 @@ +MD5 cfde623f20809a012ac1f32232a32c9b dansguardian-2.9.9.0.tar.gz 471642 +RMD160 ba440aec5303b3900cd0382a1ac516b6bb5220e7 dansguardian-2.9.9.0.tar.gz 471642 +SHA256 a34d73dfd432af46f1a75ea0cdae495f48d537c3552684e6c5761105b0cdd294 dansguardian-2.9.9.0.tar.gz 471642 |