build & install two useful programs; testsaslauthd and saslcache.

Submitted by:	Yuri Ryazantsev <yuri@unix.ru>
This commit is contained in:
Hajimu UMEMOTO 2004-11-30 16:42:36 +00:00
parent 8d74077c0b
commit 67b415bb40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122828
2 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= saslauthd
PORTVERSION= 2.1.20
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/ \
ftp://ftp.westbend.net/pub/cyrus-mail/%SUBDIR%/ \
@ -133,8 +133,14 @@ do-build:
cd ${WRKSRC}/include && ${MAKE}
cd ${WRKSRC}/sasldb && ${MAKE}
cd ${WRKSRC}/saslauthd && ${MAKE}
cd ${WRKSRC}/saslauthd && ${MAKE} saslcache
cd ${WRKSRC}/saslauthd && ${MAKE} testsaslauthd
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/saslcache \
${PREFIX}/sbin/saslcache
@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \
${PREFIX}/sbin/testsaslauthd
${GZIP_CMD} ${MAN8PREFIX}/man/cat8/saslauthd.8
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/saslauthd.sh > ${PREFIX}/etc/rc.d/saslauthd.sh

View File

@ -1,6 +1,8 @@
etc/rc.d/saslauthd.sh
man/cat8/saslauthd.8.gz
sbin/saslauthd
sbin/saslcache
sbin/testsaslauthd
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/COPYING
%%PORTDOCS%%%%DOCSDIR%%/saslauthd/ChangeLog