Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 18:31:40 GMT
From:      Stefan Schwarzer <sschwarzer@sschwarzer.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/68400: update/patch for www/py-webware: reserve uid/gid 108
Message-ID:  <200406261831.i5QIVe1m068959@www.freebsd.org>
Resent-Message-ID: <200406261840.i5QIebaS080477@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68400
>Category:       ports
>Synopsis:       update/patch for www/py-webware: reserve uid/gid 108
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 26 18:40:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Schwarzer
>Release:        5.2.1
>Organization:
>Environment:
FreeBSD warpy.sschwarzer.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #18: Wed May 26 19:05:51 CEST 2004 root@warpy.sschwarzer.net:/usr/obj/usr/src/sys/WARPY i386
>Description:
      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
>How-To-Repeat:
      
>Fix:
      Patch, to be applied from $PORTSDIR:

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

- 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 ----
diff -crN www/py-webware.orig/pkg-install www/py-webware/pkg-install
*** www/py-webware.orig/pkg-install     Sat Jan 10 11:19:59 2004
--- www/py-webware/pkg-install  Sun May 30 20:25:12 2004
***************
*** 16,22 ****

  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

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406261831.i5QIVe1m068959>