summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-08-13 17:32:06 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-08-13 17:32:06 +0000
commit6420a9ad2489ad334ac0cda07cf90f45dfbd2a33 (patch)
tree9a68033d12a88fc687ab10b4fc4a6dee9555ec83 /app-antivirus
parent067 release (diff)
downloadgentoo-2-6420a9ad2489ad334ac0cda07cf90f45dfbd2a33.tar.gz
gentoo-2-6420a9ad2489ad334ac0cda07cf90f45dfbd2a33.tar.bz2
gentoo-2-6420a9ad2489ad334ac0cda07cf90f45dfbd2a33.zip
Version bump, bug #101999 by Sri Gupta <oopsz at tripadelic.com>.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/f-prot/ChangeLog8
-rw-r--r--app-antivirus/f-prot/Manifest13
-rw-r--r--app-antivirus/f-prot/f-prot-4.6.0.ebuild67
-rw-r--r--app-antivirus/f-prot/files/digest-f-prot-4.6.01
-rwxr-xr-xapp-antivirus/f-prot/files/f-prot.sh5
5 files changed, 83 insertions, 11 deletions
diff --git a/app-antivirus/f-prot/ChangeLog b/app-antivirus/f-prot/ChangeLog
index 452f0aeb6c7d..89ed349ed5c6 100644
--- a/app-antivirus/f-prot/ChangeLog
+++ b/app-antivirus/f-prot/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-antivirus/f-prot
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.34 2005/08/13 16:22:38 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.35 2005/08/13 17:32:06 ticho Exp $
+
+*f-prot-4.6.0 (13 Aug 2005)
+
+ 13 Aug 2005; Andrej Kacian <ticho@gentoo.org> +files/f-prot.sh,
+ +f-prot-4.6.0.ebuild:
+ Version bump, bug #101999 by Sri Gupta <oopsz at tripadelic.com>.
13 Aug 2005; Andrej Kacian <ticho@gentoo.org> -f-prot-4.5.4.ebuild:
Removed obsolete ebuild.
diff --git a/app-antivirus/f-prot/Manifest b/app-antivirus/f-prot/Manifest
index 1d6220ed6588..e0fcc968e4cc 100644
--- a/app-antivirus/f-prot/Manifest
+++ b/app-antivirus/f-prot/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 886e2c224cbc555a71f3a3510b12c29f f-prot-4.5.4-r1.ebuild 1877
+MD5 77165f662637307b1ae1e498f1f625a9 f-prot-4.6.0.ebuild 1850
MD5 6ccc4f43e9c5f88191d67529ee67f099 ChangeLog 8539
MD5 3bf44a2cd492aedb8f27a23f2fe357ff metadata.xml 261
+MD5 c0075e0b3eeeaf1ebb478a49c4b9d7f9 files/digest-f-prot-4.6.0 70
MD5 f3be9aa98602afac91eca0dceca62edd files/digest-f-prot-4.5.4-r1 70
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFC/iIPQlM6RnzZP+IRAqp2AJ9waNDiCBqHaI1TEnlr7BTygByBMgCgiawL
-fiLsIwueF5mBK0pwoOxW9f8=
-=QQGB
------END PGP SIGNATURE-----
+MD5 c07e3b0148a64826500324924b3d71f8 files/f-prot.sh 122
diff --git a/app-antivirus/f-prot/f-prot-4.6.0.ebuild b/app-antivirus/f-prot/f-prot-4.6.0.ebuild
new file mode 100644
index 000000000000..763f50a0f1fc
--- /dev/null
+++ b/app-antivirus/f-prot/f-prot-4.6.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.0.ebuild,v 1.1 2005/08/13 17:32:06 ticho Exp $
+
+IUSE="emul-linux-x86"
+
+MY_P="fp-linux-ws-${PV}"
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="Frisk Software's f-prot virus scanner"
+HOMEPAGE="http://www.f-prot.com/"
+SRC_URI="ftp://ftp.f-prot.com/pub/linux/${MY_P}.tar.gz"
+DEPEND=""
+# unzip and perl are needed for the check-updates.pl script
+RDEPEND=">=app-arch/unzip-5.42-r1
+ dev-lang/perl
+ dev-perl/libwww-perl
+ emul-linux-x86? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )"
+PROVIDE="virtual/antivirus"
+
+SLOT="0"
+LICENSE="F-PROT"
+KEYWORDS="~x86 -ppc -sparc ~amd64"
+
+src_install ()
+{
+ cd ${S}
+
+ dobin ${FILESDIR}/f-prot.sh
+ dosym /usr/bin/f-prot.sh /usr/bin/f-prot
+
+ dodir /opt/f-prot/tools /var/tmp/f-prot
+ keepdir /var/tmp/f-prot
+
+ insinto /etc
+ newins etc/f-prot.conf.default f-prot.conf
+
+ insinto /opt/f-prot
+ insopts -m 755
+ doins f-prot
+ insopts -m 644
+ doins *.DEF ENGLISH.TX0
+
+ doman man_pages/*
+ dodoc LICENSE* CHANGES README
+ dohtml doc_ws/*
+
+ insinto /opt/f-prot/tools
+ insopts -m 755
+ doins tools/check-updates.pl
+}
+
+pkg_postinst() {
+ echo
+ einfo "Remember to run /opt/f-prot/tools/check-updates.pl regularly to keep virus"
+ einfo "database up to date. Recommended method is to use cron. See manpages for"
+ einfo "cron(8) and crontab(5) for more info."
+ einfo "An example crontab entry, causing check-updates.pl to run every night at 4AM:"
+ echo
+ echo "0 4 * * * /opt/f-prot/tools/check-updates.pl >/dev/null"
+ echo
+ einfo "For more examples, see /usr/share/doc/${PF}/html/auto_updt.html"
+ echo
+ ewarn "As of 4.5.4, the update script is installed correctly into directory designed"
+ ewarn "by upstream again. Check your crontab, so the path matches the one above."
+ echo
+}
diff --git a/app-antivirus/f-prot/files/digest-f-prot-4.6.0 b/app-antivirus/f-prot/files/digest-f-prot-4.6.0
new file mode 100644
index 000000000000..733ed69009e9
--- /dev/null
+++ b/app-antivirus/f-prot/files/digest-f-prot-4.6.0
@@ -0,0 +1 @@
+MD5 cbee04bcb2df84951964ac9c86cf29c0 fp-linux-ws-4.6.0.tar.gz 3714710
diff --git a/app-antivirus/f-prot/files/f-prot.sh b/app-antivirus/f-prot/files/f-prot.sh
new file mode 100755
index 000000000000..af176b84e8c4
--- /dev/null
+++ b/app-antivirus/f-prot/files/f-prot.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# This is a shell script to invoke the F-Prot OnDemand Scanner for Linux.
+#
+exec /opt/f-prot/f-prot ${@+"$@"}