mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +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)
8 lines
279 B
Plaintext
8 lines
279 B
Plaintext
@mode 640
|
|
@group %%PMA_GRP%%
|
|
@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php.sample %D/%%WWWDIR%%/config.inc.php ; then rm -f %D/%%WWWDIR%%/config.inc.php ; fi
|
|
%%WWWDIR%%/config.inc.php.sample
|
|
@exec [ ! -f %B/config.inc.php ] && cp -p %B/%f %B/config.inc.php || true
|
|
@mode
|
|
@group
|