diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-01-21 03:23:25 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-01-21 03:23:25 +0800 |
commit | 1d36ca21cb5d591697bf08da6b75e0ff81aa991c (patch) | |
tree | 903ffcd42c64d186711c680b8ece7ac8cb942380 /security/cyrus-sasl2/Makefile | |
parent | 1484144d70d89c7c7259b1a9a72ff377fe6d8334 (diff) | |
download | freebsd-ports-gnome-1d36ca21cb5d591697bf08da6b75e0ff81aa991c.tar.gz freebsd-ports-gnome-1d36ca21cb5d591697bf08da6b75e0ff81aa991c.tar.zst freebsd-ports-gnome-1d36ca21cb5d591697bf08da6b75e0ff81aa991c.zip |
Fix OpenLDAP v1 errors
Allow PAM aware pwcheck daemon
Add JavaSASL
PR: 34068
Submitted by: maintainer
Diffstat (limited to 'security/cyrus-sasl2/Makefile')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 180849c46eec..74b05c44e5a0 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -7,7 +7,7 @@ PORTNAME= cyrus-sasl PORTVERSION= 1.5.27 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/ \ http://prdownloads.sourceforge.net/cyrus-utils/ \ @@ -69,7 +69,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ WITH_LDAP2="${WITH_LDAP2}" # JavaSASL needs someone to look at to get it to build -JAVADIR= jdk1.1.8 +JAVADIR= jdk1.3.1 JAVALIBDIR= ${PREFIX}/${JAVADIR}/lib/i386/green_threads/ .if defined(KRB5_HOME) && exists(${KRB5_HOME}) @@ -112,18 +112,21 @@ pre-fetch: .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif +post-extract: + @${CP} ${FILESDIR}/pwcheck_pam.c ${WRKSRC}/pwcheck + pre-patch: @(cd ${WRKSRC} && ${PATCH} -p1 < ${WRKDIR}/${LDAP_MYSQL_PATCH} && \ ${MV} configure.orig configure) # Fix sasldb name in pkg-install/deinstall scripts post-patch: - @${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \ + @${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \ ${.CURDIR}/pkg-install > ${PKGINSTALL} - @${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \ + @${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \ ${.CURDIR}/pkg-deinstall > ${PKGDEINSTALL} - @${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \ - -e "/%%PREFIX%%/s##${PREFIX}#g" \ + @${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \ + -e "s;%%PREFIX%%;${PREFIX};g" \ ${.CURDIR}/pkg-message > ${PKGMESSAGE} .ifdef LDAP_MYSQL_MSG @${ECHO} ${LDAP_MYSQL_MSG} | /usr/bin/fmt -w 67 >> ${PKGMESSAGE} @@ -138,8 +141,8 @@ pre-install: @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: - @${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/pwcheck.sh \ - > ${PREFIX}/etc/rc.d/pwcheck.sh + @${SED} -e "s;%%PREFIX%%;${PREFIX};g" ${PWCHECK_SUB} \ + ${FILESDIR}/pwcheck.sh > ${PREFIX}/etc/rc.d/pwcheck.sh @${CHMOD} 755 ${PREFIX}/etc/rc.d/pwcheck.sh ${INSTALL} -d -m 770 -o cyrus -g cyrus /var/pwcheck .if !defined(NOPORTDOCS) @@ -151,6 +154,7 @@ post-install: for file in `make -V EXTRA_DIST` ; do \ ${INSTALL_DATA} ${WRKSRC}/doc/$${file} ${DOCSDIR} ; \ done) + @${INSTALL_DATA} ${WRKSRC}/java/doc/draft-weltman-java-sasl-02.txt ${DOCSDIR} @${INSTALL_DATA} ${FILESDIR}/Sendmail.README ${DOCSDIR} .endif @PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |