diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-09 15:01:05 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-09 15:01:05 -0200 |
commit | b531792c1f4537a27bc2a98d3d86df06279d75a6 (patch) | |
tree | 9898550faeed5d333e35413b2da4ae434658f672 /pcr/opendnssec | |
parent | 653d297876fefd956e03fc60e4506c27cbf8c926 (diff) | |
download | abslibre-b531792c1f4537a27bc2a98d3d86df06279d75a6.tar.gz abslibre-b531792c1f4537a27bc2a98d3d86df06279d75a6.tar.bz2 abslibre-b531792c1f4537a27bc2a98d3d86df06279d75a6.zip |
opendnssec: fix var/run to run
Diffstat (limited to 'pcr/opendnssec')
-rw-r--r-- | pcr/opendnssec/PKGBUILD | 14 | ||||
-rw-r--r-- | pcr/opendnssec/pid-path.patch | 6 |
2 files changed, 10 insertions, 10 deletions
diff --git a/pcr/opendnssec/PKGBUILD b/pcr/opendnssec/PKGBUILD index 7fd21e3ec..54a880757 100644 --- a/pcr/opendnssec/PKGBUILD +++ b/pcr/opendnssec/PKGBUILD @@ -2,7 +2,7 @@ pkgname=opendnssec pkgver=1.4.0 -pkgrel=3 +pkgrel=4 pkgdesc="Turn-key solution for DNSSEC (sqlite3)" arch=('i686' 'x86_64' 'mips64el') url="http://www.opendnssec.org/" @@ -18,13 +18,13 @@ source=("http://www.opendnssec.org/files/source/${pkgname}-${pkgver}.tar.gz"{,.s "ods-enforcer.service") sha256sums=('36d4926dcdf351a527ad7600b151ab6cc56d0a472a7eb8871eecd70afef9e101' 'SKIP' - '487a4c05a07feb97c865ddc4c13d00eea6ce8b2b1e5031983c15484f4991ebed' + '1cc1c1ec75a5a5f2c35e019ac6dfd2153fa6f10705dc242aaf6ceb21796097f0' '1a8cdec0e97a33048956268b766da570f8f7a90d05af59e547219f1381832071' '75cecbfb0ece13957a68a5bc39c20a1d69b95373e7473545d70621e1732733d8') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - # /var/lib/run -> /var/run + # /var/lib/run -> /run patch -p0 -i "${srcdir}/pid-path.patch" aclocal @@ -42,7 +42,7 @@ build() { --with-pkcs11-softhsm=/usr/lib/libsofthsm.so \ --sbindir=/usr/bin - # Create the correct (/var/run/opendnssec) directory + # Create the correct (/run/opendnssec) directory sed -i \ -e "s/\$(INSTALL) -d \$(DESTDIR)\$(localstatedir)\/run\/opendnssec/#Removed/" \ -e "s/\$(INSTALL) -d \$(DESTDIR)\$(localstatedir)\/run/\$(INSTALL) -d \$(DESTDIR)\$(OPENDNSSEC_PID_DIR)/" \ @@ -54,7 +54,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - install -d "${pkgdir}/var/run/opendnssec" + install -d "${pkgdir}/run/opendnssec" make DESTDIR="${pkgdir}" install @@ -70,8 +70,8 @@ package() { chown -R 227:227 "${pkgdir}/etc/opendnssec" \ "${pkgdir}/var/lib/opendnssec" \ - "${pkgdir}/var/run/opendnssec" + "${pkgdir}/run/opendnssec" chmod 750 "${pkgdir}/etc/opendnssec" \ "${pkgdir}/var/lib/opendnssec" \ - "${pkgdir}/var/run/opendnssec" + "${pkgdir}/run/opendnssec" } diff --git a/pcr/opendnssec/pid-path.patch b/pcr/opendnssec/pid-path.patch index 88c750cf2..122b68e08 100644 --- a/pcr/opendnssec/pid-path.patch +++ b/pcr/opendnssec/pid-path.patch @@ -6,8 +6,8 @@ $(INSTALL) -d $(DESTDIR)$(localstatedir)/opendnssec/signed - $(INSTALL) -d $(DESTDIR)$(localstatedir)/run - $(INSTALL) -d $(DESTDIR)$(localstatedir)/run/opendnssec -+ $(INSTALL) -d $(DESTDIR)/var/run -+ $(INSTALL) -d $(DESTDIR)/var/run/opendnssec ++ $(INSTALL) -d $(DESTDIR)/run ++ $(INSTALL) -d $(DESTDIR)/run/opendnssec docs: (cd libhsm; $(MAKE) doxygen) @@ -18,7 +18,7 @@ OPENDNSSEC_SYSCONF_DIR=$full_sysconfdir/opendnssec OPENDNSSEC_LOCALSTATE_DIR="$full_localstatedir/opendnssec" -OPENDNSSEC_PID_DIR="$full_localstatedir/run/opendnssec" -+OPENDNSSEC_PID_DIR="/var/run/opendnssec" ++OPENDNSSEC_PID_DIR="/run/opendnssec" AC_SUBST([OPENDNSSEC_BIN_DIR]) AC_SUBST([OPENDNSSEC_SBIN_DIR]) |