1 |
commit: 4cb363bd5164881fb01e0e376abdad61398a5a72 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 2 22:37:38 2019 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 2 22:37:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb363bd |
7 |
|
8 |
net-dns/djbdns: remove "unused" djbdns-1.05-r32.ebuild. |
9 |
|
10 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
net-dns/djbdns/Manifest | 1 - |
14 |
net-dns/djbdns/djbdns-1.05-r32.ebuild | 154 ---------------------------------- |
15 |
2 files changed, 155 deletions(-) |
16 |
|
17 |
diff --git a/net-dns/djbdns/Manifest b/net-dns/djbdns/Manifest |
18 |
index 813304725d1..af9a9ef1e60 100644 |
19 |
--- a/net-dns/djbdns/Manifest |
20 |
+++ b/net-dns/djbdns/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST djbdns-1.05-man.tar.gz 17170 BLAKE2B 2fef7e1be8a427b2c426c2af58bf4c22795e64d03e0f605ca333e38f187ff65b333e88a7cea0e8a9ec867b446b5ca34a5c97dd24ae18b28ee4c747f2fd1f1608 SHA512 98af7bd9033a2205fbbc0f23b7eab45b9756f6ceff5199a62952e19c89c9fe3c03495cb6f8621d388f883c40650309a1509095417df3f54af21a71350c4aa183 |
23 |
-DIST djbdns-1.05-test27.diff.bz2 20695 BLAKE2B 5eb2b5deeb81ec802bec4787b844f8b072e46a06ea28cf28a2702f8d545c3248256357669471f78b61f30c656b6f325bb8c0710dbdfa3ad2c2b00d5fb02bfc66 SHA512 e5acf26ff353ae20b6c2186140255bf0ae478a75a9946163d4474a003afbf8c2f47e61a12fc3ed4b9eff17ec8732e9d91bfbb10fb2762310b067180b6d471ba0 |
24 |
DIST djbdns-1.05-test28.diff.xz 22072 BLAKE2B fff6c13220adfa056a0ac5942ff9385d83b75f8622adaebab65f557a2ca8d014fe3c255fe55ba9afca56b24880b7cd28597b26b5bcc3bbbd3ef9f581b67004fd SHA512 7fbfeda10221a0a09897c2e744df5606c83113c394ce055d822b0d8733873d72567a88c37905d21c7d2395170fc12b9e9eb133a941aa809f1b9856872ab48230 |
25 |
DIST djbdns-1.05.tar.gz 85648 BLAKE2B 51918fcc8944e64e72709636ee7d56975a138a2806e22c019fa836770de3a338bb8f682216b89c09d6b2861c2423e60e28dc60639f5a86aca2040e1788e4cf5c SHA512 20f066402801d7bec183cb710a5bc51e41f1410024741e5803e26f68f2c13567e48eba793f233dfab903459c3335bc169e24b99d66a4c64e617e1f0779732fa9 |
26 |
|
27 |
diff --git a/net-dns/djbdns/djbdns-1.05-r32.ebuild b/net-dns/djbdns/djbdns-1.05-r32.ebuild |
28 |
deleted file mode 100644 |
29 |
index acfed9c3992..00000000000 |
30 |
--- a/net-dns/djbdns/djbdns-1.05-r32.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,154 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-inherit flag-o-matic readme.gentoo-r1 toolchain-funcs user |
38 |
- |
39 |
-DESCRIPTION="Collection of DNS client/server software" |
40 |
-HOMEPAGE="http://cr.yp.to/djbdns.html" |
41 |
-IPV6_PATCH="test27" |
42 |
- |
43 |
-SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz |
44 |
- http://smarden.org/pape/djb/manpages/${P}-man.tar.gz |
45 |
- ipv6? ( http://www.fefe.de/dns/${P}-${IPV6_PATCH}.diff.bz2 )" |
46 |
- |
47 |
-SLOT="0" |
48 |
-LICENSE="public-domain" |
49 |
-KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" |
50 |
-IUSE="ipv6 selinux" |
51 |
- |
52 |
-DEPEND="" |
53 |
-RDEPEND="sys-apps/ucspi-tcp |
54 |
- virtual/daemontools |
55 |
- selinux? ( sec-policy/selinux-djbdns )" |
56 |
- |
57 |
-src_unpack(){ |
58 |
- # Unpack both djbdns and its man pages to separate directories. |
59 |
- default |
60 |
- |
61 |
- # Now move the man pages under ${S} so that user patches can be |
62 |
- # applied to them as well in src_prepare(). |
63 |
- mv "${PN}-man" "${P}/man" || die "failed to transplant man pages" |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- eapply \ |
68 |
- "${FILESDIR}/headtail-r1.patch" \ |
69 |
- "${FILESDIR}/dnsroots.patch" \ |
70 |
- "${FILESDIR}/dnstracesort.patch" \ |
71 |
- "${FILESDIR}/string_length_255.patch" \ |
72 |
- "${FILESDIR}/srv_record_support.patch" \ |
73 |
- "${FILESDIR}/increase-cname-recustion-depth.patch" |
74 |
- |
75 |
- # Fix CVE2009-0858 |
76 |
- eapply "${FILESDIR}/CVE2009-0858_0001-check-response-domain-name-length.patch" |
77 |
- |
78 |
- # Fix CVE2012-1191 |
79 |
- eapply "${FILESDIR}/CVE2012-1191_0001-ghost-domain-attack.patch" |
80 |
- |
81 |
- if use ipv6; then |
82 |
- elog 'At present dnstrace does NOT support IPv6. It will'\ |
83 |
- 'be compiled without IPv6 support.' |
84 |
- |
85 |
- # Create a separate copy of the source tree for dnstrace. |
86 |
- cp -pR "${S}" "${S}-noipv6" || die |
87 |
- |
88 |
- # The big ipv6 patch. |
89 |
- eapply "${WORKDIR}/${P}-${IPV6_PATCH}.diff" |
90 |
- |
91 |
- # Fix CVE2008-4392 (ipv6) |
92 |
- eapply \ |
93 |
- "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-ipv6-test25-r1.patch" \ |
94 |
- "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records-ipv6.patch" \ |
95 |
- "${FILESDIR}/makefile-parallel-test25.patch" |
96 |
- |
97 |
- cd "${S}-noipv6" || die |
98 |
- fi |
99 |
- |
100 |
- # Fix CVE2008-4392 (no ipv6) |
101 |
- eapply \ |
102 |
- "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-r1.patch" \ |
103 |
- "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records.patch" |
104 |
- |
105 |
- # Later versions of the ipv6 patch include this, but even if |
106 |
- # USE=ipv6, we're in the ${S}-noipv6 directory at this point. |
107 |
- eapply "${FILESDIR}/${PV}-errno-r1.patch" |
108 |
- |
109 |
- eapply_user |
110 |
-} |
111 |
- |
112 |
-src_compile() { |
113 |
- echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die |
114 |
- echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die |
115 |
- echo "/usr" > conf-home || die |
116 |
- emake |
117 |
- |
118 |
- # If djbdns is compiled with IPv6 support, it breaks dnstrace. |
119 |
- # Therefore we must compile dnstrace separately without IPv6 |
120 |
- # support. |
121 |
- if use ipv6; then |
122 |
- elog 'Compiling dnstrace without ipv6 support' |
123 |
- cp conf-cc conf-ld conf-home "${S}-noipv6/" || die |
124 |
- cd "${S}-noipv6" || die |
125 |
- emake dnstrace |
126 |
- fi |
127 |
-} |
128 |
- |
129 |
-src_install() { |
130 |
- insinto /etc |
131 |
- doins dnsroots.global |
132 |
- |
133 |
- into /usr |
134 |
- dobin *-conf dnscache tinydns walldns rbldns pickdns axfrdns \ |
135 |
- *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx \ |
136 |
- dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort |
137 |
- |
138 |
- if use ipv6; then |
139 |
- dobin dnsip6 dnsip6q "${S}-noipv6/dnstrace" |
140 |
- fi |
141 |
- |
142 |
- dodoc CHANGES README |
143 |
- |
144 |
- doman man/*.[158] |
145 |
- |
146 |
- readme.gentoo_create_doc |
147 |
-} |
148 |
- |
149 |
-pkg_preinst() { |
150 |
- # The nofiles group is no longer provided by baselayout. |
151 |
- # Share it with qmail if possible. |
152 |
- enewgroup nofiles 200 |
153 |
- |
154 |
- enewuser dnscache -1 -1 -1 nofiles |
155 |
- enewuser dnslog -1 -1 -1 nofiles |
156 |
- enewuser tinydns -1 -1 -1 nofiles |
157 |
-} |
158 |
- |
159 |
-DISABLE_AUTOFORMATTING=1 |
160 |
-DOC_CONTENTS=' |
161 |
-To configure djbdns, please follow the instructions at, |
162 |
- |
163 |
- http://cr.yp.to/djbdns.html |
164 |
- |
165 |
-Of particular interest are, |
166 |
- |
167 |
- axfrdns : http://cr.yp.to/djbdns/axfrdns-conf.html |
168 |
- dnscache: http://cr.yp.to/djbdns/run-cache-x-home.html |
169 |
- tinydns : http://cr.yp.to/djbdns/run-server.html |
170 |
- |
171 |
-Portage has created users for axfrdns, dnscache, and tinydns; the |
172 |
-commands to configure these programs are, |
173 |
- |
174 |
- 1. axfrdns-conf tinydns dnslog /var/axfrdns /var/tinydns $ip |
175 |
- 2. dnscache-conf dnscache dnslog /var/dnscache $ip |
176 |
- 3. tinydns-conf tinydns dnslog /var/tinydns $ip |
177 |
- |
178 |
-(replace $ip with the ip address on which the server will run). |
179 |
- |
180 |
-If you wish to configure rbldns or walldns, you will need to create |
181 |
-those users yourself (although you should still use the "dnslog" |
182 |
-user for the logs): |
183 |
- |
184 |
- 4. rbldns-conf $username dnslog /var/rbldns $ip $base |
185 |
- 5. walldns-conf $username dnslog /var/walldns $ip |
186 |
-' |