Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/
Date: Wed, 26 Sep 2018 07:59:33
Message-Id: 1537948532.8e8cc8d0d4f85f5bab6cff28335c1e416bc6c48a.polynomial-c@gentoo
1 commit: 8e8cc8d0d4f85f5bab6cff28335c1e416bc6c48a
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 26 07:55:32 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 26 07:55:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8cc8d0
7
8 net-dns/nsd: Removed old.
9
10 Package-Manager: Portage-2.3.50, Repoman-2.3.11
11
12 net-dns/nsd/Manifest | 1 -
13 net-dns/nsd/nsd-4.1.23.ebuild | 103 ------------------------------------------
14 2 files changed, 104 deletions(-)
15
16 diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest
17 index 9a5655bd11d..85f90d98ecb 100644
18 --- a/net-dns/nsd/Manifest
19 +++ b/net-dns/nsd/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST nsd-4.1.23.tar.gz 1102038 BLAKE2B 673146931421ba7be5e90b6f60db23f9e61f42687e4f0aac2d6624125f09067dab535a3badfd00d795a3948319467f3924ca24cc0697b0c203591c2d6efb1834 SHA512 7eb44658be6a3b94855d1a84201e5f20a02c8d85786ac0b1f82a3a67e6bc3c22602d03a8976c2bcb68ea68f0bcf72f1d9fe688e1fd1f9fbe6a774c97bdcf7939
22 DIST nsd-4.1.24.tar.gz 1107574 BLAKE2B 9e22d6a07bc7c63efb41b0b4e1a0e1e36d94db9bf79f31a704bd1ec7ba371b059669feebca4b6ed9427ba41017f661ebd8a30a26ee433b45374df75d2c182cb2 SHA512 68f7f62c740e5a73d1b9da4b6d593ff1b728bc398ad126a75febaa523a2117c80315bf90ca6a60aabf38539181e00524cedb106a32b4883aa8ed021462d47762
23 DIST nsd-4.1.25.tar.gz 1108285 BLAKE2B 29428e59c0913e9eb6936b577c02b03136ae51e47d58f5d476368b4e6614e240a735a29ec5f224dbca6f76068fa81f0eed32fad75bf647673f35641ac414e3a6 SHA512 3a1de59d799a94aeb236139bf52f1d2e2139002ec8a033948a2324680df513e6c333e3564f526ca4fa106b42e50ae2bc67edadaeee72f608dabed962aacb5423
24
25 diff --git a/net-dns/nsd/nsd-4.1.23.ebuild b/net-dns/nsd/nsd-4.1.23.ebuild
26 deleted file mode 100644
27 index 85ea02fc2f0..00000000000
28 --- a/net-dns/nsd/nsd-4.1.23.ebuild
29 +++ /dev/null
30 @@ -1,103 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit user systemd
37 -
38 -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
39 -MY_PV="${PV/_beta/b}"
40 -MY_PV="${MY_PV/_rc/rc}"
41 -MY_P="${PN}-${MY_PV}"
42 -
43 -DESCRIPTION="An authoritative only, high performance, open source name server"
44 -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd"
45 -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz"
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="amd64 x86"
49 -IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl"
50 -
51 -S="${WORKDIR}/${MY_P}"
52 -
53 -RDEPEND="
54 - libevent? ( dev-libs/libevent )
55 - ssl? (
56 - !libressl? ( dev-libs/openssl:0= )
57 - libressl? ( dev-libs/libressl:= )
58 - )
59 - munin? ( net-analyzer/munin )
60 -"
61 -DEPEND="
62 - ${RDEPEND}
63 - sys-devel/flex
64 - virtual/yacc
65 -"
66 -
67 -PATCHES=(
68 - # Fix the paths in the munin plugin to match our install
69 - "${FILESDIR}"/nsd_munin_.patch
70 -)
71 -
72 -src_configure() {
73 - local myeconfargs=(
74 - --enable-largefile
75 - --enable-pie
76 - --enable-relro-now
77 - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db
78 - --with-logfile="${EPREFIX}"/var/log/nsd.log
79 - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid
80 - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state
81 - --with-xfrdir="${EPREFIX}"/var/db/nsd
82 - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list
83 - --with-zonesdir="${EPREFIX}"/var/lib/nsd
84 - $(use_enable bind8-stats)
85 - $(use_enable bind8-stats zone-stats)
86 - $(use_enable ipv6)
87 - $(use_enable minimal-responses)
88 - $(use_enable mmap)
89 - $(use_enable nsec3)
90 - $(use_enable ratelimit)
91 - $(use_enable root-server)
92 - $(use_enable runtime-checks checking)
93 - $(use_with libevent)
94 - $(use_with ssl)
95 - )
96 - econf "${myeconfargs[@]}"
97 -}
98 -
99 -src_install() {
100 - emake DESTDIR="${D}" install
101 -
102 - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS}
103 -
104 - newinitd "${FILESDIR}"/nsd.initd-r1 nsd
105 -
106 - # install munin plugin and config
107 - if use munin ; then
108 - exeinto /usr/libexec/munin/plugins
109 - doexe contrib/nsd_munin_
110 - insinto /etc/munin/plugin-conf.d
111 - newins "${FILESDIR}"/nsd.munin-conf nsd_munin
112 - fi
113 -
114 - systemd_dounit "${FILESDIR}"/nsd.service
115 -
116 - # remove the /run directory that usually resides on tmpfs and is
117 - # being taken care of by the nsd init script anyway (checkpath)
118 - rm -r "${ED%/}"/run || die "Failed to remove /run"
119 -
120 - keepdir /var/db/${PN}
121 -}
122 -
123 -pkg_postinst() {
124 - # Do this in postinst to ensure the uid/gid is consistent for binpkgs
125 - enewgroup nsd
126 - enewuser nsd -1 -1 -1 nsd
127 -
128 - # database directory, writable by nsd for database updates and zone transfers
129 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
130 -
131 - # zones directory, writable by nsd for zone file updates (nsd-control write)
132 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
133 -}