diff options
author | 2007-06-11 19:13:11 +0000 | |
---|---|---|
committer | 2007-06-11 19:13:11 +0000 | |
commit | 747a1f458f256b60ea9f056266e966d65a90f4c7 (patch) | |
tree | 604077fb7270a42448b7ad4c91d0686f72b2e321 /net-dns | |
parent | Stable on ppc64; bug #181604 (diff) | |
download | gentoo-2-747a1f458f256b60ea9f056266e966d65a90f4c7.tar.gz gentoo-2-747a1f458f256b60ea9f056266e966d65a90f4c7.tar.bz2 gentoo-2-747a1f458f256b60ea9f056266e966d65a90f4c7.zip |
update the statedir location
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns-recursor/files/pdns-recursor-3.1.4-statedir.patch | 2 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-statedir.patch b/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-statedir.patch index db1a33c01780..338123c4964c 100644 --- a/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-statedir.patch +++ b/net-dns/pdns-recursor/files/pdns-recursor-3.1.4-statedir.patch @@ -4,7 +4,7 @@ diff -Nur pdns-recursor-3.1.4.orig/config.h pdns-recursor-3.1.4/config.h @@ -1,5 +1,5 @@ #define SYSCONFDIR "/etc/powerdns/" -#define LOCALSTATEDIR "/var/run/" -+#define LOCALSTATEDIR "/var/run/powerdns" ++#define LOCALSTATEDIR "/var/lib/powerdns" #define VERSION "3.1.4" #define RECURSOR #ifndef WIN32 diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild index 8c87d1b71125..3de33a6f8810 100644 --- a/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild,v 1.4 2007/06/08 22:28:14 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.4.ebuild,v 1.5 2007/06/11 19:13:10 swegener Exp $ inherit toolchain-funcs flag-o-matic eutils @@ -46,7 +46,6 @@ src_install() { doinitd "${FILESDIR}"/precursor || die "doinitd failed" # Pretty ugly, uh? - keepdir /var/lib/powerdns/var/run/powerdns - dodir /var/run - dosym /var/lib/powerdns/var/run/powerdns /var/run/powerdns + dodir /var/lib/powerdns/var/lib + dosym ../.. /var/lib/powerdns/var/lib/powerdns } |