diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-08-15 00:50:46 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-08-15 00:50:46 +0000 |
commit | 57a780472982fba03cce8c41492e1bdd84b0cf4d (patch) | |
tree | ea603ffacbe79bf8a614d81366bc7b296298b970 /app-antivirus | |
parent | (#102554) Don't mention X11R6, since this is now X11R7. (diff) | |
download | gentoo-2-57a780472982fba03cce8c41492e1bdd84b0cf4d.tar.gz gentoo-2-57a780472982fba03cce8c41492e1bdd84b0cf4d.tar.bz2 gentoo-2-57a780472982fba03cce8c41492e1bdd84b0cf4d.zip |
Install /etc/f-prot.conf as a symlink to /opt/f-prot/f-prot.conf. See bug #102365, comment #3 for rationale.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-antivirus')
-rw-r--r-- | app-antivirus/f-prot/ChangeLog | 8 | ||||
-rw-r--r-- | app-antivirus/f-prot/Manifest | 14 | ||||
-rw-r--r-- | app-antivirus/f-prot/f-prot-4.6.0-r1.ebuild | 69 | ||||
-rw-r--r-- | app-antivirus/f-prot/files/digest-f-prot-4.6.0-r1 | 1 |
4 files changed, 80 insertions, 12 deletions
diff --git a/app-antivirus/f-prot/ChangeLog b/app-antivirus/f-prot/ChangeLog index 89ed349ed5c6..d28cec70b327 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.35 2005/08/13 17:32:06 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.36 2005/08/15 00:50:46 ticho Exp $ + +*f-prot-4.6.0-r1 (15 Aug 2005) + + 15 Aug 2005; Andrej Kacian <ticho@gentoo.org> +f-prot-4.6.0-r1.ebuild: + Install /etc/f-prot.conf as a symlink to /opt/f-prot/f-prot.conf. See bug + #102365, comment #3 for rationale. *f-prot-4.6.0 (13 Aug 2005) diff --git a/app-antivirus/f-prot/Manifest b/app-antivirus/f-prot/Manifest index 2fa002b87578..b10450c91c31 100644 --- a/app-antivirus/f-prot/Manifest +++ b/app-antivirus/f-prot/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 886e2c224cbc555a71f3a3510b12c29f f-prot-4.5.4-r1.ebuild 1877 +MD5 4f83545a75724a3dd28049381ecd9696 f-prot-4.6.0-r1.ebuild 1794 MD5 5ffef451fdeadb27e1770d8feb3b5304 f-prot-4.6.0.ebuild 1848 -MD5 532eb3cbb61f61d9c63012c0759771ad ChangeLog 8727 +MD5 71abd8db9c49c838ebf129778e1bd92a ChangeLog 8946 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 +MD5 c0075e0b3eeeaf1ebb478a49c4b9d7f9 files/digest-f-prot-4.6.0-r1 70 MD5 c07e3b0148a64826500324924b3d71f8 files/f-prot.sh 122 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFC/i62QlM6RnzZP+IRAmytAJ4mt2YWxttGVTrthBVKckv1lY54hQCfXD2B -ITSfKbH4jm8XFWnC9Lv1Qe0= -=VoEJ ------END PGP SIGNATURE----- diff --git a/app-antivirus/f-prot/f-prot-4.6.0-r1.ebuild b/app-antivirus/f-prot/f-prot-4.6.0-r1.ebuild new file mode 100644 index 000000000000..3e0484575ab5 --- /dev/null +++ b/app-antivirus/f-prot/f-prot-4.6.0-r1.ebuild @@ -0,0 +1,69 @@ +# 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-r1.ebuild,v 1.1 2005/08/15 00:50:46 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 /opt/f-prot + insopts -m 755 + + newins etc/f-prot.conf.default f-prot.conf + dodir /etc + dosym /opt/f-prot/f-prot.conf /etc/f-prot.conf + + 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-r1 b/app-antivirus/f-prot/files/digest-f-prot-4.6.0-r1 new file mode 100644 index 000000000000..733ed69009e9 --- /dev/null +++ b/app-antivirus/f-prot/files/digest-f-prot-4.6.0-r1 @@ -0,0 +1 @@ +MD5 cbee04bcb2df84951964ac9c86cf29c0 fp-linux-ws-4.6.0.tar.gz 3714710 |