View | Details | Raw Unified | Return to bug 213157 | Differences between
and this patch

Collapse All | Expand All

(-)mail/qmailadmin/Makefile (-1 / +1 lines)
Lines 86-92 Link Here
86
.if ${PORT_OPTIONS:MCRACKLIB}
86
.if ${PORT_OPTIONS:MCRACKLIB}
87
EXTRA_PATCHES+=		${FILESDIR}/cracklib.patch
87
EXTRA_PATCHES+=		${FILESDIR}/cracklib.patch
88
BUILD_DEPENDS+=		${LOCALBASE}/include/crack.h:security/cracklib
88
BUILD_DEPENDS+=		${LOCALBASE}/include/crack.h:security/cracklib
89
CONFIGURE_ARGS+=	--enable-cracklib=${LOCALBASE}/libdata/cracklib/pw_dict
89
CONFIGURE_ARGS+=	--enable-cracklib=${LOCALBASE}/libdata/cracklib/cracklib-words
90
CFLAGS+=	-I${LOCALBASE}/include
90
CFLAGS+=	-I${LOCALBASE}/include
91
LIBS+=		-L${LOCALBASE}/lib -lcrack
91
LIBS+=		-L${LOCALBASE}/lib -lcrack
92
.endif
92
.endif
(-)mail/qmailadmin/files/cracklib.patch (-1 / +1 lines)
Lines 24-30 Link Here
24
+
24
+
25
+if test "$cracklib" = "yes"
25
+if test "$cracklib" = "yes"
26
+then
26
+then
27
+	cracklib="/usr/local/libdata/cracklib/pw_dict"
27
+	cracklib="/usr/local/libdata/cracklib/cracklib-words"
28
+fi
28
+fi
29
+
29
+
30
+case $cracklib in
30
+case $cracklib in
(-)security/heimdal/files/kpasswdd-cracklib.c (-1 / +1 lines)
Lines 16-22 Link Here
16
				return "out of memory";
16
				return "out of memory";
17
		memcpy(p, password->data, password->length);
17
		memcpy(p, password->data, password->length);
18
		p[password->length] = '\0';
18
		p[password->length] = '\0';
19
		result = FascistCheck(p, LOCALBASE "/libdata/cracklib/pw_dict");
19
		result = FascistCheck(p, LOCALBASE "/libdata/cracklib/cracklib-words");
20
		free(p);
20
		free(p);
21
		return result;
21
		return result;
22
}
22
}
(-)security/p5-Crypt-Cracklib/Makefile (-1 / +1 lines)
Lines 20-26 Link Here
20
20
21
USES=		perl5
21
USES=		perl5
22
USE_PERL5=	configure
22
USE_PERL5=	configure
23
CONFIGURE_ARGS=	INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/pw_dict\\\""
23
CONFIGURE_ARGS=	INC="-I${LOCALBASE}/include" DEFINE="-DCRACKLIB_DICTPATH=\\\"${PREFIX}/libdata/cracklib/cracklib-words\\\""
24
24
25
post-patch:
25
post-patch:
26
	@${REINPLACE_CMD} 's/-Werror//' ${WRKSRC}/Makefile.PL
26
	@${REINPLACE_CMD} 's/-Werror//' ${WRKSRC}/Makefile.PL
(-)security/pecl-crack/Makefile (-1 / +1 lines)
Lines 25-31 Link Here
25
CFLAGS+=	-Wno-deprecated
25
CFLAGS+=	-Wno-deprecated
26
26
27
post-configure:
27
post-configure:
28
	${REINPLACE_CMD} -e 's|^\$$ini_overwrites.*|&'"'"'crack.default_dictionary=\"${LOCALBASE}/libdata/cracklib/pw_dict\"'"'"',|' \
28
	${REINPLACE_CMD} -e 's|^\$$ini_overwrites.*|&'"'"'crack.default_dictionary=\"${LOCALBASE}/libdata/cracklib/cracklib-words\"'"'"',|' \
29
		${WRKSRC}/run-tests.php
29
		${WRKSRC}/run-tests.php
30
30
31
test check regression-test: build
31
test check regression-test: build
(-)security/revelation/Makefile (-1 / +1 lines)
Lines 31-37 Link Here
31
CPPFLAGS+=	-I${LOCALBASE}/include
31
CPPFLAGS+=	-I${LOCALBASE}/include
32
LDFLAGS+=	-L${LOCALBASE}/lib
32
LDFLAGS+=	-L${LOCALBASE}/lib
33
33
34
DICTPATH=	${LOCALBASE}/libdata/cracklib/pw_dict
34
DICTPATH=	${LOCALBASE}/libdata/cracklib/cracklib-words
35
35
36
post-patch:
36
post-patch:
37
	@${REINPLACE_CMD} -e \
37
	@${REINPLACE_CMD} -e \

Return to bug 213157