Bug 119825 - [maintainer] databases/phpmyadmin -- use /usr/ports/UIDs, etc.
Summary: [maintainer] databases/phpmyadmin -- use /usr/ports/UIDs, etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-20 16:00 UTC by Matthew Seaman
Modified: 2008-01-21 11:00 UTC (History)
0 users

See Also:


Attachments
UIDs._pma.diff (569 bytes, patch)
2008-01-20 16:00 UTC, Matthew Seaman
no flags Details | Diff
file.diff (10.41 KB, patch)
2008-01-20 16:00 UTC, Matthew Seaman
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Seaman 2008-01-20 16:00:06 UTC
This is an update to the port only -- no updates to phpMyAdmin
itself.

Changes:

    * 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

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.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-01-20 16:21:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-01-21 10:58:24 UTC
miwi        2008-01-21 10:58:20 UTC

  FreeBSD ports repository

  Modified files:
    .                    UIDs 
    databases/phpmyadmin Makefile pkg-plist-chunk 
    databases/phpmyadmin/files pkg-deinstall.in pkg-install.in 
                               pkg-message.in 
  Log:
  Changes:
  
  * 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)
  
  Revision  Changes    Path
  1.56      +2 -1      ports/UIDs
  1.82      +53 -23    ports/databases/phpmyadmin/Makefile
  1.2       +5 -5      ports/databases/phpmyadmin/files/pkg-deinstall.in
  1.2       +66 -54    ports/databases/phpmyadmin/files/pkg-install.in
  1.4       +3 -3      ports/databases/phpmyadmin/files/pkg-message.in
  1.2       +3 -3      ports/databases/phpmyadmin/pkg-plist-chunk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2008-01-21 10:58:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!