summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-19 12:46:56 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-19 13:28:02 +0200
commitdba1cbc156f9d837ae46f50a37b7cbdc9093ec28 (patch)
tree4a08c4bad3f632d6ad7f0b05e390ddb84c45151c /net-dns
parentnet-dns/avahi: Remove old (diff)
downloadgentoo-dba1cbc156f9d837ae46f50a37b7cbdc9093ec28.tar.gz
gentoo-dba1cbc156f9d837ae46f50a37b7cbdc9093ec28.tar.bz2
gentoo-dba1cbc156f9d837ae46f50a37b7cbdc9093ec28.zip
net-dns/maradns: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/maradns/Manifest1
-rw-r--r--net-dns/maradns/maradns-2.0.16.ebuild111
-rw-r--r--net-dns/maradns/metadata.xml3
3 files changed, 0 insertions, 115 deletions
diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest
index 09d666c37935..3dc055a4f473 100644
--- a/net-dns/maradns/Manifest
+++ b/net-dns/maradns/Manifest
@@ -1,2 +1 @@
-DIST maradns-2.0.16.tar.bz2 1127504 BLAKE2B 142166370efed2d52c0a1e659bf0056f8d13cc5eca3c1d30c0278b81047aa58ce6c6f3f8496e982841b9dcd541ffd2c24467b8062aa5a7ffb1f31ef6cf841a15 SHA512 9959a7b6724aff5561fa9303b3d7c967e298fd63d95ef7e34d80514dde8871c19887c184a6466779f2833c295233dd1d54a7c06928ac58dcbb374281deb13f17
DIST maradns-3.5.0005.tar.xz 5351412 BLAKE2B c6b1c4fb93cb507045b3c09574d7ce30b0af92301e157216b4a5bbd2ed74ceb829ef4d11cd08048c7a685a09cdd4178cf3fc4e7b2465820d26d3a5c1b96f4a5e SHA512 2e7008ff6217929008292dde60d96eb2ec0499a170e1b5bda5fcfb27300d2ce6cecd8b3e2a2d4b09ff32b803f9f435230378e6b2e41e7b63c42653d8c931151d
diff --git a/net-dns/maradns/maradns-2.0.16.ebuild b/net-dns/maradns/maradns-2.0.16.ebuild
deleted file mode 100644
index 17e475eff849..000000000000
--- a/net-dns/maradns/maradns-2.0.16.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd toolchain-funcs user
-
-DEADWOOD_VER="3.2.12"
-
-DESCRIPTION="A security-aware DNS server"
-HOMEPAGE="http://www.maradns.org/"
-SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2"
-
-# The GPL-2 covers the init script, bug 426018.
-LICENSE="BSD-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~mips ~ppc x86"
-IUSE="authonly examples ipv6"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}
- dev-lang/perl"
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # Use duende-ng.c.
- cp tools/duende{,-ng}.c \
- || die "failed to rename duende-ng.c"
- # replace "make" by "$(MAKE)" to avoid GNU Make warning
- sed -i 's/\ make\ /\ \$\(MAKE\)\ /g' build/Makefile.linux \
- || die "can't patch build/Makefile.linux"
-
- python_fix_shebang tools/bind2csv2.py
-}
-
-src_configure() {
- tc-export CC
- ./configure $(use ipv6 && echo "--ipv6") || die "Failed to configure ${PN}"
-}
-
-src_install() {
- # Install the MaraDNS and Deadwood binaries
- dosbin server/maradns
- dosbin tcp/zoneserver
- if ! use authonly; then
- dosbin deadwood-${DEADWOOD_VER}/src/Deadwood
- fi
- dobin tcp/{getzone,fetchzone}
- dobin tools/{askmara,askmara-tcp,duende,bind2csv2.py,csv1tocsv2.pl}
-
- # MaraDNS docs, manpages, misc
- dodoc doc/en/{QuickStart,README,*.txt,*.html}
- dodoc -r doc/en/{text,webpage,tutorial}
- dodoc maradns.gpg.key
- if ! use authonly; then
- docinto deadwood
- dodoc deadwood-${DEADWOOD_VER}/doc/{*.txt,*.html,CHANGELOG,Deadwood-HOWTO}
- dodoc -r deadwood-${DEADWOOD_VER}/doc/internals
- fi
-
- # Install examples (optional)
- if use examples ; then
- docinto examples
- dodoc doc/en/examples/example_*
- fi
-
- # Install manpages
- doman doc/en/man/*.[1-9]
- if ! use authonly; then
- doman deadwood-${DEADWOOD_VER}/doc/{Deadwood,Duende}.1
- fi
-
- # Example configurations.
- insinto /etc/maradns
- newins doc/en/examples/example_full_mararc mararc_full.dist
- newins doc/en/examples/example_csv2 example_csv2.dist
- if ! use authonly; then
- newins deadwood-${DEADWOOD_VER}/doc/dwood3rc-all dwood3rc_all.dist
- fi
- keepdir /etc/maradns/logger
-
- # Init scripts.
- newinitd "${FILESDIR}"/maradns2 maradns
- newinitd "${FILESDIR}"/zoneserver2 zoneserver
- if ! use authonly; then
- newinitd "${FILESDIR}"/deadwood deadwood
- fi
-
- # systemd unit
- # please keep paths in sync!
- sed -e "s^@bindir@^${EPREFIX}/usr/sbin^" \
- -e "s^@sysconfdir@^${EPREFIX}/etc/maradns^" \
- "${FILESDIR}"/maradns.service.in > "${T}"/maradns.service \
- || die "failed to create the maradns.service file (sed)"
-
- systemd_dounit "${T}"/maradns.service
-}
-
-pkg_preinst() {
- enewgroup maradns 99
- enewuser duende 66 -1 -1 maradns
- enewuser maradns 99 -1 -1 maradns
-}
diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml
index 1989b4903ef9..aa20f8fb6d0d 100644
--- a/net-dns/maradns/metadata.xml
+++ b/net-dns/maradns/metadata.xml
@@ -13,9 +13,6 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
- <use>
- <flag name="authonly">Allows one to build only authoritative DNS server</flag>
- </use>
<upstream>
<remote-id type="github">samboy/MaraDNS</remote-id>
</upstream>