1 |
commit: a6efc32268a969d6539897b23af9a6d0265cd0f5 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 9 11:54:57 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 9 11:54:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6efc322 |
7 |
|
8 |
net-dns/nsd: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
net-dns/nsd/Manifest | 1 - |
13 |
net-dns/nsd/nsd-4.1.16.ebuild | 101 ------------------------------------------ |
14 |
2 files changed, 102 deletions(-) |
15 |
|
16 |
diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest |
17 |
index 2e394297680..d12bc305caa 100644 |
18 |
--- a/net-dns/nsd/Manifest |
19 |
+++ b/net-dns/nsd/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST nsd-4.1.16.tar.gz 1088633 BLAKE2B c170ca8c4008d8db383a072c40bbf262487979bff659b3d0d76cb0203e1b7ff9f9c2bc4bc46912628c246d2cd12e55486a526fbdaa4f23eaa177fb2dcc4769e9 SHA512 51135bbf412cdc5d6d9be02af9fef16513f0529155c102debfd6bd68b025d289c684777a8fca57de86b25f68bc94aef89d2cfefb871b8d63048d262f6c8eb8e3 |
22 |
DIST nsd-4.1.18.tar.gz 1095673 BLAKE2B e3dc86e64614323dbefb334769a8095dc674f422f8e62c91e2918f4622ceac0ebef7dec42d5a714b15ad2f3af368ba817239a0027d3a685abf603cf00e9fa9d1 SHA512 d9939b8813677127ccd3e87e709b27a8a4f96cc0221ab77563d9349cb6dd56ae39bb7349ede9aed9aaa07de9310bcaeb8be8b17f608e9c4714b4fb084f2e756f |
23 |
DIST nsd-4.1.19.tar.gz 1096567 BLAKE2B f6e700d0c6f539caa0f1ff94fb43091eb15b32421f4b952566ca5ae31b94922248cc5ffd28a97abd6870d6bdd8acd76e80b06717584c626634f0a01eed76ae51 SHA512 fc99590f84658311cf33428d87c84c73b231ac0c90f8ca47daedeb264642e291eb2e79f8dee304dd4dc3a73bd9c7fbe65f2bd164b120bd7b13429ad483882d82 |
24 |
|
25 |
diff --git a/net-dns/nsd/nsd-4.1.16.ebuild b/net-dns/nsd/nsd-4.1.16.ebuild |
26 |
deleted file mode 100644 |
27 |
index 1b7f7b998e3..00000000000 |
28 |
--- a/net-dns/nsd/nsd-4.1.16.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,101 +0,0 @@ |
31 |
-# Copyright 1999-2017 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 |
-DESCRIPTION="An authoritative only, high performance, open source name server" |
39 |
-HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" |
40 |
-# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 |
41 |
-MY_PV=${PV/_rc/rc} |
42 |
-MY_PV=${MY_PV/_beta/b} |
43 |
-MY_P=${PN}-${MY_PV} |
44 |
-S="${WORKDIR}/${MY_P}" |
45 |
-SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" |
46 |
- |
47 |
-LICENSE="BSD" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 x86" |
50 |
-IUSE="bind8-stats ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl libressl" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- virtual/yacc |
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 |
-" |
65 |
- |
66 |
-src_prepare() { |
67 |
- # Fix the paths in the munin plugin to match our install |
68 |
- eapply "${FILESDIR}"/nsd_munin_.patch |
69 |
- eapply_user |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- local myeconfargs=( |
74 |
- --enable-pie |
75 |
- --enable-relro-now |
76 |
- --enable-largefile |
77 |
- --with-logfile="${EPREFIX}"/var/log/nsd.log |
78 |
- --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid |
79 |
- --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db |
80 |
- --with-xfrdir="${EPREFIX}"/var/db/nsd |
81 |
- --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state |
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 |
- |
121 |
-pkg_postinst() { |
122 |
- # Do this in postinst to ensure the uid/gid is consistent for binpkgs |
123 |
- enewgroup nsd |
124 |
- enewuser nsd -1 -1 -1 nsd |
125 |
- |
126 |
- # database directory, writable by nsd for database updates and zone transfers |
127 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd |
128 |
- |
129 |
- # zones directory, writable by nsd for zone file updates (nsd-control write) |
130 |
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd |
131 |
-} |