diff options
-rw-r--r-- | www/mod_php4/scripts/configure.php | 5 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index ba30bbc87754..23b03a4fd9d7 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -21,6 +21,7 @@ GD1 "GD 1.x library support" OFF \ GD2 "GD 2.x library support" OFF \ zlib "zlib library support" ON \ bzip2 "bzip2 library support" OFF \ +cracklib "cracklib dict support" OFF \ mcrypt "Encryption support" OFF \ mhash "Crypto-hashing support" OFF \ pdflib "pdflib support" OFF \ @@ -132,6 +133,10 @@ while [ "$1" ]; do fi echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}" ;; + \"cracklib\") + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libcrack.a:\${PORTSDIR}/security/cracklib" + echo "CONFIGURE_ARGS+=--with-crack=\${LOCALBASE}" + ;; \"mcrypt\") echo "LIB_DEPENDS+= mcrypt.8:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index ba30bbc87754..23b03a4fd9d7 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -21,6 +21,7 @@ GD1 "GD 1.x library support" OFF \ GD2 "GD 2.x library support" OFF \ zlib "zlib library support" ON \ bzip2 "bzip2 library support" OFF \ +cracklib "cracklib dict support" OFF \ mcrypt "Encryption support" OFF \ mhash "Crypto-hashing support" OFF \ pdflib "pdflib support" OFF \ @@ -132,6 +133,10 @@ while [ "$1" ]; do fi echo "CONFIGURE_ARGS+=--with-bz2=${BZ2PREFIX}" ;; + \"cracklib\") + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libcrack.a:\${PORTSDIR}/security/cracklib" + echo "CONFIGURE_ARGS+=--with-crack=\${LOCALBASE}" + ;; \"mcrypt\") echo "LIB_DEPENDS+= mcrypt.8:\${PORTSDIR}/security/libmcrypt" echo "CONFIGURE_ARGS+=--with-mcrypt=\${LOCALBASE}" |