1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Finish off the incomplete conversion from 'password_hash' to

'password_hash_custom' in the previous update.  Locally written
patches.
This commit is contained in:
Matthew Seaman 2014-05-03 07:16:49 +00:00
parent 8eab79b001
commit 14a5c0e694
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352866
8 changed files with 37 additions and 6 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= phpldapadmin
PORTVERSION= 1.2.3
PORTREVISION= 5
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= net www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-php5/${PORTVERSION}

View File

@ -0,0 +1,20 @@
--- ./config/config.php.example.orig 2014-05-03 08:00:05.933577117 +0100
+++ ./config/config.php.example 2014-05-03 08:00:38.259564444 +0100
@@ -379,7 +379,7 @@
/* Default password hashing algorithm. One of md5, ssha, sha, md5crpyt, smd5,
blowfish, crypt or leave blank for now default algorithm. */
-// $servers->setValue('appearance','password_hash','md5');
+// $servers->setValue('appearance','password_hash_custom','md5');
/* If you specified 'cookie' or 'session' as the auth_type above, you can
optionally specify here an attribute to use when logging in. If you enter
@@ -546,7 +546,7 @@
$servers->setValue('sasl','authz_id_replacement','$1');
$servers->setValue('sasl','props',null);
-$servers->setValue('appearance','password_hash','md5');
+$servers->setValue('appearance','password_hash_custom','md5');
$servers->setValue('login','attr','dn');
$servers->setValue('login','fallback_dn',false);
$servers->setValue('login','class',null);

View File

@ -1,5 +1,5 @@
--- ./lib/PageRender.php.orig 2012-10-01 07:54:14.000000000 +0100
+++ ./lib/PageRender.php 2014-04-27 09:42:04.069744333 +0100
+++ ./lib/PageRender.php 2014-05-03 07:57:44.744575309 +0100
@@ -287,7 +287,7 @@
break;

View File

@ -0,0 +1,11 @@
--- ./lib/TemplateRender.php.orig 2014-05-03 07:58:18.076584893 +0100
+++ ./lib/TemplateRender.php 2014-05-03 07:59:18.859574787 +0100
@@ -2466,7 +2466,7 @@
if ($val = $attribute->getValue($i))
$default = get_enc_type($val);
else
- $default = $this->getServer()->getValue('appearance','password_hash');
+ $default = $this->getServer()->getValue('appearance','password_hash_custom');
if (! $attribute->getPostValue())
printf('<input type="hidden" name="post_value[%s][]" value="%s" />',$attribute->getName(),$i);

View File

@ -1,5 +1,5 @@
--- ./lib/ds_ldap.php.orig 2012-10-01 07:54:14.000000000 +0100
+++ ./lib/ds_ldap.php 2014-04-27 09:42:04.087756668 +0100
+++ ./lib/ds_ldap.php 2014-05-03 07:57:44.746572911 +0100
@@ -1116,13 +1116,24 @@
if (is_array($dn)) {

View File

@ -1,5 +1,5 @@
--- ./lib/ds_ldap_pla.php.orig 2012-10-01 07:54:14.000000000 +0100
+++ ./lib/ds_ldap_pla.php 2014-04-27 09:42:04.099743918 +0100
+++ ./lib/ds_ldap_pla.php 2014-05-03 07:57:44.748572937 +0100
@@ -16,7 +16,7 @@
function __construct($index) {
parent::__construct($index);

View File

@ -1,5 +1,5 @@
--- ./lib/functions.php.orig 2012-10-01 07:54:14.000000000 +0100
+++ ./lib/functions.php 2014-04-27 09:42:04.122737345 +0100
+++ ./lib/functions.php 2014-05-03 07:57:44.751570981 +0100
@@ -2127,7 +2127,7 @@
* crypt, ext_des, md5crypt, blowfish, md5, sha, smd5, ssha, sha512, or clear.
* @return string The hashed password.

View File

@ -1,5 +1,5 @@
--- ./tools/po/Makefile.orig 2012-10-01 07:54:14.000000000 +0100
+++ ./tools/po/Makefile 2014-04-27 09:40:05.269794411 +0100
+++ ./tools/po/Makefile 2014-05-03 07:57:44.752575636 +0100
@@ -1,4 +1,3 @@
-#!/bin/bash
#