mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
784cf42941
* When installed using WITH_SUPHP use a fix username/UID from /usr/ports/UIDs. There's no equivalent /usr/ports/GIDs entry because it defaults to group 'www'. * Consequently change the default username from phpmyadm to _pma and add an entry to /usr/ports/UIDs: _pma:*:336:80:phpMyAdmin Owner:/nonexistent:/sbin/nologin * Use the standard $WWWDIR for PLIST_SUB and SUB_LIST, instead of rolling my own equivalent. * Various internal code changes and clean-up * Bump PORTREVISION Note: the changes here mostly affect compilation with WITH_SUPHP defined. If you're not a suPHP user, then there's very little ultimately that has changed. PR: 119825 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
27 lines
440 B
Bash
27 lines
440 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
cat <<EOMSG
|
|
The phpMyAdmin-suphp port has been deleted.
|
|
If you are not upgrading and don't intend to use
|
|
phpMyAdmin any more then you may wish to delete
|
|
the %%PMA_USR%% account, which can be done with
|
|
the following command:
|
|
|
|
# pw userdel %%PMA_USR%%
|
|
EOMSG
|
|
if [ -d %%WWWDIR%% ] ; then
|
|
echo " # rm -rf %%WWWDIR%%/"
|
|
fi
|
|
echo
|
|
;;
|
|
esac
|
|
|
|
#
|
|
# That's All Folks!
|
|
#
|