Skip to content

Commit

Permalink
net-dns/s6-dns: 2.3.0.0 version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeul authored and williamh committed Jan 10, 2018
1 parent da88427 commit c6cff47
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-dns/s6-dns/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST s6-dns-2.1.0.0.tar.gz 77415 BLAKE2B fb8e8910b3fc656f514a1341c80950eca8cb5ac9cfdc88e8d48d134cbe30e9108114bcca214a428b02cdccdf18111f190e6216db1711d43eb02e59851e4f6107 SHA512 c75722b3ddd9d1646116654983558efde22d0d5d3ff1c296a8d5e2ba44abe0d5a86fc86804cf90bea2ee8c3e82028e182d28cdbf5155d46c6b3d8f4d1c3387fc
DIST s6-dns-2.2.0.0.tar.gz 76702 BLAKE2B d8aed72b466f5c8720e301bf97ed3ee14546fd5e468366421526c059713a7bc1f3a674e2980bcddc794192423ea09f3455094ccb31a3893e620c6fcccb1c065e SHA512 55cc0a4e677a28d5ebeeab1f995ee8d03c6aaa0c839ad420e006468c0712f45e638a3d32e082a34e09098d20c3bb08496afcefbec4c58f7674017e22732b1cda
DIST s6-dns-2.2.0.1.tar.gz 76046 BLAKE2B c7c7e94fa47fc20e2a328f2fc22650585e9bd0260f4676c5ef6078097a62c43d75b18977e31187008b9fb90bebefc9ffb8d999395b012d85bdef9a4220aa7a6d SHA512 9b62ddec94be86d186520f0240dafda95861c54345f92a1fac3251f8560e70932bc5915cca4136d428ed02d0718e8082ad382bffd0c707ae867f1896d93ecaed
DIST s6-dns-2.3.0.0.tar.gz 76476 BLAKE2B 6896bf534d872aac19dd6b2ad819d7aee6d52737f33106640ad1c3afc7f8857e5672f3e35f7f2064cb8085a79adc33bdd33a99dc656a656040a93f813a986717 SHA512 9afa98d0a7a9d84311f6f93d5c1742f7dcfb84c76ca363f9e09b3b40cd3faa1721aebb6e974a98991c037d82b2540c1edbc3cc13ea5f7e3dd95a96d14918e454
55 changes: 55 additions & 0 deletions net-dns/s6-dns/s6-dns-2.3.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit versionator

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/$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~x86"
IUSE="static static-libs"

DEPEND=">=sys-devel/make-3.81
static? (
>=dev-libs/skalibs-2.6.3.0[static-libs]
)
!static? (
>=dev-libs/skalibs-2.6.3.0
)
"
RDEPEND="
!static? (
>=dev-libs/skalibs-2.6.3.0:=
)
"

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

# configure overrides gentoo's -fstack-protector default
sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${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)/skalibs \
--with-sysdeps=/usr/$(get_libdir)/skalibs \
$(use_enable !static shared) \
$(use_enable static allstatic) \
$(use_enable static static-libc) \
$(use_enable static-libs static)
}

0 comments on commit c6cff47

Please sign in to comment.