summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-02-24 22:53:00 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-02-24 22:53:00 +0000
commitcfa431acca44d49c96fd55c16103fac7b148bb9e (patch)
tree22c96222a499a30ddbc94def782b77be60e2ebea /app-antivirus
parentRemoved deprecated ebuilds. (diff)
downloadhistorical-cfa431acca44d49c96fd55c16103fac7b148bb9e.tar.gz
historical-cfa431acca44d49c96fd55c16103fac7b148bb9e.tar.bz2
historical-cfa431acca44d49c96fd55c16103fac7b148bb9e.zip
Install update script to proper location. Keepdir /var/tmp/f-prot.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/f-prot/ChangeLog10
-rw-r--r--app-antivirus/f-prot/Manifest12
-rw-r--r--app-antivirus/f-prot/f-prot-4.5.4-r1.ebuild64
-rw-r--r--app-antivirus/f-prot/f-prot-4.5.4.ebuild19
-rw-r--r--app-antivirus/f-prot/files/digest-f-prot-4.5.4-r11
5 files changed, 95 insertions, 11 deletions
diff --git a/app-antivirus/f-prot/ChangeLog b/app-antivirus/f-prot/ChangeLog
index c9d37043a4ef..6639bc770cbf 100644
--- a/app-antivirus/f-prot/ChangeLog
+++ b/app-antivirus/f-prot/ChangeLog
@@ -1,6 +1,14 @@
# 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.30 2005/02/24 22:01:48 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.31 2005/02/24 22:53:00 ticho Exp $
+
+*f-prot-4.5.4-r1 (24 Feb 2005)
+
+ 24 Feb 2005; Andrej Kacian <ticho@gentoo.org> +f-prot-4.5.4-r1.ebuild,
+ f-prot-4.5.4.ebuild:
+ Install check-updates.pl to correct location, designed by upstream (tools/
+ from dir where f-prot binary is), so it works correctly. Also, keep dir
+ /var/tmp/f-prot.
*f-prot-4.5.4 (24 Feb 2005)
diff --git a/app-antivirus/f-prot/Manifest b/app-antivirus/f-prot/Manifest
index 971d4f274f37..b706aeadabce 100644
--- a/app-antivirus/f-prot/Manifest
+++ b/app-antivirus/f-prot/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 c7fdef96b96ebe8d90b3575c08ca2863 ChangeLog 7850
+MD5 69973a5d66441ac2f2bde4f36b1cc44f ChangeLog 8149
MD5 3bf44a2cd492aedb8f27a23f2fe357ff metadata.xml 261
-MD5 c722abfa05a255fae1b76db3ed424d08 f-prot-4.5.4.ebuild 1519
+MD5 c443e27eb6cfe320a1b5597ce8a12324 f-prot-4.5.4-r1.ebuild 1793
+MD5 5a4cd24919ac2218b5b58bb6be93047a f-prot-4.5.4.ebuild 1790
MD5 f3be9aa98602afac91eca0dceca62edd files/digest-f-prot-4.5.4 70
+MD5 f3be9aa98602afac91eca0dceca62edd files/digest-f-prot-4.5.4-r1 70
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCHk7VQlM6RnzZP+IRAp/xAKCZybnRsdA7jcYMYFT+vSr/cukxtgCcDbTF
-FnLQpON5rY9PpvLBsf185c8=
-=yapy
+iD8DBQFCHlrUQlM6RnzZP+IRAgruAJ4sBGzbLZqKIc/uaIVahc9wE4s3TgCeIIDD
+UFxLOS+68hbfdOVa3vKf8fU=
+=fqaa
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/f-prot/f-prot-4.5.4-r1.ebuild b/app-antivirus/f-prot/f-prot-4.5.4-r1.ebuild
new file mode 100644
index 000000000000..ec1dd93ce465
--- /dev/null
+++ b/app-antivirus/f-prot/f-prot-4.5.4-r1.ebuild
@@ -0,0 +1,64 @@
+# 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.5.4-r1.ebuild,v 1.1 2005/02/24 22:53:00 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 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 /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
+
+ dosed "s:/usr/local/f-prot:/opt/f-prot:g" /usr/bin/f-prot.sh /opt/f-prot/tools/check-updates.pl
+}
+
+pkg_postinst() {
+ echo
+ einfo "Remember to run /opt/f-prot/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
+ 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/f-prot-4.5.4.ebuild b/app-antivirus/f-prot/f-prot-4.5.4.ebuild
index f0e56b8781b9..0620298d925f 100644
--- a/app-antivirus/f-prot/f-prot-4.5.4.ebuild
+++ b/app-antivirus/f-prot/f-prot-4.5.4.ebuild
@@ -1,6 +1,6 @@
# 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.5.4.ebuild,v 1.1 2005/02/24 22:01:48 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.5.4.ebuild,v 1.2 2005/02/24 22:53:00 ticho Exp $
IUSE="emul-linux-x86"
@@ -29,10 +29,12 @@ src_install ()
dobin f-prot.sh
dosym /usr/bin/f-prot.sh /usr/bin/f-prot
- dodir /opt/f-prot /var/tmp/f-prot
+ dodir /opt/f-prot/tools /var/tmp/f-prot
+ keepdir /var/tmp/f-prot
+
insinto /opt/f-prot
insopts -m 755
- doins f-prot tools/check-updates.pl
+ doins f-prot
insopts -m 644
doins *.DEF ENGLISH.TX0
@@ -40,7 +42,11 @@ src_install ()
dodoc LICENSE* CHANGES README
dohtml doc_ws/*
- dosed "s:/usr/local/f-prot:/opt/f-prot:g" /usr/bin/f-prot.sh /opt/f-prot/check-updates.pl
+ insinto /opt/f-prot/tools
+ insopts -m 755
+ doins tools/check-updates.pl
+
+ dosed "s:/usr/local/f-prot:/opt/f-prot:g" /usr/bin/f-prot.sh /opt/f-prot/tools/check-updates.pl
}
pkg_postinst() {
@@ -50,6 +56,9 @@ pkg_postinst() {
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/check-updates.pl >/dev/null"
+ echo "0 4 * * * /opt/f-prot/tools/check-updates.pl >/dev/null"
+ 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.5.4-r1 b/app-antivirus/f-prot/files/digest-f-prot-4.5.4-r1
new file mode 100644
index 000000000000..de9f677a3464
--- /dev/null
+++ b/app-antivirus/f-prot/files/digest-f-prot-4.5.4-r1
@@ -0,0 +1 @@
+MD5 af4148c9a729f75e0a711866311832db fp-linux-ws-4.5.4.tar.gz 2912664