diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2014-01-07 11:49:44 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2014-01-07 11:49:44 +0000 |
commit | b16cc3b989fbfe480342fcbe35bb7750379bab80 (patch) | |
tree | fefc40977fb71c9fd8989b16c3ec5e93b6613777 /net-misc/stuntman | |
parent | Add missing data directory. Thanks to Alex Turbov. Fixes bug #497372. Add mis... (diff) | |
download | gentoo-2-b16cc3b989fbfe480342fcbe35bb7750379bab80.tar.gz gentoo-2-b16cc3b989fbfe480342fcbe35bb7750379bab80.tar.bz2 gentoo-2-b16cc3b989fbfe480342fcbe35bb7750379bab80.zip |
Initial commit. Ebuild & init script by Jaco Kroon, closes bug #496934.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
Diffstat (limited to 'net-misc/stuntman')
-rw-r--r-- | net-misc/stuntman/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/stuntman/Manifest | 5 | ||||
-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 |
5 files changed, 82 insertions, 0 deletions
diff --git a/net-misc/stuntman/ChangeLog b/net-misc/stuntman/ChangeLog new file mode 100644 index 000000000000..c4fa0e4cd951 --- /dev/null +++ b/net-misc/stuntman/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/stuntman +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stuntman/ChangeLog,v 1.1 2014/01/07 11:49:43 chainsaw Exp $ + +*stuntman-1.2.6 (07 Jan 2014) + + 07 Jan 2014; Tony Vroon <chainsaw@gentoo.org> +stuntman-1.2.6.ebuild, + +files/initd.v1, +metadata.xml: + Initial commit. Ebuild & init script by Jaco Kroon, closes bug #496934. + diff --git a/net-misc/stuntman/Manifest b/net-misc/stuntman/Manifest new file mode 100644 index 000000000000..b62e62161a77 --- /dev/null +++ b/net-misc/stuntman/Manifest @@ -0,0 +1,5 @@ +AUX initd.v1 450 SHA256 5b91b543b830ffaede44b25618294c7873df835f972486d843db1a11644ea187 SHA512 6a0ad57276e03974fb1eac8b46f8919dd27040ff4b862da487c6273b76048fa9cd1ccd3d11cd4cdf36e61477ae1356090ea466a23559e3501e119775aa265f70 WHIRLPOOL 54d49a15bb64c83996c1b5db4876e3de556f503095a95d81ecc7b46d7f59ee998ea18bf0efec96fd1ecfa22734a7c4dab13da30199a4e121fe14beca28e4be1a +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 +MISC metadata.xml 237 SHA256 88d9092fd208599a8b524cca9633d9330223e45c34a44e54b2de05edb4738ac7 SHA512 11773ab2b5adaa81f3c8f73413d2f257ea1d1624df689154ee2697412ff14ea8f9851b805c4a474b486abb0a066cfc929f91eb852a208b9536885d467df36af1 WHIRLPOOL 324b778d3103d615af41fd6d1d978beeeeb08f4823a3c81fd453464b4df2ed59b56a481ddd65b4eb740dc75b4dc69133e761199abe6d27333b1fce97d5b5a1be 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 +} |