diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2021-10-05 18:23:19 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-10-05 19:57:02 -0400 |
commit | 4f85c9bb53beb9630e3c3c607f084484a924f1fc (patch) | |
tree | 399b36c0025313134138b8bf54f9c50e23882c89 /app-antivirus | |
parent | sys-libs/binutils-libs: Stabilize 2.37_p1 x86, #813762 (diff) | |
download | gentoo-4f85c9bb53beb9630e3c3c607f084484a924f1fc.tar.gz gentoo-4f85c9bb53beb9630e3c3c607f084484a924f1fc.tar.bz2 gentoo-4f85c9bb53beb9630e3c3c607f084484a924f1fc.zip |
app-antivirus/clamav: remove ununsed patches.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/files/clamav-milter.logrotate | 25 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamav-milter.service | 12 | ||||
-rw-r--r-- | app-antivirus/clamav/files/freshclamd.service | 13 |
3 files changed, 0 insertions, 50 deletions
diff --git a/app-antivirus/clamav/files/clamav-milter.logrotate b/app-antivirus/clamav/files/clamav-milter.logrotate deleted file mode 100644 index 24782df604b6..000000000000 --- a/app-antivirus/clamav/files/clamav-milter.logrotate +++ /dev/null @@ -1,25 +0,0 @@ -# This script is intended to rotate the logs for clamav-milter in its -# default configuration on Gentoo, where clamav-milter writes to its -# own log file but does not rotate that file itself. The clamav-milter -# daemon is capable of rotating its own logs; if you have "LogRotate -# yes" in clamav-milter.conf then you do not need this script (and -# should disable it). Likewise, if you are logging to syslog -# (LogSyslog yes), this is redundant. -# -# This is more complicated than the clamd/freshclam scripts because -# the milter doesn't yet reopen its log files when it receives a -# SIGHUP. See https://bugzilla.clamav.net/show_bug.cgi?id=12615 -# for that. Instead we have to attempt OpenRC/systemd service -# restarts on (only) the machines that support them. -/var/log/clamav/clamav-milter.log { - su clamav clamav - missingok - postrotate - if command -v rc-service 2>/dev/null; then - rc-service clamav-milter status 2>/dev/null 1>&2 && rc-service clamav-milter restart 1>/dev/null - fi - if command -v systemctl 2>/dev/null; then - systemctl try-restart clamav-milter - fi - endscript -} diff --git a/app-antivirus/clamav/files/clamav-milter.service b/app-antivirus/clamav/files/clamav-milter.service deleted file mode 100644 index 5a1a24faa27d..000000000000 --- a/app-antivirus/clamav/files/clamav-milter.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Milter module for the ClamAV scanner -After=nss-lookup.target network.target -Before=sendmail.service -Before=postfix.service - -[Service] -ExecStart=/usr/sbin/clamav-milter -c /etc/clamav-milter.conf --nofork=yes -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/app-antivirus/clamav/files/freshclamd.service b/app-antivirus/clamav/files/freshclamd.service deleted file mode 100644 index 214876880661..000000000000 --- a/app-antivirus/clamav/files/freshclamd.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=clamav updater - -[Service] -Type=forking -User=clamav -Group=clamav -RuntimeDirectory=clamav -PIDFile=/run/clamav/freshclam.pid -ExecStart=/usr/bin/freshclam -d -p /run/clamav/freshclam.pid - -[Install] -WantedBy=multi-user.target |