diff options
author | swills <swills@FreeBSD.org> | 2017-12-12 03:49:31 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2017-12-12 03:49:31 +0800 |
commit | 6ff4d50ac249a6a32c7cc1e9800f6df8c113f6ce (patch) | |
tree | 059a6dd5521309e09cb93381ccf01fb9bde8e9c4 | |
parent | 9e12644775638be63a6cc9c20c036ab603fb6a4c (diff) | |
download | freebsd-ports-gnome-6ff4d50ac249a6a32c7cc1e9800f6df8c113f6ce.tar.gz freebsd-ports-gnome-6ff4d50ac249a6a32c7cc1e9800f6df8c113f6ce.tar.zst freebsd-ports-gnome-6ff4d50ac249a6a32c7cc1e9800f6df8c113f6ce.zip |
www/calendarserver: update to version 9.1
PR: 221929
Submitted by: Axel.Rau@Chaos1.DE (maintainer)
Reported by: Cullum Smith <cullum@c0ffee.net>
-rw-r--r-- | www/calendarserver/Makefile | 11 | ||||
-rw-r--r-- | www/calendarserver/distinfo | 6 | ||||
-rw-r--r-- | www/calendarserver/files/patch-calendarserver_tools_dkimtool.py | 24 | ||||
-rw-r--r-- | www/calendarserver/files/patch-setup.py | 15 | ||||
-rw-r--r-- | www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py | 19 |
5 files changed, 45 insertions, 30 deletions
diff --git a/www/calendarserver/Makefile b/www/calendarserver/Makefile index 364ac55670de..c1d5f248574c 100644 --- a/www/calendarserver/Makefile +++ b/www/calendarserver/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= calendarserver -PORTVERSION= 9.0 +PORTVERSION= 9.1 DISTVERSIONPREFIX= CalendarServer- CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,6 +16,7 @@ RUN_DEPENDS= memcached:databases/memcached \ ${PYTHON_PKGNAMEPREFIX}PyGreSQL>=5.0:databases/py-PyGreSQL@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}kerberos>=1.2.5:security/py-kerberos@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.6:databases/py-pg8000@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=4.3.0:sysutils/py-psutil@${FLAVOR} \ @@ -23,8 +24,8 @@ RUN_DEPENDS= memcached:databases/memcached \ ${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.10:devel/py-setproctitle@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:databases/py-sqlite3@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}twext>=0.20160817:devel/py-twext@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}twisted>=16.4.1:devel/py-twisted@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}twext>=0.20170227:devel/py-twext@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}twisted>=16.6.0:devel/py-twisted@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xattr>=0.7.8:devel/py-xattr@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=4.1.3:devel/py-zope.interface@${FLAVOR} @@ -32,7 +33,7 @@ PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -USES= pgsql:9.1+ python:2.7 +USES= pgsql:9.1+ python:2.7 USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= apple @@ -62,7 +63,7 @@ USERS= ${CALDAVD_USER} GROUPS= ${CALDAVD_USER} post-patch: - @${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"9.0"|' ${WRKSRC}/setup.py + @${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"${PORTVERSION}"|' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|"/etc/caldavd/caldavd.plist"|"${ETCDIR}/caldavd.plist"|g' ${WRKSRC}/twistedcaldav/stdconfig.py @${REINPLACE_CMD} -e 's|/etc/caldavd|${ETCDIR}|g' ${WRKSRC}/conf/caldavd.plist @${REINPLACE_CMD} -e 's|daemon|caldavd|g' ${WRKSRC}/conf/caldavd.plist diff --git a/www/calendarserver/distinfo b/www/calendarserver/distinfo index fadba048b963..23c5c1e97f0b 100644 --- a/www/calendarserver/distinfo +++ b/www/calendarserver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1496753993 -SHA256 (apple-ccs-calendarserver-CalendarServer-9.0_GH0.tar.gz) = 557f0497d9b112040ebb3d40556ae2e1a6d6391069a928926ac3c0abea45d836 -SIZE (apple-ccs-calendarserver-CalendarServer-9.0_GH0.tar.gz) = 4836315 +TIMESTAMP = 1509793500 +SHA256 (apple-ccs-calendarserver-CalendarServer-9.1_GH0.tar.gz) = 4ca524f27a750628af46fb246002baba108748cd331bd378c2429db793821366 +SIZE (apple-ccs-calendarserver-CalendarServer-9.1_GH0.tar.gz) = 3688342 diff --git a/www/calendarserver/files/patch-calendarserver_tools_dkimtool.py b/www/calendarserver/files/patch-calendarserver_tools_dkimtool.py new file mode 100644 index 000000000000..bec405c999d7 --- /dev/null +++ b/www/calendarserver/files/patch-calendarserver_tools_dkimtool.py @@ -0,0 +1,24 @@ +--- calendarserver/tools/dkimtool.py.orig 2017-08-28 15:45:35.281722000 -0400 ++++ calendarserver/tools/dkimtool.py 2017-08-28 15:47:12.632627000 -0400 +@@ -36,7 +36,7 @@ + + def _doKeyGeneration(options): + +- key = RSA.generate(options["key-size"]) ++ key = RSA.generate(int(options["key-size"])) + output = key.exportKey() + lineBreak = False + if options["key"]: +@@ -289,12 +289,6 @@ + options = DKIMToolOptions() + options.parseOptions(argv[1:]) + +- # +- # Send logging output to stdout +- # +- observer = STDLibLogObserver() +- observer.start() +- + if options["verbose"]: + log.levels().setLogLevelForNamespace("txdav.caldav.datastore.scheduling.ischedule.dkim", LogLevel.debug) + diff --git a/www/calendarserver/files/patch-setup.py b/www/calendarserver/files/patch-setup.py index 26cc09cbc723..3792f753cf14 100644 --- a/www/calendarserver/files/patch-setup.py +++ b/www/calendarserver/files/patch-setup.py @@ -1,6 +1,15 @@ ---- setup.py.orig 2016-08-23 16:28:28 UTC -+++ setup.py -@@ -419,9 +419,6 @@ def doSetup(): +--- setup.py.orig 2017-08-27 16:10:56.170135000 -0400 ++++ setup.py 2017-08-27 16:11:54.314120000 -0400 +@@ -306,7 +306,7 @@ + install_requirements = [ + # Core frameworks + "zope.interface", +- "Twisted==16.6.0", ++ "Twisted>=16.6.0", + "twextpy", + + # Security frameworks +@@ -416,9 +416,6 @@ scripts=[ "bin/caldavd", ], diff --git a/www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py b/www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py deleted file mode 100644 index f2ce78c2c3c0..000000000000 --- a/www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py +++ /dev/null @@ -1,19 +0,0 @@ ---- txdav/base/datastore/dbapiclient.py.orig 2016-12-15 11:56:26 UTC -+++ txdav/base/datastore/dbapiclient.py -@@ -24,6 +24,7 @@ from twext.python.filepath import Cachin - from txdav.common.icommondatastore import InternalDataStoreError - - import pg8000 as postgres -+import six - - try: - import os -@@ -430,7 +431,7 @@ def pg8000Preflight(connection, **kwargs - return v.encode("utf-8") if isinstance(v, unicode) else str(v) - - connection.realConnection.py_types[str] = (705, postgres.core.FC_TEXT, my_text_out) -- connection.realConnection.py_types[postgres.six.text_type] = (705, postgres.core.FC_TEXT, my_text_out) -+ connection.realConnection.py_types[six.text_type] = (705, postgres.core.FC_TEXT, my_text_out) - - def my_text_recv(data, offset, length): - return str(data[offset: offset + length]) |