diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-12-25 19:20:25 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-12-25 19:20:25 +0000 |
commit | 1f57ea8a78533f39cb95bb592711e7226427899a (patch) | |
tree | a023db4fc97579d7c787a7a1ce0da44fc89edced /app-antivirus | |
parent | xine-lib 1.1.3 release does not work that well with flac 1.1.3 (although it b... (diff) | |
download | gentoo-2-1f57ea8a78533f39cb95bb592711e7226427899a.tar.gz gentoo-2-1f57ea8a78533f39cb95bb592711e7226427899a.tar.bz2 gentoo-2-1f57ea8a78533f39cb95bb592711e7226427899a.zip |
Version bump.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'app-antivirus')
3 files changed, 104 insertions, 1 deletions
diff --git a/app-antivirus/bitdefender-console/ChangeLog b/app-antivirus/bitdefender-console/ChangeLog index 421457094338..69c6e9c2ae8d 100644 --- a/app-antivirus/bitdefender-console/ChangeLog +++ b/app-antivirus/bitdefender-console/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-antivirus/bitdefender-console # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.14 2006/10/26 23:52:21 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/ChangeLog,v 1.15 2006/12/25 19:20:25 ticho Exp $ + +*bitdefender-console-7.1 (25 Dec 2006) + + 25 Dec 2006; Andrej Kacian <ticho@gentoo.org> + +bitdefender-console-7.1.ebuild: + Version bump. 26 Oct 2006; <blubb@gentoo.org> bitdefender-console-7.0.1.ebuild: remove emul-linux-x86 use flag diff --git a/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild new file mode 100644 index 000000000000..7a5e37bb5f0b --- /dev/null +++ b/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/bitdefender-console/bitdefender-console-7.1.ebuild,v 1.1 2006/12/25 19:20:25 ticho Exp $ + +MY_P="BitDefender-Console-Antivirus-${PV}-3.linux-gcc3x.i386.run" +S="${WORKDIR}/i386" + +DESCRIPTION="BitDefender console antivirus" +HOMEPAGE="http://www.bitdefender.com/" +SRC_URI="http://download.bitdefender.com/unices/old/linux/free/bitdefender-console/en/${MY_P}" + +DEPEND="app-arch/tar + app-arch/gzip" +RDEPEND="virtual/libc + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + app-emulation/emul-linux-x86-compat ) + !amd64? ( || ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* ) )" +PROVIDE="virtual/antivirus" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +src_unpack () { + #Extract the tgz achive contained in MY_P + SKIP=`sed -n '/^\x1F/q;p' < ${DISTDIR}/${MY_P} | wc -c` + dd if=${DISTDIR}/${MY_P} ibs=1 skip=$SKIP 2> /dev/null | tar -xz || die "Failed to extract from archive" +} + +src_install() { + local curn + local newn + local is_newer=0 + + cd ${S} + + INSTALLDIR=/opt + QUARDIR=/var/bdc + INIFILE=bdc.ini + + ( + dodir ${QUARDIR} && + dodir ${QUARDIR}/infected && + dodir ${QUARDIR}/suspected + ) || die "Unable to create quarantine directories" + + cd opt/bdc + echo "InfectedFolder = ${QUARDIR}/infected" >> $INIFILE + echo "SuspectedFolder = ${QUARDIR}/suspected" >> $INIFILE + + insinto /opt/bdc + insopts -m 755 + doins bdc + dodir /usr/bin + dosym /opt/bdc/bdc /usr/bin/bdc + + dodir /var/bdc + dodir /var/bdc/infected + keepdir /var/bdc/infected + dodir /var/bdc/suspected + keepdir /var/bdc/suspected + + insopts -m 644 + doins bdc.ini *.so + + dodir /opt/bdc/Plugins + insinto /opt/bdc/Plugins + doins Plugins/* + + doman man/man?/* + dodoc doc/* +} + +pkg_preinst() { + [[ -f /opt/bdc/Plugins/update.txt ]] && rm -f /opt/bdc/Plugins/* +} + +pkg_postinst() { + einfo You should update virus database by running bdc --update + [ -x /sbin/chpax ] && { + echo + ewarn "Disabling some PaX restrictions (\`/sbin/chpax -spm /opt/bdc/bdc\`, see bug #83695)" + /sbin/chpax -spm /opt/bdc/bdc + echo + } +} + +pkg_postrm() { + # Remove leftover datafiles (their mtimes tend to change as user updates + # them). + [[ ! -x /opt/bdc/bdc ]] && rm -rf /opt/bdc +} diff --git a/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.1 b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.1 new file mode 100644 index 000000000000..1dabfb6e8bbc --- /dev/null +++ b/app-antivirus/bitdefender-console/files/digest-bitdefender-console-7.1 @@ -0,0 +1,3 @@ +MD5 82e056ed431795d6bc564ec30d0e8c53 BitDefender-Console-Antivirus-7.1-3.linux-gcc3x.i386.run 4387368 +RMD160 e39354e778ee8e300f3979c85c1d14abf5b1d601 BitDefender-Console-Antivirus-7.1-3.linux-gcc3x.i386.run 4387368 +SHA256 c7cb158e95839faddb585875baa08e83d3f91d37e33367a95e0155627d11aefc BitDefender-Console-Antivirus-7.1-3.linux-gcc3x.i386.run 4387368 |