summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2016-04-18 06:43:12 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2016-04-18 06:43:12 +0000
commitaf57dab76de8d70122ffd6e40b046a96179afd29 (patch)
treed97cfcff419e21a139b48946f501fee88287e9e5 /security/apg
parent- Update to 5.1.5 (diff)
Make the path to find cracklib dictionaries match what crackib uses
nowadays. PR: 208881 Submitted by: freebsd@skinc.ru
Notes
Notes: svn path=/head/; revision=413554
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apg/files/patch-Makefile b/security/apg/files/patch-Makefile
index c10419e6966f..20b86592d864 100644
--- a/security/apg/files/patch-Makefile
+++ b/security/apg/files/patch-Makefile
@@ -9,7 +9,7 @@
-#CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib
-#APG_CLIBS += -lcrack
+.if defined(WITH_CRACKLIB)
-+CRACKLIB_DICTPATH = "${LOCALBASE}/libdata/cracklib/pw_dict"
++CRACKLIB_DICTPATH = "${LOCALBASE}/libdata/cracklib/cracklib-words"
+STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I${LOCALBASE}/include -L${LOCALBASE}/lib
+APG_CLIBS += -lcrack