summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-03-31 22:03:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-03-31 22:03:53 +0000
commit8fce8b453a8fa2d42a075413bf89769563f0eedd (patch)
tree3647cf50ecb8e29fde2e6315c81f202d8fef5526 /net-misc/vmpsd/vmpsd-1.3-r3.ebuild
parentold (diff)
downloadgentoo-2-8fce8b453a8fa2d42a075413bf89769563f0eedd.tar.gz
gentoo-2-8fce8b453a8fa2d42a075413bf89769563f0eedd.tar.bz2
gentoo-2-8fce8b453a8fa2d42a075413bf89769563f0eedd.zip
Add 64-bit patch. Bug #171564.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-misc/vmpsd/vmpsd-1.3-r3.ebuild')
-rw-r--r--net-misc/vmpsd/vmpsd-1.3-r3.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/vmpsd/vmpsd-1.3-r3.ebuild b/net-misc/vmpsd/vmpsd-1.3-r3.ebuild
new file mode 100644
index 000000000000..ecee4a669e68
--- /dev/null
+++ b/net-misc/vmpsd/vmpsd-1.3-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vmpsd/vmpsd-1.3-r3.ebuild,v 1.1 2007/03/31 22:03:53 robbat2 Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="An open-source VLAN management system"
+HOMEPAGE="http://vmps.sourceforge.net"
+SRC_URI="mirror://sourceforge/vmps/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE=""
+DEPEND="virtual/libc
+ net-analyzer/net-snmp
+ dev-libs/openssl"
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-snmp-support.patch
+ epatch ${FILESDIR}/${P}-64bit.patch
+}
+
+src_compile() {
+ append-ldflags -lssl
+ econf \
+ --sysconfdir=/etc/vmpsd \
+ --enable-snmp \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd "${S}"
+ emake DESTDIR="${D}" install || die
+ dodoc README INSTALL AUTHORS doc/*txt
+ newdoc external/README README.external
+ newdoc tools/README README.tools
+ dodoc external/simple tools/vqpcli.pl
+}