summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-01-30 13:06:38 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-01-30 13:06:38 +0000
commitfae1423db92a0037a0b694ff58449ebc9320b421 (patch)
tree965f0c16fdb79b3acce98913324b0a8c474ecb0c /app-antivirus/f-prot
parentVersion bump. Marked 24 stable on x86. (diff)
downloadgentoo-2-fae1423db92a0037a0b694ff58449ebc9320b421.tar.gz
gentoo-2-fae1423db92a0037a0b694ff58449ebc9320b421.tar.bz2
gentoo-2-fae1423db92a0037a0b694ff58449ebc9320b421.zip
Added postinst notice about updating. Bug #31440.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-antivirus/f-prot')
-rw-r--r--app-antivirus/f-prot/ChangeLog6
-rw-r--r--app-antivirus/f-prot/f-prot-4.5.2.ebuild44
-rw-r--r--app-antivirus/f-prot/f-prot-4.5.3.ebuild13
-rw-r--r--app-antivirus/f-prot/files/digest-f-prot-4.5.21
4 files changed, 17 insertions, 47 deletions
diff --git a/app-antivirus/f-prot/ChangeLog b/app-antivirus/f-prot/ChangeLog
index c92aa4d0e8f6..50a5224d6808 100644
--- a/app-antivirus/f-prot/ChangeLog
+++ b/app-antivirus/f-prot/ChangeLog
@@ -1,6 +1,10 @@
# 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.26 2005/01/11 11:11:36 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.27 2005/01/30 13:06:38 ticho Exp $
+
+ 30 Jan 2005; Andrej Kacian <ticho@gentoo.org> -f-prot-4.5.2.ebuild,
+ f-prot-4.5.3.ebuild:
+ Added a postinst notice about updating virus database. Bug #31440.
*f-prot-4.5.3 (06 Jan 2005)
diff --git a/app-antivirus/f-prot/f-prot-4.5.2.ebuild b/app-antivirus/f-prot/f-prot-4.5.2.ebuild
deleted file mode 100644
index 158faf13743a..000000000000
--- a/app-antivirus/f-prot/f-prot-4.5.2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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.2.ebuild,v 1.3 2005/01/11 11:11:36 eradicator 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 /var/tmp/f-prot
- insinto /opt/f-prot
- insopts -m 755
- doins f-prot tools/check-updates.pl
- insopts -m 644
- doins *.DEF ENGLISH.TX0
-
- doman man_pages/*
- 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
-}
diff --git a/app-antivirus/f-prot/f-prot-4.5.3.ebuild b/app-antivirus/f-prot/f-prot-4.5.3.ebuild
index ba49e2ff5361..003192029f1b 100644
--- a/app-antivirus/f-prot/f-prot-4.5.3.ebuild
+++ b/app-antivirus/f-prot/f-prot-4.5.3.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.3.ebuild,v 1.2 2005/01/11 11:11:36 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.5.3.ebuild,v 1.3 2005/01/30 13:06:38 ticho Exp $
IUSE="emul-linux-x86"
@@ -42,3 +42,14 @@ src_install ()
dosed "s:/usr/local/f-prot:/opt/f-prot:g" /usr/bin/f-prot.sh /opt/f-prot/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
+}
diff --git a/app-antivirus/f-prot/files/digest-f-prot-4.5.2 b/app-antivirus/f-prot/files/digest-f-prot-4.5.2
deleted file mode 100644
index 0706a41adf57..000000000000
--- a/app-antivirus/f-prot/files/digest-f-prot-4.5.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c21c006a7687f0d332b4ea63e7fc4577 fp-linux-ws-4.5.2.tar.gz 2886900