diff options
author | 2015-02-05 15:17:14 +0000 | |
---|---|---|
committer | 2015-02-05 15:17:14 +0000 | |
commit | bc6efbbe37e9452d7a215b5559701502875590a8 (patch) | |
tree | 9e3c889cf6542d114ff3b76b33eb6a867ca303a1 /app-antivirus | |
parent | Fix USE=eigen description. (diff) | |
download | historical-bc6efbbe37e9452d7a215b5559701502875590a8.tar.gz historical-bc6efbbe37e9452d7a215b5559701502875590a8.tar.bz2 historical-bc6efbbe37e9452d7a215b5559701502875590a8.zip |
old versions removed
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x3E59FAEF53F400D2
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 27 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.98.1-r1.ebuild | 134 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.98.1.ebuild | 134 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.98.3.ebuild | 137 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.98.4.ebuild | 137 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.98.ebuild | 134 |
7 files changed, 15 insertions, 695 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 25663ce1878a..4ed675c0dc31 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-antivirus/clamav # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.500 2015/01/28 15:51:57 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.501 2015/02/05 15:17:10 lordvan Exp $ + + 05 Feb 2015; Thomas Raschbacher <lordvan@gentoo.org> -clamav-0.98.ebuild, + -clamav-0.98.1.ebuild, -clamav-0.98.1-r1.ebuild, -clamav-0.98.3.ebuild, + -clamav-0.98.4.ebuild: + removed old vulnerable versions (bug #529728) *clamav-0.98.6 (28 Jan 2015) diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 6ac84dd0938d..6ef8c16682a1 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -14,31 +14,22 @@ AUX clamd.service 136 SHA256 d50b2d7b291e1d03f142e0b113a90c600cf5a0f73f1a4847d8c AUX clamd_at.service 190 SHA256 7fb3eb55fbb0bff9884aa943ffc6439e328bc0e4a607c1615c924be9c3711c30 SHA512 b5121bfe761d21152356c8b1e0f0974a9c0bb9002b3d5b1af1c7940d94314250a4890388876b150b0f071c24b7261b93bbc9a6b94b896294c549fe6b572ee70a WHIRLPOOL d58f1d19de54183224ecccc78f9968473c8b891c6ce1f5a9045c1a1db962c152a4b22f58dc55ae54a3b21df20a422e173143e6b893a8913e7f038904e991cce6 AUX freshclamd.service 191 SHA256 dd5ff6c79ee360da5f2221c4d9110a2a8886d86293f6c93c16bf74fdb126593c SHA512 aaf78e763d2aa9c17fc95edb1550547b6681a91fd239a86535e5193d36ff0e152c51c3a3957542f80d5b170805f296159958ac347886981ddd324bec4237da92 WHIRLPOOL f3d5273151e6cc0b2a245db07ea526b9a7d051efcfa902924ca63529618318524c359fb638b10caed38313f93fc283175ae9d2ec9314556593d818518931512c AUX tmpfiles.d/clamav.conf 33 SHA256 893bda174539a1a2ffc7f713f563d172593d9707da5c49e6c151832c57da6846 SHA512 eabe5a94c2679b82ea3e29272eb448b47e60b271381d3e97f3970b1a9e086d61662aff2d29887950a911025294aa7cea8bfd9003d257963566b251bcaeb5f6b2 WHIRLPOOL 74d92a4a54f6d38bd752ff46ed494abc823781f41e7663468cd94125076538a4a315808fd0efd2e988d94dcfb05251aef194225cb4bbc1cf05c23fcb491d7e98 -DIST clamav-0.98.1.tar.gz 15431484 SHA256 35f5e84d734cdd4532c1cc6c92560c5b31d1c24f2e1e203bef0ca1351eb223dc SHA512 5daac24d346a03acc7e4d8f9e5962a009a908326663008557cbc2af4426e6059cbebbb8fac6d718edf9a567075b823c457f3f9a3aea3c558f5ee272274030b42 WHIRLPOOL 0af4baeefb5e384db0679bdbad2902ced213adb4993c61755fb4065845106779b3467e61dd6fc38b4d7fcecf492069e2a02178a259c618fd6e2f309faf9d1eb1 -DIST clamav-0.98.3.tar.gz 15543335 SHA256 2792a9e8706a516d2e81339846fc38f94fa8dd3f604b2fde9d0b07593727f62b SHA512 5b3fadfeb3446ecdb47281d196a46709365f573abf3b459b875eacea55d788d03875817a2f2d48a064647187a6c6d6df1e67a9fe39bda8c1f53e81b897d3c7b9 WHIRLPOOL 095c433bc6a91ab5efdafa72b66e37c713570ca0495f97f04c393676ebd8aad146cdc5d305e7321fff505ebe5e97a9ffb0a67f5b56d276a74b8f109095e6b0a3 -DIST clamav-0.98.4.tar.gz 15537593 SHA256 d3006747abcf750f395a8bfa8267ab314c7b63196c4b41e7717948aaaafa3e1c SHA512 f928db33c7e4258ddd2ede86b7b998547dc6beee0f886a9f567aa89734bc62526a4f5fb60646cddb1c13d35837b8c04f98a74d57c8d348ca90a4fe8a4af261d8 WHIRLPOOL f15adc30018418a7468b8c6548d4d2add61936ec19317af653e5f5debb6491518236a74b2aa0e119c119b1e74e6f8cfdff5a6c21a4b0e6c7608fe1e42206cf0e DIST clamav-0.98.5.tar.gz 15146379 SHA256 9c2f37d5fa9033936468237f6f4b29289f30791caa84765ef510acb56c8daa4d SHA512 4fd3af9e8e828b426ac4aaa867b356df05eb84396b62ab02715630683371f5a9b7a417d495236952a5e112b700ec0304c3760351855d10edc9fa8c032a64c52c WHIRLPOOL d7d32199c9fed92a6a7dd827f7ddac9b6a9689f29d315a7f525d8cf9e96bcf37087b743cc0b181d7e76f6f47897ac93f587de9f9ed336bd7a7552a320608332a DIST clamav-0.98.6.tar.gz 15148292 SHA256 6591245d55445a2ddcc1700964c33b8bf62fe20c75bd9c7746f4fe0735502951 SHA512 420064e784c352c1398c531f7530dbe37ed1092de8015984b354a96f0e5fe0968b285cae6108659fcebfa91ffbe0742335b70cb8d7f49db7690d049ca2d52758 WHIRLPOOL 40ed590fb649aa40849526af95bf0f2bfb86b51a4cff0db5f79bafcd8954bd2aba37845ca6c57f290b044976567a5b4e54ce57082c11020342f2f3d1c094e192 -DIST clamav-0.98.tar.gz 37075245 SHA256 113450537f46ed47f010a179be333a0dcd79eac13f264dce26db7aac8d52b3b6 SHA512 532f9fa2616065879b3ecace2672fad26cf3863943e0ecb8835fbed7e5907600ef50b8df820a08a6586bf77c9bf7c6e50af671f31b7c3ee372c31745a173099f WHIRLPOOL a4ee9efd09193aee7fd740dbb60acabdd4a1f6d5171a4e0fa220441457e3431bf99b27c7300ca0e3e124bb5406f65acf106fa51bfc34d87335ca83ccbc942979 -EBUILD clamav-0.98.1-r1.ebuild 4481 SHA256 5b62b63b419276744242e59426254c392e8a565d7355954e395e9b11fe1832b5 SHA512 3768525cf0f27a6a620f397b816b6bc4987ca3154f6124d059081c337e374de8641f73ca7bf22ad647659f780a167f339f41075756c11e85d0f5d431993bf4ef WHIRLPOOL 2ec9a469e42127a9b09ca12af1da3be4497f40d38c2092e1e13918e43ef098acb0a9cc2b2097fea1fee205afb8dd92c87854d1bb03fd29fec18a96cf4cbd642b -EBUILD clamav-0.98.1.ebuild 4442 SHA256 d76ef5222e83b0cb6b4eb5bb09378df70073a044a34923b57875ed781d7fe604 SHA512 a5f20b6046d704946a562cbcdefa88a3c22806412e623872007d036148c1776d613ad63f9ce0dd755f135002002aa5190eca2be06aa1304fc771cfd19d0d810b WHIRLPOOL 0551a085d169c31b1aa7e72e3f577309f55876382d07f8db9f62ae0da9b02dc883238c43fa1be5dd8ce2172e2b5fbe9df44b5f2a056c5f275636a57fa995e469 -EBUILD clamav-0.98.3.ebuild 4640 SHA256 a886d799eba1933ece35982ae129f9d83bc3ec9487e9a0ff0968d3644f83f01a SHA512 362260ee7eafb2d6578dede70c921d4b291e76625a46a47b5bb116857506a626cd47d0b0250efccd89abdac2a54521632043ad40f2bb3fc897aeffc5011d37ff WHIRLPOOL f1030d10b71146bbcbb7befd4d881288fa90b674a3fec008420c69bb206ece69dd0c89362bccf1378942cbcaa6677b3971ee27a9ae0b7219405fc0ecd9a9982c -EBUILD clamav-0.98.4.ebuild 4628 SHA256 3e554e5112733d162f72f89f1738fb52c26a9236afea921981d8054db9e4fdd9 SHA512 a467b599d4277877e0096ba179c25fc086280467d4c8e490d6a85a7a9ba25cf2acb39ddd8a474ab5570b53145c25c1087ee663387bcc10683d2f11aca6b3ace4 WHIRLPOOL 72a145ff6594958640e59625cba4fcddae9e806be11bf780a7335d1290820a4c7df69ca20349fe86ef85e3465de15583282836aac9948d71a6664b472d2f6f2a EBUILD clamav-0.98.5.ebuild 4745 SHA256 3cec5946972659e0f1d2f4154809611c8feccc37d65365f53bd5e9cb07c096a5 SHA512 947a9b4f448f088bfc7edda2fe1bff9bcf69cdb88b0155abb1a69b3c3bdd4c11aef71f9b558f4e6c18837106c8af0cfcccd2497214fe3141a82c63bae3c7cdfd WHIRLPOOL a427c0cea2384003a40157058c75249d74d704ea2f08ae8b422c1dff11fb1a7ffadbf242600b56dd0f0c58e8951f6b88aa71c02bd59ffbb9f1b9ce58c1dec5f1 EBUILD clamav-0.98.6.ebuild 4757 SHA256 4c2b47679deec5f70563244377776abf4b6553d0a3338ac81100d8b404c13810 SHA512 fa3245cac55f7df6bbdd3a92f0025bbc846a2775d5d6f674eb0ae1ad5edfd542c3aa93aa93c833aba9286980ce23f6d9bffe9c31f44c67c6192b6c89b97e30f6 WHIRLPOOL 697075e74553ff0297e52fb318857ea4cfb96847b0ba3c52818885988cd0ce7ae1dd1e434159391afffc4114d681979ade3f058748fe5a0c742179d5891d7186 -EBUILD clamav-0.98.ebuild 4445 SHA256 36f1955fd140dd06cd88cccc79029b5bb5a121fa85002a6f13500f43bf7c784a SHA512 90f28877771019c3a26840184b269a20a5f22519c2e77be2b49d7647e4402634fed7e273ea38f846300171c59f60c5b6b0b5daf1d4c6bf90f8d8ee20b1714a0e WHIRLPOOL 22fcd5cad02c1ff599ea686662a78deca82bd88712418b3e6897e7206f7c12c8595ddd767afe4bc141607d0601f35f1c2d3cd9b71f00ea351107b8afd16f96bb -MISC ChangeLog 72249 SHA256 6624cf6a6a2e7bb7cd87ca7c5b565383784ba56c5421a4b3e047a9186d68428e SHA512 7a00b391436f928510ead65d9d60fb37767058f4291dd0f8e4580572ab979f626a023cd8467f538fab700b0e6f0a74886af441f5fd26944b851dda07eb4e3037 WHIRLPOOL 4cea257d084e579135d18ed419db433190e8403cc5dc87e56c97e8017f38192f4acafb8d3a6cdbb6052f8f408b65232efa0cfe17121e37bcef21270fdb29f822 +MISC ChangeLog 72473 SHA256 595d6b04d99a326fdb835dc958828942490c0bf094df438a4da3b779df4d5683 SHA512 05580eae590567705c4fea03fda19c1fcccd7a28b8f1b70ac8cd3f9b7d92d4b13ef71e74c2cdbb19d08c4c98362a228d6eff3bbeef468be1844750111e782f74 WHIRLPOOL 58d8de0f2766e7a1a79ca385164f0f5c6a73941b503fab6840071b4b3a2c1bf87ad8083dfed9448639b1b92ffc7fbbadf5e693b4917873059a6d88150c3a69df MISC metadata.xml 470 SHA256 8af400c1b8f6338bb61bbd3040c947cc0d2592e764109267e529682fe865db1f SHA512 4c29af4978a5a0fd84a81c0402189c569a8aff3e111a5d03be1b5296125292b2f0f0c9cf377593b6e80b6ac21ebe05cff7840c6116e6612571e5d40296cb0342 WHIRLPOOL 5d42dbf37cec46035a3a27a5b696e22f8794bb200d0958e0501bc80db5d2844bdff658b3a0ef543278f64506658acb9805a67e1ccff068c0d310e04795b1dd9f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQF8BAEBCABmBQJUyRO5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQF8BAEBCABmBQJU05eKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxQkJBODJCMjJCN0YzOTExNEFFQjU4RkUz -RTU5RkFFRjUzRjQwMEQyAAoJED5Z+u9T9ADSAwIH/RcskGPVgBn8gTbVrZYDKSh+ -o/ifYN6/DjFPZ4spskAtoj0mzwDZMI0NIRlFfX6LdW8zrXHlRgAi5JMg0tEmFz3y -jdv1GzlcrDlPVDb6DzUfbm4Sgzka9EbGyws8MVp33mbUj32bp2cGDshd2rF3Drel -kCzPVvLZXhxDBTewVl9E5n1WWAsFrwEgp30pXTKedKDto6cKeQuU25FVwmhpClQ7 -IWfnQfWDP1YHkH+wBWNlLPtG9j6Gj+VY2DUrskxOzIq2biwweOl5/Now93Wptp21 -D86Lb2DGl5A+IUfOm/E7ipHPunP2X70UnBYfmd/a/h+dt+2oSOBzl1RxcYBcQi4= -=uqWZ +RTU5RkFFRjUzRjQwMEQyAAoJED5Z+u9T9ADSuZQIAMC3sCeP+4YzT7GY4qK+zbWr +hZDh7E2sIxrNt4a8bEH70r4PyNoZiQc1yYbHoR2Kv5X4qg6zm9/l7qofdzD/mJYo +u/yBXOwN3OPMnTJrQz99Oh/148Hg3hWtEvSwQkkO0MYrw45NdOiDs+qOrRWbQRJh +kOcTjaFI69i9el/XXMRkRoVmjr9niDQ5M75m5AG+ZoWJ7IhlLyd9oAyWkgSk6xXI +obph5am8hRhEijl3PimYxf3TBdgyR6sGIwurf9Esh2RUrhS1nIlLFcxf1RfdIFh6 +4zr7ivyw7KrERMVEH8kxE2R338A4C23ZH1k5IMm2v6BkHQMiZkYXHq4/da+eJ1M= +=BkJw -----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.98.1-r1.ebuild b/app-antivirus/clamav/clamav-0.98.1-r1.ebuild deleted file mode 100644 index 63b7a6a55274..000000000000 --- a/app-antivirus/clamav/clamav-0.98.1-r1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.1-r1.ebuild,v 1.1 2014/04/13 11:28:54 pacho Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc" - -CDEPEND="bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses ) - iconv? ( virtual/libiconv ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - dev-libs/libtommath - >=sys-libs/zlib-1.2.2 - sys-devel/libtool" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) - -pkg_setup() { - enewgroup clamav - enewuser clamav -1 -1 /dev/null clamav -} - -src_prepare() { - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes -} - -src_configure() { - econf \ - --disable-experimental \ - --disable-fanotify \ - --enable-id-check \ - --with-dbdir="${EPREFIX}"/var/lib/clamav \ - --with-system-tommath \ - --with-zlib="${EPREFIX}"/usr \ - $(use_enable bzip2) \ - $(use_enable clamdtop) \ - $(use_enable ipv6) \ - $(use_enable milter) \ - $(use_enable static-libs static) \ - $(use_with iconv) -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - keepdir /var/lib/clamav - fowners clamav:clamav /var/lib/clamav - keepdir /var/log/clamav - fowners clamav:clamav /var/log/clamav - - dodir /etc/logrotate.d - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/clamd.conf.sample || die - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service - fi - - for i in clamd freshclam clamav-milter - do - [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} - done - - prune_libtool_files --all -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then - ewarn "You must run freshclam manually to populate the virus database files" - ewarn "before starting clamav for the first time.\n" - fi -} diff --git a/app-antivirus/clamav/clamav-0.98.1.ebuild b/app-antivirus/clamav/clamav-0.98.1.ebuild deleted file mode 100644 index 24cdb7bd19ea..000000000000 --- a/app-antivirus/clamav/clamav-0.98.1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.1.ebuild,v 1.9 2014/08/02 18:20:27 ago Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc" - -CDEPEND="bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses ) - iconv? ( virtual/libiconv ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - dev-libs/libtommath - >=sys-libs/zlib-1.2.2 - sys-devel/libtool" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) - -pkg_setup() { - enewgroup clamav - enewuser clamav -1 -1 /dev/null clamav -} - -src_prepare() { - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes -} - -src_configure() { - econf \ - --disable-experimental \ - --disable-fanotify \ - --enable-id-check \ - --with-dbdir="${EPREFIX}"/var/lib/clamav \ - --with-system-tommath \ - --with-zlib="${EPREFIX}"/usr \ - $(use_enable bzip2) \ - $(use_enable clamdtop) \ - $(use_enable ipv6) \ - $(use_enable milter) \ - $(use_enable static-libs static) \ - $(use_with iconv) -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - keepdir /var/lib/clamav - fowners clamav:clamav /var/lib/clamav - keepdir /var/log/clamav - fowners clamav:clamav /var/log/clamav - - dodir /etc/logrotate.d - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/clamd.conf.sample || die - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_dounit "${FILESDIR}/clamav-milter.service" - fi - - for i in clamd freshclam clamav-milter - do - [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} - done - - prune_libtool_files --all -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then - ewarn "You must run freshclam manually to populate the virus database files" - ewarn "before starting clamav for the first time.\n" - fi -} diff --git a/app-antivirus/clamav/clamav-0.98.3.ebuild b/app-antivirus/clamav/clamav-0.98.3.ebuild deleted file mode 100644 index 1b4ccc30f7c4..000000000000 --- a/app-antivirus/clamav/clamav-0.98.3.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.3.ebuild,v 1.1 2014/05/08 11:25:13 lordvan Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc" - -CDEPEND="bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses ) - iconv? ( virtual/libiconv ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - dev-libs/libtommath - >=sys-libs/zlib-1.2.2 - dev-libs/openssl - sys-devel/libtool" -# openssl is now *required* see this link as to why -# http://www.clamav.net/lang/en/2014/02/22/introducing-openssl-as-a-dependency-to-clamav/ -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) - -pkg_setup() { - enewgroup clamav - enewuser clamav -1 -1 /dev/null clamav -} - -src_prepare() { - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes -} - -src_configure() { - econf \ - --disable-experimental \ - --disable-fanotify \ - --enable-id-check \ - --with-dbdir="${EPREFIX}"/var/lib/clamav \ - --with-system-tommath \ - --with-zlib="${EPREFIX}"/usr \ - $(use_enable bzip2) \ - $(use_enable clamdtop) \ - $(use_enable ipv6) \ - $(use_enable milter) \ - $(use_enable static-libs static) \ - $(use_with iconv) -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - keepdir /var/lib/clamav - fowners clamav:clamav /var/lib/clamav - keepdir /var/log/clamav - fowners clamav:clamav /var/log/clamav - - dodir /etc/logrotate.d - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/clamd.conf.sample || die - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service - fi - - for i in clamd freshclam clamav-milter - do - [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} - done - - prune_libtool_files --all -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then - ewarn "You must run freshclam manually to populate the virus database files" - ewarn "before starting clamav for the first time.\n" - fi -} diff --git a/app-antivirus/clamav/clamav-0.98.4.ebuild b/app-antivirus/clamav/clamav-0.98.4.ebuild deleted file mode 100644 index 4d60bef1f4cb..000000000000 --- a/app-antivirus/clamav/clamav-0.98.4.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.4.ebuild,v 1.9 2014/11/02 09:01:47 ago Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc" - -CDEPEND="bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses ) - iconv? ( virtual/libiconv ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - dev-libs/libtommath - >=sys-libs/zlib-1.2.2 - dev-libs/openssl - sys-devel/libtool" -# openssl is now *required* see this link as to why -# http://www.clamav.net/lang/en/2014/02/22/introducing-openssl-as-a-dependency-to-clamav/ -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) - -pkg_setup() { - enewgroup clamav - enewuser clamav -1 -1 /dev/null clamav -} - -src_prepare() { - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes -} - -src_configure() { - econf \ - --disable-experimental \ - --disable-fanotify \ - --enable-id-check \ - --with-dbdir="${EPREFIX}"/var/lib/clamav \ - --with-system-tommath \ - --with-zlib="${EPREFIX}"/usr \ - $(use_enable bzip2) \ - $(use_enable clamdtop) \ - $(use_enable ipv6) \ - $(use_enable milter) \ - $(use_enable static-libs static) \ - $(use_with iconv) -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - keepdir /var/lib/clamav - fowners clamav:clamav /var/lib/clamav - keepdir /var/log/clamav - fowners clamav:clamav /var/log/clamav - - dodir /etc/logrotate.d - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/clamd.conf.sample || die - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service - fi - - for i in clamd freshclam clamav-milter - do - [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} - done - - prune_libtool_files --all -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then - ewarn "You must run freshclam manually to populate the virus database files" - ewarn "before starting clamav for the first time.\n" - fi -} diff --git a/app-antivirus/clamav/clamav-0.98.ebuild b/app-antivirus/clamav/clamav-0.98.ebuild deleted file mode 100644 index 5e85fe3b27d3..000000000000 --- a/app-antivirus/clamav/clamav-0.98.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.98.ebuild,v 1.7 2013/11/29 09:07:21 pinkbyte Exp $ - -EAPI=5 - -inherit eutils flag-o-matic user systemd - -DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc" - -CDEPEND="bzip2? ( app-arch/bzip2 ) - clamdtop? ( sys-libs/ncurses ) - iconv? ( virtual/libiconv ) - milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) - dev-libs/libtommath - >=sys-libs/zlib-1.2.2 - sys-devel/libtool" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-clamav )" - -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) - -pkg_setup() { - enewgroup clamav - enewuser clamav -1 -1 /dev/null clamav -} - -src_prepare() { - use ppc64 && append-flags -mminimal-toc - use uclibc && export ac_cv_type_error_t=yes -} - -src_configure() { - econf \ - --disable-experimental \ - --disable-fanotify \ - --enable-id-check \ - --with-dbdir="${EPREFIX}"/var/lib/clamav \ - --with-system-tommath \ - --with-zlib="${EPREFIX}"/usr \ - $(use_enable bzip2) \ - $(use_enable clamdtop) \ - $(use_enable ipv6) \ - $(use_enable milter) \ - $(use_enable static-libs static) \ - $(use_with iconv) -} - -src_install() { - default - - rm -rf "${ED}"/var/lib/clamav - newinitd "${FILESDIR}"/clamd.initd-r6 clamd - newconfd "${FILESDIR}"/clamd.conf-r1 clamd - - systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf" - systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service" - systemd_dounit "${FILESDIR}/clamd.service" - systemd_dounit "${FILESDIR}/freshclamd.service" - - keepdir /var/lib/clamav - fowners clamav:clamav /var/lib/clamav - keepdir /var/log/clamav - fowners clamav:clamav /var/log/clamav - - dodir /etc/logrotate.d - insinto /etc/logrotate.d - newins "${FILESDIR}"/clamav.logrotate clamav - - # Modify /etc/{clamd,freshclam}.conf to be usable out of the box - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \ - -e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \ - -e "s:^\#\(LogTime\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/clamd.conf.sample || die - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \ - -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ - -e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \ - -e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \ - -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - "${ED}"/etc/freshclam.conf.sample || die - - if use milter ; then - # MilterSocket one to include ' /' because there is a 2nd line for - # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo - sed -i -e "s:^\(Example\):\# \1:" \ - -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ - -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ - -e "s:.*\(User\) .*:\1 clamav:" \ - -e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \ - -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ - -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \ - "${ED}"/etc/clamav-milter.conf.sample || die - cat >> "${ED}"/etc/conf.d/clamd <<-EOF - MILTER_NICELEVEL=19 - START_MILTER=no - EOF - - systemd_dounit "${FILESDIR}/clamav-milter.service" - fi - - for i in clamd freshclam clamav-milter - do - [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,} - done - - prune_libtool_files --all -} - -pkg_postinst() { - if use milter ; then - elog "For simple instructions how to setup the clamav-milter read the" - elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}" - fi - if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then - ewarn "You must run freshclam manually to populate the virus database files" - ewarn "before starting clamav for the first time.\n" - fi -} |