FreeBSD Bugzilla – Attachment 247698 Details for
Bug 276372
net/phpldapadmin: update to 1.2.6.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to update the port
phpldapadmin-php82-1.2.6.7.diff (text/plain), 5.32 KB, created by
Krzysztof
on 2024-01-16 11:25:42 UTC
(
hide
)
Description:
patch to update the port
Filename:
MIME Type:
Creator:
Krzysztof
Created:
2024-01-16 11:25:42 UTC
Size:
5.32 KB
patch
obsolete
>diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile >index 4b1908c6346..8c3aab1a550 100644 >--- a/net/phpldapadmin/Makefile >+++ b/net/phpldapadmin/Makefile >@@ -1,6 +1,5 @@ > PORTNAME= phpldapadmin >-DISTVERSION= 1.2.6.6 >-PORTREVISION= 2 >+DISTVERSION= 1.2.6.7 > CATEGORIES= net www > PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} > >diff --git a/net/phpldapadmin/distinfo b/net/phpldapadmin/distinfo >index 68ac35333ce..7a945c89228 100644 >--- a/net/phpldapadmin/distinfo >+++ b/net/phpldapadmin/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1688152341 >-SHA256 (leenooks-phpLDAPadmin-1.2.6.6_GH0.tar.gz) = 7a8c02a611e60aa6713d1cf863dfac9637e23c3f4d401ea5e47dbe2b22d4895a >-SIZE (leenooks-phpLDAPadmin-1.2.6.6_GH0.tar.gz) = 1132820 >+TIMESTAMP = 1705354612 >+SHA256 (leenooks-phpLDAPadmin-1.2.6.7_GH0.tar.gz) = dde104aca695e18b0615859ae96177cdcb8a3294aee8d1d47a0b828af939679d >+SIZE (leenooks-phpLDAPadmin-1.2.6.7_GH0.tar.gz) = 1133418 >diff --git a/net/phpldapadmin/files/patch-lib_Template.php b/net/phpldapadmin/files/patch-lib_Template.php >index a1ff62c55df..0385f10aa2a 100644 >--- a/net/phpldapadmin/files/patch-lib_Template.php >+++ b/net/phpldapadmin/files/patch-lib_Template.php >@@ -1,6 +1,6 @@ >---- lib/Template.php.orig 2023-04-01 13:46:16 UTC >+--- lib/Template.php.orig 2024-01-10 22:23:54 UTC > +++ lib/Template.php >-@@ -56,6 +56,8 @@ class Template extends xmlTemplate { >+@@ -58,6 +58,8 @@ class Template extends xmlTemplate { > # Template RDN attributes > private $rdn; > >diff --git a/net/phpldapadmin/files/patch-lib_ds__ldap.php b/net/phpldapadmin/files/patch-lib_ds__ldap.php >deleted file mode 100644 >index 41dfc700729..00000000000 >--- a/net/phpldapadmin/files/patch-lib_ds__ldap.php >+++ /dev/null >@@ -1,11 +0,0 @@ >---- lib/ds_ldap.php.orig 2023-04-01 13:46:16 UTC >-+++ lib/ds_ldap.php >-@@ -991,7 +991,7 @@ class ldap extends DS { >- $return = $dn; >- >- foreach ($this->getBaseDN() as $base) { >-- if (preg_match("/${base}$/i",$dn)) { >-+ if (preg_match("/{$base}$/i",$dn)) { >- $return = $base; >- break; >- } >diff --git a/net/phpldapadmin/files/patch-lib_import__functions.php b/net/phpldapadmin/files/patch-lib_import__functions.php >index af887114593..2ff2d7bd82a 100644 >--- a/net/phpldapadmin/files/patch-lib_import__functions.php >+++ b/net/phpldapadmin/files/patch-lib_import__functions.php >@@ -1,6 +1,6 @@ >---- lib/import_functions.php.orig 2023-04-01 13:46:16 UTC >+--- lib/import_functions.php.orig 2024-01-10 22:23:54 UTC > +++ lib/import_functions.php >-@@ -255,7 +255,7 @@ class ImportLDIF extends Import { >+@@ -257,7 +257,7 @@ class ImportLDIF extends Import { > if (substr($value,0,1) == ':') > $value = base64_decode(trim(substr($value,1))); > else >@@ -9,7 +9,7 @@ > > return array($attr,$value); > } >-@@ -271,7 +271,7 @@ class ImportLDIF extends Import { >+@@ -273,7 +273,7 @@ class ImportLDIF extends Import { > > if ($this->hasMoreEntries() && ! $this->eof()) { > # The first line is the DN one >@@ -18,7 +18,7 @@ > > # While we end on a blank line, fetch the attribute lines > $count = 0; >-@@ -282,11 +282,11 @@ class ImportLDIF extends Import { >+@@ -284,11 +284,11 @@ class ImportLDIF extends Import { > /* If the next line begin with a space, we append it to the current row > * else we push it into the array (unwrap)*/ > if ($this->isWrappedLine()) >@@ -32,7 +32,7 @@ > else > $endEntryFound = true; > } >-@@ -336,7 +336,7 @@ class ImportLDIF extends Import { >+@@ -338,7 +338,7 @@ class ImportLDIF extends Import { > * @return boolean true if it's a comment line,false otherwise > */ > private function isCommentLine() { >@@ -41,7 +41,7 @@ > } > > /** >-@@ -354,7 +354,7 @@ class ImportLDIF extends Import { >+@@ -356,7 +356,7 @@ class ImportLDIF extends Import { > * @return boolean if it is a blank line,false otherwise. > */ > private function isBlankLine() { >@@ -50,7 +50,7 @@ > } > > /** >-@@ -386,7 +386,7 @@ class ImportLDIF extends Import { >+@@ -388,7 +388,7 @@ class ImportLDIF extends Import { > $url = trim(substr($value,1)); > > if (preg_match('^file://',$url)) { >@@ -59,7 +59,7 @@ > > if ($fh = @fopen($filename,'rb')) { > if (! $return = @fread($fh,filesize($filename))) >-@@ -480,7 +480,7 @@ class ImportLDIF extends Import { >+@@ -482,7 +482,7 @@ class ImportLDIF extends Import { > # Fetch the attribute for the following line > $currentLine = array_shift($lines); > >@@ -68,12 +68,3 @@ > $processline = false; > > # If there is a valid line >-@@ -541,7 +541,7 @@ class ImportLDIF extends Import { >- array_merge(array($currentLine),$lines)); >- >- $currentLine = array_shift($lines); >-- if (trim($currentLine)) >-+ if (trim((string) $currentLine)) >- $processline = true; >- } >- >diff --git a/net/phpldapadmin/files/patch-lib_xmlTemplates.php b/net/phpldapadmin/files/patch-lib_xmlTemplates.php >deleted file mode 100644 >index 26ee3c3f421..00000000000 >--- a/net/phpldapadmin/files/patch-lib_xmlTemplates.php >+++ /dev/null >@@ -1,11 +0,0 @@ >---- lib/xmlTemplates.php.orig 2023-04-01 13:46:16 UTC >-+++ lib/xmlTemplates.php >-@@ -122,7 +122,7 @@ abstract class xmlTemplates { >- >- # Ignore any files that are not the predefined custom files. >- if ($_SESSION[APPCONFIG]->getValue('appearance','custom_templates_only') >-- && ! preg_match("/^${custom_prefix}/",$file)) >-+ && ! preg_match("/^{$custom_prefix}/",$file)) >- continue; >- >- $filename = sprintf('%s/%s',$dir,$file);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ports
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 276372
:
247697
| 247698