Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2018 10:32:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227199] net/phpldapadmin: Function mcrypt_module_open() is deprecated.
Message-ID:  <bug-227199-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227199

            Bug ID: 227199
           Summary: net/phpldapadmin: Function mcrypt_module_open() is
                    deprecated.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(matthew@FreeBSD.org)
          Assignee: matthew@FreeBSD.org

When using PHP >=3D 7.1 (which is necessary due to some serious issues with=
 php
5.6), port net/phpldapadmin fails to work with the error:

Function mcrypt_module_open() is deprecated.

Searching the net for this error reveals that mcrypt has been marked deprec=
ated
for PHP >=3D 7.1. A often mentioned and used workaround is to comment out t=
he
routines in question and fall back to BLOWFISH (as I understand this). The
attached patch is taken from the web and applies to lib/functions.php,
commenting out the call for mcrypt_XXXX() at two places.

This makes net/phpldapadmin (actually phpldapadmin-1.2.3_7,1) working again
with lang/php71 as the default php.

The attached patch is considered a workaround.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227199-13>