diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-02-23 00:01:31 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-02-23 00:01:31 +0000 |
commit | c0f1fd74e643ccd5812d80506ab1f9a15a8853c1 (patch) | |
tree | ef2299f71b90d4dc56a05c77433e2621f63f037a /net-dns | |
parent | hppa repoman (diff) | |
download | historical-c0f1fd74e643ccd5812d80506ab1f9a15a8853c1.tar.gz historical-c0f1fd74e643ccd5812d80506ab1f9a15a8853c1.tar.bz2 historical-c0f1fd74e643ccd5812d80506ab1f9a15a8853c1.zip |
ebuild cleanup and initscript cleanup
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdnsd/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/pdnsd/Manifest | 6 | ||||
-rw-r--r-- | net-dns/pdnsd/files/pdnsd.rc6 | 6 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.1.10.ebuild | 22 |
4 files changed, 25 insertions, 19 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog index 52429089b3b3..a040afe61eba 100644 --- a/net-dns/pdnsd/ChangeLog +++ b/net-dns/pdnsd/ChangeLog @@ -1,8 +1,14 @@ # ChangeLog for net-dns/pdnsd # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.16 2004/02/22 08:21:55 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.17 2004/02/23 00:01:31 dragonheart Exp $ - 22 Feb 2004; Daniel Black <dragonheart@gentoo.org> : +*pdnsd-1.1.10 (23 Feb 2004) + + 23 Feb 2004; Daniel Black <dragonheart@gentoo.org> pdnsd-1.1.10.ebuild, + files/pdnsd.rc6: + ebuild cleanup. + + 22 Feb 2004; Daniel Black <dragonheart@gentoo.org> pdnsd-1.1.10.ebuild: version bump. Avoid clobbering previous cache. Cache moved to /var/cache from /var/lib. diff --git a/net-dns/pdnsd/Manifest b/net-dns/pdnsd/Manifest index 2e9640153cd0..0e7ef24f1645 100644 --- a/net-dns/pdnsd/Manifest +++ b/net-dns/pdnsd/Manifest @@ -1,12 +1,12 @@ -MD5 1d2c32cfb3060921de5ea337dfd90d25 ChangeLog 2461 +MD5 832176420bfa1b83c01832480a6aea08 ChangeLog 2621 MD5 cd82be4729ad0da13f8e5e396dd29840 metadata.xml 437 MD5 26bca7b616a2442959308de230497400 pdnsd-1.1.6-r7.ebuild 993 MD5 a415c002ad5217367da41f607bf6cad6 pdnsd-1.1.7a.ebuild 990 MD5 903d724ad5a7e2e2da7dba6cce8a86b9 pdnsd-1.1.9.ebuild 2656 -MD5 cc97f6e22361c64cc64b20f90db9245a pdnsd-1.1.10.ebuild 2953 +MD5 f8de439e69b173401779ebc3a64f13a1 pdnsd-1.1.10.ebuild 2855 MD5 0be52a5ffe250606d96898f3936bc249 files/digest-pdnsd-1.1.6-r7 64 MD5 729266103aee86613f32b6e39c03172f files/digest-pdnsd-1.1.7a 65 MD5 2f4f436df1064eb21409e1ef613be068 files/digest-pdnsd-1.1.9 67 MD5 257d8a4508a950c8a742eb669197bb28 files/pdnsd.online 475 -MD5 25a42a46eed3ffef4c4e2ae493a1fd16 files/pdnsd.rc6 784 +MD5 f8afdf462390be0aa19d19c93b7a2c6a files/pdnsd.rc6 790 MD5 9f2d13f1058a1ea390762faef91772a8 files/digest-pdnsd-1.1.10 68 diff --git a/net-dns/pdnsd/files/pdnsd.rc6 b/net-dns/pdnsd/files/pdnsd.rc6 index ddbf2f4a0a6f..ac5a528fdcc5 100644 --- a/net-dns/pdnsd/files/pdnsd.rc6 +++ b/net-dns/pdnsd/files/pdnsd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.rc6,v 1.8 2004/02/22 08:20:03 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.rc6,v 1.9 2004/02/23 00:01:31 dragonheart Exp $ depend() { need net @@ -10,8 +10,8 @@ depend() { checkconfig() { if [ ! -e /etc/pdnsd/pdnsd.conf ] ; then - eerror "You need an /etc/pdnsd/pdnsd.conf file first" - eerror "There is a sample in /usr/share/doc/pdnsd" + eerror "You need an /etc/pdnsd/pdnsd.conf file first." + eerror "There is a sample in /etc/pdnsd/pdnsd.conf.sample" return 1 fi } diff --git a/net-dns/pdnsd/pdnsd-1.1.10.ebuild b/net-dns/pdnsd/pdnsd-1.1.10.ebuild index 6b2e31e973b4..0608f1626807 100644 --- a/net-dns/pdnsd/pdnsd-1.1.10.ebuild +++ b/net-dns/pdnsd/pdnsd-1.1.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.10.ebuild,v 1.1 2004/02/22 08:20:03 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.10.ebuild,v 1.2 2004/02/23 00:01:31 dragonheart Exp $ DESCRIPTION="Proxy DNS server with permanent caching" @@ -13,7 +13,8 @@ HOMEPAGE="http://www.phys.uu.nl/%7Erombouts/pdnsd.html http://home.t-online.de/h IUSE="ipv6 debug isdn" DEPEND="virtual/glibc - >=sys-apps/sed-4" + sys-apps/sed + sys-apps/gawk" RDEPEND="virtual/glibc" @@ -35,7 +36,7 @@ src_compile() { cd ${S} || die local myconf - if [ `use debug` ]; then + if use debug; then myconf="${myconf} --with-debug=3" CFLAGS="${CFLAGS} -g" fi @@ -45,6 +46,7 @@ src_compile() { --sysconfdir=/etc/pdnsd \ --with-cachedir=/var/cache/pdnsd \ --infodir=/usr/share/info --mandir=/usr/share/man \ + --with-default-id=pdnsd \ `use_enable ipv6` `use_enable isdn` \ ${myconf} \ || die "bad configure" @@ -64,12 +66,6 @@ src_install() { # Don't clobber existing cache [ -f /var/cache/pdnsd/pdnsd.cache ] && rm ${D}/var/cache/pdnsd/pdnsd.cache - fowners pdnsd:pdnsd /var/cache/pdnsd - - [ -f ${D}/var/cache/pdnsd/pdnsd.cache ] fowners pdnsd:pdnsd /var/cache/pdnsd/pdnsd.cache - - sed -i 's/run_as=.*/run_as="pdnsd";/' ${D}/etc/pdnsd/pdnsd.conf.sample - dodoc AUTHORS COPYING* ChangeLog* NEWS README THANKS TODO README.par docinto contrib ; dodoc contrib/{README,dhcp2pdnsd,pdnsd_dhcp.pl} docinto html ; dohtml doc/html/* @@ -85,16 +81,20 @@ src_install() { keepdir /etc/conf.d local config=${D}/etc/conf.d/pdnsd-online - echo "# Enter the interface that connects you to the dns servers" > ${config} + + ${D}/usr/sbin/pdnsd --help | sed "s/^/# /g" > ${config} + echo "# Enter the interface that connects you to the dns servers" >> ${config} echo "# This will correspond to /etc/init.d/net.${IFACE}" >> ${config} echo "IFACE=ppp0" >> ${config} use ipv6 && echo PDNSDCONFIG="-6" >> ${config} \ || echo PDNSDCONFIG="" >> ${config} - ${D}/usr/sbin/pdnsd --help | sed "s/^/# /g" >> ${config} einfo "Add pdnsd to your default runlevel." einfo "" einfo "Add pdnsd-online to your online runlevel." einfo "The online interface will be listed in /etc/conf.d/pdnsd-online" + einfo "" + einfo "Sample config file in /etc/pdnsd/pdnsd.conf.sample" + } |