From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 24 18:50:14 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABC0E16A4CE for ; Thu, 24 Feb 2005 18:50:14 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B4BD43D54 for ; Thu, 24 Feb 2005 18:50:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1OIoDc2091175 for ; Thu, 24 Feb 2005 18:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1OIoDvW091174; Thu, 24 Feb 2005 18:50:13 GMT (envelope-from gnats) Resent-Date: Thu, 24 Feb 2005 18:50:13 GMT Resent-Message-Id: <200502241850.j1OIoDvW091174@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Boris B.Samorodov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A939A16A4CE for ; Thu, 24 Feb 2005 18:44:50 +0000 (GMT) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87A6943D1D for ; Thu, 24 Feb 2005 18:44:49 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1D4Nyg-0002H9-OK for FreeBSD-gnats-submit@freebsd.org; Thu, 24 Feb 2005 21:44:46 +0300 Message-Id: Date: Thu, 24 Feb 2005 21:44:46 +0300 From: "Boris B.Samorodov" Sender: "Boris B. Samorodov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/78038: new release version of www/web2ldap X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Boris B.Samorodov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 18:50:14 -0000 >Number: 78038 >Category: ports >Synopsis: new release version of www/web2ldap >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: Thu Feb 24 18:50:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Boris B. Samorodov >Release: FreeBSD 5.3-STABLE i386 >Organization: InPharmTech >Environment: System: FreeBSD srv.sem.ipt.ru 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Nov 25 02:03:43 MSK 2004 bsam@srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386 >Description: Accordig to http://www.web2ldap.de/news.html new version of www/web2ldap released. The version is 0.15.9. In FreeBSD port's tree there is an ancient (2002-03-01!) version. >How-To-Repeat: Take a look at the site and the port's tree. >Fix: Patches are simple, but there are some notes: o running of this version depends on ports/78020 (www/pyweblib should be 1.3.0+); o patches should be executed from /usr/ports/www/web2ldap path; o after patching three files/patch-aX become zero-length, they should be deleted (patch-ab, patch-ae, patch-af); o installed program was tested with python-2.4.1, www/pyweblib-1.3.3 (see ports/78020 PR), net/py-ldap2-2.0.6 (see ports/78027 PR), net/openldap22-client. --- Makefile.patch begins here --- *** Makefile.orig Thu Feb 24 19:38:59 2005 --- Makefile Thu Feb 24 20:32:04 2005 *************** *** 6,12 **** # PORTNAME= web2ldap ! PORTVERSION= 0.10.4 CATEGORIES= www MASTER_SITES= http://www.web2ldap.de/download/ \ http://www.tricknology.org/ports/ --- 6,12 ---- # PORTNAME= web2ldap ! PORTVERSION= 0.15.9 CATEGORIES= www MASTER_SITES= http://www.web2ldap.de/download/ \ http://www.tricknology.org/ports/ *************** *** 21,30 **** do-install: @${MKDIR} ${PREFIX}/${PORTNAME} - @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/contrib/occonf2ldapoc-esj.py.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/fcgi/web2ldap.py.orig ! @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/occonf2ldapoc.py.orig ! @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/pickleasn1cfg.py.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/standalone.py.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig --- 21,28 ---- do-install: @${MKDIR} ${PREFIX}/${PORTNAME} @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/fcgi/web2ldap.py.orig ! @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/scgi/web2ldap.py.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/standalone.py.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig @${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig --- Makefile.patch ends here --- --- distinfo.patch begins here --- *** distinfo.orig Thu Feb 24 19:39:04 2005 --- distinfo Thu Feb 24 14:25:59 2005 *************** *** 1,2 **** ! MD5 (web2ldap-0.10.4.tar.gz) = 1c9f866e79bb224e20521912ff712a78 ! SIZE (web2ldap-0.10.4.tar.gz) = 154165 --- 1,2 ---- ! MD5 (web2ldap-0.15.9.tar.gz) = 9f18ed4472428185eb081df008070181 ! SIZE (web2ldap-0.15.9.tar.gz) = 228767 --- distinfo.patch ends here --- --- files.patch begins here --- diff -crN files.orig/patch-ab files/patch-ab *** files.orig/patch-ab Thu Feb 24 19:18:33 2005 --- files/patch-ab Thu Feb 24 19:21:38 2005 *************** *** 1,13 **** - *** contrib/occonf2ldapoc-esj.py.orig Wed Mar 20 15:54:51 2002 - --- contrib/occonf2ldapoc-esj.py Wed Mar 20 15:55:02 2002 - *************** - *** 1,4 **** - ! #!/usr/bin/python - - import sys,string,fileinput,re,getopt - - --- 1,4 ---- - ! #!/usr/local/bin/python - - import sys,string,fileinput,re,getopt - --- 0 ---- diff -crN files.orig/patch-ad files/patch-ad *** files.orig/patch-ad Thu Feb 24 19:18:33 2005 --- files/patch-ad Thu Feb 24 15:05:19 2005 *************** *** 1,13 **** ! *** sbin/compile.py.orig Wed Mar 20 15:58:16 2002 ! --- sbin/compile.py Wed Mar 20 15:58:46 2002 *************** ! *** 1,4 **** ! #!/usr/bin/python ! import compileall ! --- 1,4 ---- ! ! #!/usr/local/bin/python ! import compileall --- 1,19 ---- ! *** sbin/compile.py.orig Tue May 13 15:46:59 2003 ! --- sbin/compile.py Thu Feb 24 15:04:30 2005 *************** ! *** 4,10 **** ! $Id: compile.py,v 1.3 2003/05/13 11:46:59 michael Exp $ ! """ ! ! #!/usr/bin/python ! import sys,compileall ! ! --- 4,10 ---- ! $Id: compile.py,v 1.3 2003/05/13 11:46:59 michael Exp $ ! """ ! ! #!/usr/bin/local/python ! import sys,compileall diff -crN files.orig/patch-ae files/patch-ae *** files.orig/patch-ae Thu Feb 24 19:18:33 2005 --- files/patch-ae Thu Feb 24 19:23:55 2005 *************** *** 1,13 **** - *** sbin/occonf2ldapoc.py.orig Wed Mar 20 15:58:24 2002 - --- sbin/occonf2ldapoc.py Wed Mar 20 15:58:49 2002 - *************** - *** 1,4 **** - ! #!/usr/bin/python - - import sys,string,fileinput - - --- 1,4 ---- - ! #!/usr/local/bin/python - - import sys,string,fileinput - --- 0 ---- diff -crN files.orig/patch-af files/patch-af *** files.orig/patch-af Thu Feb 24 19:18:33 2005 --- files/patch-af Thu Feb 24 19:24:05 2005 *************** *** 1,13 **** - *** sbin/pickleasn1cfg.py.orig Wed Mar 20 15:58:31 2002 - --- sbin/pickleasn1cfg.py Wed Mar 20 15:58:52 2002 - *************** - *** 1,4 **** - ! #!/usr/bin/python - - import sys - - --- 1,4 ---- - ! #!/usr/local/bin/python - - import sys - --- 0 ---- diff -crN files.orig/patch-ag files/patch-ag *** files.orig/patch-ag Thu Feb 24 19:18:33 2005 --- files/patch-ag Thu Feb 24 15:07:33 2005 *************** *** 2,13 **** --- sbin/web2ldap.py Wed Mar 20 16:00:47 2002 *************** *** 1,4 **** ! ! #!/usr/bin/python """ sbin/web2ldap.py - startscript for running as stand-alone HTTP server --- 1,4 ---- ! ! #!/usr/local/bin/python """ sbin/web2ldap.py - startscript for running as stand-alone HTTP server --- 2,13 ---- --- sbin/web2ldap.py Wed Mar 20 16:00:47 2002 *************** *** 1,4 **** ! ! #!/usr/bin/python -OO """ sbin/web2ldap.py - startscript for running as stand-alone HTTP server --- 1,4 ---- ! ! #!/usr/local/bin/python -OO """ sbin/web2ldap.py - startscript for running as stand-alone HTTP server diff -crN files.orig/patch-ah files/patch-ah *** files.orig/patch-ah Thu Feb 24 19:18:33 2005 --- files/patch-ah Thu Feb 24 20:24:31 2005 *************** *** 1,19 **** ! *** etc/web2ldap/web2ldapcnf/standalone.py.orig Wed Mar 20 16:02:37 2002 ! --- etc/web2ldap/web2ldapcnf/standalone.py Wed Mar 20 16:03:08 2002 *************** ! *** 48,54 **** document_root = os.path.join(web2ldapcnf.web2ldap_dir,'htdocs') # Path name of mime.types file ! mime_types = '/etc/mime.types' ! # Listing of directory content (0=disabled, 1=enabled) ! dir_listing_allowed = 0 ! --- 48,54 ---- document_root = os.path.join(web2ldapcnf.web2ldap_dir,'htdocs') # Path name of mime.types file ! mime_types = '/usr/local/web2ldap/etc/mime.types' - # Listing of directory content (0=disabled, 1=enabled) - dir_listing_allowed = 0 --- 1,15 ---- ! *** etc/web2ldap/web2ldapcnf/standalone.py.orig Sat Jun 5 12:03:35 2004 ! --- etc/web2ldap/web2ldapcnf/standalone.py Thu Feb 24 19:57:00 2005 *************** ! *** 65,69 **** document_root = os.path.join(web2ldapcnf.web2ldap_dir,'htdocs') # Path name of mime.types file ! mime_types = '/etc/mime.types' ! --- 65,69 ---- document_root = os.path.join(web2ldapcnf.web2ldap_dir,'htdocs') # Path name of mime.types file ! mime_types = '/usr/local/web2ldap/etc/mime.types' diff -crN files.orig/patch-ai files/patch-ai *** files.orig/patch-ai Thu Feb 24 19:18:33 2005 --- files/patch-ai Thu Feb 24 20:27:42 2005 *************** *** 1,11 **** ! --- etc/web2ldap/web2ldapcnf/standalone.py.orig Fri Mar 22 12:58:51 2002 ! +++ etc/web2ldap/web2ldapcnf/standalone.py Fri Mar 22 12:59:10 2002 ! @@ -11,7 +11,7 @@ ! import os,web2ldapcnf ! ! # User account name to setuid after being started as root ! -run_username = 'wwwrun' ! +run_username = 'nobody' ! ! # Contact mail address of the server admin when running stand-alone ! server_admin = 'admin@web2ldap.de' --- 1,19 ---- ! *** etc/web2ldap/web2ldapcnf/standalone.py.orig Thu Feb 24 20:11:25 2005 ! --- etc/web2ldap/web2ldapcnf/standalone.py Thu Feb 24 20:12:36 2005 ! *************** ! *** 22,28 **** ! access_allowed = ['127.0.0.0/255.0.0.0'] ! ! # User account name to setuid after being started as root ! ! run_username = 'web2ldap' ! ! # Contact mail address of the server admin when running stand-alone ! server_admin = 'admin@web2ldap.de' ! --- 22,28 ---- ! access_allowed = ['127.0.0.0/255.0.0.0'] ! ! # User account name to setuid after being started as root ! ! run_username = 'nobody' ! ! # Contact mail address of the server admin when running stand-alone ! server_admin = 'admin@web2ldap.de' diff -crN files.orig/patch-aj files/patch-aj *** /dev/null Thu Jan 1 03:00:00 1970 --- files/patch-aj Thu Feb 24 20:24:51 2005 *************** *** 0 **** --- 1,13 ---- + *** scgi/web2ldap.py.orig Thu Feb 24 15:08:33 2005 + --- scgi/web2ldap.py Thu Feb 24 15:08:50 2005 + *************** + *** 1,4 **** + ! #!/usr/bin/python -OO + + """ + scgi/web2ldap.py - stub script for running as SCGI server + --- 1,4 ---- + ! #!/usr/bin/local/python -OO + + """ + scgi/web2ldap.py - stub script for running as SCGI server --- files.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: