From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/ipsvd/Manifest | 6 +++ .../ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff | 42 +++++++++++++++++++ net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild | 49 ++++++++++++++++++++++ net-misc/ipsvd/metadata.xml | 26 ++++++++++++ 4 files changed, 123 insertions(+) create mode 100644 net-misc/ipsvd/Manifest create mode 100644 net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff create mode 100644 net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild create mode 100644 net-misc/ipsvd/metadata.xml (limited to 'net-misc/ipsvd') diff --git a/net-misc/ipsvd/Manifest b/net-misc/ipsvd/Manifest new file mode 100644 index 000000000000..c24c004e26bd --- /dev/null +++ b/net-misc/ipsvd/Manifest @@ -0,0 +1,6 @@ +AUX ipsvd-1.0.0-fix-parallel-make.diff 1442 SHA256 64ceede5ec9c408073a4495a37f5afe8fa69b49165aa02a16341383fedbf65bb SHA512 f28e2f8f5bb857cf20df144aa45172c9b28b4b78c71eb27fe3a082395edcf01b526cb47a9a6bc74e53c157d87e28be311607a30576f433385e1a83ed0d3b7b3a WHIRLPOOL e2d65af5ef7b3f7e99f8473a369c0c5e54ad74426fb003e1c95fd473b75ec749c86e4ca34d09375da1a1557c21307d29851a96c9bce28789f73ab28fb4e41f07 +DIST ipsvd-1.0.0.tar.gz 77903 SHA256 ef7a725bc85acb5d09ab57658385bb470b3e4da5a4ffc88b5da6c6bd37d01fad SHA512 cbdb461bd5952d3533e1cbf23b4820cea12ec9f96b7c47796304260d8bf201764b95602364102d92e3feb7bf4275d22d8d6447f09a6788cf5cf17371be34b736 WHIRLPOOL 1b7ef984823a5fe72a912b05a55c253cd5569e4ae2c133cb7bf49679668849b1feef2edf40ac07e8830c6fdd9fdba34419d4f97422d73a4c79b5e924639658cd +EBUILD ipsvd-1.0.0-r1.ebuild 953 SHA256 1f8d8335bd5e84f9dfc4a1b5cdfd439adb66fa99e5bbc060b48120b679e32bd9 SHA512 0315f73e2428837fcde43d7e16dba645ad5bc02a601fbc00627a98cc9a59c402102b09ca99ad552f0fe264cc54374119089eec7d2099374cdbfb0f4b70b59310 WHIRLPOOL 96e3dd687dd2150c8b09989048c03cde75f79f835a49d7c49f1f688eb5afca651231034bcfce5c8c676633cceb51b47f06676a34c43474eb612f9d572f4b67fe +MISC ChangeLog 2567 SHA256 a3dd19f09b5379966f421fcac70f04ca5cb1cab9d81c387c09ff478a00cd6165 SHA512 285c767655f2c01f02564500dfc3c2496d0642e7da08a715ff4bfc1df5e51003064f08b4309eddf7d0d7887fb5f95f97d07228b803a0023fbf33600d7f6a4a83 WHIRLPOOL 6232428a5683f4c5d0a7f74c0accb2dc4736968f5abd21973ce860a8210b8f2692d848d50cd6a4b7c687ff4d88b097f275c2f16b66b00f108ef7a32b25027f2e +MISC ChangeLog-2015 1630 SHA256 931cdf43ce8ccb262e0e13c7dd8c69310adef9fe895dd7a897a288099726f3d5 SHA512 4d70ed82507dbfd92188d3829fab4e8965927dda49d8b9607506fd12c8f186628b33390edf2e496435a9797f9e3401291794ead66908ebc8799af302bddea20d WHIRLPOOL d308df0da677b4d9f734074deeb2356b9d5cde03003a43dee3420e926cea3429d3392914a960c002d0dbc36f60595c00929f1ac30103b8586ce55be6ca24ff19 +MISC metadata.xml 1213 SHA256 a844a7863105d016662d75712a43b04edeb87db4acc20be128dea33469f7b0c3 SHA512 c80b068e9fb9ec3d63bb13c41386f119b448bcfaa3a7173483ef46c13fb8fd1c142cb4e4eeaaf73d25331326e5a8002d9545ae235bee244d9b272ea710adc456 WHIRLPOOL 7f64f040c0e84d6f43f0f44d99aad0a55e38a0b4800279926cd82f510b604e3933d9b79cd65328492d0f056e589fedbc9df07f12134f60bf6fb165df7e08b0af diff --git a/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff b/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff new file mode 100644 index 000000000000..0b29a8e8cbb1 --- /dev/null +++ b/net-misc/ipsvd/files/ipsvd-1.0.0-fix-parallel-make.diff @@ -0,0 +1,42 @@ +--- Makefile.orig 2011-01-21 00:43:02.000000000 +0100 ++++ Makefile 2011-01-21 00:47:27.000000000 +0100 +@@ -61,7 +61,7 @@ + check-ipsvd-cdb: load check-ipsvd-cdb.o uint32_unpack.o unix.a byte.a + ./load check-ipsvd-cdb uint32_unpack.o unix.a byte.a + +-tcpsvd.o: compile sysdeps tcpsvd.c ipsvd_log.h ++tcpsvd.o: compile sysdeps tcpsvd.c ipsvd_log.h iopause.h + ./compile tcpsvd.c + + sslsvd.o: compile sysdeps tcpsvd.c ssl_io.c ipsvd_log.h matrixssl +@@ -70,7 +70,7 @@ + ssl_io.o: compile sysdeps ssl_io.c matrixssl + ./compile -I./matrixssl ssl_io.c + +-udpsvd.o: compile sysdeps udpsvd.c ipsvd_log.h ++udpsvd.o: compile sysdeps udpsvd.c ipsvd_log.h iopause.h + ./compile udpsvd.c + + ipsvd-cdb.o: compile sysdeps ipsvd-cdb.c +@@ -94,10 +94,10 @@ + ipsvd_fmt.o: compile ipsvd_fmt.c + ./compile ipsvd_fmt.c + +-ipsvd_check.o: compile ipsvd_check.c uint64.h ++ipsvd_check.o: compile ipsvd_check.c uint64.h iopause.h + ./compile ipsvd_check.c + +-ipsvd_hostname.o: compile ipsvd_hostname.c uint64.h ++ipsvd_hostname.o: compile ipsvd_hostname.c uint64.h iopause.h + ./compile ipsvd_hostname.c + + ipsvd_phcc.o: compile ipsvd_phcc.c +@@ -274,7 +274,7 @@ + ./compile dns_rcrw.c + + dns_resolve.o: compile dns_resolve.c iopause.h taia.h tai.h uint64.h taia.h \ +- byte.h dns.h stralloc.h gen_alloc.h iopause.h taia.h ++ byte.h dns.h stralloc.h gen_alloc.h taia.h + ./compile dns_resolve.c + + dns_sortip.o: compile dns_sortip.c byte.h dns.h stralloc.h gen_alloc.h \ diff --git a/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild b/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild new file mode 100644 index 000000000000..4540eca6c7df --- /dev/null +++ b/net-misc/ipsvd/ipsvd-1.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +inherit toolchain-funcs flag-o-matic eutils + +DESCRIPTION="ipsvd is a set of internet protocol service daemons for Unix" +HOMEPAGE="http://smarden.org/ipsvd/" +SRC_URI="http://smarden.org/ipsvd/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/net/${P}" + +src_prepare() { + cd "${S}"/src + epatch "${FILESDIR}"/${P}-fix-parallel-make.diff +} + +src_configure() { + cd "${S}"/src + if use static ; then + append-ldflags -static + fi + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_compile() { + cd "${S}"/src + emake || die "make failed" +} + +src_install() { + dobin src/{tcpsvd,udpsvd,ipsvd-cdb} || die "dobin" + dodoc package/{CHANGES,README} + + dohtml doc/*.html + doman man/ipsvd-instruct.5 man/ipsvd.7 man/udpsvd.8 \ + man/tcpsvd.8 man/ipsvd-cdb.8 +} diff --git a/net-misc/ipsvd/metadata.xml b/net-misc/ipsvd/metadata.xml new file mode 100644 index 000000000000..4de2fd17be93 --- /dev/null +++ b/net-misc/ipsvd/metadata.xml @@ -0,0 +1,26 @@ + + + + + +ipsvd is a set of internet protocol service daemons for Unix. It currently +includes a TCP/IP service daemon, an SSLv3 TCP/IP service daemon (Linux and +MacOSX), and a UDP/IP service daemon. + +An internet protocol service (ipsv) daemon waits for incoming connections on a +local socket; for new connections, it conditionally runs an arbitrary program +with standard input reading from the socket, and standard output writing to the +socket (if connected), to handle the connection. Standard error is used for +logging. + +ipsv daemons can be told to read and follow pre-defined instructions on how to +handle incoming connections; based on the client's IP address or hostname, they +can run different programs, set a different environment, deny a connection, or +set a per host concurrency limit. + +Normally the ipsv daemons are run by a supervisor process, such as runsv from +the runit package, or supervise from the daemontools package. + +ipsvd can be used to run services normally run by inetd, xinetd, or tcpserver. + + -- cgit v1.2.3