diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-02-24 22:53:00 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-02-24 22:53:00 +0000 |
commit | e204b4b668b30d0da07a02785897a41c0af80a14 (patch) | |
tree | d0dcfae42a7ef488097d621dcab3ac03fea2edb8 /app-antivirus/f-prot | |
parent | Removed deprecated ebuilds. (diff) | |
download | gentoo-2-e204b4b668b30d0da07a02785897a41c0af80a14.tar.gz gentoo-2-e204b4b668b30d0da07a02785897a41c0af80a14.tar.bz2 gentoo-2-e204b4b668b30d0da07a02785897a41c0af80a14.zip |
Install update script to proper location. Keepdir /var/tmp/f-prot.
(Portage version: 2.0.51.16)
Diffstat (limited to 'app-antivirus/f-prot')
-rw-r--r-- | app-antivirus/f-prot/ChangeLog | 10 | ||||
-rw-r--r-- | app-antivirus/f-prot/Manifest | 14 | ||||
-rw-r--r-- | app-antivirus/f-prot/f-prot-4.5.4-r1.ebuild | 64 | ||||
-rw-r--r-- | app-antivirus/f-prot/f-prot-4.5.4.ebuild | 19 | ||||
-rw-r--r-- | app-antivirus/f-prot/files/digest-f-prot-4.5.4-r1 | 1 |
5 files changed, 91 insertions, 17 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..25b14c97446f 100644 --- a/app-antivirus/f-prot/Manifest +++ b/app-antivirus/f-prot/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 c7fdef96b96ebe8d90b3575c08ca2863 ChangeLog 7850 MD5 3bf44a2cd492aedb8f27a23f2fe357ff metadata.xml 261 -MD5 c722abfa05a255fae1b76db3ed424d08 f-prot-4.5.4.ebuild 1519 +MD5 0cb39e7d5038986d24a305cf99908424 f-prot-4.5.4-r1.ebuild 1790 +MD5 0cb39e7d5038986d24a305cf99908424 f-prot-4.5.4.ebuild 1790 MD5 f3be9aa98602afac91eca0dceca62edd files/digest-f-prot-4.5.4 70 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCHk7VQlM6RnzZP+IRAp/xAKCZybnRsdA7jcYMYFT+vSr/cukxtgCcDbTF -FnLQpON5rY9PpvLBsf185c8= -=yapy ------END PGP SIGNATURE----- +MD5 f3be9aa98602afac91eca0dceca62edd files/digest-f-prot-4.5.4-r1 70 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 |