diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/rinetd |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/rinetd')
-rw-r--r-- | net-misc/rinetd/Manifest | 6 | ||||
-rw-r--r-- | net-misc/rinetd/files/rinetd.rc | 22 | ||||
-rw-r--r-- | net-misc/rinetd/metadata.xml | 5 | ||||
-rw-r--r-- | net-misc/rinetd/rinetd-0.62-r2.ebuild | 33 |
4 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/rinetd/Manifest b/net-misc/rinetd/Manifest new file mode 100644 index 000000000000..c612748eb135 --- /dev/null +++ b/net-misc/rinetd/Manifest @@ -0,0 +1,6 @@ +AUX rinetd.rc 368 SHA256 464be560d2fca723950db22f31d0a39335ce1778de1e1f101f0016b7c8271037 SHA512 ee8ba6827b7d53a388a72f1fecdf38c0c6efd5b1cc54219c8c764e5cd073cfb5a3c1ba284520973aa2f219267a38b604162fde612f47b28f949d07fc84ddfdae WHIRLPOOL d798afde63371786e15e7f2919745c3d6f6ef8b103cb6565f549c28e43f78fb68f88ea4db2991c37e1fd1061d2ada20831ef4dcbc702c62a88ed965f4c3a177d +DIST rinetd.tar.gz 115541 SHA256 0c68d27c5bd4b16ce4f58a6db514dd6ff37b2604a88b02c1dfcdc00fc1059898 SHA512 b6ddb496b4542ad46aacaef4b2241b16b9ee43f2f6761a18a4813d83a0a9db23fbd73a554393dcf01ae7350e8b6662571414ca6f93a949ce4effbbeddc198606 WHIRLPOOL 212e67691aa502d562ced0ce7ebc540064a604de4a2879f07cbcccc20892b6635009526ccd318a2d201e74882844090bad004917894ebe26e26ad027589a8690 +EBUILD rinetd-0.62-r2.ebuild 689 SHA256 5e6b71249384c1ff477dd11fcf1b1238daca97f6d15fa92c70477c9bf6a14b61 SHA512 1560b667fdd382e08474db6b5eb6a51186e18bc4f343c85c491e9472fc3d9abf3ed275cccddd5bce6aaec39cbdf94bb6e33f968893065c18fe60177b077101ae WHIRLPOOL 893b65d49172e41621245e059a150d5d8a068bf4de130de0d61bbda1dfbc3d82fc62bb7f20c034637e4da438a2ba5829fc08baac826e1ec87729b3ec3f3eb754 +MISC ChangeLog 2940 SHA256 bda810ebecd172fda707db676903068c5752c98dd58ee8648faa345041d93a90 SHA512 4c256101c55e85601c5f8e44c76885d3366b8e0eb2cb6aa92048af57bd40eba5485e3b87e058c5a3a3ffefe06fee24a1f3e4fe4b5aeb9e031c6d4f2de9619ef0 WHIRLPOOL 8cff3a2cf7fba81b57a0bfebed022420e8f79703b7bf15888c8f95323dd30f2b87491595b42523e9021536af38655f393f1b24494b2dd4bd0aca45148cfece44 +MISC ChangeLog-2015 1323 SHA256 7282fb695cc796a33ffe3359e2671106f43c56c5ab1253c8225c4f4ec20ee826 SHA512 48e3ee42465ad35bdb199b521e557b2d10d2f8aa18bee44fba2ad691fc65e83749c22c188959dfbc4f0e954bc36760bd640abaee3c1414a38edbcf889c86644b WHIRLPOOL 30908f3808a7fc8374e0daec1ab035f3d9ed5b777d247fcd9079c83eef7b02985bccf3979ac8860d826d64cd4dcf3663ee63f09b1bdb37cf3c01f305bb090e95 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-misc/rinetd/files/rinetd.rc b/net-misc/rinetd/files/rinetd.rc new file mode 100644 index 000000000000..abdb04755702 --- /dev/null +++ b/net-misc/rinetd/files/rinetd.rc @@ -0,0 +1,22 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use net +} + +start() { + ebegin "Starting rinetd" + /usr/sbin/rinetd + eend $? +} + +stop() { + local ret + ebegin "Stopping rinetd" + start-stop-daemon --stop --pidfile /var/run/rinetd.pid + ret=$? + rm -f /var/run/rinetd.pid + eend ${ret} +} diff --git a/net-misc/rinetd/metadata.xml b/net-misc/rinetd/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-misc/rinetd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/net-misc/rinetd/rinetd-0.62-r2.ebuild b/net-misc/rinetd/rinetd-0.62-r2.ebuild new file mode 100644 index 000000000000..7a1cac341228 --- /dev/null +++ b/net-misc/rinetd/rinetd-0.62-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="redirects TCP connections from one IP address and port to another" +HOMEPAGE="http://www.boutell.com/rinetd/" +SRC_URI="http://www.boutell.com/rinetd/http/rinetd.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S=${WORKDIR}/${PN} + +src_prepare() { + default + sed -i -e "s:gcc:$(tc-getCC) \$(CFLAGS) \$(LDFLAGS):" Makefile +} + +src_compile() { + emake CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dosbin rinetd + newinitd "${FILESDIR}"/rinetd.rc rinetd + doman rinetd.8 + dodoc CHANGES README index.html +} |