pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/bind99 PR#45780 net/bind99: Fix chroot operation
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8ff00c395fc
branches: trunk
changeset: 604009:c8ff00c395fc
user: marino <marino%pkgsrc.org@localhost>
date: Sun May 20 12:00:15 2012 +0000
description:
PR#45780 net/bind99: Fix chroot operation
DNSSEC related, bind99 needs same fix as bind98
diffstat:
net/bind99/Makefile | 4 ++--
net/bind99/files/named9.sh | 10 +++++++++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r ee31c38ee403 -r c8ff00c395fc net/bind99/Makefile
--- a/net/bind99/Makefile Sun May 20 11:50:12 2012 +0000
+++ b/net/bind99/Makefile Sun May 20 12:00:15 2012 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2012/05/01 02:47:52 taca Exp $
+# $NetBSD: Makefile,v 1.3 2012/05/20 12:00:15 marino Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
diff -r ee31c38ee403 -r c8ff00c395fc net/bind99/files/named9.sh
--- a/net/bind99/files/named9.sh Sun May 20 11:50:12 2012 +0000
+++ b/net/bind99/files/named9.sh Sun May 20 12:00:15 2012 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: named9.sh,v 1.1.1.1 2012/03/07 14:25:00 taca Exp $
+# $NetBSD: named9.sh,v 1.2 2012/05/20 12:00:15 marino Exp $
#
# PROVIDE: named
@@ -49,6 +49,14 @@
@CP@ -p /etc/localtime "${named_chrootdir}/etc/localtime"
fi
+ if [ -f /usr/lib/engines/libgost.so ]; then
+ if [ ! -d ${named_chrootdir}/usr/lib/engines ]; then
+ @MKDIR@ ${named_chrootdir}/usr/lib/engines
+ fi
+ @CMP@ -s /usr/lib/engines/libgost.so "${named_chrootdir}/usr/lib/engines/libgost.so" || \
+ @CP@ -p /usr/lib/engines/libgost.so "${named_chrootdir}/usr/lib/engines/libgost.so"
+ fi
+
if [ ! -d ${named_chrootdir}@VARBASE@/run/named ]; then
@MKDIR@ ${named_chrootdir}@VARBASE@/run/named
@CHOWN@ @BIND_USER@ ${named_chrootdir}@VARBASE@/run/named
Home |
Main Index |
Thread Index |
Old Index