diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2013-01-31 13:18:40 +0000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2013-01-31 13:18:40 +0000 |
commit | d50afe21630cdddfef27652ac18e5441b1c6f23b (patch) | |
tree | 01e03eb637a8fe618f9f2966df6cb576267e9d2f /net-dns/opendnssec | |
parent | Drop old revision (diff) | |
download | gentoo-2-d50afe21630cdddfef27652ac18e5441b1c6f23b.tar.gz gentoo-2-d50afe21630cdddfef27652ac18e5441b1c6f23b.tar.bz2 gentoo-2-d50afe21630cdddfef27652ac18e5441b1c6f23b.zip |
Add patch to fix #453700.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 0x296C6CCA35A64134)
Diffstat (limited to 'net-dns/opendnssec')
-rw-r--r-- | net-dns/opendnssec/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/opendnssec/files/opendnssec-fix-run-dir.patch | 26 | ||||
-rw-r--r-- | net-dns/opendnssec/opendnssec-1.3.12.ebuild | 7 |
3 files changed, 36 insertions, 5 deletions
diff --git a/net-dns/opendnssec/ChangeLog b/net-dns/opendnssec/ChangeLog index 38ce2db76570..d5cb93ec8690 100644 --- a/net-dns/opendnssec/ChangeLog +++ b/net-dns/opendnssec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/opendnssec -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/opendnssec/ChangeLog,v 1.21 2012/12/18 16:06:35 mschiff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/opendnssec/ChangeLog,v 1.22 2013/01/31 13:18:40 mschiff Exp $ + + 31 Jan 2013; Marc Schiffbauer <mschiff@gentoo.org> opendnssec-1.3.12.ebuild, + +files/opendnssec-fix-run-dir.patch: + Add patch to make it use /run instead of /var/run *opendnssec-1.3.12 (18 Dec 2012) diff --git a/net-dns/opendnssec/files/opendnssec-fix-run-dir.patch b/net-dns/opendnssec/files/opendnssec-fix-run-dir.patch new file mode 100644 index 000000000000..544c5c408014 --- /dev/null +++ b/net-dns/opendnssec/files/opendnssec-fix-run-dir.patch @@ -0,0 +1,26 @@ +diff -ur opendnssec-1.3.12.orig/m4/opendnssec_common.m4 opendnssec-1.3.12/m4/opendnssec_common.m4 +--- opendnssec-1.3.12.orig/m4/opendnssec_common.m4 2013-01-31 13:46:01.122201232 +0100 ++++ opendnssec-1.3.12/m4/opendnssec_common.m4 2013-01-31 13:54:47.648861211 +0100 +@@ -19,7 +19,7 @@ + OPENDNSSEC_DATA_DIR=$full_datadir/opendnssec + OPENDNSSEC_SYSCONF_DIR=$full_sysconfdir/opendnssec + OPENDNSSEC_LOCALSTATE_DIR="$full_localstatedir/lib/opendnssec" +-OPENDNSSEC_PID_DIR="$full_localstatedir/run/opendnssec" ++OPENDNSSEC_PID_DIR="${prefix}/run/opendnssec" + + AC_SUBST([OPENDNSSEC_BIN_DIR]) + AC_SUBST([OPENDNSSEC_SBIN_DIR]) +diff -ur opendnssec-1.3.12.orig/Makefile.am opendnssec-1.3.12/Makefile.am +--- opendnssec-1.3.12.orig/Makefile.am 2013-01-31 13:46:01.122201232 +0100 ++++ opendnssec-1.3.12/Makefile.am 2013-01-31 13:47:08.569951675 +0100 +@@ -37,8 +37,8 @@ + $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signconf + $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/unsigned + $(INSTALL) -d $(DESTDIR)$(localstatedir)/lib/opendnssec/signed +- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run +- $(INSTALL) -d $(DESTDIR)$(localstatedir)/run/opendnssec ++ $(INSTALL) -d $(DESTDIR)/run ++ $(INSTALL) -d $(DESTDIR)/run/opendnssec + + docs: + (cd libhsm; $(MAKE) doxygen) diff --git a/net-dns/opendnssec/opendnssec-1.3.12.ebuild b/net-dns/opendnssec/opendnssec-1.3.12.ebuild index 6bb5a6b00057..f0ea7c164e80 100644 --- a/net-dns/opendnssec/opendnssec-1.3.12.ebuild +++ b/net-dns/opendnssec/opendnssec-1.3.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/opendnssec/opendnssec-1.3.12.ebuild,v 1.1 2012/12/18 16:06:35 mschiff Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/opendnssec/opendnssec-1.3.12.ebuild,v 1.2 2013/01/31 13:18:40 mschiff Exp $ EAPI=4 @@ -51,6 +51,7 @@ REQUIRED_USE=" PATCHES=( "${FILESDIR}/${PN}-fix-localstatedir.patch" + "${FILESDIR}/${PN}-fix-run-dir.patch" "${FILESDIR}/${PN}-drop-privileges.patch" "${FILESDIR}/${PN}-use-system-trang.patch" ) @@ -174,7 +175,7 @@ src_install() { use eppclient && fowners root:opendnssec /etc/opendnssec/eppclientd.conf fowners opendnssec:opendnssec /var/lib/opendnssec/{,signconf,unsigned,signed,tmp} - fowners opendnssec:opendnssec /var/run/opendnssec + fowners opendnssec:opendnssec /run/opendnssec # install conf/init script newinitd "${FILESDIR}"/opendnssec.initd opendnssec |