From e3872864be25f7421015bef2732fa57c0c9fb726 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Aug 2018 08:53:53 +0100 Subject: gentoo resync : 04.08.2018 --- net-dns/Manifest.gz | Bin 9229 -> 9223 bytes net-dns/avahi/Manifest | 1 + net-dns/avahi/avahi-0.7-r2.ebuild | 217 +++++++++++++++++++++++++++++++++++ net-dns/coredns/Manifest | 3 + net-dns/coredns/coredns-1.2.0.ebuild | 45 ++++++++ net-dns/dnsmasq/Manifest | 4 +- net-dns/dnsmasq/dnsmasq-2.78.ebuild | 195 ------------------------------- net-dns/dnsmasq/dnsmasq-2.79.ebuild | 2 +- net-dns/nsd/Manifest | 6 +- net-dns/nsd/nsd-4.1.21.ebuild | 104 ----------------- net-dns/nsd/nsd-4.1.22.ebuild | 104 ----------------- net-dns/nsd/nsd-4.1.23.ebuild | 103 +++++++++++++++++ 12 files changed, 373 insertions(+), 411 deletions(-) create mode 100644 net-dns/avahi/avahi-0.7-r2.ebuild create mode 100644 net-dns/coredns/coredns-1.2.0.ebuild delete mode 100644 net-dns/dnsmasq/dnsmasq-2.78.ebuild delete mode 100644 net-dns/nsd/nsd-4.1.21.ebuild delete mode 100644 net-dns/nsd/nsd-4.1.22.ebuild create mode 100644 net-dns/nsd/nsd-4.1.23.ebuild (limited to 'net-dns') diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz index 25fed9428ffc..8d72d1389fae 100644 Binary files a/net-dns/Manifest.gz and b/net-dns/Manifest.gz differ diff --git a/net-dns/avahi/Manifest b/net-dns/avahi/Manifest index 2a3b34e36bd2..9a283e61f805 100644 --- a/net-dns/avahi/Manifest +++ b/net-dns/avahi/Manifest @@ -8,4 +8,5 @@ DIST avahi-0.6.32.tar.gz 934004 BLAKE2B 76bbff65075bbc49d52b1e406373c4856622c223 DIST avahi-0.7.tar.gz 940047 BLAKE2B 8299577bf27ee65fad5d743dbf94202b148a6fc86825cae303f94c44482eea07cf6570d970ca286e81a787d6a64598b7123f2ac17a259ddc50ef431b9c94b530 SHA512 61f656da7614d8cca1862180038f571db3474c84f05db4d3509f614cdbf8b1a1047661b7e24d63682d5b48ed1bfa1b08b3c9e6dbe9222bcd62d99bc168a11abe EBUILD avahi-0.6.32.ebuild 5485 BLAKE2B a16979e77772ecf824dd03db48ae39d9c3ad8bba89211cc7c15ed3bec0cb57db0a793b14f3e0d55ff5afb52312fda6b8e5ca77ea17c1830f3be8a21d1cd9e6f6 SHA512 2290435448ddadfd4bc4b48b40e6cd2bce036e0022c20f717d5d782f7622627ff6116cc2057642a8a0291f17afb207182a0fd3ce1ec1c68313f9342350e51c41 EBUILD avahi-0.7-r1.ebuild 5144 BLAKE2B c9ded0e7faeff53fc2f23cd40e43d5696c66d9afd00ab5e0ac7fb17f47636718dda0fdd0973c8336714c6a5e6a189a7d3578a9cbc652c61121cd20028776b977 SHA512 a18169b2a2dd206a56e4e9fe29c7a2e4450feeca2aa5c0acce687ce564286fee4752ababf06e42111c4e03b875bda40abea850129a76b3628efd1b541cd203ae +EBUILD avahi-0.7-r2.ebuild 5134 BLAKE2B 9a9b443e14be9510834a1bbfdb90ba7b33a1152b9f154af134c37d5f9559e08f33a40662b9da6f7f574cbd45a4ae540688c42d0c77ee34e1c32224f03ec6e0b6 SHA512 eedd21a35fec2554c6a3f26838d74b6a7bc360f26f979e0cac74cc8fd7106482f82327866cc8b3d948cc1e11472937481d39ad2ade8df9b60b5f3f05ef9dab11 MISC metadata.xml 970 BLAKE2B 26904ceb3a89833caa77e2315d99be8ef729277a021faa3800a1cd0abe94c516d53176e65668d00687a6bb6ee807a2011106268f14a4d5012c27132e4fca4f3c SHA512 b9498d4757b6bd793846e4cbdd5c37da601a8e1430cafd1a6039ff54f8ff10576684c58801ebc679061f975cefa5909c94c30976e84354a5fcc7d2a586f7fa8e diff --git a/net-dns/avahi/avahi-0.7-r2.ebuild b/net-dns/avahi/avahi-0.7-r2.ebuild new file mode 100644 index 000000000000..746ebc6d93dc --- /dev/null +++ b/net-dns/avahi/avahi-0.7-r2.ebuild @@ -0,0 +1,217 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="gdbm" + +WANT_AUTOMAKE=1.11 + +inherit autotools eutils flag-o-matic multilib multilib-minimal mono-env python-r1 systemd user + +DESCRIPTION="System which facilitates service discovery on a local network" +HOMEPAGE="http://avahi.org/" +SRC_URI="https://github.com/lathiat/avahi/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd" +IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt5 selinux test" + +REQUIRED_USE=" + python? ( dbus gdbm ${PYTHON_REQUIRED_USE} ) + mono? ( dbus ) + howl-compat? ( dbus ) + mdnsresponder-compat? ( dbus ) +" + +COMMON_DEPEND=" + dev-libs/libdaemon + dev-libs/expat + dev-libs/glib:2[${MULTILIB_USEDEP}] + gdbm? ( sys-libs/gdbm:=[${MULTILIB_USEDEP}] ) + qt5? ( dev-qt/qtcore:5 ) + gtk? ( x11-libs/gtk+:2[${MULTILIB_USEDEP}] ) + gtk3? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) + dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + kernel_linux? ( sys-libs/libcap ) + introspection? ( dev-libs/gobject-introspection:= ) + mono? ( + dev-lang/mono + gtk? ( dev-dotnet/gtk-sharp ) + ) + python? ( + ${PYTHON_DEPS} + dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) + introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] ) + ) + bookmarks? ( + ${PYTHON_DEPS} + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] + ) +" + +DEPEND=" + ${COMMON_DEPEND} + doc? ( app-doc/doxygen ) + app-doc/xmltoman + dev-util/intltool + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +RDEPEND=" + ${COMMON_DEPEND} + howl-compat? ( !net-misc/howl ) + mdnsresponder-compat? ( !net-misc/mDNSResponder ) + selinux? ( sec-policy/selinux-avahi ) +" + +MULTILIB_WRAPPED_HEADERS=( /usr/include/avahi-qt5/qt-watch.h ) + +PATCHES=( "${FILESDIR}/${P}-qt5.patch" ) + +pkg_preinst() { + enewgroup netdev + enewgroup avahi + enewuser avahi -1 -1 -1 avahi + + if use autoipd; then + enewgroup avahi-autoipd + enewuser avahi-autoipd -1 -1 -1 avahi-autoipd + fi +} + +pkg_setup() { + use mono && mono-env_pkg_setup +} + +src_prepare() { + default + + if ! use ipv6; then + sed -i \ + -e s/use-ipv6=yes/use-ipv6=no/ \ + avahi-daemon/avahi-daemon.conf || die + fi + + sed -i\ + -e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \ + doxygen_to_devhelp.xsl || die + + # Prevent .pyc files in DESTDIR + >py-compile + + eautoreconf + + # bundled manpages + multilib_copy_sources +} + +src_configure() { + # those steps should be done once-per-ebuild rather than per-ABI + use sh && replace-flags -O? -O0 + use python && python_setup + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( --disable-static ) + + if use python; then + myconf+=( + $(multilib_native_use_enable dbus python-dbus) + $(multilib_native_use_enable introspection pygobject) + ) + fi + + if use mono; then + myconf+=( $(multilib_native_use_enable doc monodoc) ) + fi + + if ! multilib_is_native_abi; then + myconf+=( + # used by daemons only + --disable-libdaemon + --with-xml=none + ) + fi + + myconf+=( $(multilib_native_use_enable qt5) ) + + econf \ + --localstatedir="${EPREFIX}/var" \ + --with-distro=gentoo \ + --disable-python-dbus \ + --enable-manpages \ + --enable-xmltoman \ + --disable-monodoc \ + --enable-glib \ + --enable-gobject \ + $(multilib_native_use_enable test tests) \ + $(multilib_native_use_enable autoipd) \ + $(use_enable mdnsresponder-compat compat-libdns_sd) \ + $(use_enable howl-compat compat-howl) \ + $(multilib_native_use_enable doc doxygen-doc) \ + $(multilib_native_use_enable mono) \ + $(use_enable dbus) \ + $(multilib_native_use_enable python) \ + $(use_enable gtk) \ + $(use_enable gtk3) \ + $(use_enable nls) \ + $(multilib_native_use_enable introspection) \ + --disable-qt3 \ + --disable-qt4 \ + $(use_enable gdbm) \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + "${myconf[@]}" +} + +multilib_src_compile() { + emake + + multilib_is_native_abi && use doc && emake avahi.devhelp +} + +multilib_src_install() { + emake install DESTDIR="${D}" + use bookmarks && use python && use dbus && use gtk || \ + rm -f "${ED}"/usr/bin/avahi-bookmarks + + # https://github.com/lathiat/avahi/issues/28 + use howl-compat && dosym avahi-compat-howl.pc /usr/$(get_libdir)/pkgconfig/howl.pc + use mdnsresponder-compat && dosym avahi-compat-libdns_sd/dns_sd.h /usr/include/dns_sd.h + + if multilib_is_native_abi && use doc; then + docinto html + dodoc -r doxygen/html/. + insinto /usr/share/devhelp/books/avahi + doins avahi.devhelp || die + fi +} + +multilib_src_install_all() { + if use autoipd; then + insinto /lib/rcscripts/net + doins "${FILESDIR}"/autoipd.sh + + insinto /lib/netifrc/net + newins "${FILESDIR}"/autoipd-openrc.sh autoipd.sh + fi + + dodoc docs/{AUTHORS,NEWS,README,TODO} + + prune_libtool_files --all +} + +pkg_postinst() { + if use autoipd; then + elog + elog "To use avahi-autoipd to configure your interfaces with IPv4LL (RFC3927)" + elog "addresses, just set config_=( autoipd ) in /etc/conf.d/net!" + elog + fi +} diff --git a/net-dns/coredns/Manifest b/net-dns/coredns/Manifest index 2c051e547702..47be8da90968 100644 --- a/net-dns/coredns/Manifest +++ b/net-dns/coredns/Manifest @@ -1,5 +1,6 @@ DIST coredns-1.0.5.tar.gz 5016183 BLAKE2B 93bc88a1fdd792b357ac7678a75a415fd4fbfb29e6c75768e6c444cd547abe1a7166e5d3645f360790209c4fa437170cd33bcdb097242db06fd08170ab77067a SHA512 ef5b9704932b972cd38f5eb160b1c0c405943dbb19af77db7358f1eeaf7d11d73b589e6de9dfb62f75bbf37db351cd856ae0aac2b7b1a1a909b01f4895406b81 DIST coredns-1.1.1.tar.gz 5087192 BLAKE2B 21ca6975c56bace24d9c63581b37be6bfef54055332dc13171d93698003a848d775f4806d6276ca120703a11088a4afc9fc827f8b14a16e11d61320c31a1364f SHA512 53434a73c7899ed0b0b126ace4466b91d0529cad305dc10d3b83dd011c97fec969a669fc1ef38337957bfa16af404af0a088daaf62af715abf0414797de6eee0 +DIST coredns-1.2.0.tar.gz 7321954 BLAKE2B 08118dff6a3dc0a9e36db53125bae426c270a96df7076de23e9d5b3931cf58347082315f1ea15e0fa3ae081dd0e0ddeeb05c33a0044454220fbef027e2ac67c9 SHA512 c4b9c18337f4b55ed90b0c48ce278042c540017b556587075d4bb74666f98a7e2317416d1105cdb92e7fc0111d4bb953473e8ab25798b67da75b9114868394e3 DIST github.com-beorn7-perks-3a771d992973f24aa725d07868b467d1ddfceafb.tar.gz 10800 BLAKE2B 5487155a4d010af70b6ea2625d10ae03b6642507902d7dc168edb5d7cf0efa1777b248d0df34ed1a2564950b12613256c1c6ce1d8c9723cc34977ed883b21c8d SHA512 c6aa5df262ab607c0a5f64372fc2fec1ddda9e5624e9d9a22cdd1bc11822c99736d88bdf5e3fc6050217b5084548417cb2926c3940e156da9397d828d59ce277 DIST github.com-beorn7-perks-4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9.tar.gz 10593 BLAKE2B 057738aefe26d3d42ba1bc0906675403512a7bab1161bc1015f6d833296778f2236cb2b99bbebd5c7db2384634fef62d2afbfc8dd59bfb1320bc6184105aa437 SHA512 ecac8d361b4695b1fc32a9aaf9e0785201d1bebbf270226540e2c3fe193ad21f4fe8aed4e01937bd1e7273ca394455ca6fd7cf29418710f279cbb8eb92939e32 DIST github.com-golang-net-b68f30494add4df6bd8ef5e82803f308e7f7c59c.tar.gz 938028 BLAKE2B 04b66e87d3664ccff451349146ca886f56d8d306a82ceac0931b6b714cfd0e0fa88221986233f38a4f1dcac09be2222e23f03ecd761ff4cddaf422dd98a79641 SHA512 2f7120e4b3d6496f6e3e01d9df1c41e81b1fb7874fae1f6dfda1928f0df2dfa1a08f2522d44ef2209a3b251f6da4fb9a67041dc22a6f8262d7ae6701ddb6cc5b @@ -9,6 +10,7 @@ DIST github.com-golang-text-ece95c760240037f89ebcbdd7155ac8cb52e38fa.tar.gz 6563 DIST github.com-mholt-caddy-9619fe224c96d0c4a060e83badbf95b6bd69a0ac.tar.gz 2712643 BLAKE2B 96f529d158a4133c266d54530a895d5b5b5e9bb0960569e42c14b1152677fdb06be91a9ba9d25eb92cdf858827983aa247b7e162feaf9f16819d22d19b4f5fc5 SHA512 f48d4d211ba182a7b3ef4322329167d8ec01ee92010b85fe67a663780b4771445d9ce1297ed38ff572b15b0649c9fe9cb321e45bb7131755e57c66ca59fea89b DIST github.com-mholt-caddy-b33b24fc9e9d50ce73ec386e44c316d70c47642c.tar.gz 2910394 BLAKE2B e52576f5f952dea15c43f66b6a088f29caa0fa4534727897f8a2134c90425b5b97dcf4d5a45d310be5da8b51d3704382be8c2e191b062f026f9847d2cee85eec SHA512 1e03a9a2ca4e2a1be27e9ca69a2382a1749ce31a472716b3390bbf7dffcd36ea1569b2f2982efb0fe292307bc72cfd34af1431ae993151315007065383b8eb3e DIST github.com-miekg-dns-5364553f1ee9cddc7ac8b62dce148309c386695b.tar.gz 2517679 BLAKE2B ad17feb9fe826f84d65e6fe85f10cf6cf901bc6cf593d9e44a02edce72e399b0184a29617cb67f38b2fb0278ffa46d872c32f997c3facc2154a23cceec046bdd SHA512 d4f6709e2c20a3d639b167c0d0e7f987cd2e2d849899460ed26cc7e7f4ce682b45eb3be59a4be91e872a9eea29130f72a7de4f3c1006d99449c6f762f993b9bb +DIST github.com-miekg-dns-5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1.tar.gz 2522486 BLAKE2B eb77d61519b72d059e7058fd4064edef049f523e04d84374cfc1f05b419ec258c7d38bd039e4e89287c572cf989a4cc91b1e163ea25d33db8b5b48e27b73532b SHA512 1f1e140de386daff78612cf66fa4083a42be91221b09cda8e81cd614566202b704f9ce9bbdb1afa7049eb539c4b888517f29e746aa4f8e259f04937c9d00ce5e DIST github.com-miekg-dns-d174bbf0a57b4ab555db36b0e55f692d5e8dfca8.tar.gz 2517044 BLAKE2B 7577220d999ad5e9f77e5d9f08e7cf22f390122f35994742a566c28583d491785070e13a5ba2f39a79da8f377ed421466cf914eb34647fa68106fe811a64ba99 SHA512 7a6fc4c95762e4439cd9ae880f019f041e2a67fc3b0ada24394d8388fba3a83888ad9b53a9f308955ef8c139e545a4848fecde63baa1969923bd17bad2b05078 DIST github.com-prometheus-client_golang-e69720d204a4aa3b0c65dc91208645ba0a52b9cd.tar.gz 106879 BLAKE2B 788fbe906d4e2fe4c9e61c95256d7ec8e70b038438fb9afc69dcdc402f9c52509fe2645e0b1929dd0595ea75f160013c1b71f82d5320775724a60b34d22c1877 SHA512 27fd454387c730704b2e44e40d873843a5d36894307587a8eea3ddf0604052e9ecbef36ca37cb6a2153452ff7e1c1294d8e1cbdde7b11742db74be55bd4e2b7a DIST github.com-prometheus-client_golang-f504d69affe11ec1ccb2e5948127f86878c9fd57.tar.gz 106949 BLAKE2B b5ee911f6d478ae21a71c2827f541ecd174dee7dbf23fff58a517e739f0e16bf91451a6aabf3f3f786b62256e2c4ee8481cc3169d01819425d56a0eb802a36c9 SHA512 234ad2fa57751901ab2a0e5843bce17689166d8fc285d63f9de0da412cfe7176e8a9f96c0bf5342184985fbb564def31087255bf11766331636c3624fe85eb62 @@ -16,4 +18,5 @@ DIST github.com-prometheus-procfs-282c8707aa210456a825798969cc27edda34992a.tar.g DIST github.com-prometheus-procfs-780932d4fbbe0e69b84c34c20f5c8d0981e109ea.tar.gz 56873 BLAKE2B 31ae12d51b6a28c285bd5854b137d2634499d0db3c2c65c0404ca5a902ffec2e9bf689261ea51c2fe1643733f09a780c437f7a7899a5e6c3e3d100a36e07b897 SHA512 a548c6bc71456c9878cb34ad1514d92c8737e01b555e953f848cc1ae7944424b06a14a8ab0c6de4d99dbb189a0f29e2bb9ae09b5adffc327c28f5c50c2819892 EBUILD coredns-1.0.5.ebuild 1314 BLAKE2B 0ab37dc4194fd5a16a8fc3c35519c2883a4ce364a17305bc4f22f19cda9db094ef1135053a39c2ab5fbb34296f3758dc194d0fe18b9432c038050a550d29274f SHA512 13892b631ac55ae1e026ba59730ead8b60cc85c6221b9a2bb214a12afdd038ab30286e6703ac7de0a0b3856498559c52d99cafdfabc0dbeee8d61d53165e84b8 EBUILD coredns-1.1.1.ebuild 1314 BLAKE2B dc1ae9b46b2301944ad6b5784b4e404c7e74e993df2d9d941ce51ce9fcdb35a61c4677697a2ce0a61180b2eef9a227cb99f33091c5212db071cf03cbf16b51f2 SHA512 865d5643bb73e5ab2339d00fb41c00b3d4701f624b820e882140fc44b6a25ac868aa342e3108327e7c7555754ddc7b929b490427d68043ebc8ef4c62c68e5517 +EBUILD coredns-1.2.0.ebuild 1314 BLAKE2B e24c7be69f865fc2ea28806fbc0b1ab21882789ac64851b3142f1fabba8fd5d62d518943ca5e67c7b0d22632d54f982a9e40aab3116ee89c07c46f9843152b95 SHA512 60d66dfabd1d841040b9182a66a29b5737fbaeb62c3d5da8d8f175a0039d369847bfeebfb12c93499c8010c32d1fa2d03a44bf27ee86136bec3ed775a35fb68f MISC metadata.xml 335 BLAKE2B 61dbcf471a1e9c3714531b8f0de0a79577aa666966cf71b92855aeff383246895424d1681b1ba45f03092f7735a17d0223419bb1d76eded1bd93264ab06c8e2d SHA512 f520f2f4129fb9ce453cc95527d3ccd30029fdc45411cae376c85bc02870c01b880f593b92ce35cc083e0f65bf8e7a4e0ffc57cfca7cdad84cc41fec995e88ad diff --git a/net-dns/coredns/coredns-1.2.0.ebuild b/net-dns/coredns/coredns-1.2.0.ebuild new file mode 100644 index 000000000000..6f5e14c982cf --- /dev/null +++ b/net-dns/coredns/coredns-1.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( "github.com/mholt/caddy b33b24fc9e9d50ce73ec386e44c316d70c47642c" + "github.com/miekg/dns 5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1" + "github.com/prometheus/client_golang f504d69affe11ec1ccb2e5948127f86878c9fd57" + "github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb" + "github.com/prometheus/procfs 780932d4fbbe0e69b84c34c20f5c8d0981e109ea" + "golang.org/x/net b68f30494add4df6bd8ef5e82803f308e7f7c59c github.com/golang/net" + "golang.org/x/text ece95c760240037f89ebcbdd7155ac8cb52e38fa github.com/golang/text" +) + +EGO_PN="github.com/${PN}/${PN}" + +inherit golang-build golang-vcs-snapshot + +GITCOMMIT="231c2c0ef3fb921f5cae31ff4a2f7c6653da01ad" +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="A DNS server that chains middleware" +HOMEPAGE="https://github.com/coredns/coredns" + +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -v -ldflags="-X github.com/coredns/coredns/coremain.GitCommit=${GITCOMMIT}" || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} + dobin ${PN} + dodoc README.md + popd || die +} diff --git a/net-dns/dnsmasq/Manifest b/net-dns/dnsmasq/Manifest index 35fe37ce756d..2a35a89465f8 100644 --- a/net-dns/dnsmasq/Manifest +++ b/net-dns/dnsmasq/Manifest @@ -5,8 +5,6 @@ AUX dnsmasq-init-r4 613 BLAKE2B 7ea82e879f8770c3f4b764a9044ef585cc6e91de793c5673 AUX dnsmasq.confd-r1 170 BLAKE2B 84d5cdb15236c9e1c83fa53d0e401df90e86c6687cc88f9ebba3e2a0987cad2ccf9bb82ac7b1fcd77a81fa6058a3cd3276fb8a8a76e13983628e92be95b39af1 SHA512 9a401bfc408bf1638645c61b8ca734bea0a09ef79fb36648ec7ef21666257234254bbe6c73c82cc23aa1779ddcdda0e6baa2c041866f16dfb9c4e0ba9133eab8 AUX dnsmasq.logrotate 176 BLAKE2B 4932be8c2a4ba37e0ed61361cdfae6e6cd498e5292f9002a3426c05632896a5f94a84ada168d672cb38e236cbde72b59201c970e348ba052dff655be1a9a57b4 SHA512 b59b299849487dcdfc18ab30ded0605e2df4876cb778b2d1cd03b740406a5580001028eb33f1ecf0dc910f393c58b7cad7c28801aa4641c3fa376e3dac997abf AUX dnsmasq.service-r1 278 BLAKE2B 3bfe6a01efd5f8338c3bb134a061f8ecbef850293c4a8fce1f7360928a374fe4c429df1f8ec2ffc093752234f9e2ccc717a887fa2557e3efd99ab6bd58f9ac0f SHA512 3571417b23071d9c3cfaf6d00363adb2cb011d04f1ed38631ddecd6eaa2c9ed37e1435a1fd32c40b0de43b0a84dd1ac8691a0a29493b391bafbb843d581bafc1 -DIST dnsmasq-2.78.tar.xz 489172 BLAKE2B 996b59181c4b582b74c91be073e62f0756d2e4c67ee36ff825b6973699f60e44959bb0451bbb8623f277e5a8378cda987a300eee6ec9398ae99284b302da2747 SHA512 9b79b84e5a768d52f90f6335ccef2c404ecd7a13e78e49f4cd0755fffc6cf34d0dc96ad4c72cad1dab3c5743a8d0d789b3e9b6e625b03c5675bb898ca61a698b DIST dnsmasq-2.79.tar.xz 493036 BLAKE2B 91152c52aef06def74151f6fbae9153d25261ba5e6a728cbab503c074967963e40dce39d93a0fbe4c5497c9313ac24d495cc8233934c00d4ab82aefe83b01ccd SHA512 2c06212696ab55e1584f6133872f5b196013509e4b1822d0457787b456e14341afdde887749e370a2e512124cb4138f012f4601b08690707be4acc7cf2f2876f -EBUILD dnsmasq-2.78.ebuild 4507 BLAKE2B 15472be6911ec12f64e3f0ff322d15bde8c15857f1b01e1e9053ba476c832ae852049e558b05b54b74dde2fe60e34202835e90d68c7ec4381a5a4e268fd023d6 SHA512 b7db6c09a5a0febfa1bc0437e34b793cbd1c6f5aba8a96769e2c85fffa7aabd88eb3bb198ba5bf0263c3b113ac9f1ab608a36421ab64120e7f62fd6815ec1ca3 -EBUILD dnsmasq-2.79.ebuild 4597 BLAKE2B 22eb9b426f8fde30bdf7117a8764d0453a8802aac7677bb90f12cd3dd79795a104c8765344668b35c7e6b19ce7617c1b2da9e15f38e5b1ea409b8280eccecd67 SHA512 345687728e8e52b22f59692fda5f3b95fa87a7a93e5da48e177cc090a4539d8f805a64cb4ab3561e66bbce67bce661de85ce24d67959b4c2ce1d96cc0cbd6bf7 +EBUILD dnsmasq-2.79.ebuild 4595 BLAKE2B 7745df4ce05578681a1986017f897cb14273c5fe9b47f6ca5b136266572617497120d2e3efefba53515a217f243774325c6ed2ccf100bca9aacee0bbe255a558 SHA512 2cd18fa87627421a6eb56d7e75ab9560cde53f80b04f13d85b0edd68a828740e1827c5f0231beb6590630ef38e9d6df4e5cd8572497c7d649d8df53ba37f2e54 MISC metadata.xml 1149 BLAKE2B 9d9b9c87dd5bf6233d4656e0de77cd9e5d75ef631731c2e9d06917ade555422a5d4dbd846bc6bc7b5ff411a7d706f35ba68bb8d5ec8f793d878bba2de86a1b44 SHA512 7fad0bb400a664a67e82173015dcc2fc95644dd6c357e787b8257a193dc14adbee8f5a04cb4422fadefdeec0d3dc5bd986f4f5b44ee420b8a104cb5a8e1b58a6 diff --git a/net-dns/dnsmasq/dnsmasq-2.78.ebuild b/net-dns/dnsmasq/dnsmasq-2.78.ebuild deleted file mode 100644 index 8ffbd1829a6f..000000000000 --- a/net-dns/dnsmasq/dnsmasq-2.78.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs flag-o-matic user systemd - -DESCRIPTION="Small forwarding DNS server" -HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/doc.html" -SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.xz" - -LICENSE="|| ( GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" - -IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +id idn libidn2 +inotify" -IUSE+=" ipv6 lua nls script selinux static tftp" - -DM_LINGUAS=(de es fi fr id it no pl pt_BR ro) - -CDEPEND="dbus? ( sys-apps/dbus ) - idn? ( - !libidn2? ( net-dns/libidn ) - libidn2? ( >=net-dns/libidn2-2.0 ) - ) - lua? ( dev-lang/lua:* ) - conntrack? ( net-libs/libnetfilter_conntrack ) - nls? ( sys-devel/gettext ) -" - -DEPEND="${CDEPEND} - app-arch/xz-utils - dnssec? ( - dev-libs/nettle[gmp] - static? ( dev-libs/nettle[static-libs(+)] ) - ) - virtual/pkgconfig -" - -RDEPEND="${CDEPEND} - dnssec? ( - !static? ( - dev-libs/nettle[gmp] - ) - ) - selinux? ( sec-policy/selinux-dnsmasq ) -" - -REQUIRED_USE="dhcp-tools? ( dhcp ) - lua? ( script ) - libidn2? ( idn )" - -use_have() { - local useflag no_only uword - if [[ $1 == '-n' ]]; then - no_only=1 - shift - fi - useflag="${1}" - shift - - uword="${1:-${useflag}}" - shift - - while [[ ${uword} ]]; do - uword="${uword^^}" - - if ! use "${useflag}"; then - echo -n " -DNO_${uword}" - elif [[ -z "${no_only}" ]]; then - echo -n " -DHAVE_${uword}" - fi - uword="${1}" - shift - done -} - -pkg_pretend() { - if use static; then - einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked." - use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense; the static USE flag is ignored." - fi -} - -pkg_setup() { - enewgroup dnsmasq - enewuser dnsmasq -1 -1 /dev/null dnsmasq -} - -src_prepare() { - default - - sed -i -r 's:lua5.[0-9]+:lua:' Makefile - sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" dnsmasq.conf.example -} - -src_configure() { - COPTS="$(use_have -n auth-dns auth)" - COPTS+="$(use_have conntrack)" - COPTS+="$(use_have dbus)" - COPTS+="$(use libidn2 || use_have idn)" - COPTS+="$(use_have libidn2)" - COPTS+="$(use_have -n inotify)" - COPTS+="$(use_have -n dhcp dhcp dhcp6)" - COPTS+="$(use_have -n ipv6 ipv6 dhcp6)" - COPTS+="$(use_have -n id id)" - COPTS+="$(use_have lua luascript)" - COPTS+="$(use_have -n script)" - COPTS+="$(use_have -n tftp)" - COPTS+="$(use_have dnssec)" - COPTS+="$(use_have static dnssec_static)" -} - -src_compile() { - emake \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - CC="$(tc-getCC)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - COPTS="${COPTS}" \ - CONFFILE="/etc/${PN}.conf" \ - all$(use nls && echo "-i18n") - - use dhcp-tools && emake -C contrib/lease-tools \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - CC="$(tc-getCC)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - all -} - -src_install() { - local lingua puid - emake \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - COPTS="${COPTS}" \ - DESTDIR="${D}" \ - install$(use nls && echo "-i18n") - - for lingua in "${DM_LINGUAS[@]}"; do - has ${lingua} ${LINGUAS-${lingua}} \ - || rm -rf "${D}"/usr/share/locale/${lingua} - done - [[ -d "${D}"/usr/share/locale/ ]] && rmdir --ignore-fail-on-non-empty "${D}"/usr/share/locale/ - - dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example - dodoc -r logo - - docinto html/ - dodoc *.html - - newinitd "${FILESDIR}"/dnsmasq-init-r3 ${PN} - newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN} - - insinto /etc - newins dnsmasq.conf.example dnsmasq.conf - - insinto /usr/share/dnsmasq - doins trust-anchors.conf - - if use dhcp; then - dodir /var/lib/misc - newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r2 ${PN} - fi - if use dbus; then - insinto /etc/dbus-1/system.d - doins dbus/dnsmasq.conf - fi - - if use dhcp-tools; then - dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time} - doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1 - if use ipv6; then - dosbin contrib/lease-tools/dhcp_release6 - doman contrib/lease-tools/dhcp_release6.1 - fi - fi - - systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service -} - -pkg_preinst() { - # temporary workaround to (hopefully) prevent leases file from being removed - [[ -f /var/lib/misc/dnsmasq.leases ]] && cp /var/lib/misc/dnsmasq.leases "${T}" -} - -pkg_postinst() { - # temporary workaround to (hopefully) prevent leases file from being removed - [[ -f "${T}"/dnsmasq.leases ]] && cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases -} diff --git a/net-dns/dnsmasq/dnsmasq-2.79.ebuild b/net-dns/dnsmasq/dnsmasq-2.79.ebuild index ca4a6b8217d2..3511354d396a 100644 --- a/net-dns/dnsmasq/dnsmasq-2.79.ebuild +++ b/net-dns/dnsmasq/dnsmasq-2.79.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.xz" LICENSE="|| ( GPL-2 GPL-3 )" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec id idn libidn2 +inotify" IUSE+=" ipv6 lua nls script selinux static tftp" diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest index b5e7eaf46523..d282e5bad84e 100644 --- a/net-dns/nsd/Manifest +++ b/net-dns/nsd/Manifest @@ -2,8 +2,6 @@ AUX nsd.initd-r1 1386 BLAKE2B d3a5ca31ffd06d9cf4da09617f523f61e5b8aea4e3217bf114 AUX nsd.munin-conf 23 BLAKE2B 0b08804b2218d77ea925d4c9e26e73649b453b923d6d7b1e1df39ceb58b92a44c48cb21583a480e622f72d07650f410f2e0703f1d16af08152aed16982ab8da2 SHA512 c06d0b035387e7be79cfa8fedf8afb3900772146c6d4090ac39ea2ef165772d875b222ef467bd73422078ef57818bcc931ca67fa290bd99a7a9456efa5448853 AUX nsd.service 272 BLAKE2B 66a7d4132246589f71341afd98361f6b02082be3d4e230c86ae690876a797ea0a4580b29892d91feba2785ea933a053f862e0d00f2c8a8c09ab907386c39a03c SHA512 fbca86887bfc36d61af06992cc98b3f3cb33c39274fbdc1e53d489bdcc767993911fab27a20244c3878b36bacbd1644a552364b2f7bf4d48e6eb247d0eecdf0f AUX nsd_munin_.patch 542 BLAKE2B 13ff49c41683d5bf505e257cd17bf5f3ad06662c00032d79b36be3f96486eb89fdd62a42b5ed4816ad99835366864603568613e27504894340ebb64057e2b2c3 SHA512 6034086d6b6f6980468766c901e92291fea8a32df179561ede2add5918c37bfe3aabf122735d4ae2e28efece394fd3398f9a0cc4d8fdcc1e5da1ca709d2ba6ae -DIST nsd-4.1.21.tar.gz 1099021 BLAKE2B 129fd3145308c108ef2bd06b854aaf7cdb7ae7cce7a635c2028d210f87bc9591c89d8724b4d7a23d72e06e2ed73287c1379573f8cb3571cc63a47987db4f6b65 SHA512 1e37f433ff5cd4869145a575a89d6eaca6b17c0e029302e233277b400c5f0f0b76ea018d48178d6b8a75b72328f0ded9e885be836c0bb32367d6861ff11c7150 -DIST nsd-4.1.22.tar.gz 1099463 BLAKE2B 955973e9ee01c1a5ed0a7cff38f881c775785b17452538db468f874d032b426a197b3709693c2df148de4a0f87259754b64c7ea02e53d9d96974f8c723267e19 SHA512 cab025b80955a15d174592ba5f0955c59333a988bf11b094c166a80206b51b6fcef65e2e976cd77009bf3fded257719efa4674a3a3a9d859ebc14e35fca2ecfb -EBUILD nsd-4.1.21.ebuild 2818 BLAKE2B fe0e9553ff2bec45c43a1d819d18ffa0bd18318937e74fefcd6b213c910c5d39f054ab72a95aea714f963ef933cd51222769a9dd9b836ef1a01be1d69043dbbf SHA512 429e3a1d9da83b7e92633d68e399d75befd44dd10142f491630d865f7229e00f636e05d799b7026bf7119d73925ee8185a901342cf5a14118c5da09f9cc80526 -EBUILD nsd-4.1.22.ebuild 2820 BLAKE2B be1a3a1c30a83f42503735efdb81502c3479b9b2d9465dc450e12c1dc6f3cc06fa414fec04cc7503af421e25ae4c434a8098ecef36fd4b3c8764968378823338 SHA512 e55d1a19c16131c14fac2380ca605324ab05795d74c07c91a61ea175d34c0159bebacacc2190c0817490e8e5b856fe6d8668f3c4185bb96881f27f785fbde69c +DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834 SHA512 7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939 +EBUILD nsd-4.1.23.ebuild 2792 BLAKE2B 5e7cbb5049ef66385ced5235c952e96f25e30c86c3536a8c2f6814a3066de8a8c3b019b6ca026ea70a563d86b9340e695cf2884b84f30e262ce316ff1780719c SHA512 788158e409868361e00791bfed6652c58c7c44791cc33a475aef433abcc104810c864de0aeb40bec22a7f6015213ddfd7fb5f2fc5a4376e14a08f1d4a1908bae MISC metadata.xml 1013 BLAKE2B b989a1ccafac96d48d6f1b72bace164fcb1c04885ec9436e37fb29d94bf8c5feb4a02a1b4fc04241b6fa3c9d6d89ec993e3a06b6efc7ccd45d4ace3fad16cb18 SHA512 e7c0d6a267fd06546ac58278ffb75280aa0c0ed55ddf0097614906c1863e55cf572ff7660e021ac8861c506ed0de126c0c5e68dd2d88aea1a395be3234607ce5 diff --git a/net-dns/nsd/nsd-4.1.21.ebuild b/net-dns/nsd/nsd-4.1.21.ebuild deleted file mode 100644 index 021f321a5af8..000000000000 --- a/net-dns/nsd/nsd-4.1.21.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user systemd - -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 -MY_PV="${PV/_rc/rc}" -MY_PV="${MY_PV/_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" - -S="${WORKDIR}/${MY_P}" - -RDEPEND=" - virtual/yacc - libevent? ( dev-libs/libevent ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) - munin? ( net-analyzer/munin ) -" -DEPEND=" - ${RDEPEND} - sys-devel/flex -" - -src_prepare() { - # Fix the paths in the munin plugin to match our install - eapply "${FILESDIR}"/nsd_munin_.patch - eapply_user -} - -src_configure() { - local myeconfargs=( - --enable-pie - --enable-relro-now - --enable-largefile - --with-logfile="${EPREFIX}"/var/log/nsd.log - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db - --with-xfrdir="${EPREFIX}"/var/db/nsd - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list - --with-zonesdir="${EPREFIX}"/var/lib/nsd - $(use_enable bind8-stats) - $(use_enable bind8-stats zone-stats) - $(use_enable ipv6) - $(use_enable minimal-responses) - $(use_enable mmap) - $(use_enable nsec3) - $(use_enable ratelimit) - $(use_enable root-server) - $(use_enable runtime-checks checking) - $(use_with libevent) - $(use_with ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - - newinitd "${FILESDIR}"/nsd.initd-r1 nsd - - # install munin plugin and config - if use munin ; then - exeinto /usr/libexec/munin/plugins - doexe contrib/nsd_munin_ - insinto /etc/munin/plugin-conf.d - newins "${FILESDIR}"/nsd.munin-conf nsd_munin - fi - - systemd_dounit "${FILESDIR}"/nsd.service - - # remove the /run directory that usually resides on tmpfs and is - # being taken care of by the nsd init script anyway (checkpath) - rm -r "${ED%/}"/run || die "Failed to remove /run" - - keepdir /var/db/${PN} -} - -pkg_postinst() { - # Do this in postinst to ensure the uid/gid is consistent for binpkgs - enewgroup nsd - enewuser nsd -1 -1 -1 nsd - - # database directory, writable by nsd for database updates and zone transfers - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd - - # zones directory, writable by nsd for zone file updates (nsd-control write) - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd -} diff --git a/net-dns/nsd/nsd-4.1.22.ebuild b/net-dns/nsd/nsd-4.1.22.ebuild deleted file mode 100644 index 6e71f765df89..000000000000 --- a/net-dns/nsd/nsd-4.1.22.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user systemd - -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 -MY_PV="${PV/_rc/rc}" -MY_PV="${MY_PV/_beta/b}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" - -S="${WORKDIR}/${MY_P}" - -RDEPEND=" - virtual/yacc - libevent? ( dev-libs/libevent ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) - munin? ( net-analyzer/munin ) -" -DEPEND=" - ${RDEPEND} - sys-devel/flex -" - -src_prepare() { - # Fix the paths in the munin plugin to match our install - eapply "${FILESDIR}"/nsd_munin_.patch - eapply_user -} - -src_configure() { - local myeconfargs=( - --enable-pie - --enable-relro-now - --enable-largefile - --with-logfile="${EPREFIX}"/var/log/nsd.log - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db - --with-xfrdir="${EPREFIX}"/var/db/nsd - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list - --with-zonesdir="${EPREFIX}"/var/lib/nsd - $(use_enable bind8-stats) - $(use_enable bind8-stats zone-stats) - $(use_enable ipv6) - $(use_enable minimal-responses) - $(use_enable mmap) - $(use_enable nsec3) - $(use_enable ratelimit) - $(use_enable root-server) - $(use_enable runtime-checks checking) - $(use_with libevent) - $(use_with ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - - newinitd "${FILESDIR}"/nsd.initd-r1 nsd - - # install munin plugin and config - if use munin ; then - exeinto /usr/libexec/munin/plugins - doexe contrib/nsd_munin_ - insinto /etc/munin/plugin-conf.d - newins "${FILESDIR}"/nsd.munin-conf nsd_munin - fi - - systemd_dounit "${FILESDIR}"/nsd.service - - # remove the /run directory that usually resides on tmpfs and is - # being taken care of by the nsd init script anyway (checkpath) - rm -r "${ED%/}"/run || die "Failed to remove /run" - - keepdir /var/db/${PN} -} - -pkg_postinst() { - # Do this in postinst to ensure the uid/gid is consistent for binpkgs - enewgroup nsd - enewuser nsd -1 -1 -1 nsd - - # database directory, writable by nsd for database updates and zone transfers - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd - - # zones directory, writable by nsd for zone file updates (nsd-control write) - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd -} diff --git a/net-dns/nsd/nsd-4.1.23.ebuild b/net-dns/nsd/nsd-4.1.23.ebuild new file mode 100644 index 000000000000..85ea02fc2f0b --- /dev/null +++ b/net-dns/nsd/nsd-4.1.23.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user systemd + +# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 +MY_PV="${PV/_beta/b}" +MY_PV="${MY_PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="An authoritative only, high performance, open source name server" +HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" + +S="${WORKDIR}/${MY_P}" + +RDEPEND=" + libevent? ( dev-libs/libevent ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:= ) + ) + munin? ( net-analyzer/munin ) +" +DEPEND=" + ${RDEPEND} + sys-devel/flex + virtual/yacc +" + +PATCHES=( + # Fix the paths in the munin plugin to match our install + "${FILESDIR}"/nsd_munin_.patch +) + +src_configure() { + local myeconfargs=( + --enable-largefile + --enable-pie + --enable-relro-now + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db + --with-logfile="${EPREFIX}"/var/log/nsd.log + --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid + --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state + --with-xfrdir="${EPREFIX}"/var/db/nsd + --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list + --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) + $(use_enable bind8-stats zone-stats) + $(use_enable ipv6) + $(use_enable minimal-responses) + $(use_enable mmap) + $(use_enable nsec3) + $(use_enable ratelimit) + $(use_enable root-server) + $(use_enable runtime-checks checking) + $(use_with libevent) + $(use_with ssl) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} + + newinitd "${FILESDIR}"/nsd.initd-r1 nsd + + # install munin plugin and config + if use munin ; then + exeinto /usr/libexec/munin/plugins + doexe contrib/nsd_munin_ + insinto /etc/munin/plugin-conf.d + newins "${FILESDIR}"/nsd.munin-conf nsd_munin + fi + + systemd_dounit "${FILESDIR}"/nsd.service + + # remove the /run directory that usually resides on tmpfs and is + # being taken care of by the nsd init script anyway (checkpath) + rm -r "${ED%/}"/run || die "Failed to remove /run" + + keepdir /var/db/${PN} +} + +pkg_postinst() { + # Do this in postinst to ensure the uid/gid is consistent for binpkgs + enewgroup nsd + enewuser nsd -1 -1 -1 nsd + + # database directory, writable by nsd for database updates and zone transfers + install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd + + # zones directory, writable by nsd for zone file updates (nsd-control write) + install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd +} -- cgit v1.2.3