From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8170F1382C5 for ; Mon, 1 Feb 2021 14:57:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD07DE087B; Mon, 1 Feb 2021 14:57:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 838BFE087B for ; Mon, 1 Feb 2021 14:57:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4D42340F7D for ; Mon, 1 Feb 2021 14:57:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E254B9 for ; Mon, 1 Feb 2021 14:56:59 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1612191417.b8fbe13ab6d934481516622da1f285779a2e0e81.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdnsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/pdnsd/metadata.xml net-dns/pdnsd/pdnsd-1.2.9a-r1.ebuild X-VCS-Directories: net-dns/pdnsd/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: b8fbe13ab6d934481516622da1f285779a2e0e81 X-VCS-Branch: master Date: Mon, 1 Feb 2021 14:56:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d4a0783-2083-4fa2-9b87-df7ac8a53c05 X-Archives-Hash: 3f4cbbc3df161fa0aa45c1c0b7f7322f commit: b8fbe13ab6d934481516622da1f285779a2e0e81 Author: Lars Wendler gentoo org> AuthorDate: Mon Feb 1 14:56:46 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Feb 1 14:56:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8fbe13a net-dns/pdnsd: Removed old Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> net-dns/pdnsd/metadata.xml | 4 -- net-dns/pdnsd/pdnsd-1.2.9a-r1.ebuild | 131 ----------------------------------- 2 files changed, 135 deletions(-) diff --git a/net-dns/pdnsd/metadata.xml b/net-dns/pdnsd/metadata.xml index 1198baddd17..b2ffc78b5c9 100644 --- a/net-dns/pdnsd/metadata.xml +++ b/net-dns/pdnsd/metadata.xml @@ -12,10 +12,6 @@ networking). - - Linux-only: check status of ippp interfaces with ISDN-specific - system calls. - Linux-only: use /dev/urandom (pseudo-random number generation) instead of the default use of random() PRNG. diff --git a/net-dns/pdnsd/pdnsd-1.2.9a-r1.ebuild b/net-dns/pdnsd/pdnsd-1.2.9a-r1.ebuild deleted file mode 100644 index 5a05f498a8b..00000000000 --- a/net-dns/pdnsd/pdnsd-1.2.9a-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit systemd user - -DESCRIPTION="Proxy DNS server with permanent caching" -HOMEPAGE="http://members.home.nl/p.a.rombouts/pdnsd/" -SRC_URI="http://members.home.nl/p.a.rombouts/pdnsd/releases/${P}-par.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~ia64 ppc ~s390 sparc x86" -IUSE="debug ipv6 isdn +urandom test" -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="test? ( net-dns/bind-tools )" - -pkg_setup() { - enewgroup pdnsd - enewuser pdnsd -1 -1 /var/lib/pdnsd pdnsd -} - -src_configure() { - local myconf="" - use debug && myconf="${myconf} --with-debug=3" - use urandom && myconf="${myconf} --with-random-device=/dev/urandom" - - econf \ - --sysconfdir=/etc/pdnsd \ - --with-cachedir=/var/cache/pdnsd \ - --with-default-id=pdnsd \ - $(use_enable ipv6) $(use_enable ipv6 ipv6-startup) \ - $(use_enable isdn) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS ChangeLog* NEWS README THANKS TODO README.par - docinto contrib ; dodoc contrib/{README,dhcp2pdnsd,pdnsd_dhcp.pl} - docinto html ; dohtml doc/html/* - docinto txt ; dodoc doc/txt/* - newdoc doc/pdnsd.conf pdnsd.conf.sample - - newinitd "${FILESDIR}/pdnsd.rc8" pdnsd - newinitd "${FILESDIR}/pdnsd.online.2" pdnsd-online - systemd_newtmpfilesd "${FILESDIR}/pdnsd.tmpfiles" pdnsd.conf - systemd_dounit "${FILESDIR}/pdnsd.service" - - mkdir "${T}"/confd || die - - cat - > "${T}"/confd/pdnsd-online < "${T}"/confd/pdnsd < "${T}/pdnsd/pdnsd.cache" - IPS=$(grep ^nameserver /etc/resolv.conf | sed -e 's/nameserver \(.*\)/\tip=\1;/g' | xargs) - sed -e "s/\tip=/${IPS}/" -e "s:cache_dir=:cache_dir=${T}/pdnsd:" "${FILESDIR}/pdnsd.conf.test" \ - > "${T}/pdnsd.conf.test" - src/pdnsd -c "${T}/pdnsd.conf.test" -g -s -d -p "${T}/pid" || die "couldn't start daemon" - sleep 3 - - find "${T}" -ls - [ -s "${T}/pid" ] || die "empty or no pid file created" - [ -S "${T}/pdnsd/pdnsd.status" ] || fail_kill "no socket created" - src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" server all up || fail_kill "failed to start the daemon" - src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" status || fail_kill "failed to communicate with the daemon" - sleep 3 - - dig @127.0.0.1 -p 33455 localhost > "${T}"/dig.output 2>&1 - cat "${T}"/dig.output || die - fgrep -q "status: NOERROR" "${T}"/dig.output || fail_kill "www.gentoo.org lookup failed" - - kill $(<"${T}/pid") || fail_kill "failed to terminate daemon" -} - -pkg_postinst() { - elog - elog "Add pdnsd to your default runlevel - rc-update add pdnsd default" - elog "" - elog "Add pdnsd-online to your online runlevel." - elog "The online interface will be listed in /etc/conf.d/pdnsd-online" - elog "" - elog "Sample config file in /etc/pdnsd/pdnsd.conf.sample" - - # The tmpfiles.d configuration does not come into effect before the - # next reboot so create the cachedir now. - local cachedir="/var/cache/pdnsd" - if [[ ! -d ${cachedir} ]] ; then - mkdir ${cachedir} || eerror "Failed to create cache" - fi - chown pdnsd:pdnsd ${cachedir} \ - || eerror "Failed to set ownership for cachedir" - chmod 0750 ${cachedir} \ - || eerror "Failed to set permissions for cachedir" -}