summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-11-08 16:04:37 +0100
committerSam James <sam@gentoo.org>2023-11-17 11:08:05 +0000
commit3714c22e72e3ef6785645cac2f8c735e4dd73e8f (patch)
treee003112fa75824fe60e1a2e64f787ccc72bda435 /net-dns
parentsys-apps/s6-linux-init: add 1.1.2.0 (diff)
downloadgentoo-3714c22e72e3ef6785645cac2f8c735e4dd73e8f.tar.gz
gentoo-3714c22e72e3ef6785645cac2f8c735e4dd73e8f.tar.bz2
gentoo-3714c22e72e3ef6785645cac2f8c735e4dd73e8f.zip
net-dns/s6-dns: add 2.3.6.0
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/s6-dns/Manifest1
-rw-r--r--net-dns/s6-dns/s6-dns-2.3.6.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/net-dns/s6-dns/Manifest b/net-dns/s6-dns/Manifest
index aabedfc1c6ac..28e2f32cd95a 100644
--- a/net-dns/s6-dns/Manifest
+++ b/net-dns/s6-dns/Manifest
@@ -1 +1,2 @@
DIST s6-dns-2.3.5.5.tar.gz 86083 BLAKE2B 2c75c1b8eebb8ad8a95117962725ad49c89449a0bf3f117db2cf117e6ba10ad731c96b329ded8103ef71a654e545ebb1a3b6f60e5ddfc4080870b115e8c1d2a3 SHA512 7d7435da8fab3dd8f872c4dd90338fae2b817b4cb1e4715cc86d77b4c1f58e931bdeb1385093f6bd6293951f97f765fb6372af5560042ae84b5bd53ecc2645c2
+DIST s6-dns-2.3.6.0.tar.gz 96277 BLAKE2B c30f60dbaee62786ca4e8a4c62d5843ba77ced6af9815dd3c67a1aeca10e57f33bc5b73eec12c567d7ea81118f9370c0ece88c4439096419c51f2b7f825e87c3 SHA512 60243bed2a8fb18529ab988eb252b04393b1a0d0cfba08737d211a3e140d350720d1645651b64646e3e4a127d07df8a1c03135ba5352942b56ebcb7db2523959
diff --git a/net-dns/s6-dns/s6-dns-2.3.6.0.ebuild b/net-dns/s6-dns/s6-dns-2.3.6.0.ebuild
new file mode 100644
index 000000000000..1914188daef7
--- /dev/null
+++ b/net-dns/s6-dns/s6-dns-2.3.6.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Suite of DNS client programs and libraries for Unix systems"
+HOMEPAGE="https://www.skarnet.org/software/s6-dns/"
+SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/skalibs-2.14.0.0:="
+DEPEND="${RDEPEND}"
+
+HTML_DOCS=( doc/. )
+
+src_prepare() {
+ default
+
+ # Avoid QA warning for LDFLAGS addition
+ sed -i -e 's/.*-Wl,--hash-style=both$/:/' configure || die
+
+ sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die
+}
+
+src_configure() {
+ tc-export AR CC RANLIB
+
+ local myconf=(
+ --bindir=/bin
+ --dynlibdir="/$(get_libdir)"
+ --libdir="/usr/$(get_libdir)/${PN}"
+ --with-dynlib="/$(get_libdir)"
+ --with-lib="/usr/$(get_libdir)/skalibs"
+ --with-sysdeps="/usr/$(get_libdir)/skalibs"
+ --enable-shared
+ --disable-allstatic
+ --disable-static
+ --disable-static-libc
+ )
+
+ econf "${myconf[@]}"
+}