summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2006-09-30 08:46:13 +0000
committerJakub Moc <jakub@gentoo.org>2006-09-30 08:46:13 +0000
commitb98e7d4f290e1dd6bd747448fb21b6922318027e (patch)
tree0013f81011d77efce0e3dcb4ff5be93432fa459a /app-antivirus
parentapp-antivirus/clamtk: Version bump (diff)
downloadsunrise-reviewed-b98e7d4f290e1dd6bd747448fb21b6922318027e.tar.gz
sunrise-reviewed-b98e7d4f290e1dd6bd747448fb21b6922318027e.tar.bz2
sunrise-reviewed-b98e7d4f290e1dd6bd747448fb21b6922318027e.zip
app-antivirus/drweb: Add -r1 version for glibc-2.4. If you are using glibc-2.3 and don't want to upgrade, you need to package.mask drweb-4.33-r1
svn path=/sunrise/; revision=1362
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/drweb/ChangeLog5
-rw-r--r--app-antivirus/drweb/Manifest24
-rw-r--r--app-antivirus/drweb/drweb-4.33-r1.ebuild125
-rw-r--r--app-antivirus/drweb/drweb-4.33.ebuild3
-rw-r--r--app-antivirus/drweb/files/digest-drweb-4.33-r19
5 files changed, 157 insertions, 9 deletions
diff --git a/app-antivirus/drweb/ChangeLog b/app-antivirus/drweb/ChangeLog
index 4f1bc9bbc..670026624 100644
--- a/app-antivirus/drweb/ChangeLog
+++ b/app-antivirus/drweb/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 30 Sep 2006; Jakub Moc <jakub@gentoo.org> drweb-4.33.ebuild,
+ +drweb-4.33-r1.ebuild:
+ Add -r1 version for glibc-2.4. If you are using glibc-2.3 and don't want to
+ upgrade, you need to package.mask drweb-4.33-r1
+
28 Aug 2006; Jakub Moc <jakub@gentoo.org> drweb-4.33.ebuild,
files/drweb-4.33-gentoo.patch:
Fix typo in init script
diff --git a/app-antivirus/drweb/Manifest b/app-antivirus/drweb/Manifest
index 59c8a2ad8..6b93709bb 100644
--- a/app-antivirus/drweb/Manifest
+++ b/app-antivirus/drweb/Manifest
@@ -3,16 +3,21 @@ MD5 db9b5a8e2e5e093aaea4f42c86b02f60 files/drweb-4.33-gentoo.patch 2997
RMD160 e59fa9f1fb5266132c08f4f203520a426460d8e3 files/drweb-4.33-gentoo.patch 2997
SHA256 fc12c5c641c2779bcc01a408aeaddd8237edc0212192c1188cd21c82e9408102 files/drweb-4.33-gentoo.patch 2997
DIST drweb-4.33-glibc2.3.tar.gz 4697768 RMD160 e948db7275b2154c9c9f1d5f521dc726818e16cb SHA1 682abb15811e4017fb68ef2fe32fa7b1e8903a22 SHA256 3901f9892c5a23280deef2340936a5ac0b9cf9c9e1b6f51a13855083eaf1b33c
+DIST drweb-4.33-glibc2.4.tar.gz 5356693 RMD160 c00a4b9de9f5399f7362e9d500443873285fff26 SHA1 c60e210900656bc9f19d395e39839adf8e283683 SHA256 3891c670eca03ed14c340010d1519c92a0e50d0dc5b02f523b1259e6219e60c6
DIST drweb-433-unix-en-pdf.zip 1084000 RMD160 59aed33c6e3aac81b0e185987d42be2a8deef2ec SHA1 2e35680308a61b6ca48ac1159c5cfcdbdea8cf00 SHA256 df05874b4aae8ef1c3fead244c01742124201934dd4af7bf5398033ac48a130c
DIST drweb-433-unix-ru-pdf.zip 2493717 RMD160 300a2db8f4a039922dadf50d3554ae3041af8f9c SHA1 a6b49b1d6668076089a71e95c9bea560434c9eb1 SHA256 4ea48900ab7c829daa43119575eb23f92a99ad10adcfe68dc4e45caf4502db17
-EBUILD drweb-4.33.ebuild 3280 RMD160 3e61e85a1a2af5178a63fbb9217778f7c7f5417a SHA1 1236139abd794b228236f98dc896b5e6f7e6b6fb SHA256 6b82e5fa18fb07f88a1a1b97d5b65542d5cabd955975c0572bb5c2c6bd6b821f
-MD5 b05d242e7a42c0a4524a041ca61f7338 drweb-4.33.ebuild 3280
-RMD160 3e61e85a1a2af5178a63fbb9217778f7c7f5417a drweb-4.33.ebuild 3280
-SHA256 6b82e5fa18fb07f88a1a1b97d5b65542d5cabd955975c0572bb5c2c6bd6b821f drweb-4.33.ebuild 3280
-MISC ChangeLog 413 RMD160 b01e5700b4b8fffd6fac056d5a1be6fd60da711c SHA1 d953c4bcb17d2ced9663b851157a415e3cacb346 SHA256 e3e125b4dda12964ee5023b1d8561a4848674731d9052f34bf9b3ee44151359c
-MD5 0ca7d6811fe48f278ae1651ad2b09e0d ChangeLog 413
-RMD160 b01e5700b4b8fffd6fac056d5a1be6fd60da711c ChangeLog 413
-SHA256 e3e125b4dda12964ee5023b1d8561a4848674731d9052f34bf9b3ee44151359c ChangeLog 413
+EBUILD drweb-4.33-r1.ebuild 3302 RMD160 f5bf06b75ccb6e17bd8e2a4a744f780f3ba7a0e3 SHA1 b531e4032db2efb3b1c51d989fd3960718550c10 SHA256 e8ebebf8edd866c5002aeeaf25974a613d76ed479718a509ff23ce3ce241b545
+MD5 ee3b651e307f14f83c1f3ddca6c34905 drweb-4.33-r1.ebuild 3302
+RMD160 f5bf06b75ccb6e17bd8e2a4a744f780f3ba7a0e3 drweb-4.33-r1.ebuild 3302
+SHA256 e8ebebf8edd866c5002aeeaf25974a613d76ed479718a509ff23ce3ce241b545 drweb-4.33-r1.ebuild 3302
+EBUILD drweb-4.33.ebuild 3302 RMD160 babc0d8de19047e0aedd97a3192296f9c82640c2 SHA1 819532c68fc9aeb23272b253e30912ddd1b1501c SHA256 3c294eabd4ce853ed1dea8b8e8f133646ceb43c2905bc557774658196b5c380d
+MD5 5a61071962bc11b94818b5717489a468 drweb-4.33.ebuild 3302
+RMD160 babc0d8de19047e0aedd97a3192296f9c82640c2 drweb-4.33.ebuild 3302
+SHA256 3c294eabd4ce853ed1dea8b8e8f133646ceb43c2905bc557774658196b5c380d drweb-4.33.ebuild 3302
+MISC ChangeLog 630 RMD160 6a225b57e9f1797c44a73bb094a5e16665fcd950 SHA1 9bfa1ec6a147e160555fa6a80ba1da088438de7b SHA256 934d718febe02bd7b143b205084e98137c64af71bdc47c648a506503db99230e
+MD5 2d4b3f9a7b29aa6991a43908a8bb4d77 ChangeLog 630
+RMD160 6a225b57e9f1797c44a73bb094a5e16665fcd950 ChangeLog 630
+SHA256 934d718febe02bd7b143b205084e98137c64af71bdc47c648a506503db99230e ChangeLog 630
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -20,3 +25,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 0ab06c44dd944a6d08d994c61d1cc54b files/digest-drweb-4.33 780
RMD160 c35a752c41eca096c3d74e23651bdb54f0499c80 files/digest-drweb-4.33 780
SHA256 ac43ba3433274bdac005d67c40e89d2874a24e2ea38fe8c24cb0031f1292c105 files/digest-drweb-4.33 780
+MD5 e3b82ae3dea3a02a5f19767b85e28286 files/digest-drweb-4.33-r1 780
+RMD160 e4adb54f6ce122f5f5e8baf07cce160f7802ed7c files/digest-drweb-4.33-r1 780
+SHA256 fbc3985ed5a5fb0d2c2aac3c697904287fbbde393485a7db46dc2a49619a8e97 files/digest-drweb-4.33-r1 780
diff --git a/app-antivirus/drweb/drweb-4.33-r1.ebuild b/app-antivirus/drweb/drweb-4.33-r1.ebuild
new file mode 100644
index 000000000..29befa525
--- /dev/null
+++ b/app-antivirus/drweb/drweb-4.33-r1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P="drweb-${PV}"
+S="${WORKDIR}/${P}-glibc2.4"
+
+DESCRIPTION="DrWeb virus scaner for Linux"
+HOMEPAGE="http://www.drweb.com"
+SRC_URI="http://download.drweb.com/files/unix/Linux/Generic/${MY_P}-glibc2.4.tar.gz
+ doc? ( linguas_ru? ( ftp://ftp.drweb.com/pub/drweb/unix/doc/${PN}-${PV/./}-unix-ru-pdf.zip ) )
+ doc? ( ftp://ftp.drweb.com/pub/drweb/unix/doc/${PN}-${PV/./}-unix-en-pdf.zip )"
+RESTRICT="mirror strip"
+
+SLOT="0"
+LICENSE="DRWEB"
+KEYWORDS="~x86"
+IUSE="doc linguas_ru logrotate"
+
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+ dev-perl/libwww-perl
+ virtual/cron
+ logrotate? ( app-admin/logrotate )
+ =sys-libs/glibc-2.4*"
+
+PROVIDE="virtual/antivirus"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PF}-gentoo.patch"
+}
+
+pkg_setup() {
+ enewgroup drweb
+ enewuser drweb -1 -1 /var/drweb drweb
+}
+
+src_compile() {
+ einfo "Nothing to compile, installing DrWeb..."
+}
+
+src_install() {
+ cp -pPR "${S}"/opt/ "${D}"/opt
+ cp -pPR "${S}"/var/ "${D}"/var
+ cp -pPR "${S}"/etc/ "${D}"/etc
+
+ # Create log dir in proper location
+ rm -rf "${D}"/var/drweb/log/
+ rm -rf "${D}"/var/drweb/spool/
+ dodir /var/log/drweb
+ dodir /var/spool/drweb
+
+ # Set up permissions
+ fowners drweb:drweb /opt/drweb/lib
+ fowners drweb:drweb /var/drweb/{bases,infected,run,updates}
+ fowners drweb:drweb /etc/drweb/email.ini
+ fowners drweb:drweb /var/log/drweb
+ fowners drweb:drweb /var/spool/drweb
+ fperms 0640 /etc/drweb/email.ini
+ fperms 0750 /var/drweb/infected
+ fperms 0700 /var/drweb/run
+ fperms 0700 /var/drweb/updates
+ fperms 0770 /var/spool/drweb
+ chown -R drweb:drweb "${D}"/var/drweb/bases
+ chown -R drweb:drweb "${D}"/opt/drweb/lib
+
+ if use logrotate ; then
+ insinto /etc/logrotate.d
+ newins "${D}"/etc/drweb/drweb-log drweb
+ fi
+ rm -f "${D}"/etc/drweb/drweb-log
+
+ newinitd "${D}"/etc/init.d/drwebd drweb
+ rm -f "${D}"/etc/init.d/drwebd
+
+ local docdir="${D}/opt/drweb/doc"
+ for doc in ${docdir}/{ChangeLog,FAQ,readme.{eicar,license}} \
+ ${docdir}/{daemon/readme.daemon,scanner/readme.scanner,update/readme.update}
+ do
+ dodoc ${doc} && rm -f ${doc}
+ if use linguas_ru; then
+ dodoc ${doc}.rus && rm -f ${doc}.rus
+ fi
+ done
+ dodoc "${D}"/opt/drweb/getkey.HOWTO
+ use linguas_ru && dodoc "${D}"/opt/drweb/getkey.rus.HOWTO
+
+ rm -rf ${docdir} && rm -f "${D}"/opt/drweb/getkey.*
+
+ use doc && dodoc ${WORKDIR}/drwunxen.pdf
+ use doc && use linguas_ru && dodoc ${WORKDIR}/drwunxru.pdf
+}
+
+pkg_postinst() {
+ elog
+ elog " Create a cron entry for DrWeb auto updates in a similar manner:"
+ elog
+ elog " crontab -u drweb -e"
+ elog
+ elog " and add the following line (change the frequency of update if required):"
+ elog
+ elog " * */4 * * * if [ -x /opt/drweb/update/update.pl ]; then /opt/drweb/update/update.pl; fi"
+ elog
+
+ elog
+ elog "To configure DrWeb, edit /etc/drweb/drweb32.ini as needed."
+ elog
+
+ if use logrotate ; then
+ elog "DrWeb logrotate script has been provided."
+ elog "Edit /etc/logrotate.d/drweb as needed."
+ fi
+
+ ewarn
+ ewarn "IMPORTANT!!!"
+ ewarn
+ ewarn "If you don't have a license for DrWeb, go to http://download.drweb.com/demo/ "
+ ewarn "to obtain a demo licence."
+ ewarn
+ ewarn "Additional information can be obtained from /usr/share/doc/${PF}/readme.license"
+}
diff --git a/app-antivirus/drweb/drweb-4.33.ebuild b/app-antivirus/drweb/drweb-4.33.ebuild
index a5abc5183..6e7310458 100644
--- a/app-antivirus/drweb/drweb-4.33.ebuild
+++ b/app-antivirus/drweb/drweb-4.33.ebuild
@@ -23,7 +23,8 @@ DEPEND="app-arch/unzip"
RDEPEND="${DEPEND}
dev-perl/libwww-perl
virtual/cron
- logrotate? ( app-admin/logrotate )"
+ logrotate? ( app-admin/logrotate )
+ =sys-libs/glibc-2.3*"
PROVIDE="virtual/antivirus"
diff --git a/app-antivirus/drweb/files/digest-drweb-4.33-r1 b/app-antivirus/drweb/files/digest-drweb-4.33-r1
new file mode 100644
index 000000000..27f4e3cd5
--- /dev/null
+++ b/app-antivirus/drweb/files/digest-drweb-4.33-r1
@@ -0,0 +1,9 @@
+MD5 613da69e2d5924b6a2e03f2af0d21660 drweb-4.33-glibc2.4.tar.gz 5356693
+RMD160 c00a4b9de9f5399f7362e9d500443873285fff26 drweb-4.33-glibc2.4.tar.gz 5356693
+SHA256 3891c670eca03ed14c340010d1519c92a0e50d0dc5b02f523b1259e6219e60c6 drweb-4.33-glibc2.4.tar.gz 5356693
+MD5 7e2efdf9c411588ded7d4cb2ead65481 drweb-433-unix-en-pdf.zip 1084000
+RMD160 59aed33c6e3aac81b0e185987d42be2a8deef2ec drweb-433-unix-en-pdf.zip 1084000
+SHA256 df05874b4aae8ef1c3fead244c01742124201934dd4af7bf5398033ac48a130c drweb-433-unix-en-pdf.zip 1084000
+MD5 bb1827ab6d8dbd3b5db25207989e50c5 drweb-433-unix-ru-pdf.zip 2493717
+RMD160 300a2db8f4a039922dadf50d3554ae3041af8f9c drweb-433-unix-ru-pdf.zip 2493717
+SHA256 4ea48900ab7c829daa43119575eb23f92a99ad10adcfe68dc4e45caf4502db17 drweb-433-unix-ru-pdf.zip 2493717