diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-04-03 02:42:42 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-04-03 02:42:42 +0000 |
commit | f705df64fe4fbf705500a631856bde1ba950b381 (patch) | |
tree | e2eaac4e1e6db61c4c8b63028436affdb9f9211a /net-dns/pdnsd | |
parent | Version bumped. (Manifest recommit) (diff) | |
download | gentoo-2-f705df64fe4fbf705500a631856bde1ba950b381.tar.gz gentoo-2-f705df64fe4fbf705500a631856bde1ba950b381.tar.bz2 gentoo-2-f705df64fe4fbf705500a631856bde1ba950b381.zip |
Stable on x86, ppc, sparc. Changed version 1.1.10 to use $ROOT when checking on the existing installation.
Diffstat (limited to 'net-dns/pdnsd')
-rw-r--r-- | net-dns/pdnsd/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/pdnsd/pdnsd-1.1.10.ebuild | 17 |
2 files changed, 15 insertions, 8 deletions
diff --git a/net-dns/pdnsd/ChangeLog b/net-dns/pdnsd/ChangeLog index b2030bc977e7..3415a677e846 100644 --- a/net-dns/pdnsd/ChangeLog +++ b/net-dns/pdnsd/ChangeLog @@ -1,6 +1,10 @@ # 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.21 2004/03/28 01:07:53 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/ChangeLog,v 1.22 2004/04/03 02:42:42 dragonheart Exp $ + + 03 Apr 2004; Daniel Black <dragonheart@gentoo.org> pdnsd-1.1.10.ebuild: + Stable on x86, ppc, sparc. Changed version 1.1.10 to use when checking on the + existing installation. 28 Mar 2004; Daniel Black <dragonheart@gentoo.org> pdnsd-1.1.6-r7.ebuild, pdnsd-1.1.9.ebuild: diff --git a/net-dns/pdnsd/pdnsd-1.1.10.ebuild b/net-dns/pdnsd/pdnsd-1.1.10.ebuild index c8f616df49d8..1fd8ee26d23b 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.4 2004/03/15 23:40:47 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/pdnsd-1.1.10.ebuild,v 1.5 2004/04/03 02:42:42 dragonheart Exp $ inherit eutils @@ -26,7 +26,7 @@ LICENSE="BSD | GPL-2" # Should work on alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc # REF http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=pdnsd -KEYWORDS="~x86 ~ppc ~sparc" +KEYWORDS="x86 ppc sparc" S=${WORKDIR}/${PN}-${PV} @@ -63,10 +63,13 @@ src_install() { enewuser pdnsd -1 /bin/false /var/lib/pdnsd pdnsd # Copy cache from prev versions - [ -f /var/lib/pdnsd/pdnsd.cache ] && cp /var/lib/pdnsd/pdnsd.cache ${D}/var/cache/pdnsd/pdnsd.cache + [ -f ${ROOT}/var/lib/pdnsd/pdnsd.cache ] && \ + cp ${ROOT}/var/lib/pdnsd/pdnsd.cache ${D}/var/cache/pdnsd/pdnsd.cache - # Don't clobber existing cache - [ -f /var/cache/pdnsd/pdnsd.cache ] && rm ${D}/var/cache/pdnsd/pdnsd.cache + # Don't clobber existing cache - copy prev cache so unmerging prev version + # doesn't remove the cache. + [ -f ${ROOT}/var/cache/pdnsd/pdnsd.cache ] && \ + cp ${ROOT}/var/cache/pdnsd/pdnsd.cache ${D}/var/cache/pdnsd/pdnsd.cache dodoc AUTHORS COPYING* ChangeLog* NEWS README THANKS TODO README.par docinto contrib ; dodoc contrib/{README,dhcp2pdnsd,pdnsd_dhcp.pl} @@ -75,8 +78,8 @@ src_install() { newdoc doc/pdnsd.conf pdnsd.conf.sample # Remind users that the cachedir has moved to /var/cache - [ -f /etc/pdnsd/pdnsd.conf ] && \ - sed -e "s#/var/lib#/var/cache#g" /etc/pdnsd/pdnsd.conf \ + [ -f ${ROOT}/etc/pdnsd/pdnsd.conf ] && \ + sed -e "s#/var/lib#/var/cache#g" ${ROOT}/etc/pdnsd/pdnsd.conf \ > ${D}/etc/pdnsd/pdnsd.conf exeinto /etc/init.d |