1 |
commit: 1ba78833ce4474e08fdcd1ada886b2abe49dc59a |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 18:49:51 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 19:17:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba78833 |
7 |
|
8 |
net-proxy/bfilter: remove old version |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-proxy/bfilter/bfilter-1.1.4-r3.ebuild | 85 ------------------------------- |
13 |
1 file changed, 85 deletions(-) |
14 |
|
15 |
diff --git a/net-proxy/bfilter/bfilter-1.1.4-r3.ebuild b/net-proxy/bfilter/bfilter-1.1.4-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 767c009..0000000 |
18 |
--- a/net-proxy/bfilter/bfilter-1.1.4-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,85 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit autotools flag-o-matic user |
28 |
- |
29 |
-DESCRIPTION="Ad-filtering web proxy featuring an effective heuristic ad-detection algorithm" |
30 |
-HOMEPAGE="http://bfilter.sourceforge.net/" |
31 |
-SRC_URI="mirror://sourceforge/bfilter/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~x86" |
36 |
-IUSE="X debug" |
37 |
- |
38 |
-RDEPEND="sys-libs/zlib |
39 |
- dev-libs/ace:= |
40 |
- dev-libs/libsigc++:2 |
41 |
- X? ( dev-cpp/gtkmm:2.4 x11-libs/libX11 ) |
42 |
- dev-libs/boost:=" |
43 |
- |
44 |
-DEPEND="${RDEPEND} |
45 |
- dev-util/scons |
46 |
- virtual/pkgconfig" |
47 |
- |
48 |
-PATCHES=( |
49 |
- "${FILESDIR}/${P}-glib-2.32.patch" |
50 |
- "${FILESDIR}/${P}-external-boost.patch" |
51 |
- "${FILESDIR}/${P}-gtkmm-X11-underlinking.patch" |
52 |
-) |
53 |
- |
54 |
-RESTRICT="test" # boost's test API has changed |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # Some includes are missing and this breaks updates of ACE |
60 |
- sed -i \ |
61 |
- -e "/#include <ace\/Synch.h>/a#include <ace\/Condition_T.h>\n#include <ace\/Guard_T.cpp>" \ |
62 |
- libjs/nspr_impl/private.h \ |
63 |
- main/*.h \ |
64 |
- main/cache/*.h || die |
65 |
- |
66 |
- mv configure.{in,ac} || die |
67 |
- rm -r boost || die |
68 |
- |
69 |
- eautoreconf |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- append-cxxflags -std=c++11 |
74 |
- # Required to prevent narrowing conversion in lexcode.cpp, #572072 |
75 |
- append-cxxflags -funsigned-char |
76 |
- econf \ |
77 |
- $(use_enable debug) \ |
78 |
- $(use_with X gui) \ |
79 |
- --without-builtin-boost |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- default |
84 |
- |
85 |
- insinto /etc/bfilter |
86 |
- doins "${FILESDIR}/forwarding.xml" |
87 |
- |
88 |
- dodoc "${FILESDIR}/forwarding-proxy.xml" |
89 |
- dodoc -r doc/* |
90 |
- |
91 |
- newinitd "${FILESDIR}/bfilter.init" bfilter |
92 |
- newconfd "${FILESDIR}/bfilter.conf" bfilter |
93 |
-} |
94 |
- |
95 |
-pkg_preinst() { |
96 |
- enewgroup bfilter |
97 |
- enewuser bfilter -1 -1 -1 bfilter |
98 |
-} |
99 |
- |
100 |
-pkg_postinst() { |
101 |
- elog "The documentation is available at" |
102 |
- elog " http://bfilter.sourceforge.net/documentation.php" |
103 |
- elog "For forwarding bfilter service traffic through a proxy," |
104 |
- elog "see forwarding-proxy.xml example installed in the doc directory." |
105 |
-} |