diff options
author | Eray Aslan <eras@gentoo.org> | 2013-03-18 07:35:34 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-03-18 07:35:34 +0000 |
commit | c4cc805de1ebf3c1f2eac0dcb090ee86449e2676 (patch) | |
tree | 11a3f1ef76cab4b1cde6241879c97a30b2060b09 /app-antivirus | |
parent | dev-python/rpy: Version BUmp; still not py3 ready as pandas is not (diff) | |
download | historical-c4cc805de1ebf3c1f2eac0dcb090ee86449e2676.tar.gz historical-c4cc805de1ebf3c1f2eac0dcb090ee86449e2676.tar.bz2 historical-c4cc805de1ebf3c1f2eac0dcb090ee86449e2676.zip |
Version bump
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/clamav/ChangeLog | 7 | ||||
-rw-r--r-- | app-antivirus/clamav/Manifest | 30 | ||||
-rw-r--r-- | app-antivirus/clamav/clamav-0.97.7.ebuild | 123 |
3 files changed, 145 insertions, 15 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index cea839019f2e..e729cadd712e 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-antivirus/clamav # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.442 2013/03/01 08:18:17 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.443 2013/03/18 07:35:32 eras Exp $ + +*clamav-0.97.7 (18 Mar 2013) + + 18 Mar 2013; Eray Aslan <eras@gentoo.org> +clamav-0.97.7.ebuild: + Version bump *clamav-0.97.6-r3 (01 Mar 2013) diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index d14d48538f5c..22c3223993d1 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -11,27 +11,29 @@ AUX clamd.initd-r2 3021 SHA256 d7f67aa61f8a93b5f94828b3f3f0c345ed9881a0550cb1512 AUX clamd.initd-r3 3118 SHA256 68bfcbd582667c719b81a7f0c396de9733bc5efefa4e7b8dd3fc0c02dfcea887 SHA512 9a173f4eef3ef173b6267a7753acd221773ad22fc2b689e8e842783ea787a18ee5990607ebd434a0ad9e45a0347ad8f7ba40935456e4f336cf2b3dcbc09c9f46 WHIRLPOOL d5cd66a07937af859307ca5b22012c33dc3a2c767d42244e9cd5b28a13c235340d604d10baf30f134a74965ba4bec552b943fc659e90952d650387a867633f18 DIST clamav-0.97.5.tar.gz 14754465 SHA256 db6c5e1a5ec8ca0b8006cf82661d3158d3365ba1b4bc14c03c5d0bca89a93c0d SHA512 618ef2f1d256f2e3cd76beaf92b76d9df0963d449c2d80885ed6039f4edd59ddf9a73ebe0b93549c62264d7df4ac918d306d631f8c0b1df8e47a7e763550f1cc WHIRLPOOL 7d148323a4510acfe706a17f27c12bd808a013aa91807257b03af83e4a6daeb619962243689eee5614ce2922dfa39d21ae357d2509617be4642f162ac91d5d7e DIST clamav-0.97.6.tar.gz 14765896 SHA256 a15a2bb9200ac9f2c6f1c5e1072ac265a2c4fe5a9be4663b47d076afdfa123f8 SHA512 f897f4c70c7555d1ede480b089f73020501bceb1d5de568785b842d04f35ee0771213b8050ac6159dde1f19816ab9a8373e8bcb419106eeeb701a386932d96e7 WHIRLPOOL 1a4916592843a3568ebef78663f76e8eba96b7d561bd61199ad1e15b239fc4c2bb3c25dcc49fad713cd09fb221ab83e9e7b1ba923ed71220943eec78dc04fb16 +DIST clamav-0.97.7.tar.gz 14598481 SHA256 8527754e7eb235317e37a50706d94d3fc9d880fd0bf6f3cb83757d64a720e9ff SHA512 92120250afb882b7fb9f956f2095797f8e3c93076a229967123261c907d9b4436cda6cf2d18b2c61cec8b33afeacba9c2701ad3322aa3316163fe4f36f7a7bc7 WHIRLPOOL 1f3fb155ad4e35ef1ea3835941e40363f9da9c37ab46fe1b9d44e29add6fee9d775e1f5858648a6229f9d0f41c40ed4ade726a4fc044156d208bf10f6cc8c705 EBUILD clamav-0.97.5-r1.ebuild 3808 SHA256 9f8df7badb53c741e213140df5f7b17c423f583816bbb18e977c2f1f60f8472d SHA512 6d67c726a98b0778e9ca864f372ed2fd1e9c131f859f6e43031e370a12016beb8a5ec199592f49503008bff7eee0793f5e6033d2911df5ff30053f970697374e WHIRLPOOL db10d814acbed42e22d9d2b9b6d2bd3ead058ce55ba650f5a1c68c57efe31caf21174023314fa8d82c91ae0de5cebe96c14a254ff9b1966d469ea5e4905a2734 EBUILD clamav-0.97.6-r1.ebuild 3812 SHA256 896051a7a4a96e4aae8b833df155a57fbc0364bf1554f80fe90b998e42d6a16c SHA512 3dfeeee7124d4cc03c3adc76bbca1b63e1f9d108237d6dbde88458a582de8503eca60c2ae5af5314ba78af00370eecf7ed5dec8b5ba2bfb963794c126b3d0568 WHIRLPOOL 9ff0ec2e759b9dba92e1b867756ce9922b026278bd157271f50266ebd328d586ae3e5286769b1ab0ed7eadf583695b087f786d5012852580327996b99adddbbb EBUILD clamav-0.97.6-r2.ebuild 3803 SHA256 353440155e0eae9939f9bc838406b7e57dcdbde6e75499f215a02af098949452 SHA512 0257c8ec375b8db2e20251887820ef115baefe750516800d399b6256819680eed9b3ef626b5d311a4de6a3fb98b53f813f31ba2fe302478294f2606b6c021959 WHIRLPOOL b8d2beb4907e17e602b985b2fee7aad9f301496e8f78b68990e7b6efd5ae443466b23b97907d14b04d204e4e4de2b01250d24ef91b011c58ebac1902816ba034 EBUILD clamav-0.97.6-r3.ebuild 3812 SHA256 eac8b54c1410560e9a463bdb183235bc4008a0f79705b8c53762cf1eda9e7d06 SHA512 9045c26a2feceb9c5527784334ce26ac332dde74f3ec8d018676bea20e0548c6257d57b27ac7e1b4e09f14b7eb6ad45eeffbbc00dee3432268c30d9a857611a5 WHIRLPOOL 73ce429ff0fe71ca8e6a5a07ca6ceee631ddc6fdd865b7ec2d15bbadd14e8927a6a51be8ebd065faecfededa3fbef1c257a5ccd2ea7a11d9a4609713f69c8313 EBUILD clamav-0.97.6.ebuild 3822 SHA256 29cf66c65d5aae9d8c0c56a9148e6e7c68e287a6dd4debaa5a9dc8393bf1b9b9 SHA512 f07cfc81bcc769499583ace5a712ca0aa7b3d3ae8edef4707774bf647ba4708c4bcebc191dd71fe62e19736dc8df28568a96403f833ad50b4a65b6af7e6298ef WHIRLPOOL 76e9cbd0728111366181573d6d4e78535a77141fd813940cb4228715861ff540141cfdcc2c3bb007a505e1856c5768dad0997ee6816e7df87ea23d832eec6135 -MISC ChangeLog 64582 SHA256 433f553e42d1d52de2a4ceee98ed00f900f902c0f091d5460d1f0446b181406b SHA512 417e4f489cc5bb3a22bb74c6e2e9aab25fdc84b171b9df1dcb43755f3ad1d19ecbab85d4580bcff6bd06f0dcdbe03044407c9a2d71e7fd3056df9412a2a30de4 WHIRLPOOL 63e5031c4a8eaeefa73d3a80fa5a3a2fdd06b0982e0023c0e0a1001ecc4aedd2b8d0743eb2bf729033ed00898ecc4b1d44f34745a226781b51730932b7ff6810 +EBUILD clamav-0.97.7.ebuild 3809 SHA256 3a2e3c7b5603a200c2cbdeff20cbde8082b768f3c08b612f5f8cc577b8a4214e SHA512 2ca5dc2df51d7c7633055d0e6a3e4603173abfb9b3cae4303c8f2bd8cb0e3f21ad52fd992f81d4f538133172176e1d7df12a552b4b893fcc56d7cc77dc6b208f WHIRLPOOL b9538ce506cb7e55da4f07c9241f4369dfbab84538289273f20916e8c3b86ee7bff15765d41857de74f57c679b80f63535fad1b2c610e2b2cfeeb3f5f42fa873 +MISC ChangeLog 64695 SHA256 cff417a514b5eeab0ccf511e07523ae79f3e47ee94927b8629c5bf796c1472fb SHA512 d5575a90d1be7fff1f87b67bc46d90c240c9589d6a48e752f58122e1ec7a923a563a705008a63667a5576f6444cf3197268c7a5f6628261a9d820e30306daf53 WHIRLPOOL 279da75596859860dbb927012f144aff9964f2b7e3d607526ccff722f8aa9c70c75e5b9e53fb65a93d53369b881e784f31441bfb58d48b349d4fea124ec71f4c MISC metadata.xml 320 SHA256 e2a8c4c8bedbffe50a126c1c7395a4d92652c2d95347b9496d54aea1f230a22d SHA512 c5bb20c993b91112d9c9e0b7bb6c116ac7f711c769084eaaacc28bc7eeb54db09c9794c6ef057747d80a08cf1502f0f688cdefc741423a38da55b2deaebd6476 WHIRLPOOL 741ff80258dee2c145d08f72f10982bd5c1fcba44ed84054cd1a33787864a7d8821b432c3246ad5a04ce11edde7d045f3eb6e056200e3bd2e8505eeea3d7277d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJRMGRUAAoJEHfx8XVYajsfNZAP/ixZhu7mZelM2ca+o4HyfBk7 -sD8wru9nZr9CQDZN3Whurog/0oAz71mhhqyQIvnzdYcCL88ld1mqDmcbqDhw7k+4 -J6U7Kd0l5WW2pIBRNiEu8Pt+6kLkqm3o09Ma2SnprPz0HuIOmFqrBv/PhF+s0plJ -DhyZta/f2ek7hz+WevLe14CXtTaxRc7Fh4zfUUyeuiFZLWjaQNLlcfZAEu62ehOG -eGd3+bDERSiAJQP0zwLwaLBZzmK0oYljUEpQu2k5p3f2CTcrKxTky70Cetdwt+ad -v0GaNIUKDF6prgpR0hO2Wa7zLLzrxWlB2Dh61wHRH5XSJjbPdYYFiEc7sfsphY1Y -5cVhA+JL4g/3eQstX5IHAIgabvVEfMq7tnIXGytojcQ9CUoiifQYD/PZbSrhnknB -t/TGNbeVgsZpHzJoEJGMwmeg+5W09imHQ0P4A/IwESmL2867OS36YiCdoMltSOKE -tbI/aeqNZg3dJKe93A/tBI0aZY+xp+ZaDyRCqRdsBzwyGsV+3PO7f64P09VSNF+s -FuYDdw3I9MSwSz4AaW1hvqEdnYyIwqVVbsPY+hpjHlibqgyk7CciE6aIf/MOIuWZ -D0t5/C6aRMQJHyZnN9Abmx/OSa442U8qiVpiwZCN7osxgFx8AVI1UCSFWMyX8oJ5 -uGQBSifp0c98GEthh3Ze -=H3zr +iQIcBAEBCAAGBQJRRsPGAAoJEHfx8XVYajsf0DIP/1XZj4MfBjMEnKq7jNtYFfpU +lrZj0JIcNI7pYJSCMAQlK1t0wEpxQ7TPfPnUeSGIsDIq6SlJ/ffj0qbTLmrJRr80 +/RahVdrZyhL06opIcPeTshTss+ZazVHqrbv9Xfwfps91u+Tgp5+nYbI8jydRK5EL +cyX0/I0e19C7/veoNLkUMnnQhNgC408/xtiZYJflTj/6S+eBcHHeev/pUdT6dmy/ +fZKg2RF+29icoNTqUVzstwHgx3svyD2G7D8NkcxrOBMwbG8C0ztndnjAcBvs835G +3SFLCeyy823x6dqK20SG5YAqb36pdGCPgkYEpqtJ1/n/NJrQ9VsN/D9OvJkES2uq +R/u9GB75ahj7qPqhTwqQhb4l/KJuPfy3TI3flxiELg4U30Knp8nbjNpqP/FKmcz9 +txWoLeZG3gG8UdJoUlZc5vLBB6wH4VKayiSTo2R0PCJWJENbWka8rYWOdYwv3Tzx +p/NVN0FqnBik+bE1tj7+HY25Qi5MEiTsyZnM/omvckyq2qVx3OimGgx0ZKPOoi/u +AzUdJHwBpCHQJqXsDf72zv+txBTm1SpcRP49Tc7e7CwIB7Zq7PnBWr4LbOQo0X2f +SRk11kflszp0847yol3nXo+lvSh4Rqks+RiYjdSxaGr9lqZ3JX7v/M93S5fxTb81 +UVKcABzUMjAGK/0/W39U +=xW/s -----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.97.7.ebuild b/app-antivirus/clamav/clamav-0.97.7.ebuild new file mode 100644 index 000000000000..29c320bcb42e --- /dev/null +++ b/app-antivirus/clamav/clamav-0.97.7.ebuild @@ -0,0 +1,123 @@ +# 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.97.7.ebuild,v 1.1 2013/03/18 07:35:32 eras Exp $ + +EAPI=5 + +inherit eutils flag-o-matic user + +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 )" + +RESTRICT="test" + +DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.97-nls.patch +) + +pkg_setup() { + enewgroup clamav + enewuser clamav -1 -1 /dev/null clamav +} + +src_prepare() { + use ppc64 && append-flags -mminimal-toic + use uclibc && export ac_cv_type_error_t=yes +} + +src_configure() { + econf \ + --disable-experimental \ + --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-r3 clamd + newconfd "${FILESDIR}"/clamd.conf clamd + + 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 + 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 + + 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 + cat > "${ED}"/etc/conf.d/clamd <<-EOF + MILTER_NICELEVEL=19 + START_MILTER=no + EOF + fi + + 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 +} |