diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-09-17 22:38:44 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-09-17 22:38:44 +0000 |
commit | 8099098de31ab5c2c9038d5348e8413be478578a (patch) | |
tree | 0d57e404ad9469ebe3694e36e07f2d4c60ab8dc8 /net-proxy | |
parent | Version bump fixing the ALSA code (bug #188285) (diff) | |
download | gentoo-2-8099098de31ab5c2c9038d5348e8413be478578a.tar.gz gentoo-2-8099098de31ab5c2c9038d5348e8413be478578a.tar.bz2 gentoo-2-8099098de31ab5c2c9038d5348e8413be478578a.zip |
versio bump
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/bfilter/ChangeLog | 9 | ||||
-rw-r--r-- | net-proxy/bfilter/bfilter-1.1.1.ebuild | 69 | ||||
-rw-r--r-- | net-proxy/bfilter/files/bfilter-1.1.1-date-test.patch | 14 | ||||
-rw-r--r-- | net-proxy/bfilter/files/bfilter-1.1.1-external-boost.patch | 36 | ||||
-rw-r--r-- | net-proxy/bfilter/files/digest-bfilter-1.1.1 | 3 |
5 files changed, 130 insertions, 1 deletions
diff --git a/net-proxy/bfilter/ChangeLog b/net-proxy/bfilter/ChangeLog index bfe4b158b546..2f23848dd0a1 100644 --- a/net-proxy/bfilter/ChangeLog +++ b/net-proxy/bfilter/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-proxy/bfilter # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/ChangeLog,v 1.17 2007/09/17 20:23:49 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/ChangeLog,v 1.18 2007/09/17 22:38:44 mrness Exp $ + +*bfilter-1.1.1 (17 Sep 2007) + + 17 Sep 2007; Alin Năstac <mrness@gentoo.org> + +files/bfilter-1.1.1-date-test.patch, + +files/bfilter-1.1.1-external-boost.patch, +bfilter-1.1.1.ebuild: + Version bump. 17 Sep 2007; Markus Meier <maekke@gentoo.org> bfilter-1.1.ebuild: x86 stable, bug #192768 diff --git a/net-proxy/bfilter/bfilter-1.1.1.ebuild b/net-proxy/bfilter/bfilter-1.1.1.ebuild new file mode 100644 index 000000000000..9852e9c7ac85 --- /dev/null +++ b/net-proxy/bfilter/bfilter-1.1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/bfilter-1.1.1.ebuild,v 1.1 2007/09/17 22:38:44 mrness Exp $ + +WANT_AUTOMAKE="1.9" + +inherit eutils autotools + +DESCRIPTION="An ad-filtering web proxy featuring an effective heuristic ad-detection algorithm" +HOMEPAGE="http://bfilter.sourceforge.net/" +SRC_URI="mirror://sourceforge/bfilter/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="X debug" + +RDEPEND="sys-libs/zlib + >=dev-libs/ace-5.4.6 + =dev-libs/libsigc++-2.0* + X? ( >=dev-cpp/gtkmm-2.4 ) + dev-libs/boost" +DEPEND="${RDEPEND} + dev-util/scons + dev-util/pkgconfig" + +pkg_setup() { + if ! built_with_use --missing true dev-libs/boost threads ; then + eerror "${PN} needs dev-libs/boost with threads support." + die "Re-compile dev-libs/boost with USE=threads." + fi +} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-external-boost.patch + epatch "${FILESDIR}"/${P}-date-test.patch + eautomake +} + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_with X gui) \ + --without-builtin-boost || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog + dohtml doc/* + + newinitd "${FILESDIR}/bfilter.init" bfilter + newconfd "${FILESDIR}/bfilter.conf" bfilter +} + +pkg_preinst() { + enewgroup bfilter + enewuser bfilter -1 -1 -1 bfilter +} + +pkg_postinst() { + einfo "The documentation is available at" + einfo " http://bfilter.sourceforge.net/documentation.php" +} diff --git a/net-proxy/bfilter/files/bfilter-1.1.1-date-test.patch b/net-proxy/bfilter/files/bfilter-1.1.1-date-test.patch new file mode 100644 index 000000000000..ef2a2e32c813 --- /dev/null +++ b/net-proxy/bfilter/files/bfilter-1.1.1-date-test.patch @@ -0,0 +1,14 @@ +diff -Nru bfilter-1.1.1.orig/tests/DateTestSuite.cpp bfilter-1.1.1/tests/DateTestSuite.cpp +--- bfilter-1.1.1.orig/tests/DateTestSuite.cpp 2007-06-12 16:56:51.000000000 +0300 ++++ bfilter-1.1.1/tests/DateTestSuite.cpp 2007-09-18 00:58:58.000000000 +0300 +@@ -48,7 +48,9 @@ + time_t const y2k = Date::parse(BString("Thu, 01 Jan 2000 00:00:00 GMT")); + + for (int i = 0; i < 1000; ++i) { +- time_t const time = rand() - rand(); ++ time_t time = rand() - rand(); ++ if (time < 0) ++ time *= -1; + BOOST_REQUIRE(check_time(time, Date::RFC822)); + BOOST_REQUIRE(check_time(time, Date::ASCTIME)); + if (time >= low && time < y2k) { diff --git a/net-proxy/bfilter/files/bfilter-1.1.1-external-boost.patch b/net-proxy/bfilter/files/bfilter-1.1.1-external-boost.patch new file mode 100644 index 000000000000..4dce21f3a84f --- /dev/null +++ b/net-proxy/bfilter/files/bfilter-1.1.1-external-boost.patch @@ -0,0 +1,36 @@ +diff -Nru bfilter-1.1.1.orig/main/daemon/Makefile.am bfilter-1.1.1/main/daemon/Makefile.am +--- bfilter-1.1.1.orig/main/daemon/Makefile.am 2007-01-19 21:21:02.000000000 +0200 ++++ bfilter-1.1.1/main/daemon/Makefile.am 2007-09-18 00:57:47.000000000 +0300 +@@ -6,7 +6,7 @@ + $(top_builddir)/boost/libs/program_options/libprogram_options.la + else + BOOST_CPPFLAGS = +-BOOST_LIBS = ++BOOST_LIBS = -lboost_regex-mt -lboost_program_options-mt + endif + + AM_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" \ +diff -Nru bfilter-1.1.1.orig/main/gui/gtk/Makefile.am bfilter-1.1.1/main/gui/gtk/Makefile.am +--- bfilter-1.1.1.orig/main/gui/gtk/Makefile.am 2007-01-12 23:22:57.000000000 +0200 ++++ bfilter-1.1.1/main/gui/gtk/Makefile.am 2007-09-18 00:57:47.000000000 +0300 +@@ -49,7 +49,7 @@ + BOOST_LIBS = $(top_builddir)/boost/libs/regex/libregex.la + else + BOOST_CPPFLAGS = +-BOOST_LIBS = ++BOOST_LIBS = -lboost_regex-mt + endif + + if WITH_GUI +diff -Nru bfilter-1.1.1.orig/tests/Makefile.am bfilter-1.1.1/tests/Makefile.am +--- bfilter-1.1.1.orig/tests/Makefile.am 2007-05-07 17:19:40.000000000 +0300 ++++ bfilter-1.1.1/tests/Makefile.am 2007-09-18 00:57:47.000000000 +0300 +@@ -6,7 +6,7 @@ + $(top_builddir)/boost/libs/regex/libregex.la + else + BOOST_CPPFLAGS = +-BOOST_LIBS = ++BOOST_LIBS = -lboost_regex-mt -lboost_unit_test_framework-mt + endif + + AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) \ diff --git a/net-proxy/bfilter/files/digest-bfilter-1.1.1 b/net-proxy/bfilter/files/digest-bfilter-1.1.1 new file mode 100644 index 000000000000..ea0a4e5f3d9d --- /dev/null +++ b/net-proxy/bfilter/files/digest-bfilter-1.1.1 @@ -0,0 +1,3 @@ +MD5 538cca2867fa003abe8dea20f00cb17c bfilter-1.1.1.tar.gz 3033318 +RMD160 b88b1880f382ee1c9aff2c2a332b4180cad2f43e bfilter-1.1.1.tar.gz 3033318 +SHA256 0582bf3c290cbdd71d72dbbb2eff956155be204652a117c65ff6c9ea31a77ba0 bfilter-1.1.1.tar.gz 3033318 |