From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KcHFm-0007HG-So for garchives@archives.gentoo.org; Sun, 07 Sep 2008 10:12:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6585E0618; Sun, 7 Sep 2008 10:12:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F649E0618 for ; Sun, 7 Sep 2008 10:12:22 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5BB786786B for ; Sun, 7 Sep 2008 10:12:21 +0000 (UTC) Received: from mrness by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KcHFk-00033k-99 for gentoo-commits@lists.gentoo.org; Sun, 07 Sep 2008 10:12:20 +0000 From: "Alin Nastac (mrness)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mrness@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-dns/pdnsd: ChangeLog pdnsd-1.2.7.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog pdnsd-1.2.7.ebuild X-VCS-Directories: net-dns/pdnsd X-VCS-Committer: mrness X-VCS-Committer-Name: Alin Nastac Content-Type: text/plain; charset=utf8 Message-Id: Sender: Alin Nastac Date: Sun, 07 Sep 2008 10:12:20 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e0cd27d3-00c3-40a3-b068-b6c9c7144d5a X-Archives-Hash: 17b584b10855c6a99bab033746f1f15b mrness 08/09/07 10:12:20 Modified: ChangeLog Added: pdnsd-1.2.7.ebuild Log: Version bump wrt security bug 231285. (Portage version: 2.1.4.4) Revision Changes Path 1.84 net-dns/pdnsd/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdnsd/Chan= geLog?rev=3D1.84&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdnsd/Chan= geLog?rev=3D1.84&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdnsd/Chan= geLog?r1=3D1.83&r2=3D1.84 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -u -r1.83 -r1.84 --- ChangeLog 22 Aug 2008 21:49:27 -0000 1.83 +++ ChangeLog 7 Sep 2008 10:12:19 -0000 1.84 @@ -1,6 +1,11 @@ # ChangeLog for net-dns/pdnsd # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.83 2008/0= 8/22 21:49:27 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.84 2008/0= 9/07 10:12:19 mrness Exp $ + +*pdnsd-1.2.7 (07 Sep 2008) + + 07 Sep 2008; Alin N=C4=83stac +pdnsd-1.2.7.ebuild: + Version bump wrt security bug 231285. =20 22 Aug 2008; Markus Meier pdnsd-1.2.6-r1.ebuild: amd64 stable, bug #231321 1.1 net-dns/pdnsd/pdnsd-1.2.7.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdnsd/pdns= d-1.2.7.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/pdnsd/pdns= d-1.2.7.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: pdnsd-1.2.7.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.2.7.ebuild,v 1.1= 2008/09/07 10:12:19 mrness Exp $ inherit eutils DESCRIPTION=3D"Proxy DNS server with permanent caching" HOMEPAGE=3D"http://www.phys.uu.nl/~rombouts/pdnsd.html" SRC_URI=3D"http://www.phys.uu.nl/~rombouts/pdnsd/releases/${P}-par.tar.gz= " LICENSE=3D"GPL-3" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sparc ~x86" IUSE=3D"debug ipv6 isdn nptl underscores urandom" pkg_setup() { enewgroup pdnsd enewuser pdnsd -1 -1 /var/lib/pdnsd pdnsd } src_compile() { local myconf=3D"" use debug && myconf=3D"${myconf} --with-debug=3D3" use nptl && myconf=3D"${myconf} --with-thread-lib=3DNPTL" use urandom && myconf=3D"${myconf} --with-random-device=3D/dev/urandom" econf \ --sysconfdir=3D/etc/pdnsd \ --with-cachedir=3D/var/cache/pdnsd \ --with-default-id=3Dpdnsd \ $(use_enable ipv6) \ $(use_enable isdn) \ $(use_enable underscores) \ ${myconf} \ || die "bad configure" emake all || die "compile problem" } src_install() { emake DESTDIR=3D"${D}" install || die "make install failed" 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.rc6" pdnsd newinitd "${FILESDIR}/pdnsd.online" pdnsd-online dodir /etc/conf.d local config=3D"${D}/etc/conf.d/pdnsd-online" echo -e "# Enter the interface that connects you to the dns servers" >> = "${config}" echo "# This will correspond to /etc/init.d/net.${IFACE}" >> "${config}" echo -e "\n# IMPORTANT: Be sure to run depscan.sh after modifiying IFACE= " >> "${config}" echo "IFACE=3Dppp0" >> "${config}" config=3D"${D}/etc/conf.d/pdnsd" "${D}/usr/sbin/pdnsd" --help | sed "s/^/# /g" > "${config}" echo "# Command line options" >> "${config}" use ipv6 && echo PDNSDCONFIG=3D"-a" >> "${config}" \ || echo PDNSDCONFIG=3D"" >> "${config}" # gentoo resolvconf support exeinto /etc/resolvconf/update.d newexe "${FILESDIR}/pdnsd.resolvconf-r1" pdnsd } src_test() { if [ -x /usr/bin/dig ]; then mkdir "${T}/pdnsd" echo -n -e "pd12\0\0\0\0" > "${T}/pdnsd/pdnsd.cache" IPS=3D$(grep ^nameserver /etc/resolv.conf | sed -e 's/nameserver \(.*\)= /\tip=3D\1;/g' | xargs) sed -e "s/\tip=3D/${IPS}/" -e "s:cache_dir=3D:cache_dir=3D${T}/pdnsd:" = "${FILESDIR}/pdnsd.conf.test" \ > "${T}/pdnsd.conf.test" src/pdnsd -c "${T}/pdnsd.conf.test" -g -s -d -p "${T}/pid" || die "coul= dn't start daemon" sleep 3 find "${T}" -ls [ -s "${T}/pid" ] || die "empty or no pid file created" [ -S "${T}/pdnsd/pdnsd.status" ] || die "no socket created" src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" server all up || die "failed to= start the daemon" src/pdnsd-ctl/pdnsd-ctl -c "${T}/pdnsd" status || die "failed to commun= icate with the daemon" sleep 3 dig @127.0.0.1 -p 33455 www.gentoo.org | fgrep "status: NOERROR" || di= e "www.gentoo.org lookup failed" kill $(<"${T}/pid") || die "failed to terminate daemon" fi } 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" }