1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

sysutils/py-zdaemon: update to 4.1.0

And patch Zope to work with this zdaemon version

With hat:   zope
This commit is contained in:
Ruslan Makhmatkhanov 2016-04-16 10:06:16 +00:00
parent bbc6c6f705
commit 58235dac8e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413424
4 changed files with 22 additions and 6 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= zdaemon
PORTVERSION= 2.0.7
PORTREVISION= 1
PORTVERSION= 4.1.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,10 +11,12 @@ MAINTAINER= zope@FreeBSD.org
COMMENT= Daemon Process Control Library and Tools for Unix-bases Systems
LICENSE= ZPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zconfig>0:devel/py-zconfig
USES= python:2
USE_PYTHON= distutils autoplist
NO_ARCH= yes
USES= python zip
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (zdaemon-2.0.7.tar.gz) = 28a96152a62823052359bac7d01a375029146d31310877408bd0a91624411eb8
SIZE (zdaemon-2.0.7.tar.gz) = 48037
SHA256 (zdaemon-4.1.0.zip) = 185b374ab49f928bbcdb7572c5cd7c3a9e75324a005ce73dfee4208ce10ab1f9
SIZE (zdaemon-4.1.0.zip) = 74287

View File

@ -2,6 +2,7 @@
PORTNAME= zope213
PORTVERSION= 2.13.24
PORTREVISION= 1
CATEGORIES= www python zope
MASTER_SITES= CHEESESHOP
DISTNAME= Zope2-${PORTVERSION}

View File

@ -0,0 +1,14 @@
Make Zope2 work with zdaemon greater than 3.x
https://bugs.launchpad.net/zope2/+bug/1386795
--- src/Zope2/Startup/zopectl.py.orig 2016-02-29 16:37:07 UTC
+++ src/Zope2/Startup/zopectl.py
@@ -151,6 +151,8 @@ class ZopeCtlOptions(ZDOptions):
default=1)
self.add("start_timeout", "runner.start_timeout",
"T:", "start-timeout=", int, default=300)
+ self.add("transcript", "runner.transcript", "t:", "transcript=",
+ default="/dev/null")
self.add("logfile", None, "l:", "logfile=")
self.add("user", "runner.user", "u:", "user=")
self.add("prompt", "runner.prompt", default="zopectl>")