public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2015-08-24  3:59 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2015-08-24  3:59 UTC (permalink / raw
  To: gentoo-commits

commit:     f65599809faf5212a30ecf46155cdc41f07a9e8e
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 03:58:44 2015 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 03:58:44 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6559980

app-antivirus/clamav-unofficial-sigs: Major version bump to v4.5.3.

Upstream has been taken over (in a friendly sense) by the team at
eXtremeSHOK.com, so the HOMEPAGE and SRC_URI have changed
accordingly. The config file has changed significantly, so users will
need to revisit their configs.

Package-Manager: portage-2.2.20.1

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 +
 .../clamav-unofficial-sigs-4.5.3.ebuild            | 89 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index e5aa696..6643c7f 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1 +1,2 @@
 DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
+DIST clamav-unofficial-sigs-4.5.3.tar.gz 44580 SHA256 ca5f9af4be401eed470148c7108ffed043f9251d53dd99ceffd633849948d65b SHA512 8b3f26253657188a9bc8ece0f2096b3564cbc97baa208989d04fca8443f73d3e391414b96fba27be38569141c312e8c674b2d1c8ba9ae9d45b4b8af03cf70542 WHIRLPOOL c69f6e8b1771f6f82936a145224353114eee00dbe88b8715ba57242d9ffff1cd4b6e68c0d005e1925cfebee8b0c78fa896721f89b46b5f3a6c66cc2313eec04a

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild
new file mode 100644
index 0000000..a2eae4d
--- /dev/null
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Downloads and installs 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\""
+
+	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}~" \
+		"${PN}.conf" \
+		|| die "failed to update paths in ${PN}.conf"
+
+	# Fix the log path in the logrotate file, too.
+	sed -i -e "s~${log_default}~${log_gentoo}~" "${PN}-logrotate" \
+		|| die "failed to update paths in ${PN}-logrotate"
+}
+
+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 CHANGELOG INSTALL 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 ''
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-01-18  3:49 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-01-18  3:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2470d694b260a8669fda50232634262544112f97
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 03:46:20 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 03:47:21 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2470d694

app-antivirus/clamav-unofficial-sigs: add version 4.9.2.

Package-Manager: portage-2.2.26

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 +
 .../clamav-unofficial-sigs-4.9.2.ebuild            | 99 ++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 6643c7f..fe50c9c 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1,3 @@
 DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
 DIST clamav-unofficial-sigs-4.5.3.tar.gz 44580 SHA256 ca5f9af4be401eed470148c7108ffed043f9251d53dd99ceffd633849948d65b SHA512 8b3f26253657188a9bc8ece0f2096b3564cbc97baa208989d04fca8443f73d3e391414b96fba27be38569141c312e8c674b2d1c8ba9ae9d45b4b8af03cf70542 WHIRLPOOL c69f6e8b1771f6f82936a145224353114eee00dbe88b8715ba57242d9ffff1cd4b6e68c0d005e1925cfebee8b0c78fa896721f89b46b5f3a6c66cc2313eec04a
+DIST clamav-unofficial-sigs-4.9.2.tar.gz 40301 SHA256 70e05f63add7e03d5af2dba6bcd31fda98646577798d99e6902e5f264c302e93 SHA512 46ec2e59c3838f4cff88562eacbd00ee1ad108f8f45500b9cde268c3d46bd3f6be68ff6136b7f3a4f6b628ff0b24f5dd10b2199e611b473acd7df82abf27b2c8 WHIRLPOOL 3029ee278629c3e8cf5471564e7ff054fc335e066d03653df82d07a87fa0dda76e41c5572c93fd0f28a434d002f3bdadd60043540378504c289333092aca412a

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
new file mode 100644
index 0000000..c10fab8
--- /dev/null
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.9.2.ebuild
@@ -0,0 +1,99 @@
+# 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 ''
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-04-06 22:14 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-04-06 22:14 UTC (permalink / raw
  To: gentoo-commits

commit:     baa3950980aebf97cd9e0b02f6dafa32cc0d965a
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 22:08:36 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 22:14:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa39509

app-antivirus/clamav-unofficial-sigs: remove older 4.x version.

Package-Manager: portage-2.2.26

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 -
 .../clamav-unofficial-sigs-4.5.3.ebuild            | 89 ----------------------
 2 files changed, 90 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index fe50c9c..4ab956e 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.5.3.tar.gz 44580 SHA256 ca5f9af4be401eed470148c7108ffed043f9251d53dd99ceffd633849948d65b SHA512 8b3f26253657188a9bc8ece0f2096b3564cbc97baa208989d04fca8443f73d3e391414b96fba27be38569141c312e8c674b2d1c8ba9ae9d45b4b8af03cf70542 WHIRLPOOL c69f6e8b1771f6f82936a145224353114eee00dbe88b8715ba57242d9ffff1cd4b6e68c0d005e1925cfebee8b0c78fa896721f89b46b5f3a6c66cc2313eec04a
 DIST clamav-unofficial-sigs-4.9.2.tar.gz 40301 SHA256 70e05f63add7e03d5af2dba6bcd31fda98646577798d99e6902e5f264c302e93 SHA512 46ec2e59c3838f4cff88562eacbd00ee1ad108f8f45500b9cde268c3d46bd3f6be68ff6136b7f3a4f6b628ff0b24f5dd10b2199e611b473acd7df82abf27b2c8 WHIRLPOOL 3029ee278629c3e8cf5471564e7ff054fc335e066d03653df82d07a87fa0dda76e41c5572c93fd0f28a434d002f3bdadd60043540378504c289333092aca412a

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild
deleted file mode 100644
index a2eae4d..0000000
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-4.5.3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-DESCRIPTION="Downloads and installs 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\""
-
-	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}~" \
-		"${PN}.conf" \
-		|| die "failed to update paths in ${PN}.conf"
-
-	# Fix the log path in the logrotate file, too.
-	sed -i -e "s~${log_default}~${log_gentoo}~" "${PN}-logrotate" \
-		|| die "failed to update paths in ${PN}-logrotate"
-}
-
-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 CHANGELOG INSTALL 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 ''
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-04-06 22:14 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-04-06 22:14 UTC (permalink / raw
  To: gentoo-commits

commit:     406e7ae63d4f246c9b1a7f82f5a92046fe282ee3
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 22:13:46 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 22:14:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406e7ae6

app-antivirus/clamav-unofficial-sigs: add new version 5.0.6.

Package-Manager: portage-2.2.26

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 +
 .../clamav-unofficial-sigs-5.0.6.ebuild            | 88 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 4ab956e..1570cd8 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1,3 @@
 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.0.6.tar.gz 34090 SHA256 1c3640a8548a09a02e62a9bc57d81f3c757cd193902f445b9e530a4ba5331585 SHA512 2466faef1ed5bddf70623724248f08f035a3083bb7f1de6ba80d33fd780a15c2e819cff4fc3acdd4131a7fa277683f9ce3d4ad9e0322ac396af8cdf052350b9b WHIRLPOOL 0efd21c2aa2b7c80877301d6262cb6cc96b7c66a851cb0de2f1371c487dd37188cc4ab44f64f2c4224826826d0ce075674b9b079850db19e0349eb7159546394

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.0.6.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.0.6.ebuild
new file mode 100644
index 0000000..b716b03
--- /dev/null
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.0.6.ebuild
@@ -0,0 +1,88 @@
+# 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() {
+	# 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/clamav/clamd.sock\""
+	local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\""
+
+	# The clamav init script doesn't provide a "reload" command,
+	# so we reload manually.
+	local reload_default="clamd_restart_opt=\"service clamd restart\""
+	local reload_gentoo="clamd_restart_opt=\"clamdscan --reload\""
+
+	sed -i "config/os.gentoo.conf" \
+		-e "s~${socket_default}~${socket_gentoo}~" \
+		-e "s~${reload_default}~${reload_gentoo}~" \
+		|| die "failed to update config/os.gentoo.conf"
+
+	# Uncomment the "create" line in the logrotate.d file, and tighten
+	# the permissions a bit.
+	local logrotate_gentoo="     create 0640 clamav clamav"
+	sed -e "s~#     create 0644 clamav clamav~${logrotate_gentoo}~" \
+		-i "logrotate.d/${PN}" \
+		|| die "failed to tighten permissions in logrotate.d/${PN}"
+
+	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 "logrotate.d/${PN}"
+
+	insinto "/etc/${PN}"
+	doins config/master.conf
+	newins config/os.gentoo.conf os.conf
+
+	doman "${PN}.8"
+	dodoc README.md
+}
+
+pkg_postinst() {
+	elog ''
+	elog "You will need to select databases in /etc/${PN}/master.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 ''
+	ewarn 'The configuration file has moved in the 5.x version!'
+	ewarn "You should migrate your config from /etc/${PN}.conf to"
+	ewarn "/etc/${PN}/master.conf"
+	ewarn ''
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-07-10 21:56 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-07-10 21:56 UTC (permalink / raw
  To: gentoo-commits

commit:     bd5f497252ddd6b0482d9d0dec154ea2fbc4bca6
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 20:58:58 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 21:55:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5f4972

app-antivirus/clamav-unofficial-sigs: version bump v5.3.1 -> v5.3.2.

Package-Manager: portage-2.2.28

 app-antivirus/clamav-unofficial-sigs/Manifest                           | 2 +-
 ...unofficial-sigs-5.3.1.ebuild => clamav-unofficial-sigs-5.3.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 4b4f169..9860a61 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,3 +1,3 @@
 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.1.tar.gz 113191 SHA256 f2b613c8fdc5197ab73fa499d5a5a82cc68889bf3c8b45bd90363e6f21154599 SHA512 2bd1d9dc8c1fb0490cc9c7776181a6e7cb180168cfa58ed0dd82901d41858cc463805fe7851f888bacdbfece5c46b012f85aad6e1966eb900a935f1d395ebdc5 WHIRLPOOL 4da9118e53f1af3cc7e88a64babad221c665678a5ccac4cb6c707286cf543414d12227d81d9fcae5c01361b8a15eca72e59df7669d47a6cf3662b813eacf2717
+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-5.3.1.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.3.2.ebuild
similarity index 100%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.3.1.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.3.2.ebuild


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-08-22 21:10 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-08-22 21:10 UTC (permalink / raw
  To: gentoo-commits

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 ''
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2016-08-22 21:10 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-08-22 21:10 UTC (permalink / raw
  To: gentoo-commits

commit:     c495fdbf6353a2b9a1a5f87d5d7ce71c912cb3eb
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 19:44:53 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=c495fdbf

app-antivirus/clamav-unofficial-sigs: replace v5.3.2 with v5.4.1.

Gentoo-Bug: 590980

Package-Manager: portage-2.2.28

 app-antivirus/clamav-unofficial-sigs/Manifest                           | 2 +-
 ...unofficial-sigs-5.3.2.ebuild => clamav-unofficial-sigs-5.4.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 79c0748..b714745 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1,2 @@
 DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
-DIST clamav-unofficial-sigs-5.3.2.tar.gz 113714 SHA256 3abe1c22133d879318cebc18d3224a820ea1747524425d4a2efd337749596589 SHA512 9db139bf64c51dd33c89b54d00cde5be939fa815d968f88e0e2d4ec4264e09e4f7bac0b5795d90800bc042498e1d271113e009fc4b6f925a8e81e915f0b1d5b4 WHIRLPOOL 63baf144d32eff715546643edb3182c26e7a51297dda7186fcf6aeef3dcfc8287ae6d71073718e96ac639e8974b83bfc5c2e74174b684642de22a580686fcf3d
+DIST clamav-unofficial-sigs-5.4.1.tar.gz 115798 SHA256 a6a455086db1ea102d9f714f8604bde1b3bb063c27e5cadd8ca456bf00673538 SHA512 333cbd6db88e634c60cab7477e091a80106d08f1e2a8ea6f0c7feba5c67a0eef09f10d34764c68eea4789cd373cb50b43a639c96f4a0ddabe44a5a0e12c7e50d WHIRLPOOL f851bd935a47270d5ca37449d6251669270c865b753819a6d8e3e5349ac0186eb349792409d4e173e775885da43cfbb7f1af73ed81367f7980fa69ba6c3bbb09

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.3.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.4.1.ebuild
similarity index 100%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.3.2.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.4.1.ebuild


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2017-03-17 19:52 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2017-03-17 19:52 UTC (permalink / raw
  To: gentoo-commits

commit:     03a9bbfc555261bc9ba1bdc573aa47a5de4d60d9
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 19:46:19 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 19:46:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a9bbfc

app-antivirus/clamav-unofficial-sigs: new version 5.6.1.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-antivirus/clamav-unofficial-sigs/Manifest                           | 2 +-
 ...unofficial-sigs-5.4.1.ebuild => clamav-unofficial-sigs-5.6.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index b714745ab38..a43f414125c 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1,2 @@
 DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188
-DIST clamav-unofficial-sigs-5.4.1.tar.gz 115798 SHA256 a6a455086db1ea102d9f714f8604bde1b3bb063c27e5cadd8ca456bf00673538 SHA512 333cbd6db88e634c60cab7477e091a80106d08f1e2a8ea6f0c7feba5c67a0eef09f10d34764c68eea4789cd373cb50b43a639c96f4a0ddabe44a5a0e12c7e50d WHIRLPOOL f851bd935a47270d5ca37449d6251669270c865b753819a6d8e3e5349ac0186eb349792409d4e173e775885da43cfbb7f1af73ed81367f7980fa69ba6c3bbb09
+DIST clamav-unofficial-sigs-5.6.1.tar.gz 51024 SHA256 5c26410470e1010d0bd167fc8ae75a7035c6c0977f2f0af1da4b004064e43c81 SHA512 a3660abe301e96104393d337ff2b7f73324241bb921d71626e4a6ea4cec39709ce76dbb9432fd048c66441f0acbb1b92fa561397669ffdca98f463d7da8e7402 WHIRLPOOL fac1394ace0ae81ba1b57dab54aef659b8d58716341d5962f07d97fe7487acec3d994d52073b989128adcf2e43991aef277db166048d7bbd328595b2cecdf3ad

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.4.1.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild
similarity index 97%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.4.1.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild
index 8dea4c12d67..eb77bf7756b 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.4.1.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2018-08-17 21:38 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2018-08-17 21:38 UTC (permalink / raw
  To: gentoo-commits

commit:     2b50e51cc165207171239c8202b298104b03e751
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 17 21:17:05 2018 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Aug 17 21:28:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b50e51c

app-antivirus/clamav-unofficial-sigs: new version 5.6.2.

Closes: https://bugs.gentoo.org/663552
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-antivirus/clamav-unofficial-sigs/Manifest      |  2 +-
 ....ebuild => clamav-unofficial-sigs-5.6.2.ebuild} | 29 +++++++++++++---------
 2 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 7577334bb11..7b61422eb31 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1,2 @@
 DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 BLAKE2B 2f00e9adf5f54e2b38c602da56a2daeb70618123ab4e59a74804885252f3cad2c23f7b9b10f4ec664c6977bca849947b83d0fc69f76669dbae58ebff54c6755b SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4
-DIST clamav-unofficial-sigs-5.6.1.tar.gz 51024 BLAKE2B 6c1da70c0ef93738533e69902ea8dc418ed76004361bf10199a7a661bd54cbcbcd3cfd4b32d5f592155ff354e4f8330fd2a92ab06b6b7c05211224bc1892d86a SHA512 a3660abe301e96104393d337ff2b7f73324241bb921d71626e4a6ea4cec39709ce76dbb9432fd048c66441f0acbb1b92fa561397669ffdca98f463d7da8e7402
+DIST clamav-unofficial-sigs-5.6.2.tar.gz 50931 BLAKE2B 6fea42f8f76ae5344c2b96c9203d2b09e755573d03f2b9d3d9ee2a488150fbb6f598e052b730daf12c551920a71fd8daad1dc10002fca12fa4a74554cf7d445e SHA512 79978db065a22d778490d0a2673f5a0bb7ab73e42de64563e7d26ac23459f7e5b2e73b0548e1ea6483e3c5f43eed65cdbc6814037cc0c46a339366a0150e5427

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
similarity index 69%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
index eb77bf7756b..f87f76fff1a 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
+inherit user
 
 DESCRIPTION="Download and install third-party clamav signatures"
 HOMEPAGE="https://github.com/extremeshok/${PN}"
@@ -12,9 +14,6 @@ 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.
@@ -28,9 +27,10 @@ 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}"
+	# it runs as clamav/clamav. We set the owner/group later, in
+	# pkg_preinst, after the user/group is sure to exist (because we
+	# create them otherwise).
+	keepdir "/var/lib/${PN}"
 
 	insinto /etc/logrotate.d
 	doins "${FILESDIR}/${PN}.logrotate"
@@ -43,6 +43,15 @@ src_install() {
 	dodoc README.md
 }
 
+pkg_preinst() {
+	# Should agree with app-antivirus/clamav. We don't actually need
+	# clamav to function, so it isn't one of our dependencies, and
+	# that's why we might need to create its user ourselves.
+	enewgroup clamav
+	enewuser clamav -1 -1 /dev/null clamav
+	fowners clamav:clamav "/var/lib/${PN}"
+}
+
 pkg_postinst() {
 	elog ''
 	elog "You will need to select databases in /etc/${PN}/master.conf."
@@ -53,8 +62,4 @@ pkg_postinst() {
 	elog ''
 	elog '  http://sanesecurity.com/usage/signatures/'
 	elog ''
-	ewarn 'The configuration file has moved in the 5.x version!'
-	ewarn "You should migrate your config from /etc/${PN}.conf to"
-	ewarn "/etc/${PN}/master.conf"
-	ewarn ''
 }


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-03-01  1:14 Thomas Deutschmann
  0 siblings, 0 replies; 17+ messages in thread
From: Thomas Deutschmann @ 2019-03-01  1:14 UTC (permalink / raw
  To: gentoo-commits

commit:     dc2821cc0ff8d7568b98ffeaf1f531e55a1b0a21
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 01:05:13 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 01:13:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2821cc

app-antivirus/clamav-unofficial-sigs: x86 stable (bug #678714)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
index f87f76fff1a..6ea6ef3fbe4 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 # The script relies on either net-misc/socat, or Perl's


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-03-03  5:49 Mikle Kolyada
  0 siblings, 0 replies; 17+ messages in thread
From: Mikle Kolyada @ 2019-03-03  5:49 UTC (permalink / raw
  To: gentoo-commits

commit:     6bc43008e4cc344efcad7c8a2d08b5e2d1af4f4b
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 05:48:01 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 05:48:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bc43008

app-antivirus/clamav-unofficial-sigs: amd64 stable wrt bug #678714

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 .../clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
index 6ea6ef3fbe4..567334ab267 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 # The script relies on either net-misc/socat, or Perl's


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-03-03 15:34 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2019-03-03 15:34 UTC (permalink / raw
  To: gentoo-commits

commit:     d25e9ab93d797539b14c5394ddda5d7b850ed071
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 15:27:34 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 15:29:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25e9ab9

app-antivirus/clamav-unofficial-sigs: remove "unused" version 3.7.2.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 -
 .../clamav-unofficial-sigs-3.7.2.ebuild            | 89 ----------------------
 2 files changed, 90 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 7b61422eb31..af52a5be8e2 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1 @@
-DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 BLAKE2B 2f00e9adf5f54e2b38c602da56a2daeb70618123ab4e59a74804885252f3cad2c23f7b9b10f4ec664c6977bca849947b83d0fc69f76669dbae58ebff54c6755b SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4
 DIST clamav-unofficial-sigs-5.6.2.tar.gz 50931 BLAKE2B 6fea42f8f76ae5344c2b96c9203d2b09e755573d03f2b9d3d9ee2a488150fbb6f598e052b730daf12c551920a71fd8daad1dc10002fca12fa4a74554cf7d445e SHA512 79978db065a22d778490d0a2673f5a0bb7ab73e42de64563e7d26ac23459f7e5b2e73b0548e1ea6483e3c5f43eed65cdbc6814037cc0c46a339366a0150e5427

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild
deleted file mode 100644
index 6eddf2b6683..00000000000
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Downloads and installs third-party clamav signatures"
-HOMEPAGE="https://sourceforge.net/projects/unofficial-sigs"
-SRC_URI="mirror://sourceforge/unofficial-sigs/${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() {
-	# First, fix the paths contained in the configuration file. Eventually
-	# these should be moved under /run, but for now we keep them sync'ed
-	# with the default clamd.conf.
-	local pid_default="/var/run/clamd.pid"
-	local pid_gentoo="/var/run/clamav/clamd.pid"
-
-	# 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\""
-
-	sed -i  -e '$a\pkg_mgr="emerge"' \
-		-e "\$a\\pkg_rm=\"emerge -C ${PN}\"" \
-		-e "s~${socket_default}~${socket_gentoo}~" \
-		-e "s~${pid_default}~${pid_gentoo}~" \
-		"${PN}.conf" \
-		|| die "failed to update paths in the ${PN}.conf file"
-
-	# Now, change the script's working directory to point to
-	# /var/lib/${PN}. We'll need to make this writable by the clamav
-	# user during src_install.
-	sed -i  -e "s~/usr/unofficial-dbs~/var/lib/${PN}~" "${PN}.conf" \
-		|| die "failed to update the work_dir variable in ${PN}.conf"
-
-	# Tell the script that it's been configured.
-	local cfged_default='user_configuration_complete="no"'
-	local cfged_gentoo='user_configuration_complete="yes"'
-	sed -i "s/${cfged_default}/${cfged_gentoo}/" "${PN}.conf" \
-		|| die "failed to set user configuration completed in ${PN}.conf"
-}
-
-src_install() {
-	dosbin "${PN}.sh"
-
-	# We set the script's working directory to /var/lib/${PN} in
-	# src_compile, so make sure that the permissions are set correctly
-	# here. 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 CHANGELOG INSTALL README
-}
-
-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 ''
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-08-03 14:34 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2019-08-03 14:34 UTC (permalink / raw
  To: gentoo-commits

commit:     7d0d56e2f207c695c3be5fdcb685c19c4b08f96a
Author:     Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Thu Aug  1 17:55:55 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Aug  3 14:31:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0d56e2

app-antivirus/clamav-unofficial-sigs: new version 6.0.1.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-antivirus/clamav-unofficial-sigs/Manifest      |  1 +
 .../clamav-unofficial-sigs-6.0.1.ebuild            | 65 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index af52a5be8e2..a557118db75 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1 +1,2 @@
 DIST clamav-unofficial-sigs-5.6.2.tar.gz 50931 BLAKE2B 6fea42f8f76ae5344c2b96c9203d2b09e755573d03f2b9d3d9ee2a488150fbb6f598e052b730daf12c551920a71fd8daad1dc10002fca12fa4a74554cf7d445e SHA512 79978db065a22d778490d0a2673f5a0bb7ab73e42de64563e7d26ac23459f7e5b2e73b0548e1ea6483e3c5f43eed65cdbc6814037cc0c46a339366a0150e5427
+DIST clamav-unofficial-sigs-6.0.1.tar.gz 52262 BLAKE2B 9523da749e88c5e93f0986d7d4a234c3b1eff7c207ceb266e63cd76d7cffdf4a85aedf90aa746f7e1c82be97018f40896bbaa2dfd8f749f3c167d3bff74293d7 SHA512 d4f619628c9b2804a6d5ad533adaad72e323bb0604334c045cf92fc550ffb114493653d097b68337b33f51dc1215dc073b4ec9dc42abea8707cb03aefa40b289

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild
new file mode 100644
index 00000000000..e2a1d380c12
--- /dev/null
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user
+
+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=""
+
+# 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/wget net-misc/curl )"
+
+src_install() {
+	dosbin "${PN}.sh"
+
+	# The script's working directory (set in the conf file). By default,
+	# it runs as clamav/clamav. We set the owner/group later, in
+	# pkg_preinst, after the user/group is sure to exist (because we
+	# create them otherwise).
+	keepdir "/var/lib/${PN}"
+
+	insinto /etc/logrotate.d
+	doins "${FILESDIR}/${PN}.logrotate"
+
+	insinto "/etc/${PN}"
+	doins config/{master,user}.conf
+	newins config/os.gentoo.conf os.conf
+
+	doman "${FILESDIR}/${PN}.8"
+	dodoc README.md
+}
+
+pkg_preinst() {
+	# Should agree with app-antivirus/clamav. We don't actually need
+	# clamav to function, so it isn't one of our dependencies, and
+	# that's why we might need to create its user ourselves.
+	enewgroup clamav
+	enewuser clamav -1 -1 /dev/null clamav
+	fowners clamav:clamav "/var/lib/${PN}"
+}
+
+pkg_postinst() {
+	elog ''
+	elog "You will need to select databases in /etc/${PN}/master.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 ''
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-08-28  9:11 David Seifert
  0 siblings, 0 replies; 17+ messages in thread
From: David Seifert @ 2019-08-28  9:11 UTC (permalink / raw
  To: gentoo-commits

commit:     291a8e08fbf9814638c99ffdd9fbdc154bc4d129
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 09:10:54 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 09:10:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=291a8e08

app-antivirus/clamav-unofficial-sigs: [QA] Fix ${HOMEPAGE} in SRC_URI

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild          | 2 +-
 .../clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
index 567334ab267..f9b2425875a 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild
@@ -7,7 +7,7 @@ inherit user
 
 DESCRIPTION="Download and install third-party clamav signatures"
 HOMEPAGE="https://github.com/extremeshok/${PN}"
-SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/extremeshok/clamav-unofficial-sigs/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild
index e2a1d380c12..6fc6ec0b574 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1.ebuild
@@ -7,7 +7,7 @@ inherit user
 
 DESCRIPTION="Download and install third-party clamav signatures"
 HOMEPAGE="https://github.com/extremeshok/${PN}"
-SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/extremeshok/clamav-unofficial-sigs/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2019-11-07 16:16 Michał Górny
  0 siblings, 0 replies; 17+ messages in thread
From: Michał Górny @ 2019-11-07 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     3a39148aed0a13a8c97f098f58bbc96c0e68817f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  7 16:15:11 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov  7 16:15:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a39148a

app-antivirus/clamav-unofficial-sigs: [QA] Fix HOMEPAGE & SRC_URI

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild
index eb1fdfbcc04..694d3dc7418 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild
@@ -6,8 +6,8 @@ EAPI=7
 inherit user systemd
 
 DESCRIPTION="Download and install third-party clamav signatures"
-HOMEPAGE="https://github.com/extremeshok/${PN}"
-SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/extremeshok/clamav-unofficial-sigs"
+SRC_URI="https://github.com/extremeshok/clamav-unofficial-sigs/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2020-01-18  4:11 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2020-01-18  4:11 UTC (permalink / raw
  To: gentoo-commits

commit:     a5c5aa4366ccfb41880c22450b50fc131fc5cde5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 17 18:50:27 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 04:05:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c5aa43

app-antivirus/clamav-unofficial-sigs: new revision with GLEP81 accounts.

Closes: https://bugs.gentoo.org/701222
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 ...uild => clamav-unofficial-sigs-6.0.1-r3.ebuild} | 29 ++++++++++------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild
similarity index 75%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild
index 694d3dc7418..88d2fd74ec5 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit user systemd
+inherit systemd
 
 DESCRIPTION="Download and install third-party clamav signatures"
 HOMEPAGE="https://github.com/extremeshok/clamav-unofficial-sigs"
@@ -14,6 +14,12 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="cron"
 
+# Require acct-{user,group}/clamav at build time so that we can set
+# the permissions on /var/lib/${PN} in src_install rather than in
+# pkg_postinst; calling "chown" on the live filesystem scares me.
+DEPEND="acct-group/clamav
+	acct-user/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.
@@ -26,12 +32,6 @@ RDEPEND="${DEPEND}
 src_install() {
 	dosbin "${PN}.sh"
 
-	# The script's working directory (set in the conf file). By default,
-	# it runs as clamav/clamav. We set the owner/group later, in
-	# pkg_preinst, after the user/group is sure to exist (because we
-	# create them otherwise).
-	keepdir "/var/lib/${PN}"
-
 	insinto /etc/logrotate.d
 	doins "${FILESDIR}/${PN}.logrotate"
 
@@ -57,15 +57,12 @@ src_install() {
 	# the timer is disabled by default (and won't annoy people until
 	# after they've configured the script).
 	systemd_dounit "${FILESDIR}/${PN}".{service,timer}
-}
 
-pkg_preinst() {
-	# Should agree with app-antivirus/clamav. We don't actually need
-	# clamav to function, so it isn't one of our dependencies, and
-	# that's why we might need to create its user ourselves.
-	enewgroup clamav
-	enewuser clamav -1 -1 /dev/null clamav
-	fowners clamav:clamav "/var/lib/${PN}"
+	# The script's working directory, as set in the configuration
+	# file. By default, the script runs as clamav:clamav because
+	# it needs write access to the clamav databases.
+	diropts -o clamav -g clamav
+	keepdir "/var/lib/${PN}"
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/
@ 2020-02-02 20:10 Michael Orlitzky
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2020-02-02 20:10 UTC (permalink / raw
  To: gentoo-commits

commit:     f514f40099f79fb9fa68265cf7af20b71c760700
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 20:04:38 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 20:08:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f514f400

app-antivirus/clamav-unofficial-sigs: new revision to fix cosmetic issue.

Our logrotate file was being installed with doins, leaving it with a
".logrotate" suffix on the live filesystem. This was harmless, but
looks a bit weird. Now it's installed as "/etc/logrotate.d/${PN}".

Closes: https://bugs.gentoo.org/707952
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 ...cial-sigs-6.0.1-r3.ebuild => clamav-unofficial-sigs-6.0.1-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild
similarity index 98%
rename from app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild
rename to app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild
index 88d2fd74ec5..5125872c022 100644
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r3.ebuild
+++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r4.ebuild
@@ -33,7 +33,7 @@ src_install() {
 	dosbin "${PN}.sh"
 
 	insinto /etc/logrotate.d
-	doins "${FILESDIR}/${PN}.logrotate"
+	newins "${FILESDIR}/${PN}.logrotate" "${PN}"
 
 	insinto "/etc/${PN}"
 	doins config/{master,user}.conf


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-02-02 20:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 19:52 [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav-unofficial-sigs/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2020-02-02 20:10 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
2016-08-22 21:10 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox