From owner-svn-ports-all@FreeBSD.ORG Thu Jun 18 06:37:09 2015 Return-Path: Delivered-To: svn-ports-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9127630; Thu, 18 Jun 2015 06:37:09 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CEEF8AA; Thu, 18 Jun 2015 06:37:09 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5I6b93w012870; Thu, 18 Jun 2015 06:37:09 GMT (envelope-from rm@FreeBSD.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5I6b9N0012869; Thu, 18 Jun 2015 06:37:09 GMT (envelope-from rm@FreeBSD.org) Message-Id: <201506180637.t5I6b9N0012869@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rm set sender to rm@FreeBSD.org using -f From: Ruslan Makhmatkhanov Date: Thu, 18 Jun 2015 06:37:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390016 - in head/www/web2ldap: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 06:37:09 -0000 Author: rm Date: Thu Jun 18 06:37:08 2015 New Revision: 390016 URL: https://svnweb.freebsd.org/changeset/ports/390016 Log: www/web2ldap: general cleanup - replace patches with USES=shebangs and REINPLACE_CMD - add LICENSE (GPLv2) - limit python version to 2.x, because 3.x is not supported - modernize dependency upon devel/py-ipaddr and bump PORTREVISION accordingly Approved by: bsam (maintainer, by email) Deleted: head/www/web2ldap/files/patch-etc__web2ldap__web2ldapcnf__standalone.py_1 head/www/web2ldap/files/patch-etc__web2ldap__web2ldapcnf__standalone.py_2 head/www/web2ldap/files/patch-fcgi__web2ldap.py head/www/web2ldap/files/patch-sbin__compile.py head/www/web2ldap/files/patch-sbin__web2ldap.py Modified: head/www/web2ldap/Makefile Modified: head/www/web2ldap/Makefile ============================================================================== --- head/www/web2ldap/Makefile Thu Jun 18 06:27:23 2015 (r390015) +++ head/www/web2ldap/Makefile Thu Jun 18 06:37:08 2015 (r390016) @@ -3,6 +3,7 @@ PORTNAME= web2ldap PORTVERSION= 1.2.19 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.web2ldap.de/download/ \ http://www.sfr-fresh.com/unix/www/ \ @@ -11,13 +12,16 @@ MASTER_SITES= http://www.web2ldap.de/dow MAINTAINER= bsam@FreeBSD.org COMMENT= Python-based WWW gateway to LDAP servers +LICENSE= GPLv2 + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>=2.4.0:${PORTSDIR}/net/py-ldap2 \ ${PYTHON_SITELIBDIR}/pyweblib/__init__.py:${PORTSDIR}/www/pyweblib \ - ${PYTHON_SITELIBDIR}/ipaddr.py:${PORTSDIR}/devel/py-ipaddr \ + ${PYTHON_PKGNAMEPREFIX}ipaddr>0:${PORTSDIR}/devel/py-ipaddr \ ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support OPTIONS_DEFINE= DOCS -USES= cpe python +USES= cpe python:2 shebangfix +SHEBANG_FILES= sbin/*.py fcgi/*.py SUB_FILES= pkg-message PORTDOCS= * @@ -25,7 +29,8 @@ PORTDATA= * PLIST_DIRS= %%DATADIR%%/var/log %%DATADIR%%/var/run post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' \ + -e 's|nobody|web2ldap|g' \ ${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py @${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete