diff options
Diffstat (limited to 'net-misc/s6-networking')
-rw-r--r-- | net-misc/s6-networking/Manifest | 1 | ||||
-rw-r--r-- | net-misc/s6-networking/metadata.xml | 19 | ||||
-rw-r--r-- | net-misc/s6-networking/s6-networking-2.2.1.0.ebuild | 68 |
3 files changed, 88 insertions, 0 deletions
diff --git a/net-misc/s6-networking/Manifest b/net-misc/s6-networking/Manifest new file mode 100644 index 000000000000..7219edc13395 --- /dev/null +++ b/net-misc/s6-networking/Manifest @@ -0,0 +1 @@ +DIST s6-networking-2.2.1.0.tar.gz 85242 SHA256 5d8150d7413b335693c6e63092381dd0866b1b6f95662a2cbae5ec17ca449ab0 SHA512 33085e2a855079ab046b6f851b4dc15801012dc1a353a1254508c6c9da9e45da4f7e2b62e16ab1d0a41d42b424bebe7b362860f68f3be0f9eba37b7a15817633 WHIRLPOOL e76817f4803dfff8e85efbc3f70c050ca88fd5046863abc2832d3e8d7765840e5e91e443f7ce96b66bde0d6697e4764b1b820d04eaf981e958eabc5b30107442 diff --git a/net-misc/s6-networking/metadata.xml b/net-misc/s6-networking/metadata.xml new file mode 100644 index 000000000000..179bb46bd2aa --- /dev/null +++ b/net-misc/s6-networking/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>samuel@sholland.org</email> + <name>Samuel Holland</name> + </maintainer> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + s6-networking is a suite of small networking utilities for Unix systems. + It includes command-line client and server management, TCP access + control, privilege escalation across UNIX domain sockets, IDENT protocol + management and clock synchronization. Optionally, it also includes + command-line TLS/SSL tools for secure communications. + </longdescription> +</pkgmetadata> diff --git a/net-misc/s6-networking/s6-networking-2.2.1.0.ebuild b/net-misc/s6-networking/s6-networking-2.2.1.0.ebuild new file mode 100644 index 000000000000..7d17207942af --- /dev/null +++ b/net-misc/s6-networking/s6-networking-2.2.1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit versionator + +DESCRIPTION="suite of small networking utilities for Unix systems" +HOMEPAGE="http://www.skarnet.org/software/s6-networking/" +SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~x86" +IUSE="ssl static static-libs" + +DEPEND=">=sys-devel/make-3.81 + static? ( + >=dev-lang/execline-2.2.0.0[static-libs] + >=dev-libs/skalibs-2.4.0.2[static-libs] + >=net-dns/s6-dns-2.1.0.0[static-libs] + >=sys-apps/s6-2.4.0.0[static-libs] + ssl? ( >=dev-libs/libressl-2.4.4[static-libs] ) + ) + !static? ( + >=dev-lang/execline-2.2.0.0[static=] + >=dev-libs/skalibs-2.4.0.2 + >=net-dns/s6-dns-2.1.0.0[static=] + >=sys-apps/s6-2.4.0.0[static=] + ssl? ( >=dev-libs/libressl-2.4.4 ) + ) +" +RDEPEND=" + >=dev-lang/execline-2.2.0.0:=[!static?] + >=sys-apps/s6-2.4.0.0:=[!static?] + !static? ( + >=dev-libs/skalibs-2.4.0.2:= + >=net-dns/s6-dns-2.1.0.0:= + ssl? ( >=dev-libs/libressl-2.4.4:= ) + ) +" + +HTML_DOCS="doc/*" + +src_prepare() { + default + + # Remove QA warning about LDFLAGS addition + sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die +} + +src_configure() { + econf \ + --bindir=/bin \ + --dynlibdir=/$(get_libdir) \ + --libdir=/usr/$(get_libdir)/${PN} \ + --with-dynlib=/$(get_libdir) \ + --with-lib=/usr/$(get_libdir)/s6 \ + --with-lib=/usr/$(get_libdir)/s6-dns \ + --with-lib=/usr/$(get_libdir)/skalibs \ + --with-sysdeps=/usr/$(get_libdir)/skalibs \ + $(use_enable ssl ssl libressl) \ + $(use_enable !static shared) \ + $(use_enable static allstatic) \ + $(use_enable static static-libc) \ + $(use_enable static-libs static) +} |