diff options
author | obache <obache@pkgsrc.org> | 2014-12-12 07:44:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-12-12 07:44:08 +0000 |
commit | 9bcccf72f20ca438fc67a396b649baf0e6648fde (patch) | |
tree | a7367b5166c12502e42fd6f14a64e4bfed2eee6b /net | |
parent | 9a25e0460ac8c5455b63ff39fea63eb8c6a7cb67 (diff) | |
download | pkgsrc-9bcccf72f20ca438fc67a396b649baf0e6648fde.tar.gz |
Use SSLBASE for openssl engines.
Diffstat (limited to 'net')
-rw-r--r-- | net/bind98/Makefile | 5 | ||||
-rw-r--r-- | net/bind98/files/named9.sh | 12 |
2 files changed, 9 insertions, 8 deletions
diff --git a/net/bind98/Makefile b/net/bind98/Makefile index 58ecaa34c38..463353013a9 100644 --- a/net/bind98/Makefile +++ b/net/bind98/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2014/06/14 10:14:06 wiedi Exp $ +# $NetBSD: Makefile,v 1.40 2014/12/12 07:44:08 obache Exp $ DISTNAME= bind-${BIND_VERSION} PKGNAME= ${DISTNAME:S/-P/pl/} @@ -56,7 +56,8 @@ PTHREAD_OPTS+= native PTHREAD_AUTO_VARS= yes FILES_SUBST+= BIND_GROUP=${BIND_GROUP:Q} \ - BIND_USER=${BIND_USER:Q} PAX=${PAX:Q} + BIND_USER=${BIND_USER:Q} PAX=${PAX:Q} \ + SSLBASE=${SSLBASE:Q} MESSAGE_SUBST+= BIND_DIR=${BIND_DIR} BIND_USER=${BIND_USER} DOCDIR= ${DESTDIR}${PREFIX}/share/doc/bind9 MISCDOC= dnssec ipv6 migration migration-4to9 options \ diff --git a/net/bind98/files/named9.sh b/net/bind98/files/named9.sh index 5a5dfc5e08c..98c972b4b8d 100644 --- a/net/bind98/files/named9.sh +++ b/net/bind98/files/named9.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: named9.sh,v 1.2 2012/05/20 09:10:44 marino Exp $ +# $NetBSD: named9.sh,v 1.3 2014/12/12 07:44:08 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 /usr/lib/engines/libgost.so "${named_chrootdir}@SSLBASE@/lib/engines/libgost.so" fi if [ ! -d ${named_chrootdir}@VARBASE@/run/named ]; then |