View | Details | Raw Unified | Return to bug 127809
Collapse All | Expand All

(-)cyrus-sasl2/Makefile (-1 / +3 lines)
Lines 73-79 Link Here
73
73
74
.if defined(WITH_BDB)
74
.if defined(WITH_BDB)
75
USE_BDB=	yes
75
USE_BDB=	yes
76
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
76
INVALID_BDB_VER=2
77
CONFIGURE_ARGS+=--with-dblib=berkeley \
78
		--with-bdb-libdir=${BDB_LIB_DIR} \
77
		--with-bdb-incdir=${BDB_INCLUDE_DIR} \
79
		--with-bdb-incdir=${BDB_INCLUDE_DIR} \
78
		--with-bdb=${BDB_LIB_NAME}
80
		--with-bdb=${BDB_LIB_NAME}
79
SASLDB_NAME=	sasldb2
81
SASLDB_NAME=	sasldb2
(-)cyrus-sasl2/files/patch-saslauthd::Makefile.in (-1 / +1 lines)
Lines 7-13 Link Here
7
 install-data-local: saslauthd.8
7
 install-data-local: saslauthd.8
8
 	$(mkinstalldirs) $(DESTDIR)$(mandir)/man8
8
 	$(mkinstalldirs) $(DESTDIR)$(mandir)/man8
9
-	$(INSTALL_DATA) $(srcdir)/saslauthd.8 $(DESTDIR)$(mandir)/man8/saslauthd.8
9
-	$(INSTALL_DATA) $(srcdir)/saslauthd.8 $(DESTDIR)$(mandir)/man8/saslauthd.8
10
+	$(INSTALL_DATA) $(srcdir)/saslauthd.8 $(DESTDIR)$(mandir)/cat8/saslauthd.8
10
+	$(INSTALL_DATA) $(srcdir)/saslauthd.mdoc $(DESTDIR)$(mandir)/man8/saslauthd.8
11
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
11
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
12
 # Otherwise a system limit (for SysV at least) may be exceeded.
12
 # Otherwise a system limit (for SysV at least) may be exceeded.
13
 .NOEXPORT:
13
 .NOEXPORT:
(-)cyrus-sasl2-saslauthd/Makefile (-4 / +6 lines)
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}
(-)cyrus-sasl2-saslauthd/pkg-plist (-1 lines)
Lines 1-4 Link Here
1
man/cat8/saslauthd.8.gz
2
sbin/saslauthd
1
sbin/saslauthd
3
sbin/saslcache
2
sbin/saslcache
4
sbin/testsaslauthd
3
sbin/testsaslauthd

Return to bug 127809