From 43793fab84041cfc5c60c0151d1591b8a69fb24a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Aug 2018 07:36:27 +0100 Subject: gentoo resync : 25.08.2018 --- app-antivirus/clamav-unofficial-sigs/Manifest | 4 +- .../clamav-unofficial-sigs-5.6.1.ebuild | 60 -------------------- .../clamav-unofficial-sigs-5.6.2.ebuild | 65 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 62 deletions(-) delete mode 100644 app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild create mode 100644 app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild (limited to 'app-antivirus/clamav-unofficial-sigs') diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest index 32c586acb8f4..92b08e73f423 100644 --- a/app-antivirus/clamav-unofficial-sigs/Manifest +++ b/app-antivirus/clamav-unofficial-sigs/Manifest @@ -1,7 +1,7 @@ AUX clamav-unofficial-sigs.8 4568 BLAKE2B 3bb0a56c11d733d0727c38588fb1b9b38b679e32cf9ac0b2c277f623e3a3508df2aa0ac65497fa0026d43a629ec69a0cad386ca57b9cb8178b30b3061fc2abf1 SHA512 8e688281c6918ea8c13f5d76c63fee65b6e3378ca1d2e92033a741b7f02d12607d838484075e0d3ae8d99680a5b235acee062fc80c63f7e5577cfee575b56573 AUX clamav-unofficial-sigs.logrotate 109 BLAKE2B 662b268f5332f088670fb762dd5162c0fccba68ca3fad5d089f2330057f1d52c35785924e56a8174c3d9c2d7d6c9232f3d41adb83c2cd88c55d096b764781ed8 SHA512 3d79caf1bbc29218aacda9c6c411b6b9e827644c3a89a3a1b9e0d89baeb7927cdbda3322c9b5a5186e53f0efa598e165d10cfa698936a687bd6279f6e3866830 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 EBUILD clamav-unofficial-sigs-3.7.2.ebuild 2808 BLAKE2B 859a3ee7a7d3486b7923460ad06b858b9af4fd5d86ef9b143c72b7326748ef5cad341acc322919e31a65833f4152240ae1aac285fa300d66a8ce4ce911dfe91a SHA512 2174641a412029828d0746c89c5b98074a74da636cd1de3e8f9a589708917b684a1a73625a2e9ebb064297a62cbb8572c62f2ca55eb568b4e5c0b9ff7d995a34 -EBUILD clamav-unofficial-sigs-5.6.1.ebuild 1607 BLAKE2B 73a2518a78c72860aeb2c219407cbcbadaab056312684559334effa4def4247713ecc8ef14845b13ab94cfb9075abc1d72a6e098fe75d7f61412946a790aa7a1 SHA512 6a601824bc1aba3e6f9af85a6a381075cdecbdaee6ebe3feda4dc6c11b83e97e5b67409b190b114e8cbca1daf8e16ce121956beb4200ef44791dbe023f9960fb +EBUILD clamav-unofficial-sigs-5.6.2.ebuild 1792 BLAKE2B e49e9a095d6780289b29e448e766e051560a658b0c68784bb582eb454f4cd4b2f89997beaae4c7e77c2a4294f37888de92c4460a87b58d689fb4872f4c5a2380 SHA512 a9d6c3a55b8de70636b7f99dc4764235d6b997e5e5dabe099e0d1ff786b7a36c2295c64da6ea41790af4c0d774f88bccdf08437b16a4aee3e547624c4f70745d MISC metadata.xml 383 BLAKE2B 3640860216d88ba2817e3c23aea1bd8a6269319ee2f3efeeb384503e60f08d672d1fdbfb5add18b36027b54fd73e75b6a71c00cb97d88049c1c5935be93df2ef SHA512 05f6d2f4047ee61b977dc999baae20c7b607bd22182c23a1a9435c1e9a3e5c5a13189cc9976a01d4dc4f82024d907804e8263c4cbbfa1f8c994ea30a1e74addc 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.1.ebuild deleted file mode 100644 index eb77bf7756be..000000000000 --- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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/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. - diropts -m 0755 -o clamav -g clamav - dodir "/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_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 '' -} 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 new file mode 100644 index 000000000000..f87f76fff1a6 --- /dev/null +++ b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-5.6.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 '' +} -- cgit v1.2.3