summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 12:26:29 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:34 +0100
commitb7f1deae6e7e5aa1ba57dedf05534376306806e8 (patch)
treee66f3e6fdf7cd85f553a20bc383e5a90cea10026 /net-proxy/adzapper
parentapp-text/code2html: port to EAPI 7 (diff)
downloadgentoo-b7f1deae6e7e5aa1ba57dedf05534376306806e8.tar.gz
gentoo-b7f1deae6e7e5aa1ba57dedf05534376306806e8.tar.bz2
gentoo-b7f1deae6e7e5aa1ba57dedf05534376306806e8.zip
net-proxy/adzapper: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-proxy/adzapper')
-rw-r--r--net-proxy/adzapper/adzapper-20110915-r2.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/net-proxy/adzapper/adzapper-20110915-r2.ebuild b/net-proxy/adzapper/adzapper-20110915-r2.ebuild
index 5cffc414abaa..89058d66e275 100644
--- a/net-proxy/adzapper/adzapper-20110915-r2.ebuild
+++ b/net-proxy/adzapper/adzapper-20110915-r2.ebuild
@@ -1,27 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
MY_P=${P/zapper/zap}
-inherit epatch
-
DESCRIPTION="Redirector for squid to intercept advertising, page counters and web bugs"
HOMEPAGE="http://adzapper.sourceforge.net/"
SRC_URI="http://adzapper.sourceforge.net/${MY_P}.tar.gz"
+S="${WORKDIR}"/${P/per/}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ppc sparc x86"
-IUSE=""
RDEPEND="dev-lang/perl"
-S="${WORKDIR}"/${P/per/}
+PATCHES=(
+ "${FILESDIR}"/20110915-flush.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/20110915-flush.patch
+ default
+
# update the zapper path in various scripts
local SCRPATH="/etc/adzapper/squid_redirect"
sed -i \