From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91FA9158086 for ; Tue, 5 Oct 2021 23:58:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43D56E08A8; Tue, 5 Oct 2021 23:58:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A413FE08A8 for ; Tue, 5 Oct 2021 23:58:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 82CFD342CD6 for ; Tue, 5 Oct 2021 23:58:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DCB9FE5 for ; Tue, 5 Oct 2021 23:58:10 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1633478222.4f85c9bb53beb9630e3c3c607f084484a924f1fc.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamav/files/clamav-milter.logrotate app-antivirus/clamav/files/clamav-milter.service app-antivirus/clamav/files/freshclamd.service X-VCS-Directories: app-antivirus/clamav/files/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 4f85c9bb53beb9630e3c3c607f084484a924f1fc X-VCS-Branch: master Date: Tue, 5 Oct 2021 23:58:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85219374-6573-4654-8729-d85f21a6abda X-Archives-Hash: 8d7d8ba80396ce5354a6d8591049d9de commit: 4f85c9bb53beb9630e3c3c607f084484a924f1fc Author: Michael Orlitzky gentoo org> AuthorDate: Tue Oct 5 22:23:19 2021 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Oct 5 23:57:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f85c9bb app-antivirus/clamav: remove ununsed patches. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> app-antivirus/clamav/files/clamav-milter.logrotate | 25 ---------------------- app-antivirus/clamav/files/clamav-milter.service | 12 ----------- app-antivirus/clamav/files/freshclamd.service | 13 ----------- 3 files changed, 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 24782df604b..00000000000 --- 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 5a1a24faa27..00000000000 --- 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 21487688066..00000000000 --- 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