Opened 7 years ago

Closed 7 years ago

#56188 closed request (fixed)

php72-mcrypt missing

Reported by: iakoder Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php72-mcrypt

Description

The php mcrypt portfile appears to contain everything necessary for a php 7.2 version port, but a search or attempted install for php72-mcrypt doesn't find one.

Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: php php72 mcrypt php72-mcrypt removed
Owner: set to ryandesign
Port: php72-mcrypt added
Status: newaccepted
Type: enhancementrequest

There isn't a php mcrypt portfile. mcrypt was part of php core in 7.1 and earlier, and the php port offers php*-mcrypt subports for 7.1 and earlier. mcrypt was removed from core in 7.2 and is now on pecl. We could add a separate php-mcrypt portfile for 7.2 and later.

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

However, mcrypt is considered obsolete. The last message to the mcrypt-developers mailing list, in 2011, says "mcrypt is dead. Don't use it." So perhaps we shouldn't be encouraging people to continue using it.

Why do you need the mcrypt php extension? Looks like in MacPorts we currently use it in phpmyadmin, wordpress and ZendFramework2, but those dependencies were probably added long ago and I don't know if any of those still require mcrypt today.

comment:3 Changed 7 years ago by iakoder

Why do you need...

Because I live inside an ancient codebase that plans on ditching mcrypt but hasn't gotten there yet.

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In b1ef99cfaac3136808cd32dd50e316ebe52038c1/macports-ports:

php-mcrypt: New port, version 1.0.1

Closes: #56188

Note: See TracTickets for help on using tickets.