summaryrefslogtreecommitdiff
path: root/net-misc/stuntman
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/stuntman
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/stuntman')
-rw-r--r--net-misc/stuntman/Manifest9
-rw-r--r--net-misc/stuntman/files/stuntman.confd7
-rw-r--r--net-misc/stuntman/files/stuntman.initd12
-rw-r--r--net-misc/stuntman/metadata.xml8
-rw-r--r--net-misc/stuntman/stuntman-1.2.7.ebuild35
-rw-r--r--net-misc/stuntman/stuntman-1.2.9.ebuild35
6 files changed, 106 insertions, 0 deletions
diff --git a/net-misc/stuntman/Manifest b/net-misc/stuntman/Manifest
new file mode 100644
index 000000000000..6da224b8b4d3
--- /dev/null
+++ b/net-misc/stuntman/Manifest
@@ -0,0 +1,9 @@
+AUX stuntman.confd 403 SHA256 852e86282d1929533c595377cd4603b92b90821433500aa3c92b000e964ef4cd SHA512 eeb3d8cc7299cf0d42c5fc111207685bfd2e722dd4389f7fb37250313e9cf3c91d0037b19723bb1018a54daca677fe60f65aa8b5f7fff70e4f6325dc9b7e1e66 WHIRLPOOL 2ddb42d15c5e16f06ce372daf182de80117a5d08923562819a44dc03e1cec4acbfe719fad6a134ed0d14f50f3555f650a12b9bc5ed9a6d55e2b8f83cf5f20e42
+AUX stuntman.initd 272 SHA256 95a706ee8333358d0576ba2263c11fd616ced76d5be072e7400e2780e65fe577 SHA512 e8cb2d80573a57e582f4fd68f3772a93c74eb7abf96539acb1441eb1e94a6dcc7fad84f65d13d7ca7a4130801b69af9314fc78c4089c6d0f05a3b0366abedb18 WHIRLPOOL 9b0b3aed4db7a453a42eca5174b72a370b4f570722a08bb736d1feae74882f2bcce406f471745c9005679c1c204d1ad0a4181f7b8a5a36a01a409123ee293e13
+DIST stunserver-1.2.7.tgz 113853 SHA256 51415bf83339f059c6a65bbece9b758e3f198cb86063a0f1b4f12d825c87640e SHA512 b6adc1b237e8717f296201bf865bea39c759b978db954cc15e37c3be7c2e109607273d96bb88c42654d0b843ca1a557874d02ab58e16506534db30f52d7e6f51 WHIRLPOOL 67b19195b6f64420d9283241e7f51442b347020a55e46f405c3e875a6c59eca382bc680b3b17874a77df76ba8e64d1ecfa40367ef1713e83e96c25c4c6f441d1
+DIST stunserver-1.2.9.tgz 116797 SHA256 f63452869bccc6dc1ae55a9cce9e34fba3b96bb7b0f70ea33b211a0fb4eff49a SHA512 8e947dbe050f70e10615a23900dbd2151cd9fad36e343b4cf34c0b7a4e07debb8ced16fb7eac0469cd5ec3ef7a4c04cb9347f59c2a1326af3db400906198454f WHIRLPOOL 1da2c751ac28d0b80c3d88bfbccb7e9bc63791f85ac1c209d0ae9d2005d799d1f97471b8d54b0a7317599afb927cadc2c34b694e5c3a7b730ec643422187336f
+EBUILD stuntman-1.2.7.ebuild 670 SHA256 cc7e1839c4136b907f0c3454f4d73a5ddde1a88145df10d752bde013f97028fa SHA512 df2401d9d371e122ebdfb99c2e3d51473f85f2b4f117d24725f52dd7175b8964c75722a33d8a732bbfe23768a23c130c4cd1f61e71913e1a187af68def0eacd2 WHIRLPOOL fae2b34db6a315d117cdc56945173e9b183789d0c8f047675ad626490d47871769d817caa6d6edfc198d91f5f3616170921c059a1e588e943d40086d0fcfb6c5
+EBUILD stuntman-1.2.9.ebuild 670 SHA256 af03d9b1df63fe09dda4b25dbad5e388bdaa5ea8d2208b07fcda96c3718552c2 SHA512 f8b38864ac8d046bd19599ed8970330eb0f5e9c4b2d5c42bf3c66bc0d33616ee4a8c96c428392bb56168321f84424135afeceb4c159842c65bab067cc37334ac WHIRLPOOL fa991c0d414f280ebb28a9b34b1b793b51d30278b4515fd9bb428e6c2e0c3a755879d2128caba13c0eec352294584714dbd3c1c56b01d666d9ed21bc65a9d2aa
+MISC ChangeLog 2864 SHA256 1335fde4e4342daa4bc83de62995a5ad7a450bf44e0d8d72507a7c10a820b59d SHA512 e01e597918e7c130d43d7e64aacb4c9523454402e7fabcc9015edca5663e8d912f396df07a30519708dd285b7df18d230883822365b60454af299842e9223072 WHIRLPOOL d8638a52d708b49be1f95a7d134e6aa9581b0abbe7b7f73d9369d3b15453748e9a3ecdfd6ba9806b7e90d554655b31805309cb2c9f45c23fb70000fca61589b2
+MISC ChangeLog-2015 1290 SHA256 300d47effb4ff5c405526fd8abe4d3ce741c8551fdcb60b8ad0c465f24341b12 SHA512 efc730ae00c90d5d8ec1b2360c2b0efb7f05e744d17474fb979eed81481775514e84352045e6b2ae0ab9fc9466507f4464b16e69ce04da54e4627a47b0801995 WHIRLPOOL 22de215777603e9fa91dfbcc066bc3eb319827d699e7746a8d53539322f325e905162d1b91990a3e9b460007e3942d1a52d68524fa744d8b9b7385c6dd52d755
+MISC metadata.xml 251 SHA256 f6ff468128d9aa804b47d9a184c761b4123b908d302eec0953226acd00fc80df SHA512 7ea734b9e52a4e36b11e004da4a8178aa529574adee2129ba57b1ce75fd5017431fdfffe7a4a536c798ae645497a44b07c748d77308325cf4d6af070ff167edd WHIRLPOOL 1610f6ab9cfa21736bbc4643fec692b621f8889a5888b4189847af4aa6f5719829cfaba363c480483fe7e8fb2c40d417e986964b52cb21d564940c4b51f8554d
diff --git a/net-misc/stuntman/files/stuntman.confd b/net-misc/stuntman/files/stuntman.confd
new file mode 100644
index 000000000000..a49d512843e8
--- /dev/null
+++ b/net-misc/stuntman/files/stuntman.confd
@@ -0,0 +1,7 @@
+# Stuntman's stunserver normally starts in simple mode.
+# It's recommended to run stunserver in full mode, there are
+# basically two options, bind it to two separate interfaces,
+# or more conveniently, to IP addresses. There are numerous
+# other options for stunserver, just run stunserver --help
+# for more information.
+#STUNTMAN_PARAMS="--mode full --primaryinterface 1.2.3.4 --altinterface 1.2.3.5"
diff --git a/net-misc/stuntman/files/stuntman.initd b/net-misc/stuntman/files/stuntman.initd
new file mode 100644
index 000000000000..d0730a017031
--- /dev/null
+++ b/net-misc/stuntman/files/stuntman.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/run/stunserver.pid"
+command="/usr/sbin/stunserver"
+command_args="${STUNTMAN_PARAMS}"
+command_background="true"
+
+depend() {
+ need net
+}
diff --git a/net-misc/stuntman/metadata.xml b/net-misc/stuntman/metadata.xml
new file mode 100644
index 000000000000..5087760546f6
--- /dev/null
+++ b/net-misc/stuntman/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/stuntman/stuntman-1.2.7.ebuild b/net-misc/stuntman/stuntman-1.2.7.ebuild
new file mode 100644
index 000000000000..dfb40eb4a220
--- /dev/null
+++ b/net-misc/stuntman/stuntman-1.2.7.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="STUNTMAN is an open source implementation of the STUN protocol"
+HOMEPAGE="http://www.stunprotocol.org"
+SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/boost
+ dev-libs/openssl:0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/stunserver"
+
+src_compile() {
+ emake T=""
+}
+
+src_install() {
+ dobin stunclient
+ dosbin stunserver
+ dodoc HISTORY README
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+}
+
+src_test() {
+ ./stuntestcode
+}
diff --git a/net-misc/stuntman/stuntman-1.2.9.ebuild b/net-misc/stuntman/stuntman-1.2.9.ebuild
new file mode 100644
index 000000000000..d391ab7e5ef0
--- /dev/null
+++ b/net-misc/stuntman/stuntman-1.2.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="STUNTMAN is an open source implementation of the STUN protocol"
+HOMEPAGE="http://www.stunprotocol.org"
+SRC_URI="http://www.stunprotocol.org/stunserver-${PV}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/boost
+ dev-libs/openssl:0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/stunserver"
+
+src_compile() {
+ emake T=""
+}
+
+src_install() {
+ dobin stunclient
+ dosbin stunserver
+ dodoc HISTORY README
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+}
+
+src_test() {
+ ./stuntestcode
+}