net-dns/pdns-recursor: Cleanup
authorSven Wegener <swegener@gentoo.org>
Wed, 17 Jul 2019 17:05:37 +0000 (19:05 +0200)
committerSven Wegener <swegener@gentoo.org>
Wed, 17 Jul 2019 17:05:58 +0000 (19:05 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Sven Wegener <swegener@gentoo.org>
net-dns/pdns-recursor/Manifest
net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild [deleted file]

index 0ff5ea42dcf089d5adf0de7341a81791f7c19291..00067a83a29c5a2d0c3235417afa015226c76801 100644 (file)
@@ -1,3 +1,2 @@
-DIST pdns-recursor-4.1.12.tar.bz2 1245110 BLAKE2B 187fe117ab64f234d144d7e2d91a119afe1d6b0a45079f1f9527724081c64f594c8c5d5b4dbc6e25b4beef1fcdfb3e5caed8e5a434921bf6b66e07617d0fb6f9 SHA512 d228976937ede7e9f6b3375e573f5b436d9df7ae246e411b13acb095a1a58f12173b663acc364ce0fbdcc61b3d5522e101472a88da8f044e44541564f9915d9e
 DIST pdns-recursor-4.1.14.tar.bz2 1249908 BLAKE2B 8918cbfa2b8ef91b18b7ef79c94bb2ae5e73f2dd835e810aca6480b7338be19e9d151f6ace6cd42bba6c71123378b95811dfa570d31ce2aa3e141b9e49753c8e SHA512 9b1842df5d32f0f7a7080bedb98d8f9e36c08cbf7427c9ba1bd07bae40ef48ad4a843d6eaff336d1fe9869c209c05f4edf1117b994b6ed5818146445b28b3011
 DIST pdns-recursor-4.2.0.tar.bz2 1316156 BLAKE2B 3ceb71695b0d5aa2826e28975f45d03910b23f2d7dfbe7388ffd19ea51c37bf6758ea6f90f1772b0c4ed217ef844e112961f51c04dee4db20a05f1e25ae6b71f SHA512 e4be63c1be70f0dfd7aab71f1184d5cc1d15e60e775451a96e8472db6fb3825762ebd6f51b593b167389868bbfde0538612b14a04c03f3f60a7e49f7882e78bf
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild
deleted file mode 100644 (file)
index 45a74d2..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit flag-o-matic
-
-DESCRIPTION="The PowerDNS Recursor"
-HOMEPAGE="https://www.powerdns.com/"
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="libressl luajit protobuf snmp sodium systemd"
-
-DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
-       luajit? ( dev-lang/luajit:= )
-       protobuf? (
-               dev-libs/protobuf
-               >=dev-libs/boost-1.42:=
-       )
-       systemd? ( sys-apps/systemd:0= )
-       snmp? ( net-analyzer/net-snmp )
-       sodium? ( dev-libs/libsodium:= )
-       libressl? ( dev-libs/libressl:= )
-       !libressl? ( dev-libs/openssl:= )
-       >=dev-libs/boost-1.35:="
-RDEPEND="${DEPEND}
-       !<net-dns/pdns-2.9.20-r1"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}"/${P/_/-}
-
-pkg_setup() {
-       filter-flags -ftree-vectorize
-}
-
-src_configure() {
-       econf \
-               --sysconfdir=/etc/powerdns \
-               $(use_enable systemd) \
-               $(use_enable sodium libsodium) \
-               $(use_with !luajit lua) \
-               $(use_with luajit luajit) \
-               $(use_with protobuf) \
-               $(use_with snmp net-snmp)
-}
-
-src_install() {
-       default
-
-       mv "${D}"/etc/powerdns/recursor.conf{-dist,}
-
-       # set defaults: setuid=nobody, setgid=nobody
-       sed -i \
-               -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \
-               -e 's/^# quiet=$/quiet=on/' \
-               -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
-               "${D}"/etc/powerdns/recursor.conf
-
-       newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor
-
-       keepdir /var/lib/powerdns
-}
-
-pkg_postinst() {
-       local old
-
-       for old in ${REPLACING_VERSIONS}; do
-               ver_test ${old} -lt 4.0.0-r1 || continue
-
-               ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
-               ewarn "to pdns-recursor, please update your runlevels accordingly."
-
-               break
-       done
-}