Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#57984 closed enhancement (invalid)

php_select @1.0: How to clean te select table ?

Reported by: guitarneck Owned by:
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: php_select

Description

Hello,

Copying the port php_select to create php5_select and php7_select, everything goes well but the uninstall process.

The select table keeps the entries. The same behaviour occurs with the original php_select basis I followed.

What should be added to the Portfile (or other) to clean the select table during the uninstall process ?

Change History (2)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Keywords: maintainer php php5 php7 php_select removed
Resolution: invalid
Status: assignedclosed
Version: 2.5.4

Trac is not for tech support. Follow-up on the Macports Developers mailing list instead.

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

I can't comment on what you're seeing as a result of creating your own select groups... but with regard to the php_select group that already exists, it appears to work fine for me. Here is a list of the PHP versions I have available to select from:

$ port select php
Available versions for php:
	none (active)
	php52
	php53
	php54
	php55
	php56
	php70
	php71
	php72
	php73

I do have all of those versions of PHP installed and active. If I deactivate some, they disappear from the list, as they should:

$ sudo port deactivate php54 php71
--->  Deactivating php54 @5.4.45_3+libedit
--->  Cleaning php54
--->  Deactivating php71 @7.1.26_1+libedit
--->  Cleaning php71
$ port select php
Available versions for php:
	none (active)
	php52
	php53
	php55
	php56
	php70
	php72
	php73
Note: See TracTickets for help on using tickets.