summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-12-12 07:47:40 +0000
committerobache <obache@pkgsrc.org>2014-12-12 07:47:40 +0000
commitabb74e1844c98a9fc800a88120727b872a42fcb4 (patch)
tree658f9dc1adb74ac279697994e7a9c1770bba86a1 /net
parentda459fd92e3133d422173e25b19f2365a8645bdf (diff)
downloadpkgsrc-abb74e1844c98a9fc800a88120727b872a42fcb4.tar.gz
Use SSLBASE for location of openssl engines.
Diffstat (limited to 'net')
-rw-r--r--net/bind910/Makefile5
-rw-r--r--net/bind910/files/named9.sh12
2 files changed, 9 insertions, 8 deletions
diff --git a/net/bind910/Makefile b/net/bind910/Makefile
index a8b63d390ab..0ec082d78ee 100644
--- a/net/bind910/Makefile
+++ b/net/bind910/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2014/12/08 21:59:09 taca Exp $
+# $NetBSD: Makefile,v 1.4 2014/12/12 07:47:40 obache Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
@@ -55,7 +55,8 @@ PKG_HOME.${BIND_USER}= ${BIND_DIR}
DOCS= CHANGES FAQ README
FILES_SUBST+= BIND_GROUP=${BIND_GROUP} \
- BIND_USER=${BIND_USER} PAX=${PAX:Q}
+ BIND_USER=${BIND_USER} PAX=${PAX:Q} \
+ SSLBASE=${SSLBASE}
MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER}
DOCDIR= ${DESTDIR}${PREFIX}/share/doc/bind9
diff --git a/net/bind910/files/named9.sh b/net/bind910/files/named9.sh
index a353f2e1437..d1d88581ffe 100644
--- a/net/bind910/files/named9.sh
+++ b/net/bind910/files/named9.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: named9.sh,v 1.1.1.1 2014/07/02 02:42:58 jnemeth Exp $
+# $NetBSD: named9.sh,v 1.2 2014/12/12 07:47:40 obache Exp $
#
# PROVIDE: named
@@ -49,12 +49,12 @@ named_precmd()
@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
+ if [ -f @SSLBASE@/lib/engines/libgost.so ]; then
+ if [ ! -d ${named_chrootdir}@SSLBASE@/lib/engines ]; then
+ @MKDIR@ ${named_chrootdir}@SSLBASE@/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"
+ @CMP@ -s @SSLBASE@/lib/engines/libgost.so "${named_chrootdir}@SSLBASE@/lib/engines/libgost.so" || \
+ @CP@ -p @SSLBASE@/lib/engines/libgost.so "${named_chrootdir}@SSLBASE@/lib/engines/libgost.so"
fi
if [ ! -d ${named_chrootdir}@VARBASE@/run/named ]; then