Bug 68400 - update/patch for www/py-webware: reserve uid/gid 108
Summary: update/patch for www/py-webware: reserve uid/gid 108
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: 2004-06-26 19:40 UTC by Stefan Schwarzer
Modified: 2004-06-27 15:52 UTC (History)
0 users

See Also:


Attachments
file.diff (221 bytes, patch)
2004-06-26 19:40 UTC, Stefan Schwarzer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schwarzer 2004-06-26 19:40:36 UTC
      The www/py-webware port (I'm the maintainer of it) uses a uid which is reserved for the net/quagga port. The attached patch, which should be applied with $PORTSDIR as current directory, sets the uid and the gid for the port to 108. These settings are not used yet, according to http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-uid.html

Fix: Patch, to be applied from $PORTSDIR:

- IGNORE=               uses uid registered to quagga.
-
  BUILD_DEPENDS=        ${PYTHON_CMD}:${PORTSDIR}/lang/python
  RUN_DEPENDS=  ${PYTHON_SITELIBDIR}/mx/DateTime:${PORTSDIR}/lang/py-mx-base

--- 16,21 ----


add_webkit_account()
  {
!     UID=101  # shouldn't be used for any other user!
      GID=${UID}

      if pw group show "${WEBWARE_GROUP}" 2>/dev/null; then
--- 16,22 ----

  add_webkit_account()
  {  
!     UID=108  # shouldn't be used for any other user!
      GID=${UID}

      if pw group show "${WEBWARE_GROUP}" 2>/dev/null; then--iPQkAOvFj6eLLrWUOnFr8ZEC3ABJxtJkaSuo8fMXc52Pskep
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -crN www/py-webware.orig/Makefile www/py-webware/Makefile
*** www/py-webware.orig/Makefile        Sun May 30 04:24:26 2004
--- www/py-webware/Makefile     Sun May 30 20:25:12 2004
***************
*** 16,23 ****
  MAINTAINER=   sschwarzer@sschwarzer.net
  COMMENT=      A versatile web application server written in Python
Comment 1 Pav Lucistnik freebsd_committer 2004-06-27 15:52:28 UTC
State Changed
From-To: open->closed

Committed, and I registered 108 for webkit in Porter's Handbook.