From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
Date: Mon, 22 Aug 2016 21:10:51 +0000 (UTC) [thread overview]
Message-ID: <1471900143.7833d942888e1daeb60e542c201bc44a758e6e72.mjo@gentoo> (raw)
commit: 7833d942888e1daeb60e542c201bc44a758e6e72
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 19:43:19 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 21:09:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7833d942
app-antivirus/clamav-unofficial-sigs: remove old version v4.9.2.
Package-Manager: portage-2.2.28
app-antivirus/clamav-unofficial-sigs/Manifest | 1 -
.../clamav-unofficial-sigs-4.9.2.ebuild | 99 ----------------------
2 files changed, 100 deletions(-)
diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 9860a61..79c0748 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,3 +1,2 @@
DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
-DIST clamav-unofficial-sigs-4.9.2.tar.gz 40301 SHA256 70e05f63add7e03d5af2dba6bcd31fda98646577798d99e6902e5f264c302e93 SHA512 46ec2e59c3838f4cff88562eacbd00ee1ad108f8f45500b9cde268c3d46bd3f6be68ff6136b7f3a4f6b628ff0b24f5dd10b2199e611b473acd7df82abf27b2c8 WHIRLPOOL 3029ee278629c3e8cf5471564e7ff054fc335e066d03653df82d07a87fa0dda76e41c5572c93fd0f28a434d002f3bdadd60043540378504c289333092aca412a
DIST clamav-unofficial-sigs-5.3.2.tar.gz 113714 SHA256 3abe1c22133d879318cebc18d3224a820ea1747524425d4a2efd337749596589 SHA512 9db139bf64c51dd33c89b54d00cde5be939fa815d968f88e0e2d4ec4264e09e4f7bac0b5795d90800bc042498e1d271113e009fc4b6f925a8e81e915f0b1d5b4 WHIRLPOOL 63baf144d32eff715546643edb3182c26e7a51297dda7186fcf6aeef3dcfc8287ae6d71073718e96ac639e8974b83bfc5c2e74174b684642de22a580686fcf3d
diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.9.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.9.2.ebuild
deleted file mode 100644
index c10fab8..0000000
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.9.2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DESCRIPTION="Download and install third-party clamav signatures"
-HOMEPAGE="https://github.com/extremeshok/${PN}"
-SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# We need its user/group.
-DEPEND="app-antivirus/clamav"
-
-# The script relies on either net-misc/socat, or Perl's
-# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships
-# with IO::Socket::UNIX, so we can leave out net-misc/socat here.
-RDEPEND="${DEPEND}
- app-crypt/gnupg
- dev-lang/perl
- net-dns/bind-tools
- net-misc/curl"
-
-src_prepare() {
- # Fix the user/group in the config file to match the ones used by
- # clamav.
- local user_default="clam_user=\"clam\""
- local user_gentoo="clam_user=\"clamav\""
-
- local group_default="clam_group=\"clam\""
- local group_gentoo="clam_group=\"clamav\""
-
- # Log to someplace that (likely) already exists. Omit the
- # "log_file_path" variable name so that we can reuse these patterns
- # later to sed the logrotate file.
- local log_default="/var/log/clamav-unofficial-sigs"
- local log_gentoo="/var/log/clamav"
-
- # clamd listens on a local socket by default. The clamd_socket
- # setting needs to be uncommented in the configuration file for it
- # to take effect.
- local socket_default="#clamd_socket=\"/var/run/clamd.socket\""
- local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\""
-
- # The clamav init script doesn't provide a "reload" command,
- # so we reload very manually.
- local reload_default="clamd_restart_opt=\"service clamd restart\""
- local reload_gentoo="clamd_restart_opt=\"clamdscan --reload\""
-
- sed -i -e "s~${user_default}~${user_gentoo}~" \
- -e "s~${group_default}~${group_gentoo}~" \
- -e "s~${log_default}~${log_gentoo}~" \
- -e "s~${socket_default}~${socket_gentoo}~" \
- -e "s~${reload_default}~${reload_gentoo}~" \
- "${PN}.conf" \
- || die "failed to update paths in ${PN}.conf"
-
- # Fix the log path and username in the logrotate file, too.
- sed -i -e "s~${log_default}~${log_gentoo}~" \
- -e "s~create 0644 clam clam~create 0640 clamav clamav~" \
- "${PN}-logrotate" \
- || die "failed to update path and userin ${PN}-logrotate"
-
- eapply_user
-}
-
-src_install() {
- dosbin "${PN}.sh"
-
- # The script's working directory (set in the conf file). By default,
- # it runs as clamav/clamav.
- diropts -m 0755 -o clamav -g clamav
- dodir "/var/lib/${PN}"
-
- insinto /etc/logrotate.d
- doins "${PN}-logrotate"
-
- insinto /etc
- doins "${PN}.conf"
-
- doman "${PN}.8"
- dodoc README.md
-}
-
-pkg_postinst() {
- elog ''
- elog "You will need to select databases in /etc/${PN}.conf."
- elog "For details, please see the ${PN}(8) manual page."
- elog ''
- elog 'An up-to-date description of the available Sanesecurity'
- elog 'databases is available at,'
- elog ''
- elog ' http://sanesecurity.com/usage/signatures/'
- elog ''
-}
next reply other threads:[~2016-08-22 21:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 21:10 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-02 20:10 [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/ Michael Orlitzky
2020-01-18 4:11 Michael Orlitzky
2019-11-07 16:16 Michał Górny
2019-08-28 9:11 David Seifert
2019-08-03 14:34 Michael Orlitzky
2019-03-03 15:34 Michael Orlitzky
2019-03-03 5:49 Mikle Kolyada
2019-03-01 1:14 Thomas Deutschmann
2018-08-17 21:38 Michael Orlitzky
2017-03-17 19:52 Michael Orlitzky
2016-08-22 21:10 Michael Orlitzky
2016-07-10 21:56 Michael Orlitzky
2016-04-06 22:14 Michael Orlitzky
2016-04-06 22:14 Michael Orlitzky
2016-01-18 3:49 Michael Orlitzky
2015-08-24 3:59 Michael Orlitzky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471900143.7833d942888e1daeb60e542c201bc44a758e6e72.mjo@gentoo \
--to=mjo@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox