diff options
author | 2016-11-30 15:20:39 +0100 | |
---|---|---|
committer | 2016-11-30 15:20:39 +0100 | |
commit | bf8bf70ccbf4baf04db1e91333514b0d6ca7d722 (patch) | |
tree | 0c80df3031d7c0162aae9e89bbf7e8d62b13fb07 | |
parent | clean xrayutilities ebuild (diff) | |
download | anaximander-bf8bf70ccbf4baf04db1e91333514b0d6ca7d722.tar.gz anaximander-bf8bf70ccbf4baf04db1e91333514b0d6ca7d722.tar.bz2 anaximander-bf8bf70ccbf4baf04db1e91333514b0d6ca7d722.zip |
first dirty ebuild of netvirt agent ebuild
-rw-r--r-- | net-misc/netvirt/Manifest | 3 | ||||
-rw-r--r-- | net-misc/netvirt/files/netvirt-agent.service | 13 | ||||
-rw-r--r-- | net-misc/netvirt/metadata.xml | 16 | ||||
-rw-r--r-- | net-misc/netvirt/netvirt-9999.ebuild | 56 |
4 files changed, 88 insertions, 0 deletions
diff --git a/net-misc/netvirt/Manifest b/net-misc/netvirt/Manifest new file mode 100644 index 0000000..cd8d41c --- /dev/null +++ b/net-misc/netvirt/Manifest @@ -0,0 +1,3 @@ +AUX netvirt-agent.service 228 SHA256 b432456f5d27c0ce79d11f33c7d0d5d7ec191b3f904449e7e2e964f51c3927e4 SHA512 9854852a6ff962f0e13fc4fc429f8c1cefd97000b58dacb63dead441f30b2941bb2988556b1d86b263e2921136364fd23d6c7f6e93b47a253d299b802b865921 WHIRLPOOL 58cd7b5da66b697fc0f299fbf9be33124d06e6b3808dd67f59b7178fc800e2b8a58e717f299098ae4a373d8ee197a39c9d7374f9edbba80000ff9c8fa07cbfad +EBUILD netvirt-9999.ebuild 1096 SHA256 d88e619fba0f1e2dcdf3fb1877c43e21017280f0a8461b027ab0b44a958601d2 SHA512 93fd096134010f14556061eae15f42f87f6e0e5056e404e71be7dd3eab8f7cc30ea92de9c4e39c28739455141185b5e0b260a4715557cb29cf79f037e3eae654 WHIRLPOOL 4d3bc319ba2a559dc5982404bd3d121a579fdd07fcd901c2b7f535a5301d6ae5b59b1785f15f53ccf043e3af13a7c6b26d1cc43e054e410d347746534dd403f6 +MISC metadata.xml 593 SHA256 145d542b92a2913fbce00bc4438c756410258fd96a52c71237ace46065a594de SHA512 7e0194d427a5d0afac3297f6a5013df755109869851dc0225cf562a2a7c4159d7963540a33d956aaf47083d108f4bdbb2d405e25f682e12c53d7cdb1808775b2 WHIRLPOOL 15779496b2db337b83e9b4b6dcc5f9d8ff4593286da77ef696640f1021a012990ea7e6fd29d4a6be2a7d4caac1242bbb65fac09cec7fd2089e4275304a63c0fb diff --git a/net-misc/netvirt/files/netvirt-agent.service b/net-misc/netvirt/files/netvirt-agent.service new file mode 100644 index 0000000..f892d29 --- /dev/null +++ b/net-misc/netvirt/files/netvirt-agent.service @@ -0,0 +1,13 @@ +[Unit] +Description=Netvirt Agent +After=network.target + +[Service] +Environment="HOME=/root" +ExecStart=/usr/bin/netvirt-agent +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/netvirt/metadata.xml b/net-misc/netvirt/metadata.xml new file mode 100644 index 0000000..5bffff9 --- /dev/null +++ b/net-misc/netvirt/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dominik.kriegner@gmail.com</email> + <name>Dominik Kriegner</name> + </maintainer> + <longdescription lang="en"> + NetVirt is a network virtualization platform that allows you to create and + manage your own peer-to-peer virtual private network (VPN) with the goal to + keep it simple for everyone. + </longdescription> + <use> + <flag name="gui">Enable building of the graphical user interface</flag> + </use> +</pkgmetadata> diff --git a/net-misc/netvirt/netvirt-9999.ebuild b/net-misc/netvirt/netvirt-9999.ebuild new file mode 100644 index 0000000..a17acb1 --- /dev/null +++ b/net-misc/netvirt/netvirt-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils autotools git-r3 systemd + +DESCRIPTION="NetVirt is an open source network virtualization platform (NVP)" +HOMEPAGE="http://netvirt.org" +EGIT_REPO_URI="https://github.com/netvirt/netvirt.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="gui" + +RDEPEND="sys-libs/libcap + gui? ( dev-qt/qtgui:4 + dev-qt/qtdeclarative:4 )" +DEPEND="${RDEPEND} + dev-util/scons + dev-util/cmake" + +src_configure() { + cd libconfig + econf + cd .. + local mycmakeargs=("-DWITH_GUI=$(usex gui)") + cmake-utils_src_configure +} + +src_compile() { + cd udt4 + emake + cd .. + cd libconfig + emake + cd .. + cd tapcfg + mkdir release + scons --force-32bit + mv build/libtapcfg.so release/libtapcfg32.so + strip release/libtapcfg32.so + rm -rf build + scons --force-64bit + mv build/libtapcfg.so release/libtapcfg64.so + strip release/libtapcfg64.so + cd .. + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + systemd_newunit "${FILESDIR}"/netvirt-agent.service netvirt-agent.service +} |