Bug 68400

Summary: update/patch for www/py-webware: reserve uid/gid 108
Product: Ports & Packages Reporter: Stefan Schwarzer <sschwarzer>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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 freebsd_triage 2004-06-27 15:52:28 UTC
State Changed
From-To: open->closed

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