Lines 27-32
Link Here
|
27 |
INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/saslauthd |
27 |
INSTALL_WRKSRC= ${WRKDIR}/${DISTNAME}/saslauthd |
28 |
DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 |
28 |
DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 |
29 |
|
29 |
|
|
|
30 |
MAN8= saslauthd.8 |
31 |
|
30 |
USE_RC_SUBR= saslauthd.sh |
32 |
USE_RC_SUBR= saslauthd.sh |
31 |
|
33 |
|
32 |
USE_OPENSSL= yes |
34 |
USE_OPENSSL= yes |
Lines 50-56
Link Here
|
50 |
|
52 |
|
51 |
.if defined(WITH_BDB) |
53 |
.if defined(WITH_BDB) |
52 |
USE_BDB= yes |
54 |
USE_BDB= yes |
53 |
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \ |
55 |
INVALID_BDB_VER=2 |
|
|
56 |
CONFIGURE_ARGS+=--with-dblib=berkeley \ |
57 |
--with-bdb-libdir=${BDB_LIB_DIR} \ |
54 |
--with-bdb-incdir=${BDB_INCLUDE_DIR} \ |
58 |
--with-bdb-incdir=${BDB_INCLUDE_DIR} \ |
55 |
--with-bdb=${BDB_LIB_NAME} |
59 |
--with-bdb=${BDB_LIB_NAME} |
56 |
.else |
60 |
.else |
Lines 118-124
Link Here
|
118 |
SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH} |
122 |
SUB_LIST+= SASLAUTHD_RUNPATH=${SASLAUTHD_RUNPATH} |
119 |
|
123 |
|
120 |
do-build: |
124 |
do-build: |
121 |
@${RM} -f ${WRKSRC}/saslauthd/saslauthd.8 |
|
|
122 |
cd ${WRKSRC}/include && ${MAKE} |
125 |
cd ${WRKSRC}/include && ${MAKE} |
123 |
cd ${WRKSRC}/sasldb && ${MAKE} |
126 |
cd ${WRKSRC}/sasldb && ${MAKE} |
124 |
cd ${WRKSRC}/saslauthd && ${MAKE} |
127 |
cd ${WRKSRC}/saslauthd && ${MAKE} |
Lines 130-140
Link Here
|
130 |
${PREFIX}/sbin/saslcache |
133 |
${PREFIX}/sbin/saslcache |
131 |
@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \ |
134 |
@${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/testsaslauthd \ |
132 |
${PREFIX}/sbin/testsaslauthd |
135 |
${PREFIX}/sbin/testsaslauthd |
133 |
${GZIP_CMD} ${MAN8PREFIX}/man/cat8/saslauthd.8 |
|
|
134 |
.if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd |
136 |
.if ${SASLAUTHD_RUNPATH} != /var/run/saslauthd |
135 |
@${ECHO_MSG} "" |
137 |
@${ECHO_MSG} "" |
136 |
@${ECHO_MSG} "SASLAUTHD_RUNPATH was specified." |
138 |
@${ECHO_MSG} "SASLAUTHD_RUNPATH was specified." |
137 |
@${ECHO_MSG} "Make sure to have ${SASLAUTHD_RUNPATH} by yourself." |
139 |
@${ECHO_MSG} "Make sure you create ${SASLAUTHD_RUNPATH}." |
138 |
@${ECHO_MSG} "" |
140 |
@${ECHO_MSG} "" |
139 |
.else |
141 |
.else |
140 |
${MKDIR} -m 770 ${SASLAUTHD_RUNPATH} |
142 |
${MKDIR} -m 770 ${SASLAUTHD_RUNPATH} |