Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/maradns/
Date: Thu, 28 Apr 2016 23:44:43
Message-Id: 1461883379.dd5cc62d937ce0de8d810d7bf0d03fad737e84da.wizardedit@gentoo
1 commit: dd5cc62d937ce0de8d810d7bf0d03fad737e84da
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 22:42:59 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 22:42:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5cc62d
7
8 net-dns/maradns: remove maradns-2.0.09
9
10 Package-Manager: portage-2.2.26
11
12 net-dns/maradns/maradns-2.0.09.ebuild | 98 -----------------------------------
13 1 file changed, 98 deletions(-)
14
15 diff --git a/net-dns/maradns/maradns-2.0.09.ebuild b/net-dns/maradns/maradns-2.0.09.ebuild
16 deleted file mode 100644
17 index 189839f..0000000
18 --- a/net-dns/maradns/maradns-2.0.09.ebuild
19 +++ /dev/null
20 @@ -1,98 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI="5"
26 -
27 -inherit eutils systemd toolchain-funcs user
28 -
29 -DEADWOOD_VER="3.2.05"
30 -
31 -DESCRIPTION="A security-aware DNS server"
32 -HOMEPAGE="http://www.maradns.org/"
33 -SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2"
34 -
35 -LICENSE="BSD-2"
36 -SLOT="0"
37 -KEYWORDS="amd64 ~mips ppc x86"
38 -IUSE="authonly ipv6"
39 -
40 -DEPEND=""
41 -RDEPEND=""
42 -
43 -pkg_setup() {
44 - ebegin "Creating group and users"
45 - enewgroup maradns 99
46 - enewuser duende 66 -1 -1 maradns
47 - enewuser maradns 99 -1 -1 maradns
48 - eend ${?}
49 -}
50 -
51 -src_prepare() {
52 - # Apply some minor patches from Debian. Last one - from Gentoo
53 - epatch "${FILESDIR}/${PN}-2.0.06-askmara-tcp.patch" \
54 - "${FILESDIR}/${PN}-2.0.06-duende-man.patch" \
55 - "${FILESDIR}/${P}-build.patch"
56 - epatch_user
57 -}
58 -
59 -src_configure() {
60 - # Use duende-ng.c.
61 - cp "${S}/tools/duende-ng.c" "${S}/tools/duende.c" || die
62 -
63 - tc-export CC
64 - ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}"
65 -}
66 -
67 -src_install() {
68 - # Install the MaraDNS binaries.
69 - dosbin server/maradns
70 - dosbin tcp/zoneserver
71 - dobin tcp/getzone tcp/fetchzone
72 - dobin tools/askmara tools/askmara-tcp tools/duende
73 - dobin tools/bind2csv2.py tools/csv1tocsv2.pl
74 -
75 - # MaraDNS docs, manpages, misc.
76 - dodoc doc/en/{QuickStart,README,*.txt}
77 - dodoc doc/en/text/*.txt
78 - doman doc/en/man/*.[1-9]
79 - dodoc maradns.gpg.key
80 - dohtml doc/en/*.html
81 - dohtml -r doc/en/webpage
82 - dohtml -r doc/en/tutorial
83 - docinto examples
84 - dodoc doc/en/examples/example_*
85 -
86 - # Deadwood binary, docs, manpages, etc.
87 - if ! use authonly; then
88 - dosbin deadwood-${DEADWOOD_VER}/src/Deadwood
89 - doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1
90 - docinto deadwood
91 - dodoc deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende,FAQ}.txt
92 - dohtml deadwood-${DEADWOOD_VER}/doc/{Deadwood,FAQ}.html
93 - docinto deadwood/internals
94 - dodoc deadwood-${DEADWOOD_VER}/doc/internals/*
95 - insinto /etc/maradns
96 - newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist
97 - fi
98 -
99 - # Example configurations.
100 - insinto /etc/maradns
101 - newins doc/en/examples/example_full_mararc mararc_full.dist
102 - newins doc/en/examples/example_csv2 example_csv2.dist
103 - keepdir /etc/maradns/logger
104 -
105 - # Init scripts.
106 - newinitd "${FILESDIR}"/maradns2 maradns
107 - newinitd "${FILESDIR}"/zoneserver2 zoneserver
108 - if ! use authonly; then
109 - newinitd "${FILESDIR}"/deadwood deadwood
110 - fi
111 -
112 - # systemd unit
113 - # please keep paths in sync!
114 - sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \
115 - -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \
116 - "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service
117 - systemd_dounit "${T}"/maradns.service
118 -}