summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2020-07-11 12:54:39 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2020-07-11 13:02:56 +0300
commit4696e449ce82871adc6f9d56238a5448d4e1480e (patch)
tree70fbe3ce47388276099491c126678a7f9305b784
parentnet-proxy/privoxy: fuzz testing needs zlib support (diff)
downloadgentoo-4696e449ce82871adc6f9d56238a5448d4e1480e.tar.gz
gentoo-4696e449ce82871adc6f9d56238a5448d4e1480e.tar.bz2
gentoo-4696e449ce82871adc6f9d56238a5448d4e1480e.zip
net-proxy/privoxy: do not install /var/run
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.28-no-var-run.patch11
-rw-r--r--net-proxy/privoxy/privoxy-3.0.28.ebuild5
2 files changed, 15 insertions, 1 deletions
diff --git a/net-proxy/privoxy/files/privoxy-3.0.28-no-var-run.patch b/net-proxy/privoxy/files/privoxy-3.0.28-no-var-run.patch
new file mode 100644
index 000000000000..f9f2afb4ff3b
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy-3.0.28-no-var-run.patch
@@ -0,0 +1,11 @@
+--- privoxy-3.0.28-stable/GNUmakefile.in.orig 2020-07-11 12:03:38.784441229 +0300
++++ privoxy-3.0.28-stable/GNUmakefile.in 2020-07-11 12:04:16.148597612 +0300
+@@ -846,7 +846,7 @@
+ $(CHMOD) $(DIR_MODE) $(MKDIR)
+ @$(MKDIR) $(DESTDIR)$(SBIN_DEST) $(DESTDIR)$(prefix) $(DESTDIR)$(CONF_DEST) \
+ $(DESTDIR)$(CONF_DEST)/templates $(DESTDIR)$(SHARE_DEST) \
+- $(DESTDIR)$(LOG_DEST) $(DESTDIR)$(PID_DEST)
++ $(DESTDIR)$(LOG_DEST)
+ @# Install the executable binary, strip if invoked as install-strip
+ @test -n "$(STRIP)" &&\
+ $(ECHO) Installing $(PROGRAM) stripped executable to $(SBIN_DEST) ||\
diff --git a/net-proxy/privoxy/privoxy-3.0.28.ebuild b/net-proxy/privoxy/privoxy-3.0.28.ebuild
index 5b36343401e6..30ee789ff1ea 100644
--- a/net-proxy/privoxy/privoxy-3.0.28.ebuild
+++ b/net-proxy/privoxy/privoxy-3.0.28.ebuild
@@ -41,7 +41,10 @@ REQUIRED_USE="
S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
-PATCHES=( "${FILESDIR}"/${PN}-3.0.19-gentoo.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.19-gentoo.patch
+ "${FILESDIR}"/${P}-no-var-run.patch
+)
pkg_pretend() {
if ! use threads; then