pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind98 Use SSLBASE for openssl engines.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff5a9dc463a6
branches:  trunk
changeset: 643164:ff5a9dc463a6
user:      obache <obache%pkgsrc.org@localhost>
date:      Fri Dec 12 07:44:08 2014 +0000

description:
Use SSLBASE for openssl engines.

diffstat:

 net/bind98/Makefile        |   5 +++--
 net/bind98/files/named9.sh |  12 ++++++------
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r 4b23cd0464e9 -r ff5a9dc463a6 net/bind98/Makefile
--- a/net/bind98/Makefile       Fri Dec 12 07:39:32 2014 +0000
+++ b/net/bind98/Makefile       Fri Dec 12 07:44:08 2014 +0000
@@ -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_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 -r 4b23cd0464e9 -r ff5a9dc463a6 net/bind98/files/named9.sh
--- a/net/bind98/files/named9.sh        Fri Dec 12 07:39:32 2014 +0000
+++ b/net/bind98/files/named9.sh        Fri Dec 12 07:44:08 2014 +0000
@@ -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 @@
                    @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 



Home | Main Index | Thread Index | Old Index