summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-06-25 07:42:58 +1000
committerMatt Jolly <kangie@gentoo.org>2024-06-25 08:29:00 +1000
commitcdab26dbefdc03b1dd47c3e396914a393e6d8e48 (patch)
treef1413722e909eece2dadf2ede1931e91e1ee1796 /app-antivirus
parentgames-action/dxx-rebirth: Bump snapshot to 20240623, drop old 20230627 (diff)
downloadgentoo-cdab26dbefdc03b1dd47c3e396914a393e6d8e48.tar.gz
gentoo-cdab26dbefdc03b1dd47c3e396914a393e6d8e48.tar.bz2
gentoo-cdab26dbefdc03b1dd47c3e396914a393e6d8e48.zip
app-antivirus/clamav: 1.3.1-r1: fix build with USE=milter
I dropped the escape and the end of a capture group! Also drop superfluous 'MilterSocket Unix.*' sed. Closes: https://bugs.gentoo.org/934816 Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/clamav-1.3.1-r1.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/app-antivirus/clamav/clamav-1.3.1-r1.ebuild b/app-antivirus/clamav/clamav-1.3.1-r1.ebuild
index fed1a8c4198a..04fcfda4d498 100644
--- a/app-antivirus/clamav/clamav-1.3.1-r1.ebuild
+++ b/app-antivirus/clamav/clamav-1.3.1-r1.ebuild
@@ -331,10 +331,9 @@ src_install() {
if use milter ; then
# Note: only keep the "unix" ClamdSocket and MilterSocket!
sed -e "s:^\(Example\):\# \1:" \
- -e "s:^#\(PidFile) .*\:\1 ${EPREFIX}/run/clamav-milter.pid:" \
+ -e "s:^\#\(PidFile\) .*:\1 ${EPREFIX}/run/clamav-milter.pid:" \
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
-e "s/^#\(User .*\)/\1/" \
- -e "s/^#\(MilterSocket unix:.*\)/\1/" \
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
"${ED}"/etc/clamav/clamav-milter.conf || die