summaryrefslogtreecommitdiff
path: root/net-proxy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
commiteccb70a7f91b2d22582587f26d1a28bb31408b45 (patch)
tree3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /net-proxy
parenta2810985afabcc31d3eace5e61d8ea25b852ba17 (diff)
gentoo resync : 18.05.2019
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/Manifest.gzbin5705 -> 5538 bytes
-rw-r--r--net-proxy/bfilter/Manifest10
-rw-r--r--net-proxy/bfilter/bfilter-1.1.4-r4.ebuild84
-rw-r--r--net-proxy/bfilter/files/bfilter-1.1.4-external-boost.patch63
-rw-r--r--net-proxy/bfilter/files/bfilter-1.1.4-glib-2.32.patch39
-rw-r--r--net-proxy/bfilter/files/bfilter-1.1.4-gtkmm-X11-underlinking.patch12
-rw-r--r--net-proxy/bfilter/files/bfilter.conf4
-rw-r--r--net-proxy/bfilter/files/bfilter.init35
-rw-r--r--net-proxy/bfilter/files/forwarding-proxy.xml19
-rw-r--r--net-proxy/bfilter/files/forwarding.xml5
-rw-r--r--net-proxy/bfilter/metadata.xml21
11 files changed, 0 insertions, 292 deletions
diff --git a/net-proxy/Manifest.gz b/net-proxy/Manifest.gz
index c3a426de2cc6..4c7a3adae643 100644
--- a/net-proxy/Manifest.gz
+++ b/net-proxy/Manifest.gz
Binary files differ
diff --git a/net-proxy/bfilter/Manifest b/net-proxy/bfilter/Manifest
deleted file mode 100644
index c4d3c8d3cd1b..000000000000
--- a/net-proxy/bfilter/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX bfilter-1.1.4-external-boost.patch 2435 BLAKE2B ed9081bff9182e881918ff8910e3138b1d29f787fd99afcd3ccb69e2a3554b6003c701f987d8d7bd78c9fd9bdcb6e92d5a3e2f2071934d955de180c6e4a32962 SHA512 38f98caa936e56a5380c8ff3db0e3d37b6f0b76ed9d5691983cd189830af0d52897ea76a51080830b9a5c5d073c40136f8b5f47a39b4edc9b614bc5754b08f23
-AUX bfilter-1.1.4-glib-2.32.patch 1084 BLAKE2B 91500844bb82bc0d422a05be94eb8988c522429508ff24e79cb17887a4d066db95af4f0c5e91029043918f969fdc565043762f86fbb8a1434dbe6c1fb607866b SHA512 e8508c9196024c2dc20042c6f88dadf4ed27a5c384e99237d241644266749625fbec3be00b63a332818db915d3d254ffc16dad2de4887df9cabbd66525a2d68a
-AUX bfilter-1.1.4-gtkmm-X11-underlinking.patch 505 BLAKE2B 4826450a40ca956b63a7f8b0c7b849027d45afe526ba02d1eec3d3ed447e3c6288d4a91604265d478dac7192d7302dfb8b6caf7d59aa3c6bcc1ab4ca89ca41b6 SHA512 214545b96c00b80861d6bd2513dd914d577344f90dfda0b9d562036f3e2871971121e1fe0f0d17b9fca2c5c9e60d75e169d9e10073412fe450dbc21405682baa
-AUX bfilter.conf 156 BLAKE2B fe4833176bdb6187b1adcb6e02eda2b22338901199b7963d0f2699c8ce71a6348af44ed11b7cc2a8c64022d535d061d43a722ec7bb2b378d77f414b13fc6a1bc SHA512 24d7f49f95832dae0ae326722f7a36403945db192b2d251fb0e8a5358805e31614eac87466b97f50b3d3a73ea49bf7c3ff3386c945af713e38631fc17993c5ee
-AUX bfilter.init 824 BLAKE2B c8124631bdc7dbede6f8017c992064eda95d87009e6dffd89bf6771ba1b61e8803258de581abb561f936300c39f5f3fd8a67f882555c3c2bf5980de274518a80 SHA512 42b8137e6c4e7f0ee1d39d35bef2487b14cd0e78c78b3be8a6b49800f81335d1493c3008f2a57a54bbb0ab980d1c848cb5d3eb9418d2d9054c54385a81c56c17
-AUX forwarding-proxy.xml 581 BLAKE2B 4a41bd9f9fbfbe30649d8f7faccf1391be0b772c7cd083544ff220cd7a0c0bddd1a6e5a510d197e05df2437467419be4fd26655f5f0315b600ec10f5cdf98f81 SHA512 885d866b681410a6fa4fe3c84692ba33d8b50ee0297ada52ed77e9fdd4b37c43bfd190f0a4dd87268ad3fb58a5d1cb92cebb88230ef6409a52a6a7ccf45192d0
-AUX forwarding.xml 127 BLAKE2B 932048ed060fe48cebf279515ef1d74635cb33a3add9f73bd01c8f9fd5b41f2f1552c46240ec1dfd2fa6f8429f2802a8aa94d082669f7f36d59f6ec1d6cde2f9 SHA512 cfa63bdc083fa2edbd238be5e8da30066be38b4cc56153b929e5145b12a5ea6c43f639df545815addcc89945d9fedb0cb38b5aa386e9f03ab3ec3a917a184c4d
-DIST bfilter-1.1.4.tar.gz 3055651 BLAKE2B 07d9ef205bc6a5db307695e3f5380027de351b6130d2a05e51ba05f72bfc0c0634d00921bb90c340f0d5818b7fdce82927bcfe6afbfa0acd3d5af8fb866ea1db SHA512 d501e09e449a29f175ec5484ba5aa77ce6bd1a51cb146222fca3af4215c162aff885565086cb64be9dc7cdac63611be1a0970b3d2d81e3f2038009ea3f527e5e
-EBUILD bfilter-1.1.4-r4.ebuild 1892 BLAKE2B 93e94440dbc008949e19a1df4482b799d563797365dd615a5e11fd58edfe3eb901092d7a7dcab48bd8d2092729936b3fde96e55d9059d245b6d3d4fb599b6341 SHA512 87fb37fa8f3ffc220c969a4b1881e70fe11e48cdfeedd8d16ff77d4c03447fafb083c4d2e0b611027ae62c6ec05021fa57cd204b9170b9e34ce672359c4db469
-MISC metadata.xml 1254 BLAKE2B e09c55250fcdeadbde8bf6b1d2cdee1ee9af08a3fe373dcd0d481b30ba2a0f1016dae061b4fdd5acc26e75d0252bd0ec91c7281703a08c8215aa3f046275de66 SHA512 c61355f73764cf9055cff0e7e96c329a07769582987a7e42ef95917d4c517e5d93194db4971eb13d5f5fb580533873fadbd11c43821be908b9bd96142f52bb5f
diff --git a/net-proxy/bfilter/bfilter-1.1.4-r4.ebuild b/net-proxy/bfilter/bfilter-1.1.4-r4.ebuild
deleted file mode 100644
index 1d85ad3d580e..000000000000
--- a/net-proxy/bfilter/bfilter-1.1.4-r4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic user
-
-DESCRIPTION="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 x86"
-IUSE="X debug"
-
-RDEPEND="sys-libs/zlib
- dev-libs/ace:=
- dev-libs/libsigc++:2
- X? ( dev-cpp/gtkmm:2.4 x11-libs/libX11 )
- dev-libs/boost:="
-
-DEPEND="${RDEPEND}
- dev-util/scons
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${P}-glib-2.32.patch"
- "${FILESDIR}/${P}-external-boost.patch"
- "${FILESDIR}/${P}-gtkmm-X11-underlinking.patch"
-)
-
-RESTRICT="test" # boost's test API has changed
-
-src_prepare() {
- default
-
- # Some includes are missing and this breaks updates of ACE
- sed -i \
- -e "/#include <ace\/Synch.h>/a#include <ace\/Condition_T.h>\n#include <ace\/Guard_T.cpp>" \
- libjs/nspr_impl/private.h \
- main/*.h \
- main/cache/*.h || die
-
- mv configure.{in,ac} || die
- rm -r boost || die
-
- eautoreconf
-}
-
-src_configure() {
- append-cxxflags -std=c++11
- # Required to prevent narrowing conversion in lexcode.cpp, #572072
- append-cxxflags -funsigned-char
- econf \
- $(use_enable debug) \
- $(use_with X gui) \
- --without-builtin-boost
-}
-
-src_install() {
- default
-
- insinto /etc/bfilter
- doins "${FILESDIR}/forwarding.xml"
-
- dodoc "${FILESDIR}/forwarding-proxy.xml"
- dodoc -r doc/*
-
- newinitd "${FILESDIR}/bfilter.init" bfilter
- newconfd "${FILESDIR}/bfilter.conf" bfilter
-}
-
-pkg_preinst() {
- enewgroup bfilter
- enewuser bfilter -1 -1 -1 bfilter
-}
-
-pkg_postinst() {
- elog "The documentation is available at"
- elog " http://bfilter.sourceforge.net/documentation.php"
- elog "For forwarding bfilter service traffic through a proxy,"
- elog "see forwarding-proxy.xml example installed in the doc directory."
-}
diff --git a/net-proxy/bfilter/files/bfilter-1.1.4-external-boost.patch b/net-proxy/bfilter/files/bfilter-1.1.4-external-boost.patch
deleted file mode 100644
index 6f185ca9f41b..000000000000
--- a/net-proxy/bfilter/files/bfilter-1.1.4-external-boost.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff -Nru bfilter-1.1.4.orig/configure.in bfilter-1.1.4/configure.in
---- bfilter-1.1.4.orig/configure.in 2007-11-11 23:14:49.000000000 +0100
-+++ bfilter-1.1.4/configure.in 2009-10-18 18:26:32.000000000 +0200
-@@ -260,11 +260,6 @@
- Makefile
- binreloc/Makefile
- foundation/Makefile
--boost/Makefile
--boost/libs/Makefile
--boost/libs/regex/Makefile
--boost/libs/program_options/Makefile
--boost/libs/test/Makefile
- reactor/Makefile
- mkskel/Makefile
- lexgen/Makefile
-diff -Nru bfilter-1.1.4.orig/main/daemon/Makefile.am bfilter-1.1.4/main/daemon/Makefile.am
---- bfilter-1.1.4.orig/main/daemon/Makefile.am 2007-01-19 20:21:02.000000000 +0100
-+++ bfilter-1.1.4/main/daemon/Makefile.am 2009-10-18 18:25:52.000000000 +0200
-@@ -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.4.orig/main/gui/gtk/Makefile.am bfilter-1.1.4/main/gui/gtk/Makefile.am
---- bfilter-1.1.4.orig/main/gui/gtk/Makefile.am 2008-06-02 17:25:27.000000000 +0200
-+++ bfilter-1.1.4/main/gui/gtk/Makefile.am 2009-10-18 18:25:52.000000000 +0200
-@@ -50,7 +50,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.4.orig/Makefile.am bfilter-1.1.4/Makefile.am
---- bfilter-1.1.4.orig/Makefile.am 2007-11-11 23:16:04.000000000 +0100
-+++ bfilter-1.1.4/Makefile.am 2009-10-18 18:26:46.000000000 +0200
-@@ -1,7 +1,7 @@
- EXTRA_DIST = doc cmake bootstrap m4 VERSION CMakeLists.txt types.h pstdint.h \
- config.h.cm bfilter.desktop bfilter.png Doxyfile
- DISTCLEANFILES = itypes.h
--SUBDIRS = binreloc foundation boost reactor mkskel lexgen libjs main conf \
-+SUBDIRS = binreloc foundation reactor mkskel lexgen libjs main conf \
- packaging tests
-
- dist_man_MANS = bfilter.8
-diff -Nru bfilter-1.1.4.orig/tests/Makefile.am bfilter-1.1.4/tests/Makefile.am
---- bfilter-1.1.4.orig/tests/Makefile.am 2007-05-07 16:19:40.000000000 +0200
-+++ bfilter-1.1.4/tests/Makefile.am 2009-10-18 18:25:52.000000000 +0200
-@@ -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/bfilter-1.1.4-glib-2.32.patch b/net-proxy/bfilter/files/bfilter-1.1.4-glib-2.32.patch
deleted file mode 100644
index 7b4068b758e3..000000000000
--- a/net-proxy/bfilter/files/bfilter-1.1.4-glib-2.32.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: bfilter-1.1.4/main/gui/gtk/CompiledImage.h
-===================================================================
---- bfilter-1.1.4.orig/main/gui/gtk/CompiledImage.h
-+++ bfilter-1.1.4/main/gui/gtk/CompiledImage.h
-@@ -24,7 +24,7 @@
- #include <config.h>
- #endif
-
--#include <glib/gtypes.h>
-+#include <glib.h>
- #include <glibmm/refptr.h>
- #include <gdkmm/pixbuf.h>
- #include <stddef.h>
-Index: bfilter-1.1.4/main/gui/gtk/TrayMenu.h
-===================================================================
---- bfilter-1.1.4.orig/main/gui/gtk/TrayMenu.h
-+++ bfilter-1.1.4/main/gui/gtk/TrayMenu.h
-@@ -25,7 +25,7 @@
- #endif
-
- #include "NonCopyable.h"
--#include <glib/gtypes.h>
-+#include <glib.h>
- #include <memory>
-
- namespace GtkGUI
-Index: bfilter-1.1.4/main/gui/gtk/img2src.sh
-===================================================================
---- bfilter-1.1.4.orig/main/gui/gtk/img2src.sh
-+++ bfilter-1.1.4/main/gui/gtk/img2src.sh
-@@ -4,7 +4,7 @@ cat <<END
- /* This file was generated by img2src.sh */
-
- #include "CompiledImage.h"
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- END
-
diff --git a/net-proxy/bfilter/files/bfilter-1.1.4-gtkmm-X11-underlinking.patch b/net-proxy/bfilter/files/bfilter-1.1.4-gtkmm-X11-underlinking.patch
deleted file mode 100644
index 2a474e5d3867..000000000000
--- a/net-proxy/bfilter/files/bfilter-1.1.4-gtkmm-X11-underlinking.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur -u a/configure.in b/configure.in
---- a/configure.in 2013-11-30 17:03:04.733971428 +0100
-+++ b/configure.in 2013-11-30 17:03:21.231971410 +0100
-@@ -205,7 +205,7 @@
- [ with_gui="no" ])
- AM_CONDITIONAL(WITH_GUI, [test "$with_gui" = "yes"])
- if test "$with_gui" = "yes"; then
-- PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4)
-+ PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4 x11)
- dnl PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.0)
- dnl GTKMM_LIBS="$GTKMM_LIBS $GTHREAD_LIBS"
- AC_SUBST(GTKMM_CFLAGS)
diff --git a/net-proxy/bfilter/files/bfilter.conf b/net-proxy/bfilter/files/bfilter.conf
deleted file mode 100644
index 3c533b418eae..000000000000
--- a/net-proxy/bfilter/files/bfilter.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# Config file for /etc/init.d/bfilter
-
-# See the bfilter(8) man page for possible options to put here.
-BFILTER_OPTS="-u bfilter -g bfilter -r /etc/bfilter"
diff --git a/net-proxy/bfilter/files/bfilter.init b/net-proxy/bfilter/files/bfilter.init
deleted file mode 100644
index cd0156a9126b..000000000000
--- a/net-proxy/bfilter/files/bfilter.init
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-checkresolvconf() {
- #make /etc/bfilter/etc/resolv.conf if chroot is set
- if [ "${BFILTER_OPTS#* -r *}" != "${BFILTER_OPTS}" ] ; then
- local CHROOTDIR="${BFILTER_OPTS#* -r }"
- CHROOTDIR="${CHROOTDIR%% *}"
- mkdir -p "${CHROOTDIR}/etc" || return 1
- if ! cmp -s /etc/resolv.conf "${CHROOTDIR}/etc/resolv.conf" ; then
- cp -p /etc/resolv.conf "${CHROOTDIR}/etc/resolv.conf" || return 1
- fi
- fi
-
- return 0
-}
-
-start() {
- checkresolvconf || return 1
-
- ebegin "Starting bfilter"
- start-stop-daemon --start --quiet --exec /usr/bin/bfilter -- ${BFILTER_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping bfilter"
- start-stop-daemon --stop --quiet --exec /usr/bin/bfilter
- eend $?
-}
diff --git a/net-proxy/bfilter/files/forwarding-proxy.xml b/net-proxy/bfilter/files/forwarding-proxy.xml
deleted file mode 100644
index dafcbb1ed664..000000000000
--- a/net-proxy/bfilter/files/forwarding-proxy.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<forwarding>
- <option name="Direct">
- </option>
- <option name="ISP Proxy" selected="selected">
- <bypass>
- <simple-hostnames/>
- <host-mask>*.isp.com</host-mask>
- <host-mask>192.168.*</host-mask>
- </bypass>
- <proxy-chain>
- <proxy>
- <type>socks4</type><!-- available types: http, socks4, socks4a and socks5 -->
- <host>localhost</host>
- <port>9050</port>
- </proxy>
- </proxy-chain>
- </option>
-</forwarding>
diff --git a/net-proxy/bfilter/files/forwarding.xml b/net-proxy/bfilter/files/forwarding.xml
deleted file mode 100644
index 9b62c6bfc4a9..000000000000
--- a/net-proxy/bfilter/files/forwarding.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<forwarding>
- <option name="Direct" selected="selected">
- </option>
-</forwarding>
diff --git a/net-proxy/bfilter/metadata.xml b/net-proxy/bfilter/metadata.xml
deleted file mode 100644
index ad49eeed7a03..000000000000
--- a/net-proxy/bfilter/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>BFilter is a filtering web proxy. It was originally intended for removing banner ads only, but at some point
-it has been extended to remove popups and webbugs. It can't be used as a general purpose filtering proxy
-because it was never intended this way.
-
-For example you can't just block an arbitrary object, you can only hint the ad detector in its decision making.
-The main advantage BFilter has over the similar tools is its heuristic ad detection algorithm. The traditional
-blocklist-based approach is also implemented, but it's mostly used for dealing with false positives. Unlike
-other tools that require constant updates of their blocklists, BFilter manages to remove over 90% of ads
-even with an empty blocklist!
-
-The javascript generated ads are not a problem for BFilter, as it has a javascript engine to combat them.
-BFilter is expected work with any browser that supports proxies (nearly any browser does), and can forward
-requests to another HTTP proxy.</longdescription>
- <upstream>
- <remote-id type="sourceforge">bfilter</remote-id>
- </upstream>
-</pkgmetadata>