diff options
author | Jakub Moc <jakub@gentoo.org> | 2007-08-05 07:36:22 +0000 |
---|---|---|
committer | Jakub Moc <jakub@gentoo.org> | 2007-08-05 07:36:22 +0000 |
commit | 3d64b06588e020438f09d3ffd80692556cadfced (patch) | |
tree | 458b24a2845a77c0e4c84a819cbc09c15f0c8160 /app-antivirus | |
parent | app-portage/portato: Version bump (diff) | |
download | sunrise-3d64b06588e020438f09d3ffd80692556cadfced.tar.gz sunrise-3d64b06588e020438f09d3ffd80692556cadfced.tar.bz2 sunrise-3d64b06588e020438f09d3ffd80692556cadfced.zip |
Nuke app-antivirus/drweb - see Bug 78124 Comment #13 for reasons
svn path=/sunrise/; revision=4382
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/drweb/ChangeLog | 39 | ||||
-rw-r--r-- | app-antivirus/drweb/Manifest | 8 | ||||
-rw-r--r-- | app-antivirus/drweb/drweb-4.33-r1.ebuild | 126 | ||||
-rw-r--r-- | app-antivirus/drweb/files/drweb-4.33-gentoo.patch | 121 | ||||
-rw-r--r-- | app-antivirus/drweb/metadata.xml | 5 |
5 files changed, 0 insertions, 299 deletions
diff --git a/app-antivirus/drweb/ChangeLog b/app-antivirus/drweb/ChangeLog deleted file mode 100644 index 178e12b06..000000000 --- a/app-antivirus/drweb/ChangeLog +++ /dev/null @@ -1,39 +0,0 @@ -# ChangeLog for app-antivirus/drweb -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 30 May 2007; Ali Polatel (hawking) <polatel@gmail.com> - drweb-4.33-r1.ebuild: - Remove app-arch/unzip from RDEPEND - - 21 May 2007; Jakub Moc <jakub@gentoo.org> drweb-4.33-r1.ebuild: - Block glibc-2.6 as well - - 23 Jan 2007; Christian Faulhammer <opfer@gentoo.org> drweb-4.33-r1.ebuild: - add some quotes - - 10 Dec 2006; Jakub Moc <jakub@gentoo.org> +drweb-4.33.ebuild, - drweb-4.33-r1.ebuild: - Rescue the version for glibc-2.3 users, add blockers for incompatible glibc - versions - - 02 Nov 2006; Markus Ullmann <jokey@gentoo.org> -drweb-4.33.ebuild: - Drop old - - 20 Oct 2006; Christian Faulhammer (opfer) <gentoo@faulhammer.org> - drweb-4.33.ebuild, drweb-4.33-r1.ebuild: - added trailing slash to HOMEPAGE URL - - 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 - - 10 Jun 2006; Jakub Moc <jakub@gentoo.org> +drweb-4.33.ebuild: - New ebuild, parts of it based on ebuild submitted by Arhont (mlists at - arhont dot com) in Bug 78124. - diff --git a/app-antivirus/drweb/Manifest b/app-antivirus/drweb/Manifest deleted file mode 100644 index d2afe0381..000000000 --- a/app-antivirus/drweb/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX drweb-4.33-gentoo.patch 2997 RMD160 e59fa9f1fb5266132c08f4f203520a426460d8e3 SHA1 7b43b630329dc618e28419906482548e5d158b86 SHA256 fc12c5c641c2779bcc01a408aeaddd8237edc0212192c1188cd21c82e9408102 -DIST drweb-4.33-glibc2.3.tar.gz 5304611 RMD160 a4ec087bb8685a5991d0d8320dcb185990ef5f07 SHA1 0ff2886c8a495739bea09e97694d7ec078786484 SHA256 099f4546bffe31f281cd4107699b1cf2a50311654840c0a671c0fc1ee4f417db -DIST drweb-4.33-glibc2.4.tar.gz 5357706 RMD160 e7fe1ea2dbdb4d135f587ff51bd05d30ae5f6635 SHA1 fa0ac58456b761b301be3ee97285ca6b05a93eb5 SHA256 a237ef5ed048d77e74654deaa793e5c04eae3982480e0770c6d2d42572c72a98 -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-r1.ebuild 3517 RMD160 8d0e42715e00773680aee88aff6d08533579a9f1 SHA1 63de402b641bb7756e0295277e1cbde6cbf2366b SHA256 72fbd030c5864c7517d0fae7271ac10d1c53f7ae7ffcfa33416415e841f0cd4a -MISC ChangeLog 1348 RMD160 26cabc39243644edc87168ecc4f5ee7dc805e821 SHA1 f4b18f754d3d63d94c1d966d9f34d7f2d5a1a564 SHA256 abf6d36b281e6bd49c14a185602129934d6cf90c020019dce93536106febcbb3 -MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-antivirus/drweb/drweb-4.33-r1.ebuild b/app-antivirus/drweb/drweb-4.33-r1.ebuild deleted file mode 100644 index 27ff1e4bc..000000000 --- a/app-antivirus/drweb/drweb-4.33-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -DESCRIPTION="DrWeb virus scaner for Linux" -HOMEPAGE="http://www.drweb.com/" -SRC_URI="glibc23? ( http://download.drweb.com/files/unix/Linux/Generic/${P}-glibc2.3.tar.gz ) - !glibc23? ( http://download.drweb.com/files/unix/Linux/Generic/${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 glibc23 linguas_ru logrotate" - -DEPEND="app-arch/unzip" -RDEPEND="dev-perl/libwww-perl - virtual/cron - logrotate? ( app-admin/logrotate ) - glibc23? ( =sys-libs/glibc-2.3* ) - !glibc23? ( =sys-libs/glibc-2.4* ) - !>=sys-libs/glibc-2.5" - -PROVIDE="virtual/antivirus" -use glibc23 && S="${WORKDIR}/${P}-glibc2.3" -use glibc23 || S="${WORKDIR}/${P}-glibc2.4" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-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/files/drweb-4.33-gentoo.patch b/app-antivirus/drweb/files/drweb-4.33-gentoo.patch deleted file mode 100644 index 79994295e..000000000 --- a/app-antivirus/drweb/files/drweb-4.33-gentoo.patch +++ /dev/null @@ -1,121 +0,0 @@ ---- etc/init.d/drwebd.orig 2006-03-07 15:41:12.000000000 +0100 -+++ etc/init.d/drwebd 2006-06-09 23:59:38.000000000 +0200 -@@ -1,40 +1,36 @@ --#!/bin/sh --# --# Dr.Web (R) init script --# $Revision: 1.5 $ --# -+#!/sbin/runscript -+# -+# Dr.Web Gentoo init script -+# - --BIN="drwebd" --PROGRAM="/opt/drweb/$BIN" --PIDFILE="/var/drweb/run/drwebd.pid" -+PID=/var/drweb/run/drwebd.pid -+SCVNAME="DrWeb daemon" - --case "$1" in -- stop) -- echo -n "Shutting down Dr. Web daemon..." -- if [ -f $PIDFILE ] ; then -- kill `head -1 $PIDFILE` -- fi -- ;; -- reload) -- echo -n "Reloading Dr. Web daemon..." -- if [ -f $PIDFILE ] ; then -- kill -HUP `head -1 $PIDFILE` -- fi -- ;; -- restart) -- echo -n "Restarting Dr. Web daemon..." -- if [ -f $PIDFILE ] ; then -- kill `head -1 $PIDFILE` -- fi -- sleep 3 -- $PROGRAM -- ;; -- start) -- echo -n "Starting Dr. Web daemon..." -- $PROGRAM -- ;; -- *) -- echo $0: 'start|stop|restart|reload' -- ;; --esac -+depend() { -+ need net -+} -+ -+start() { -+ ebegin "Starting ${SVCNAME}" -+ start-stop-daemon --quiet --start --pidfile ${PID} --exec /opt/drweb/drwebd -+ eend $? "Failed to start ${SVCNAME}" -+} - -+stop() { -+ ebegin "Stopping ${SVCNAME}" -+ start-stop-daemon --quiet --stop --pidfile ${PID} -+ eend $? "Failed to stop ${SVCNAME}" -+} -+ -+reload() { -+ ebegin "Reloading ${SVCNAME} ..." -+ if [[ -f ${PID} ]] ; then -+ kill -HUP `head -1 ${PID}` -+ fi -+ eend $? -+} -+restart() { -+ svc_stop -+ sleep 2 -+ svc_start -+} - ---- etc/drweb/drweb-log 1970-01-01 01:00:00.000000000 +0100 -+++ etc/drweb/drweb-log 2006-06-09 23:59:38.000000000 +0200 -@@ -0,0 +1,11 @@ -+/var/log/drweb/*.log { -+ rotate 4 -+ monthly -+ missingok -+ notifempty -+ compress -+ postrotate -+ /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true -+ /etc/init.d/drweb restart > /dev/null 2>&1 || true -+ endscript -+} - ---- etc/drweb/drweb32.ini.orig 2006-03-07 15:41:12.000000000 +0100 -+++ etc/drweb/drweb32.ini 2006-06-10 00:07:36.000000000 +0200 -@@ -32,7 +32,7 @@ - ; This path is used by the antivirus engine for creating temporary files. - ; /tmp would be used if TempPath is not defined. - ; Normally, the daemon attempts to avoid using TempPath. --TempPath = "/var/drweb/spool" -+TempPath = "/var/spool/drweb" - - ;LngFileName = { path to the language resource file, usual extension - dwl } - ; Localization file location. -@@ -228,7 +228,7 @@ - ;LogFileName = "syslog" - ;SyslogFacility = "Daemon" - ;SyslogPriority = "Info" --LogFileName = "/var/drweb/log/drwebd.log" -+LogFileName = "/var/log/drweb/drwebd.log" - - ;LimitLog = { Yes | No } - ; Enable/Disable limit for log file size. Parameter -@@ -611,7 +611,7 @@ - ;LogFileName = "syslog" - ;SyslogFacility = "Daemon" - ;SyslogPriority = "Info" --LogFileName = "/var/drweb/log/drweb.log" -+LogFileName = "/var/log/drweb/drweb.log" - - ;LimitLog = { Yes | No } - ; Enable/Disable limit for log file size. Parameter diff --git a/app-antivirus/drweb/metadata.xml b/app-antivirus/drweb/metadata.xml deleted file mode 100644 index 7e3286984..000000000 --- a/app-antivirus/drweb/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>maintainer-wanted</herd> -</pkgmetadata> |