diff options
author | obache <obache@pkgsrc.org> | 2008-08-12 10:16:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-08-12 10:16:54 +0000 |
commit | ce6fa3e65e97276dd12266ebcfac9d932c2777ef (patch) | |
tree | 2012a6e069c900f4952d1737e88ec80ef0e3c065 /security | |
parent | 56c391345d64b9344d765c8a68227a232c30a43f (diff) | |
download | pkgsrc-ce6fa3e65e97276dd12266ebcfac9d932c2777ef.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security')
-rw-r--r-- | security/cy2-anonymous/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-crammd5/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-digestmd5/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-gssapi/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-ldapdb/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-login/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-ntlm/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-otp/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-plain/Makefile | 8 | ||||
-rw-r--r-- | security/cy2-sql/Makefile | 8 | ||||
-rw-r--r-- | security/cyrus-sasl/Makefile | 12 | ||||
-rw-r--r-- | security/cyrus-saslauthd/Makefile | 9 |
12 files changed, 62 insertions, 39 deletions
diff --git a/security/cy2-anonymous/Makefile b/security/cy2-anonymous/Makefile index 3bb8dd3af73..7a1b0dc4c5f 100644 --- a/security/cy2-anonymous/Makefile +++ b/security/cy2-anonymous/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.6 2006/04/18 17:42:12 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-anonymous/} COMMENT= Cyrus SASL ANONYMOUS authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -14,8 +16,8 @@ BUILD_DIRS= ${WRKSRC}/plugins BUILD_TARGET= libanonymous.la do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libanonymous.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libanonymous.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-crammd5/Makefile b/security/cy2-crammd5/Makefile index 958859fb85f..cb97603d69b 100644 --- a/security/cy2-crammd5/Makefile +++ b/security/cy2-crammd5/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.6 2006/04/18 17:42:12 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-crammd5/} COMMENT= Cyrus SASL CRAM-MD5 authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -14,8 +16,8 @@ BUILD_DIRS= ${WRKSRC}/plugins BUILD_TARGET= libcrammd5.la do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libcrammd5.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libcrammd5.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-digestmd5/Makefile b/security/cy2-digestmd5/Makefile index a0920c13c00..5d5c9abf146 100644 --- a/security/cy2-digestmd5/Makefile +++ b/security/cy2-digestmd5/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.10 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.11 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-digestmd5/} PKGREVISION= 1 COMMENT= Cyrus SASL DIGEST-MD5 authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -19,8 +21,8 @@ BUILD_TARGET= libdigestmd5.la .include "../../security/openssl/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libdigestmd5.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libdigestmd5.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-gssapi/Makefile b/security/cy2-gssapi/Makefile index 1a7fdd6b203..bd9069d5b6d 100644 --- a/security/cy2-gssapi/Makefile +++ b/security/cy2-gssapi/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.12 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.13 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-gssapi/} PKGREVISION= 1 COMMENT= Cyrus SASL GSSAPI authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -22,9 +24,9 @@ BUILD_TARGET= libgssapiv2.la .include "../../mk/krb5.buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && \ ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libgssapiv2.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libgssapiv2.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-ldapdb/Makefile b/security/cy2-ldapdb/Makefile index 17282fdfbf4..55a149802e5 100644 --- a/security/cy2-ldapdb/Makefile +++ b/security/cy2-ldapdb/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.2 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.3 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ldapdb/} PKGREVISION= 1 COMMENT= Cyrus SASL LDAPDB authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../security/cyrus-sasl/Makefile.common" CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap} @@ -16,8 +18,8 @@ BUILD_TARGET= libldapdb.la .include "../../databases/openldap-client/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libldapdb.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libldapdb.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-login/Makefile b/security/cy2-login/Makefile index e6ba1eb3137..7ea0c10367c 100644 --- a/security/cy2-login/Makefile +++ b/security/cy2-login/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.13 2006/04/18 17:42:12 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/} COMMENT= Cyrus SASL LOGIN authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../security/cyrus-sasl/Makefile.common" # We need to configure the PLAIN plugin as well since some of the important @@ -16,8 +18,8 @@ BUILD_DIRS= ${WRKSRC}/plugins BUILD_TARGET= liblogin.la do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR} + ${INSTALL_PROGRAM} liblogin.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-ntlm/Makefile b/security/cy2-ntlm/Makefile index a3d6a075a52..1a65a45ad43 100644 --- a/security/cy2-ntlm/Makefile +++ b/security/cy2-ntlm/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.18 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.19 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ntlm/} PKGREVISION= 1 COMMENT= Cyrus SASL NTLM authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../security/cyrus-sasl/Makefile.common" CONFIGURE_ARGS+= --enable-ntlm @@ -16,8 +18,8 @@ BUILD_TARGET= libntlm.la .include "../../security/openssl/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libntlm.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libntlm.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-otp/Makefile b/security/cy2-otp/Makefile index 2da0feb134c..9e5595911c8 100644 --- a/security/cy2-otp/Makefile +++ b/security/cy2-otp/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.10 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.11 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/} PKGREVISION= 1 COMMENT= Cyrus SASL OTP authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -18,8 +20,8 @@ BUILD_TARGET= libotp.la .include "../../security/openssl/buildlink3.mk" do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libotp.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libotp.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-plain/Makefile b/security/cy2-plain/Makefile index 3bd55dc55c6..fd400d7b413 100644 --- a/security/cy2-plain/Makefile +++ b/security/cy2-plain/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.6 2006/04/18 17:42:12 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-plain/} COMMENT= Cyrus SASL PLAIN authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= cyrus-sasl<=2.1.19nb1 .include "../../security/cyrus-sasl/Makefile.common" @@ -14,8 +16,8 @@ BUILD_DIRS= ${WRKSRC}/plugins BUILD_TARGET= libplain.la do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libplain.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libplain.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cy2-sql/Makefile b/security/cy2-sql/Makefile index 801d5066138..b70573bea3c 100644 --- a/security/cy2-sql/Makefile +++ b/security/cy2-sql/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.14 2006/10/22 09:25:58 obache Exp $ +# $NetBSD: Makefile,v 1.15 2008/08/12 10:16:54 obache Exp $ PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/} COMMENT= Cyrus SASL SQL authentication plugin SASL_PLUGIN= yes +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../security/cyrus-sasl/Makefile.common" PKG_OPTIONS_VAR= PKG_OPTIONS.cy2-sql @@ -39,8 +41,8 @@ BUILD_DIRS= ${WRKSRC}/plugins BUILD_TARGET= libsql.la do-install: - ${INSTALL_DATA_DIR} ${PLUGINDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR} cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \ - ${INSTALL_PROGRAM} libsql.la ${PLUGINDIR} + ${INSTALL_PROGRAM} libsql.la ${DESTDIR}${PLUGINDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile index 9657c9abebe..8f569c9642e 100644 --- a/security/cyrus-sasl/Makefile +++ b/security/cyrus-sasl/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.55 2007/07/04 20:54:57 jlam Exp $ - -.include "Makefile.common" +# $NetBSD: Makefile,v 1.56 2008/08/12 10:16:54 obache Exp $ SVR4_PKGNAME= csasl COMMENT= Simple Authentication and Security Layer +PKG_DESTDIR_SUPPORT= user-destdir + +.include "Makefile.common" + .if exists(/usr/include/ndbm.h) SASL_DBTYPE?= ndbm .else @@ -65,9 +67,9 @@ PKG_SHELL.${CYRUS_USER}=${SH} MESSAGE_SUBST+= PLUGINDIR=${PLUGINDIR:Q} post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} cd ${WRKSRC}/doc; for file in *.fig *.html *.txt; do \ - ${INSTALL_DATA} $$file ${DOCDIR}; \ + ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}; \ done .include "../../mk/bsd.pkg.mk" diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile index c7d1ab04fd3..55f8544a0d3 100644 --- a/security/cyrus-saslauthd/Makefile +++ b/security/cyrus-saslauthd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2008/01/18 05:09:36 tnn Exp $ +# $NetBSD: Makefile,v 1.37 2008/08/12 10:16:54 obache Exp $ DISTNAME= cyrus-sasl-2.1.22 PKGNAME= ${DISTNAME:S/sasl/saslauthd/} @@ -10,6 +10,7 @@ MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ CONFLICTS+= cyrus-sasl<2.1.15nb2 PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -53,12 +54,12 @@ post-configure: post-install: for f in saslcache testsaslauthd; do \ - ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/$$f; \ + ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin/$$f; \ done .if !empty(PKG_OPTIONS:Mldap) - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cyrus-saslauthd + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd ${INSTALL_DATA} ${WRKSRC}/LDAP_SASLAUTHD \ - ${PREFIX}/share/doc/cyrus-saslauthd + ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd .endif .include "../../mk/bsd.pkg.mk" |