diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-12 13:22:22 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-12 13:22:22 +0000 |
commit | eb58fe69bb0d52506d7f6d34f8d02c53b18105b6 (patch) | |
tree | fb506233f1a0bc49e53c1b8e779f3c716b82d374 /net-proxy | |
parent | Updated ebuild to build on hardened kernels, bug #392753. Change libOpenCL in... (diff) | |
download | gentoo-2-eb58fe69bb0d52506d7f6d34f8d02c53b18105b6.tar.gz gentoo-2-eb58fe69bb0d52506d7f6d34f8d02c53b18105b6.tar.bz2 gentoo-2-eb58fe69bb0d52506d7f6d34f8d02c53b18105b6.zip |
Remove old versions; revision bump to fix a mistake in the init script.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/ufdbguard/ChangeLog | 11 | ||||
-rw-r--r-- | net-proxy/ufdbguard/files/ufdb.initd.2 | 6 | ||||
-rw-r--r-- | net-proxy/ufdbguard/ufdbguard-1.26.ebuild | 137 | ||||
-rw-r--r-- | net-proxy/ufdbguard/ufdbguard-1.27-r1.ebuild (renamed from net-proxy/ufdbguard/ufdbguard-1.26-r1.ebuild) | 4 | ||||
-rw-r--r-- | net-proxy/ufdbguard/ufdbguard-1.27.ebuild | 137 |
5 files changed, 14 insertions, 281 deletions
diff --git a/net-proxy/ufdbguard/ChangeLog b/net-proxy/ufdbguard/ChangeLog index ac70d5774a2e..1d292cd3ffbd 100644 --- a/net-proxy/ufdbguard/ChangeLog +++ b/net-proxy/ufdbguard/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-proxy/ufdbguard -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ChangeLog,v 1.23 2011/11/04 03:41:55 flameeyes Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ChangeLog,v 1.24 2012/01/12 13:22:22 flameeyes Exp $ + +*ufdbguard-1.27-r1 (12 Jan 2012) + + 12 Jan 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +ufdbguard-1.27-r1.ebuild, -ufdbguard-1.26-r1.ebuild, -ufdbguard-1.26.ebuild, + -ufdbguard-1.27.ebuild, files/ufdb.initd.2: + Remove old versions; revision bump to fix a mistake in the init script. *ufdbguard-1.27 (04 Nov 2011) diff --git a/net-proxy/ufdbguard/files/ufdb.initd.2 b/net-proxy/ufdbguard/files/ufdb.initd.2 index 75370da7917d..ec7312aedd42 100644 --- a/net-proxy/ufdbguard/files/ufdb.initd.2 +++ b/net-proxy/ufdbguard/files/ufdb.initd.2 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd.2,v 1.1 2011/10/22 00:15:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd.2,v 1.2 2012/01/12 13:22:22 flameeyes Exp $ # reconfig is what the upstream documentation suggests, so let's # provide it for compatibility. @@ -47,7 +47,7 @@ gentables() { start_pre() { gentables - checkpath -d -m 0755 -o ${UFDB_USER} $(get_config logdir) /var/run/ufdbguardd + checkpath -d -m 0755 -o ${UFDB_USER} $(get_config logdir) "$(dirname "${pidfile}")" } reload() { diff --git a/net-proxy/ufdbguard/ufdbguard-1.26.ebuild b/net-proxy/ufdbguard/ufdbguard-1.26.ebuild deleted file mode 100644 index e58dff71c0b7..000000000000 --- a/net-proxy/ufdbguard/ufdbguard-1.26.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.26.ebuild,v 1.2 2011/09/06 10:03:37 flameeyes Exp $ - -EAPI="4" - -inherit eutils flag-o-matic - -MY_P="ufdbGuard-${PV}" - -DESCRIPTION="ufdbGuard is a redirector for the Squid internet proxy." -HOMEPAGE="http://www.urlfilterdb.com/en/products/ufdbguard.html" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz - doc? ( mirror://sourceforge/${PN}/ReferenceManual_v${PV/\./_}.pdf -> ${P}-manual.pdf )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+httpd doc" - -RDEPEND="dev-libs/openssl - app-arch/bzip2 - net-misc/wget" - -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex" - -RDEPEND="${RDEPEND} - sys-apps/openrc" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - # create the squid user exactly as done by net-proxy/squid-3.1.9 - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.23-parallel-make.patch - epatch "${FILESDIR}"/${PN}-1.24-gentoo.patch - - egrep -r -e '/var/tmp/ufdb(guard|http)d.pid' "${S}" -lZ | xargs -0 \ - sed -i -e 's:/var/tmp/ufdb\(guard\|http\)d.pid:/var/run/ufdbguard/ufdb\1d.pid:' \ - || die - - # directory where ufdbhttpd is to be found - sed -i -e 's:DEFAULT_BINDIR.*:DEFAULT_BINDIR "/usr/libexec/ufdbguard":' \ - src/ufdb.h.in || die -} - -src_configure() { - # better safe than sorry, the code has a number of possible - # breakage, and at least one certain breakage. - append-flags -fno-strict-aliasing - - econf \ - --with-ufdb-user=squid \ - --with-ufdb-config=/etc \ - --with-ufdb-logdir=/var/log/ufdbguard \ - --with-ufdb-dbhome=/usr/share/ufdbguard/blacklists \ - --with-ufdb-images_dir=/usr/share/ufdbguard/images -} - -src_install() { - dodoc CHANGELOG INSTALL README src/sampleufdbGuard.conf - doman doc/*.1 - - dobin src/ufdbAnalyse src/ufdbGenTable src/ufdbGrab \ - src/ufdbConvertDB - dosbin src/ufdbUpdate - - exeinto /usr/libexec/ufdbguard - doexe src/mtserver/ufdbguardd src/mtserver/ufdbgclient - - if use httpd; then - exeinto /usr/libexec/ufdbguard - doexe src/ufdbhttpd - fi - - keepdir /usr/share/ufdbguard/blacklists - - insinto /etc - doins src/ufdbGuard.conf - - insinto /usr/share/ufdbguard/images - doins src/images/* - - newconfd "${FILESDIR}"/ufdb.confd ufdb - newinitd "${FILESDIR}"/ufdb.initd ufdb - - exeinto /etc/cron.daily - newexe "${FILESDIR}"/ufdbUpdate.cron ufdbUpdate - - if use doc; then - insinto /usr/share/doc/${PF} - newins "${DISTDIR}"/${P}-manual.pdf ReferenceManual.pdf - fi -} - -pkg_postinst() { - elog "The default location for the blacklist database has been" - elog "moved to /usr/share/ufdbguard/blacklists." - elog "" - elog "The configuration file is no longer configurable in the" - elog "service file, and now resides at /etc/ufdbGuard.conf ." - elog "" - elog "The service script has been renamed from ufdbguad to simply" - elog "/etc/init.d/ufdb, to follow the official documentation, and" - elog "it gained a reload option with a reconfig alias." - elog "" - elog "You can configure the username and password parameters for" - elog "ufdbUpdate, to fetch the blacklist database provided by" - elog "URLfilterDB, directly in /etc/conf.d/ufdb without touching" - elog "the script itself." - elog "" - elog "To enable ufdbguard in squid, you should add this to your" - elog "squid.conf:" - elog "" - elog " url_rewrite_program /usr/libexec/ufdbguard/ufdbgclient -l /var/log/ufdbguard" - elog " url_rewrite_children 64" - elog "" - if ! use httpd; then - elog "You chose to not install the lightweight http daemon that" - elog "comes with ufdbguard." - else - elog "The ufdb service will start both the ufdbguardd daemon and" - elog "the ufdbhttpd http daemon to provide a local redirect CGI." - elog "If you don't want this to happen, disable the httpd USE flag." - fi - if use doc; then - elog "" - elog "The reference manual has been installed as" - elog " /usr/share/doc/${PF}/ReferenceManual.pdf" - fi -} diff --git a/net-proxy/ufdbguard/ufdbguard-1.26-r1.ebuild b/net-proxy/ufdbguard/ufdbguard-1.27-r1.ebuild index 2497f64aa63e..377363fb615c 100644 --- a/net-proxy/ufdbguard/ufdbguard-1.26-r1.ebuild +++ b/net-proxy/ufdbguard/ufdbguard-1.27-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.26-r1.ebuild,v 1.1 2011/10/22 00:15:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.27-r1.ebuild,v 1.1 2012/01/12 13:22:22 flameeyes Exp $ EAPI="4" diff --git a/net-proxy/ufdbguard/ufdbguard-1.27.ebuild b/net-proxy/ufdbguard/ufdbguard-1.27.ebuild deleted file mode 100644 index 59b0e787db32..000000000000 --- a/net-proxy/ufdbguard/ufdbguard-1.27.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/ufdbguard-1.27.ebuild,v 1.1 2011/11/04 03:41:55 flameeyes Exp $ - -EAPI="4" - -inherit eutils flag-o-matic - -MY_P="ufdbGuard-${PV}" - -DESCRIPTION="ufdbGuard is a redirector for the Squid internet proxy." -HOMEPAGE="http://www.urlfilterdb.com/en/products/ufdbguard.html" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz - doc? ( mirror://sourceforge/${PN}/ReferenceManual_v${PV/\./_}.pdf -> ${P}-manual.pdf )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+httpd doc" - -RDEPEND="dev-libs/openssl - app-arch/bzip2 - net-misc/wget" - -DEPEND="${RDEPEND} - sys-devel/bison - sys-devel/flex" - -RDEPEND="${RDEPEND} - sys-apps/openrc" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - # create the squid user exactly as done by net-proxy/squid-3.1.9 - enewgroup squid 31 - enewuser squid 31 -1 /var/cache/squid squid -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.23-parallel-make.patch - epatch "${FILESDIR}"/${PN}-1.24-gentoo.patch - - egrep -r -e '/var/tmp/ufdb(guard|http)d.pid' "${S}" -lZ | xargs -0 \ - sed -i -e 's:/var/tmp/ufdb\(guard\|http\)d.pid:/var/run/ufdbguard/ufdb\1d.pid:' \ - || die - - # directory where ufdbhttpd is to be found - sed -i -e 's:DEFAULT_BINDIR.*:DEFAULT_BINDIR "/usr/libexec/ufdbguard":' \ - src/ufdb.h.in || die -} - -src_configure() { - # better safe than sorry, the code has a number of possible - # breakage, and at least one certain breakage. - append-flags -fno-strict-aliasing - - econf \ - --with-ufdb-user=squid \ - --with-ufdb-config=/etc \ - --with-ufdb-logdir=/var/log/ufdbguard \ - --with-ufdb-dbhome=/usr/share/ufdbguard/blacklists \ - --with-ufdb-images_dir=/usr/share/ufdbguard/images -} - -src_install() { - dodoc CHANGELOG INSTALL README src/sampleufdbGuard.conf - doman doc/*.1 - - dobin src/ufdbAnalyse src/ufdbGenTable src/ufdbGrab \ - src/ufdbConvertDB - dosbin src/ufdbUpdate - - exeinto /usr/libexec/ufdbguard - doexe src/mtserver/ufdbguardd src/mtserver/ufdbgclient - - if use httpd; then - exeinto /usr/libexec/ufdbguard - doexe src/ufdbhttpd - fi - - keepdir /usr/share/ufdbguard/blacklists - - insinto /etc - doins src/ufdbGuard.conf - - insinto /usr/share/ufdbguard/images - doins src/images/* - - newconfd "${FILESDIR}"/ufdb.confd ufdb - newinitd "${FILESDIR}"/ufdb.initd.2 ufdb - - exeinto /etc/cron.daily - newexe "${FILESDIR}"/ufdbUpdate.cron ufdbUpdate - - if use doc; then - insinto /usr/share/doc/${PF} - newins "${DISTDIR}"/${P}-manual.pdf ReferenceManual.pdf - fi -} - -pkg_postinst() { - elog "The default location for the blacklist database has been" - elog "moved to /usr/share/ufdbguard/blacklists." - elog "" - elog "The configuration file is no longer configurable in the" - elog "service file, and now resides at /etc/ufdbGuard.conf ." - elog "" - elog "The service script has been renamed from ufdbguad to simply" - elog "/etc/init.d/ufdb, to follow the official documentation, and" - elog "it gained a reload option with a reconfig alias." - elog "" - elog "You can configure the username and password parameters for" - elog "ufdbUpdate, to fetch the blacklist database provided by" - elog "URLfilterDB, directly in /etc/conf.d/ufdb without touching" - elog "the script itself." - elog "" - elog "To enable ufdbguard in squid, you should add this to your" - elog "squid.conf:" - elog "" - elog " url_rewrite_program /usr/libexec/ufdbguard/ufdbgclient -l /var/log/ufdbguard" - elog " url_rewrite_children 64" - elog "" - if ! use httpd; then - elog "You chose to not install the lightweight http daemon that" - elog "comes with ufdbguard." - else - elog "The ufdb service will start both the ufdbguardd daemon and" - elog "the ufdbhttpd http daemon to provide a local redirect CGI." - elog "If you don't want this to happen, disable the httpd USE flag." - fi - if use doc; then - elog "" - elog "The reference manual has been installed as" - elog " /usr/share/doc/${PF}/ReferenceManual.pdf" - fi -} |