Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97373 - ebuild for vlnx on amd64
Summary: ebuild for vlnx on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords: TESTED
Depends on:
Blocks:
 
Reported: 2005-06-29 01:21 UTC by Knut Masanetz
Modified: 2005-08-10 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Attached ebuild vlnx-432e-r2-amd64.ebuild (vlnx-432e-r2-amd64.ebuild,1.40 KB, application/octet-stream)
2005-06-29 04:14 UTC, Knut Masanetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Masanetz 2005-06-29 01:21:18 UTC
I've modified the vlnx-432e-r2 to work on a amd64-System with 32 bit emul-linux

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Content of vlnx-432e-r2-amd64.ebuild:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/vlnx/vlnx-432e-r2.ebuild,v 1.5
2005/01/30 13:24:58 ticho Exp $

MY_P="${P/-/}"
S="${WORKDIR}"

DESCRIPTION="McAfee VirusScanner for Unix/Linux(Shareware)"
SRC_URI="http://download.nai.com/products/evaluation/virusscan/english/cmdline/linux/v4.32/intel/${MY_P}.tar.Z
	ftp://kane.evendata.net/pub/${PN}/check-updates.sh.gz"
HOMEPAGE="http://www.mcafeeb2b.com/"

SLOT="0"
LICENSE="VirusScan"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="app-emulation/emul-linux-x86-compat
	app-emulation/emul-linux-x86-baselibs
	net-misc/wget
	dev-lang/perl
	app-arch/unzip"
PROVIDE="virtual/antivirus"
RESTRICT="nostrip nomirror"

src_install() {
	insinto /opt/vlnx

	doins liblnxfv.so.4
	dosym liblnxfv.so.4 /opt/vlnx/liblnxfv.so
	doins messages.dat license.dat

	insopts -m0755
	doins uvscan
	doins check-updates.sh

	insinto /opt/bin
	newins ${FILESDIR}/uvscan.sh uvscan

	dodoc *.{pdf,txt}
	doman uvscan.1

	insinto /etc/cron.daily
	newins ${FILESDIR}/uvscan.cron uvscan

	insopts -m0644
	insinto /etc/env.d
	newins ${FILESDIR}/vlnx-${PV}-envd 40vlnx

	insinto /etc
	doins ${FILESDIR}/uvscan.conf
}

pkg_postinst() {
	/opt/vlnx/check-updates.sh

	echo
	einfo "Recommended amavisd-new command line:"
	einfo "  '--secure --mime --program --mailbox -rv --summary --noboot --timeout
180'"
	echo
}
Comment 1 Knut Masanetz 2005-06-29 04:14:38 UTC
Created attachment 62219 [details]
Attached ebuild vlnx-432e-r2-amd64.ebuild
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2005-08-10 07:58:30 UTC
fixed

next time please set the MIME type correct, it's a bit annoying to have to
download it first just to have a quick look at it. your bugs will get fixed
sooner with a correct mime-type.