summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-05-04 11:34:49 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-05-04 11:34:49 +0200
commitd24c4f2b2529ad3f009b200641793b5105c01426 (patch)
tree40fd4edaabb9fa55009c37aa800821bac08d7e83 /net-proxy/tinyproxy
parentmedia-plugins/qmmp-plugin-pack: Removed old. (diff)
downloadgentoo-d24c4f2b2529ad3f009b200641793b5105c01426.tar.gz
gentoo-d24c4f2b2529ad3f009b200641793b5105c01426.tar.bz2
gentoo-d24c4f2b2529ad3f009b200641793b5105c01426.zip
net-proxy/tinyproxy: Fixed incomplete EAPI-6 conversion (bug #582060).
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-proxy/tinyproxy')
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild
index ac0b0c771d7f..83adc78f2965 100644
--- a/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild
+++ b/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild
@@ -21,18 +21,21 @@ REQUIRED_USE="test? ( xtinyproxy-header )"
DEPEND="!minimal? ( app-text/asciidoc )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.8.1-ldflags.patch
+ "${FILESDIR}"/${P}-r2-DoS-Prevention.patch
+
+)
+
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} "" "" "" ${PN}
}
src_prepare() {
- default
+ use minimal && PATCHES+=( "${FILESDIR}/${PN}-1.8.1-minimal.patch" )
- eapply "${FILESDIR}"/${PN}-1.8.1-ldflags.patch
- eapply "${FILESDIR}"/${P}-r2-DoS-Prevention.patch
-
- use minimal && epatch "${FILESDIR}/${PN}-1.8.1-minimal.patch"
+ default
sed -i \
-e "s|nobody|${PN}|g" \