pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/074bf80d0ab0
branches:  trunk
changeset: 465951:074bf80d0ab0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jan 08 22:13:14 2004 +0000

description:
bl3ify

diffstat:

 security/cy2-login/Makefile          |   3 ++-
 security/cy2-ntlm/Makefile           |   5 +++--
 security/cyrus-sasl2/Makefile        |   7 +++----
 security/cyrus-sasl2/Makefile.common |  24 +++++++++++++++---------
 4 files changed, 23 insertions(+), 16 deletions(-)

diffs (132 lines):

diff -r 4e8942785604 -r 074bf80d0ab0 security/cy2-login/Makefile
--- a/security/cy2-login/Makefile       Thu Jan 08 20:59:22 2004 +0000
+++ b/security/cy2-login/Makefile       Thu Jan 08 22:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/09/13 19:18:16 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/01/08 22:13:14 jlam Exp $
 
 PKGNAME=       ${DISTNAME:S/cyrus-sasl/cy2-login/}
 COMMENT=       Cyrus SASL LOGIN authentication plugin
@@ -16,6 +16,7 @@
 ALL_TARGET=    liblogin.la
 
 do-install:
+       ${INSTALL_DATA_DIR} ${PLUGINDIR}
        cd ${WRKSRC}/plugins && \
        ${PKGSHLIBTOOL} --mode=install \
                ${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR}
diff -r 4e8942785604 -r 074bf80d0ab0 security/cy2-ntlm/Makefile
--- a/security/cy2-ntlm/Makefile        Thu Jan 08 20:59:22 2004 +0000
+++ b/security/cy2-ntlm/Makefile        Thu Jan 08 22:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/11/12 03:39:42 jschauma Exp $
+# $NetBSD: Makefile,v 1.4 2004/01/08 22:13:14 jlam Exp $
 
 PKGNAME=       ${DISTNAME:S/cyrus-sasl/cy2-ntlm/}
 PKGREVISION=   1
@@ -14,9 +14,10 @@
 ALL_TARGET=    libntlm.la
 
 do-install:
+       ${INSTALL_DATA_DIR} ${PLUGINDIR}
        cd ${WRKSRC}/plugins && \
        ${PKGSHLIBTOOL} --mode=install \
                ${INSTALL_PROGRAM} libntlm.la ${PLUGINDIR}
 
-.include "../../security/openssl/buildlink2.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4e8942785604 -r 074bf80d0ab0 security/cyrus-sasl2/Makefile
--- a/security/cyrus-sasl2/Makefile     Thu Jan 08 20:59:22 2004 +0000
+++ b/security/cyrus-sasl2/Makefile     Thu Jan 08 22:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/05 12:10:29 markd Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/08 22:13:14 jlam Exp $
 
 .include "Makefile.common"
 
@@ -17,7 +17,7 @@
 CONFIGURE_ARGS+=       --enable-digest         # DIGEST-MD5
 CONFIGURE_ARGS+=       --with-rc4
 CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}
-.include "../../security/openssl/buildlink2.mk"
+.include "../../security/openssl/buildlink3.mk"
 
 BUILD_DEFS+=           USE_PAM SASL_USE_GSSAPI
 
@@ -27,8 +27,7 @@
 
 # saslauthd needs to find libraries for different authentication mechanisms.
 .if defined(USE_PAM)
-.  include "../../security/PAM/buildlink2.mk"
-BUILD_DEFS+=           USE_PAM
+.  include "../../security/PAM/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-pam=${BUILDLINK_PREFIX.pam}
 .endif
 
diff -r 4e8942785604 -r 074bf80d0ab0 security/cyrus-sasl2/Makefile.common
--- a/security/cyrus-sasl2/Makefile.common      Thu Jan 08 20:59:22 2004 +0000
+++ b/security/cyrus-sasl2/Makefile.common      Thu Jan 08 22:13:14 2004 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.common,v 1.9 2003/12/15 14:10:49 martti Exp $
+# $NetBSD: Makefile.common,v 1.10 2004/01/08 22:13:14 jlam Exp $
 #
-# This Makefile fragment should be included _below_ and SASL_PLUGIN
+# This Makefile fragment should be included _below_ any SASL_PLUGIN
 # definition and _above_ any CONFIGURE_ARGS definitions.
 
 DISTNAME=      cyrus-sasl-2.1.15
-PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
                ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
@@ -16,19 +15,24 @@
 FILESDIR=              ${.CURDIR}/../cyrus-sasl2/files
 PATCHDIR=              ${.CURDIR}/../cyrus-sasl2/patches
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+.include "../../mk/bsd.prefs.mk"
+
 .if defined(SASL_PLUGIN) && !empty(SASL_PLUGIN:M[yY][eE][sS])
-DEPENDS+=              cyrus-sasl>=2.1.12:../../security/cyrus-sasl2
+.  include "../../security/cyrus-sasl2/buildlink3.mk"
+.  if defined(DEFAULT_VIEW.cyrus-sasl)
+DEFAULT_VIEW.${PKGBASE}=       ${DEFAULT_VIEW.cyrus-sasl}
+.  endif
 .endif
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_PKGINSTALL=                YES
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 MAKE_ENV+=             SHLIBTOOL="${PKGSHLIBTOOL}"
 
-.include "../../mk/bsd.prefs.mk"
-
 # CYRUS_USER           username of the Cyrus administrator
 # CYRUS_GROUP          group of the Cyrus administrator
 #
@@ -37,8 +41,10 @@
 FILES_SUBST+=          CYRUS_USER=${CYRUS_USER}
 FILES_SUBST+=          ROOT_USER=${ROOT_USER}
 
+PLUGINDIR=             ${PREFIX}/lib/sasl2
+_PLUGINDIR=            ${VIEWBASE}/lib/sasl2
+
 HTMLDIR=               ${PREFIX}/share/doc/html/cyrus-sasl
-PLUGINDIR=             ${PREFIX}/lib/sasl2
 # /var/run/saslauthd matches the default value in configure.
 SASLSOCKETDIR=         /var/run/saslauthd
 FILES_SUBST+=          SASLSOCKETDIR=${SASLSOCKETDIR}
@@ -49,7 +55,7 @@
 CONFIGURE_ARGS+=       --with-saslauthd=${SASLSOCKETDIR}
 CONFIGURE_ARGS+=       --with-dblib=ndbm
 CONFIGURE_ARGS+=       --with-dbpath=${PKG_SYSCONFDIR}/sasldb
-CONFIGURE_ARGS+=       --with-plugindir=${PLUGINDIR}
+CONFIGURE_ARGS+=       --with-plugindir=${_PLUGINDIR}
 
 # Authentication mechanisms
 CONFIGURE_ARGS+=       --disable-anon          # ANONYMOUS



Home | Main Index | Thread Index | Old Index