Bug 144878 - [patch] www/tomcat55 uid is hardcoded to 80
Summary: [patch] www/tomcat55 uid is hardcoded to 80
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 19:00 UTC by Jason
Modified: 2010-06-29 11:40 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.29 KB, patch)
2010-03-19 19:00 UTC, Jason
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason 2010-03-19 19:00:08 UTC
The user and group for tomcat are configurable, however the id has to be 80. This didn't make sense to me, so I put a configurable option in for the id as well.

Fix: patch included

Patch attached with submission follows:
Comment 1 Jason 2010-03-20 02:19:28 UTC
Forgot to include the "patch" prefix.

To expand on the description a bit... I believe having the choice of a
user/group introduced a bug

The 'www' user is the default user and group, however there is a choice
to use something other than the default. However,  the uid is not an
option to tune, and has to be '80'.

The 'www' user is in /usr/ports/UPDATING, so in order to add a different
user, you would need to remove the www user, but this causes a warning
when doing a 'make index' under /usr/ports.

You could simply change the id of www on your system, but I don't think
this is the best solution, therefore the patch I submitted.
Comment 2 Jason 2010-03-23 00:45:09 UTC
Correction: 'www' uid is in /usr/ports/UIDs
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-05 21:51:43 UTC
State Changed
From-To: open->feedback

cc'ed maintainer, ask for approval
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-06-29 11:39:40 UTC
stefan      2010-06-29 10:39:30 UTC

  FreeBSD ports repository

  Modified files:
    www/tomcat55         Makefile 
    www/tomcat55/files   pkg-install.in 
  Log:
  Make the UID as configurable as the user/group.
  
  PR:             144878
  Submitted by:   Jason Helfman <jhelfman@e-e.com>
  Approved by:    maintainer timeout (>3 months)
  Feature safe:   yes
  
  Revision  Changes    Path
  1.50      +4 -2      ports/www/tomcat55/Makefile
  1.2       +2 -2      ports/www/tomcat55/files/pkg-install.in
_______________________________________________
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 5 Stefan Walter freebsd_committer freebsd_triage 2010-06-29 11:39:44 UTC
State Changed
From-To: feedback->closed

Committed, thanks!