diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2014-01-07 11:49:46 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2014-01-07 11:49:46 +0000 |
commit | 3799b7dee439cde7e606504128d533f4f2d3b36a (patch) | |
tree | 53cc16f8ddf34dee49033e6348c416d8964986aa /net-misc | |
parent | Initial commit. Ebuild & init script by Jaco Kroon, closes bug #496934. (diff) | |
download | historical-3799b7dee439cde7e606504128d533f4f2d3b36a.tar.gz historical-3799b7dee439cde7e606504128d533f4f2d3b36a.tar.bz2 historical-3799b7dee439cde7e606504128d533f4f2d3b36a.zip |
Initial commit. Ebuild & init script by Jaco Kroon, closes bug #496934.
Package-Manager: portage-2.2.8/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/stuntman/Manifest | 16 | ||||
-rw-r--r-- | net-misc/stuntman/files/initd.v1 | 21 | ||||
-rw-r--r-- | net-misc/stuntman/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/stuntman/stuntman-1.2.6.ebuild | 38 |
4 files changed, 80 insertions, 3 deletions
diff --git a/net-misc/stuntman/Manifest b/net-misc/stuntman/Manifest index b62e62161a77..cd1e14e980c6 100644 --- a/net-misc/stuntman/Manifest +++ b/net-misc/stuntman/Manifest @@ -1,5 +1,15 @@ -AUX initd.v1 450 SHA256 5b91b543b830ffaede44b25618294c7873df835f972486d843db1a11644ea187 SHA512 6a0ad57276e03974fb1eac8b46f8919dd27040ff4b862da487c6273b76048fa9cd1ccd3d11cd4cdf36e61477ae1356090ea466a23559e3501e119775aa265f70 WHIRLPOOL 54d49a15bb64c83996c1b5db4876e3de556f503095a95d81ecc7b46d7f59ee998ea18bf0efec96fd1ecfa22734a7c4dab13da30199a4e121fe14beca28e4be1a +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX initd.v1 546 SHA256 92251d9ffd7bb7bb49d3e4d754c62425615637cf2db77d4b6d980357090d4ee6 SHA512 c0d07aef394d456d5caaab0e479c8e7b3bb9f6490d33334ae56de15d5fcd66a279d3884a1bd4694c87af1352fcb6f3ba290fab5a6f5a7c0e1509df91cf40bdd0 WHIRLPOOL 8aeb8757f32a833d892a387b2989aef740fb61d15f1a7bd2813e5aadc560e2b6f28fa57b2a3252f7aef4e1d8d8c04b9d05d56057a3254dba551ce117e8d5f7f8 DIST stunserver-1.2.6.tgz 116056 SHA256 6d88792f6bba4be4a21227e1dbb58e5fad5bb36ce826352187d35451d9c6f58f SHA512 1d5f74d851308cf455795f9fcc80cdec687b4b1f6fa44477f13b7085c41a1c2eb8ab94578c71f9f00e4c830f3775d5d56f320247fd6b7d227a45e679ba784ef4 WHIRLPOOL 226c9520547102b6a49f227f97e00899d7f5d2c4775c32c8bea3dfa52659281fe97c41d6c384bd2adb102c64600391c20227c4698157223adc8b992a299d607b -EBUILD stuntman-1.2.6.ebuild 635 SHA256 8f72522ffa116b2c40bc55205663d169bafb04a0eba5a7ed36421834b11b43dd SHA512 413a723077b5395d6de2f8f97ea037ff34b14e6e90409ab1d63e9c406395578ef23e3071ebf5a8c38022657546f92877c3473e8900fab48cc08ad17726af6772 WHIRLPOOL 83597e50856913dbaa8123231b25ab8a30e30bcc08a7cb5342b67cc475c766bae66b8df834223bc1ae9268863e9833468738ee8ca52e9cc490cf3cba3cf95306 -MISC ChangeLog 330 SHA256 c93c2bb563a1a6a807f8d7817523caefa70f09f6c34f8939c2761e063d3cef9e SHA512 937652308f6e21b0ddcbd9a41cdbea3b293f4b49910a634feedb2b6719ce945fdc4352c700ac19cecda781a8ff2e9a22f0d0f7fa8241fc5468f4673319ba521e WHIRLPOOL d178e5b873780e1b9ab6482645d17e67bb9fdfd19de61261b8f8c150bd6e6579160e6322d77cf8041a6048d2bcf5cd89d8a066e1c1045519fd0b16da73a962f8 +EBUILD stuntman-1.2.6.ebuild 738 SHA256 e5d835a7284b19c17ecd2cdc2b92676311a04e1ef34e7b509a6ef38e7cc54d44 SHA512 9d01c19f0e8f998b803594f10e0e0ce682715e64b6b3b30d17216a5b892b97d3f62dfdbec2f52184c5c367af497509f01878e0e56e31a71f0cba75cc52b7db87 WHIRLPOOL 17c913f873caf9192d0c165e24419b6a1f84f859f2153d9935ede1fa892129c8d54a1062b50b2a2428c25efc1807a9f0fc92f083479775976fa0a5e3ce44d0b1 +MISC ChangeLog 421 SHA256 b29bc9ee25dc3eca1483fe925f5a7d9eab7ef365b0062d5b94189d846b0e12ae SHA512 0ac86f571fbbaf2a08721851c3d262857075667e28ea13a32b0d7e05dc00ae091f144305e9721e7011b858fabba7ca6680526f919b1497915b28be586519d1be WHIRLPOOL 0f6dd8f8cf7ab8f992f2bbeca14d25cecab336e09adb3e298f13a4e7678e5ac866c91486147516ea3e0006196074dbbbc717dda7dee2c533dc83e739ac3b7a1f MISC metadata.xml 237 SHA256 88d9092fd208599a8b524cca9633d9330223e45c34a44e54b2de05edb4738ac7 SHA512 11773ab2b5adaa81f3c8f73413d2f257ea1d1624df689154ee2697412ff14ea8f9851b805c4a474b486abb0a066cfc929f91eb852a208b9536885d467df36af1 WHIRLPOOL 324b778d3103d615af41fd6d1d978beeeeb08f4823a3c81fd453464b4df2ed59b56a481ddd65b4eb740dc75b4dc69133e761199abe6d27333b1fce97d5b5a1be +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iEYEAREIAAYFAlLL6csACgkQp5vW4rUFj5r4vACfVCfgEtltRCfNDYOhpIwQlcgy +3cAAn2Z6H0YlOoGkGpkjaLssee/YU10W +=U56c +-----END PGP SIGNATURE----- diff --git a/net-misc/stuntman/files/initd.v1 b/net-misc/stuntman/files/initd.v1 new file mode 100644 index 000000000000..6deca9632cb2 --- /dev/null +++ b/net-misc/stuntman/files/initd.v1 @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stuntman/files/initd.v1,v 1.1 2014/01/07 11:49:44 chainsaw Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting STUNTMAN" + start-stop-daemon --start --quiet --exec /usr/sbin/stunserver \ + --make-pidfile --pidfile=/run/stunserver.pid --background + eend $? +} + +stop() { + ebegin "Stopping STUNTMAN" + start-stop-daemon --stop --quiet --pidfile=/run/stunserver.pid + eend $? +} diff --git a/net-misc/stuntman/metadata.xml b/net-misc/stuntman/metadata.xml new file mode 100644 index 000000000000..3ed4669f55a4 --- /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> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> +</pkgmetadata> diff --git a/net-misc/stuntman/stuntman-1.2.6.ebuild b/net-misc/stuntman/stuntman-1.2.6.ebuild new file mode 100644 index 000000000000..d06c38d364a9 --- /dev/null +++ b/net-misc/stuntman/stuntman-1.2.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stuntman/stuntman-1.2.6.ebuild,v 1.1 2014/01/07 11:49:43 chainsaw Exp $ + +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" +IUSE="" + +DEPEND="dev-libs/boost + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/stunserver" + +src_compile() +{ + emake T="" +} + +src_install() +{ + dobin stunclient + dosbin stunserver + dodoc HISTORY README + newinitd "${FILESDIR}/initd.v1" stuntman +} + +src_test() +{ + ./stuntestcode +} |