summaryrefslogtreecommitdiff
path: root/security/cvm/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2008-04-13 06:51:19 +0000
committerschmonz <schmonz@pkgsrc.org>2008-04-13 06:51:19 +0000
commit077f92a68ffb2a2a522877dcb52dbc55115377d1 (patch)
tree7eb53b18c6650d34ef11c259a02dac608c70f2c2 /security/cvm/Makefile
parentbfb26d236c75403e666b31b1cec089a55d830014 (diff)
downloadpkgsrc-077f92a68ffb2a2a522877dcb52dbc55115377d1.tar.gz
Update to 0.90. From the changelog:
- Added support for chaining modules within the version client library. To use this, specify the module string as a list of modules separated with commas. For example: cvm-command:/path/to/module,cvm-local:/path/to/socket This enhancement deprecates the cvm-chain module. - Introduced an "out of scope" fact, to be used on credential rejection results when the supplied credentials are outside of the scope of authority of the module. The cvm-vmailmgr and cvm-qmail modules report this fact as appropriate, and cvm-chain copies it as appropriate from the modules it invokes. - A random anti-spoofing tag is added to all version 2 client requests. Its length is set by $CVM_RANDOM_BYTES and defaults to 8. - Fixed a bug that caused the domain output to be set incorrectly when doing qmail lookups with a domain not in the control files with $CVM_QMAIL_ASSUME_LOCAL set.
Diffstat (limited to 'security/cvm/Makefile')
-rw-r--r--security/cvm/Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/security/cvm/Makefile b/security/cvm/Makefile
index 19b58085a8e..6c54bf2ecd7 100644
--- a/security/cvm/Makefile
+++ b/security/cvm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2007/03/24 07:25:28 schmonz Exp $
+# $NetBSD: Makefile,v 1.13 2008/04/13 06:51:19 schmonz Exp $
#
-DISTNAME= cvm-0.82
+DISTNAME= cvm-0.90
CATEGORIES= security
MASTER_SITES= ${HOMEPAGE}
@@ -22,16 +22,32 @@ SUBST_FILES.paths= qmail-init.c
SUBST_SED.paths= -e 's|/var/qmail|${QMAILDIR}|g'
SUBST_MESSAGE.paths= Fixing paths.
+SUBST_CLASSES+= shlibs
+SUBST_STAGE.shlibs= do-configure
+SUBST_FILES.shlibs= INSTHIER
+SUBST_SED.shlibs= -e 's|@CVM_LIB_EXT@|${CVM_LIB_EXT}|g'
+SUBST_MESSAGE.shlibs= Fixing shlibs.
+
RCD_SCRIPTS= cvm
PKG_GROUPS+= cvmlog
PKG_USERS+= cvmlog:cvmlog
BUILD_DEFS+= QMAILDIR
+PLIST_SUBST+= CVM_LIB_EXT=${CVM_LIB_EXT:Q}
DJB_CONFIG_CMDS= \
${ECHO} ${DJB_CONFIG_PREFIX}/include > conf-include; \
${ECHO} ${DJB_CONFIG_PREFIX}/lib > conf-lib
+.include "../../mk/bsd.prefs.mk"
+
+.if ${_OPSYS_SHLIB_TYPE} == "dylib"
+CVM_LIB_EXT=dylib
+.else
+CVM_LIB_EXT=so
+.endif
+
+
.include "../../devel/bglibs/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"