diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-11-23 09:33:46 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-11-23 09:33:46 +0000 |
commit | be0da0238400f2c73c7b8c5b2a5aaab7af797045 (patch) | |
tree | 04b37e886b047db03896d2165e77d00df92ced1a /app-emulation/vpcs | |
parent | sys-kernel/aufs-sources: Bump to latest genpatches and aufs3 release (diff) | |
download | gentoo-2-be0da0238400f2c73c7b8c5b2a5aaab7af797045.tar.gz gentoo-2-be0da0238400f2c73c7b8c5b2a5aaab7af797045.tar.bz2 gentoo-2-be0da0238400f2c73c7b8c5b2a5aaab7af797045.zip |
New ebuild submitted by Tom (kundarsa@gmail.com) and updated by B-Man. Supports PC virtualization in net-misc/gns3-server, closes bug #512562
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'app-emulation/vpcs')
-rw-r--r-- | app-emulation/vpcs/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/vpcs/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/vpcs/metadata.xml | 12 | ||||
-rw-r--r-- | app-emulation/vpcs/vpcs-0.6.ebuild | 45 |
4 files changed, 69 insertions, 0 deletions
diff --git a/app-emulation/vpcs/ChangeLog b/app-emulation/vpcs/ChangeLog new file mode 100644 index 000000000000..5b23b6a3bd2b --- /dev/null +++ b/app-emulation/vpcs/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for app-emulation/vpcs +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vpcs/ChangeLog,v 1.1 2014/11/23 09:33:46 idella4 Exp $ + +*vpcs-0.6 (23 Nov 2014) + + 23 Nov 2014; Ian Delaney <idella4@gentoo.org> +metadata.xml, +vpcs-0.6.ebuild: + New ebuild submitted by Tom (kundarsa@gmail.com) and updated by B-Man. + Supports PC virtualization in net-misc/gns3-server, closes bug #512562 diff --git a/app-emulation/vpcs/Manifest b/app-emulation/vpcs/Manifest new file mode 100644 index 000000000000..e21b165ee104 --- /dev/null +++ b/app-emulation/vpcs/Manifest @@ -0,0 +1,3 @@ +DIST vpcs-0.6-src.tbz 131820 SHA256 cc311b0dea9ea02ef95f26704d73e34d293caa503600a0acca202d577afd3ceb SHA512 a740f264551de9e8dd95de2fbba444d9525f63c4c5473aea6cf1016c99d7866f3d0623f9f934bda7a0b565c23179647734c400ce3bb685fdab8ec6c35f25d671 WHIRLPOOL a4396f11ed64583ee5d0c7a681fb8f05c792b27eaac057b3ad85d63173d7ccdb7cd679e4b0a1a0f2904d64c51d922f75ab08b638053a0364443f4a0661b80fda +EBUILD vpcs-0.6.ebuild 951 SHA256 cb78a7f8cad89ba749c0a2f3b0aff002f5df9b8a5d04e677a8e50b18cbf9f068 SHA512 7373dac3e44054ee4435a35bff0bcaffd72c3952a11943b5cb5ab841d47e8e5114983629ad719c77edf48420647574bc610f0bb05a6bc107176f045a78d412d2 WHIRLPOOL d6a2f893caa1c51326af2753d0a31d558e02a51e8f112a134636bd11ac358e34af23e35b6060ffe5551a748aded3f0020057efc77552d7c514b8d8ffb1854e14 +MISC metadata.xml 345 SHA256 56cc235fe65d4c5e8a8d379ffffb33c1f6bc547d495b980336cf5a9087e10197 SHA512 1ed1197b6c81b8caa6e52653f2ca3a533b297b078d5742141241accd51ad57445066547e9db811a4ba48cefffcdcf10c913e91fc84625758f1d141f11c1a5b40 WHIRLPOOL 84d2a261db49c8daf20f1b653dedcbbd39e9a45c0e5949d1158530e076b239206ca7c517c48555200c5b61faaf0e5e09a14b8b07dce53662fb7d977d24488e3e diff --git a/app-emulation/vpcs/metadata.xml b/app-emulation/vpcs/metadata.xml new file mode 100644 index 000000000000..0ba10ecfb5b4 --- /dev/null +++ b/app-emulation/vpcs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>idella4@gentoo.org</email> + </maintainer> + <maintainer> + <email>aaron@flappyport.com</email> + <name>Arron Bauman</name> + <description>proxy maintainer</description> + </maintainer> +</pkgmetadata> diff --git a/app-emulation/vpcs/vpcs-0.6.ebuild b/app-emulation/vpcs/vpcs-0.6.ebuild new file mode 100644 index 000000000000..c350d874ade6 --- /dev/null +++ b/app-emulation/vpcs/vpcs-0.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vpcs/vpcs-0.6.ebuild,v 1.1 2014/11/23 09:33:46 idella4 Exp $ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Simulate up to 9 PCs in place of VMware boxes in a Dynamips network" +HOMEPAGE="http://vpcs.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.tbz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${S}/src/" + +src_prepare() { + # move Makefile in place + cp Makefile.linux Makefile + + # replace hardcoded CFLAGS with user set CFLAGS + # append -fno-strict-aliasing to CFLAGS to suppress QA issues from upstream + # add user $LDFLAGS in the front and remove -s that strips binary + sed -e "s/-D\$(CPUTYPE)/${CFLAGS} -fno-strict-aliasing/" \ + -e "s/^LDFLAGS=/LDFLAGS=${LDFLAGS} /" \ + -e "s/-s //" \ + -i Makefile || die +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + #put binary in /usr/bin + dobin vpcs + + doman ../man/vpcs.1 +} |