diff options
author | Stuart Shelton <stuart@shelton.me> | 2018-04-27 21:34:31 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2018-04-29 21:01:29 +0100 |
commit | c328d9aafd444a5fbcfd1d630248bbe595d5ba3e (patch) | |
tree | 3db583a73bfb29518071e5ad7484da6a3799ee8e /app-antivirus/clamav | |
parent | Update app-admin/syslog-ng-3.13.2 (diff) | |
download | srcshelton-c328d9aafd444a5fbcfd1d630248bbe595d5ba3e.tar.gz srcshelton-c328d9aafd444a5fbcfd1d630248bbe595d5ba3e.tar.bz2 srcshelton-c328d9aafd444a5fbcfd1d630248bbe595d5ba3e.zip |
Update app-antivirus/clamav-0.99.4-r1
Diffstat (limited to 'app-antivirus/clamav')
-rw-r--r-- | app-antivirus/clamav/Manifest | 6 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.99.4-r1.ebuild | 6 | ||||
-rw-r--r-- | app-antivirus/clamav/files/clamav-milter.README.gentoo | 49 | ||||
-rwxr-xr-x | app-antivirus/clamav/files/clamd.initd-r6 | 2 |
4 files changed, 52 insertions, 11 deletions
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 985a4383..bdfa6e0e 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -7,13 +7,13 @@ AUX clamav-0.99.2-tinfo.patch 656 BLAKE2B be926db8e63458f0ef9d6d5b6f26058c210088 AUX clamav-0.99.3-fix-fd-leaks-in-cli_scanscript.patch 3554 BLAKE2B 36ce8580da5abc310caa29ae87478b811f2db9403cb79b01efb9394b3d19ced2be3dbf66a1ad2ea06c660156a03879ba3dbca4329569e349d7a70c12f034d237 SHA512 e0dfecff8adb1e30f4c7a20271fd8731ebbb20449a532d70977f7491d8539fc8ed74f851f6903f6265a2e660f9471341e68cc0651e5f94356179ff1f328ada0c AUX clamav-0.99.4-fix-newer-zlib.patch 1721 BLAKE2B 5595696cb0fe1efbcf85d64fa2b9f9bd760ab38467a3d3c2996272d2e533b633d9a4d176096786a4ce666638902698be239d25762a61dec956100f6e33b3f9de SHA512 0b87152c6ecbdafabdb6fdef0e53c12c7651c8c47baa3c46497e19a7a220f4e1f9c1a79c99fb15399848d264ede38b3cddd3a369797a761069b370f367aa723d AUX clamav-0.99.4-pcre2-compile-erroffset.patch 510 BLAKE2B 888f5c0cf1205b5ca22ff5f445f194c9e62dd511fcf8a784be6592f700e0db6f7a36b00c88b73c5484cad2075822eb5c1e0c0f62c8ee12d6bac2d1b845a9aca5 SHA512 f03962fc47b10d729437f22374c17b773ee0f519cf537b1d7885ec6dbc1efd36d00372314faaabdf5400b85e781ab5b14e69b929c844b34520801e064d383dc2 -AUX clamav-milter.README.gentoo 1124 BLAKE2B 41713f9ddd22b39748e812a03d5746d48b44f0506bd6e46886fd64233aedad0a7c4b2f8f7a3b0b1d14f831521c423ed5909eb9d9bc419540684fba065c3b9927 SHA512 1c6160e48eddd28f83ec5f24757f788781cef55789d1934dfccc12c7c5e5635a226d26b0983cab7344c142f5a2f1db172640b1d0e6c840a6fa83abed9be1211a +AUX clamav-milter.README.gentoo 2284 BLAKE2B 7afc18f3dad57c2d7595257b356943efb3d1af28d55ac8f09f0506430fd0dedf0820906ced666a7237e3af44a9bc1b43fff017c03faad844f96b132ca4c5dde6 SHA512 38eadf2d919a0c48345600ea5a39c90e766b62e8b1ffc7bb01969a8fd93c4545f2030058a470ac7efb75a1d6c74f9930438f58aeff5035e19e38241ed381f7b3 AUX clamav-milter.service 284 BLAKE2B 7fbdce10ffa1d85aa671616f17ad45683177916269b434283582ecb53000f7a9a8978119e6a8170ddad8f7c0f14f09398fd7b893aad5d718083b002f6371ff21 SHA512 442148ac3c42ecbb893de5c6edde337b72a745d20f6c5ffa33131f9a0b2daadcffac39b686ada986a5ab500ea7b9153c448abc1b819e15fef488da1812bb0cee AUX clamav-milter.service-r1 307 BLAKE2B addc4b79bda1fa45463e4b5293d70db370574f47681374366e28907ad51a3cb5c672bfd09a16163c499e0aaf9a953ee1b594c65f06472e1e79791c773615f41c SHA512 19e49cfef98d8f3c213bb291cd9c622c1bd1b7c255feef8ccdffddea38893631f2446a4f4f3718cbb87a07bac339805fc78ddacce0b2a55a180f2d23e5b8ad48 AUX clamav.logrotate 391 BLAKE2B 9beb9e2918d7fbd30a9aeb479130086b620ab7a2e9e480cd4c4bd039929f3ac5bfd98f933731c974fc2797236a34847d8af7073436cf3d42bb2cdfb7959da0b0 SHA512 ef54facfa0ad830ea6eef499b92a1ffb37e719940385621dacd17062e556aa0d1f24104b3130a9a263f23621ab53f39283c10870a355ed6d505cc0e511b57224 AUX clamd.conf 234 BLAKE2B 90d64dcdce96767ff34da1537d25bf2b508e038bde66a7e991f49b0fde7b5ceb2028d7e7a1a7b4f2fbdc4efcfb2cdfe3e68552570d15d87eb7d9c30c7e013998 SHA512 ec069cf7aaf10b42a701938b57e1fde1ee15afd1d4af928edfa7e5d505ba8b3edaaceac449da0f4ac6beea09a3fb73453526ba0cd3a04e13259c1a2720f42f78 AUX clamd.conf-r1 129 BLAKE2B 3a6b0adc07df276054cda4d9b879b30e81fed06cee7562bc350d43e866f825c85788d3a7f45745111bf6a294e8cc20cc221433ad7bb291fbbc26b4e9107e580e SHA512 b85fd99c80242fb66380dfdef34387a2eff9326a1cb726940ab4bc450308e4942e57d1eb1cad979348f8aac685b53e2fa722cef0dab1f2ea2c958f2a5f818918 -AUX clamd.initd-r6 3257 BLAKE2B 4113e3da642215e8460b344749799c00f089cdef002fff975a80b71adeeb6c222603759cf16ad18fab947475b31a14b3347bf946688a8872c74621744b0406c3 SHA512 6dcfcfac9e9dd8725380667950ab4b03bbfd034e5e7de8b77d713d21e291716d6760ed82a6ddafbfbced2ee447fe8b1220d450d487692b9c501fc53cb3101380 +AUX clamd.initd-r6 3257 BLAKE2B 05b1865558adb411f8fed9b743df6058aa81e1bd4d1c110bef41c930748e88525bf1d81e5d67019d611489494de842b042af864d5b7284029f02bc0930de281d SHA512 b8ef7005a677517d95df25bbae246e2f3b16a38bb2607314eddb33762b4935f9c771f224cd100462a90986df254be684feeaf2b3b7b4e110555db30370629b2c AUX clamd.service 202 BLAKE2B 4d02132cdb44a7155e881037b45bab28f42445808d1d3ff5821e9b179b31efd7d5f217fb968efa17e77f6e0739f0258c4c49656283177a0f5b3d572490259bcd SHA512 799d3f33ca69841882f86f6853dd0dc6d8af73db8cfa5ce6dd6c873c5e7bc07d29bfe0f85cfb77edf2b0d8c05de73988d06148b993996ce639c5d0eeac908647 AUX clamd_at.service 228 BLAKE2B 85181b02329a86495d0737308417dd873424da0bb1cd376725e7857b8b911c841df89ce63ed665a1d0ca6d30f9456c9d47c370b36a2cf8df1e2f3f520d121fe0 SHA512 69a0ca31a7288b5494d8c85ce5ff859a8f34b8a93f573eded90c270099ecac30e01d8549a07a160d74bfdc3c5401c3fd625b178080ea2c02520aab91252739e7 AUX freshclamd.service 199 BLAKE2B ad1c8110e241dde6050098f71f4e0e87a7095083e65e7fa94fcbaa9518f4087548d6f4d2c2d0831697f68d5c423f605b0900a78092d11fa8eb1f09778ccec484 SHA512 efa42393206fce7110f63aa541ff4ee969e46c5533ffdb37290952efb486ce9197b1751ab1265d071c40cba082c5acd98864cf0001423d1257defcff5c8d657d @@ -23,4 +23,4 @@ DIST clamav-0.99.3.tar.gz 16082645 BLAKE2B 3be06e563f17a07e4c7e95eb3efbb61e80858 DIST clamav-0.99.4.tar.gz 16083015 BLAKE2B 3c2e7d11ee05fe846f75c3fb6501b5fd809a2e58f8e69c82e493e32fcbc87ca0e5b5f7ab83a0d7e251a5dc8e84aed1475c87c1248b393fa04b6924a2ab32b9bf SHA512 778d5ef510d8d4bdfac5dc33d92469ed4283c414b3d42da6e1a0b13ed70e37755d5c837622dc336bc728ba1f8bf5485fc8a8d3a67a90e9aaa9e4dc71ece0691d EBUILD clamav-0.99.2-r1.ebuild 5290 BLAKE2B e7279371c485dd3fd82283d09fd09d32ac5f3e05418e76abd72c52d746a6f587768309b19931b3331507a12944d33036e8f2cd1277338a8e04a3eccee16c1ac6 SHA512 e76679323798b9a6d57f233452dd811c8f96e5ae5d736d4422dae39a7c59bf4e71e577c58b08f8dd843c2e8d3e33613a10d74fd99c25c163099c5b4f362f3675 EBUILD clamav-0.99.3-r1.ebuild 5325 BLAKE2B 7bb28da771ffaed78bec981b6b7ef4bc4265ba62260c009b13cbf459a348f9ba92223641ecb2fae98fa956cc3e9d2269d811b1bf4b3658b23d9ecc2588f5d8b9 SHA512 b84b05372b6e67ccdae4f7d1bad246e1987de642cbb0e9690fec9d196ca3e6ac4f3f205bf88cb355e34fb095d47e46a7ed7c9db351232828c19f62d8950a1559 -EBUILD clamav-0.99.4-r1.ebuild 5256 BLAKE2B 945317644917d0cff1a092c18f6879b72e0e761c08c6fd6ee663d316a505c705a0629d184e7b04b086c5b01b8fa5c68969304d9d9852c6d5fa55c1275b5d336b SHA512 32ee7df964fbd22b9a763645e6c74e280e9866871e6d3d7a95e8806d115fa8fe1de89ca0faa9508f18a151686d51e2b174f24514b8c351bd184449d0dbd416c9 +EBUILD clamav-0.99.4-r1.ebuild 5255 BLAKE2B f2b47905d7896b55d6ad7a324113cdc47a4dc2edf26c245ae6175ae4d430ea01d9c8a6bd34cf8342b85a360368a3a554f99d257a0dd3ea485946a3452d35905b SHA512 0935d605b4259c3d960c76195f515f466f3a0379e3a75394f41889abc6daade7bc7ca8c1649cc11c36914e0c4fa7c2ec0add7df201d6ddc2fa0882e4e3d9322f diff --git a/app-antivirus/clamav/clamav-0.99.4-r1.ebuild b/app-antivirus/clamav/clamav-0.99.4-r1.ebuild index d9a7dedd..670ab8bd 100644 --- a/app-antivirus/clamav/clamav-0.99.4-r1.ebuild +++ b/app-antivirus/clamav/clamav-0.99.4-r1.ebuild @@ -6,12 +6,12 @@ EAPI=6 inherit autotools eutils flag-o-matic user systemd DESCRIPTION="Clam Anti-Virus Scanner" -HOMEPAGE="http://www.clamav.net/" +HOMEPAGE="https://www.clamav.net/" SRC_URI="https://www.clamav.net/downloads/production/${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" +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 libressl milter metadata-analysis-api selinux static-libs systemd test uclibc" CDEPEND="bzip2? ( app-arch/bzip2 ) @@ -28,7 +28,7 @@ CDEPEND="bzip2? ( app-arch/bzip2 ) !!<app-antivirus/clamav-0.99" # hard block clamav < 0.99 due to linking problems Bug #567680 # openssl is now *required* see this link as to why -# http://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html +# https://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html DEPEND="${CDEPEND} virtual/pkgconfig test? ( dev-libs/check )" diff --git a/app-antivirus/clamav/files/clamav-milter.README.gentoo b/app-antivirus/clamav/files/clamav-milter.README.gentoo index 17e9ba62..f526bd35 100644 --- a/app-antivirus/clamav/files/clamav-milter.README.gentoo +++ b/app-antivirus/clamav/files/clamav-milter.README.gentoo @@ -19,7 +19,10 @@ Step 2 - Tell the init script to start clamd as well as freshclam and the START_FRESHCLAM=yes START_MILTER=yes -Step 3 - Edit sendmail.mc +Step 3 - Inform your MTA about the new milter. + + SENDMAIL + Step 3.a.1 - Edit sendmail.mc Add these lines to sendmail.mc before any any other INPUT_MAIL_FILTER lines and before MAILER(local) @@ -30,15 +33,53 @@ Step 3 - Edit sendmail.mc INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter')dnl -Step 4 - Rebuild sendmail.cf + Step 3.a.2 - Rebuild sendmail.cf cd /etc/mail m4 sendmail.mc > sendmail.cf -Step 5 - Start clamad + + + POSTFIX + Step 3.b - Edit main.cf. + + Add unix:/var/run/clamav/clamav-milter.sock to your + smtpd_milters line. If the line doesn't exist, just + stick it at the bottom of main.cf on a new line. + + If you're appending, this is a space separated list. + If virus scanning is your most intensive test, you + may wish to put it on the end of the list so earlier, + easiser tests may punt the message before you go through the + trouble of virus scanning it. + + Only one milter example: + + # milters to run on network received mail. + smtpd_milters=unix:/var/run/clamav/clamav-milter.suck + + Multiple milters example: + + # milters to run on network received mail. + smtpd_milters=unix:/var/run/dkim-filter/dkim-filter.sock unix:/var/run/clamav/clamav-milter.sock + + +Step 5 - Adjust permissions for clamav-milter socket + + Edit /etc/clamav-milter.conf and check/change MilterSocketGroup and MilterSocketMode + e.g. for postfix it would be this (sendmail,.. should be similar): + MiltersocketGroup postfix + MilterSocketMode 660 + +Step 6 - Start clamad /etc/init.d/clamd start -Step 6 - Restart sendmail +Step 7 - Restart your MTA + SENDMAIL /etc/init.d/sendmail restart + + POSTFIX + /etc/init.d/postfix restart + diff --git a/app-antivirus/clamav/files/clamd.initd-r6 b/app-antivirus/clamav/files/clamd.initd-r6 index a791d42d..42517b11 100755 --- a/app-antivirus/clamav/files/clamd.initd-r6 +++ b/app-antivirus/clamav/files/clamd.initd-r6 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 daemon_clamd="/usr/sbin/clamd" |