View | Details | Raw Unified | Return to bug 221929 | Differences between
and this patch

Collapse All | Expand All

(-)www/calendarserver/Makefile (-4 / +5 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	calendarserver
3
PORTNAME=	calendarserver
4
PORTVERSION=	9.0
4
PORTVERSION=	9.1
5
DISTVERSIONPREFIX=	CalendarServer-
5
DISTVERSIONPREFIX=	CalendarServer-
6
CATEGORIES=	    www python
6
CATEGORIES=	    www python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 16-21 Link Here
16
		${PYTHON_PKGNAMEPREFIX}PyGreSQL>=5.0:databases/py-PyGreSQL \
16
		${PYTHON_PKGNAMEPREFIX}PyGreSQL>=5.0:databases/py-PyGreSQL \
17
		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \
17
		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \
18
		${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil \
18
		${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil \
19
		${PYTHON_PKGNAMEPREFIX}kerberos>=1.2.5:security/py-kerberos \
19
		${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl \
20
		${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl \
20
		${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.6:databases/py-pg8000 \
21
		${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.6:databases/py-pg8000 \
21
		${PYTHON_PKGNAMEPREFIX}psutil>=4.3.0:sysutils/py-psutil \
22
		${PYTHON_PKGNAMEPREFIX}psutil>=4.3.0:sysutils/py-psutil \
Lines 23-30 Link Here
23
		${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity \
24
		${PYTHON_PKGNAMEPREFIX}service_identity>=16.0.0:security/py-service_identity \
24
		${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.10:devel/py-setproctitle \
25
		${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.10:devel/py-setproctitle \
25
		${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:databases/py-sqlite3 \
26
		${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7:databases/py-sqlite3 \
26
		${PYTHON_PKGNAMEPREFIX}twext>=0.20160817:devel/py-twext \
27
		${PYTHON_PKGNAMEPREFIX}twext>=0.20170227:devel/py-twext \
27
		${PYTHON_PKGNAMEPREFIX}twisted>=16.4.1:devel/py-twisted \
28
		${PYTHON_PKGNAMEPREFIX}twisted>=16.6.0:devel/py-twisted \
28
		${PYTHON_PKGNAMEPREFIX}xattr>=0.7.8:devel/py-xattr \
29
		${PYTHON_PKGNAMEPREFIX}xattr>=0.7.8:devel/py-xattr \
29
		${PYTHON_PKGNAMEPREFIX}zope.interface>=4.1.3:devel/py-zope.interface
30
		${PYTHON_PKGNAMEPREFIX}zope.interface>=4.1.3:devel/py-zope.interface
30
31
Lines 62-68 Link Here
62
GROUPS=			${CALDAVD_USER}
63
GROUPS=			${CALDAVD_USER}
63
64
64
post-patch:
65
post-patch:
65
	@${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"9.0"|' ${WRKSRC}/setup.py
66
	@${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"9.1"|' ${WRKSRC}/setup.py
66
	@${REINPLACE_CMD} -e 's|"/etc/caldavd/caldavd.plist"|"${ETCDIR}/caldavd.plist"|g' ${WRKSRC}/twistedcaldav/stdconfig.py
67
	@${REINPLACE_CMD} -e 's|"/etc/caldavd/caldavd.plist"|"${ETCDIR}/caldavd.plist"|g' ${WRKSRC}/twistedcaldav/stdconfig.py
67
	@${REINPLACE_CMD} -e 's|/etc/caldavd|${ETCDIR}|g' ${WRKSRC}/conf/caldavd.plist
68
	@${REINPLACE_CMD} -e 's|/etc/caldavd|${ETCDIR}|g' ${WRKSRC}/conf/caldavd.plist
68
	@${REINPLACE_CMD} -e 's|daemon|caldavd|g' ${WRKSRC}/conf/caldavd.plist
69
	@${REINPLACE_CMD} -e 's|daemon|caldavd|g' ${WRKSRC}/conf/caldavd.plist
(-)www/calendarserver/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1496753993
1
TIMESTAMP = 1503863851
2
SHA256 (apple-ccs-calendarserver-CalendarServer-9.0_GH0.tar.gz) = 557f0497d9b112040ebb3d40556ae2e1a6d6391069a928926ac3c0abea45d836
2
SHA256 (apple-ccs-calendarserver-CalendarServer-9.1_GH0.tar.gz) = 676405baf03f7cbeb3da7f32581e0c9c5b5a042f8d022bdd93f036b7ce45d29a
3
SIZE (apple-ccs-calendarserver-CalendarServer-9.0_GH0.tar.gz) = 4836315
3
SIZE (apple-ccs-calendarserver-CalendarServer-9.1_GH0.tar.gz) = 3688246
(-)www/calendarserver/files/patch-calendarserver_tools_dkimtool.py (+24 lines)
Line 0 Link Here
1
--- calendarserver/tools/dkimtool.py.orig	2017-08-28 15:45:35.281722000 -0400
2
+++ calendarserver/tools/dkimtool.py	2017-08-28 15:47:12.632627000 -0400
3
@@ -36,7 +36,7 @@
4
 
5
 def _doKeyGeneration(options):
6
 
7
-    key = RSA.generate(options["key-size"])
8
+    key = RSA.generate(int(options["key-size"]))
9
     output = key.exportKey()
10
     lineBreak = False
11
     if options["key"]:
12
@@ -289,12 +289,6 @@
13
     options = DKIMToolOptions()
14
     options.parseOptions(argv[1:])
15
 
16
-    #
17
-    # Send logging output to stdout
18
-    #
19
-    observer = STDLibLogObserver()
20
-    observer.start()
21
-
22
     if options["verbose"]:
23
         log.levels().setLogLevelForNamespace("txdav.caldav.datastore.scheduling.ischedule.dkim", LogLevel.debug)
24
 
(-)www/calendarserver/files/patch-setup.py (-3 / +12 lines)
Lines 1-6 Link Here
1
--- setup.py.orig	2016-08-23 16:28:28 UTC
1
--- setup.py.orig	2017-08-27 16:10:56.170135000 -0400
2
+++ setup.py
2
+++ setup.py	2017-08-27 16:11:54.314120000 -0400
3
@@ -419,9 +419,6 @@ def doSetup():
3
@@ -306,7 +306,7 @@
4
 install_requirements = [
5
     # Core frameworks
6
     "zope.interface",
7
-    "Twisted==16.6.0",
8
+    "Twisted>=16.6.0",
9
     "twextpy",
10
 
11
     # Security frameworks
12
@@ -416,9 +416,6 @@
4
         scripts=[
13
         scripts=[
5
             "bin/caldavd",
14
             "bin/caldavd",
6
         ],
15
         ],
(-)www/calendarserver/files/patch-txdav_base_datastore_dbapiclient.py (-19 lines)
Lines 1-19 Link Here
1
--- txdav/base/datastore/dbapiclient.py.orig	2016-12-15 11:56:26 UTC
2
+++ txdav/base/datastore/dbapiclient.py
3
@@ -24,6 +24,7 @@ from twext.python.filepath import Cachin
4
 from txdav.common.icommondatastore import InternalDataStoreError
5
 
6
 import pg8000 as postgres
7
+import six
8
 
9
 try:
10
     import os
11
@@ -430,7 +431,7 @@ def pg8000Preflight(connection, **kwargs
12
         return v.encode("utf-8") if isinstance(v, unicode) else str(v)
13
 
14
     connection.realConnection.py_types[str] = (705, postgres.core.FC_TEXT, my_text_out)
15
-    connection.realConnection.py_types[postgres.six.text_type] = (705, postgres.core.FC_TEXT, my_text_out)
16
+    connection.realConnection.py_types[six.text_type] = (705, postgres.core.FC_TEXT, my_text_out)
17
 
18
     def my_text_recv(data, offset, length):
19
         return str(data[offset: offset + length])
(-)devel/py-twext/Makefile (-6 / +6 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	twext
3
PORTNAME=	twext
4
PORTVERSION=	0.20160818
4
PORTVERSION=	0.20170227
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
7
Lines 10-22 Link Here
10
10
11
LICENSE=	APACHE20
11
LICENSE=	APACHE20
12
12
13
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}twisted>=15.4.0:devel/py-twisted
13
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}twisted>=16.6.0:devel/py-twisted
14
RUN_DEPENDS=	\
14
RUN_DEPENDS=	\
15
 ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi \
15
 ${PYTHON_PKGNAMEPREFIX}cffi>=0.6:devel/py-cffi \
16
 ${PYTHON_PKGNAMEPREFIX}twisted>=15.4:devel/py-twisted
16
 ${PYTHON_PKGNAMEPREFIX}twisted>=16.6:devel/py-twisted
17
17
18
DAL_RUN_DEPENDS=	\
18
DAL_RUN_DEPENDS=	\
19
 ${PYTHON_PKGNAMEPREFIX}sqlparse01>=0.1.19:databases/py-sqlparse01 \
19
 ${PYTHON_PKGNAMEPREFIX}sqlparse02==0.2.0:databases/py-sqlparse02 \
20
20
21
POSTGRES_RUN_DEPENDS=	\
21
POSTGRES_RUN_DEPENDS=	\
22
 ${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.2:databases/py-pg8000
22
 ${PYTHON_PKGNAMEPREFIX}pg8000>=1.10.2:databases/py-pg8000
Lines 34-42 Link Here
34
USE_GITHUB=	yes
34
USE_GITHUB=	yes
35
GH_ACCOUNT=	apple
35
GH_ACCOUNT=	apple
36
GH_PROJECT=	ccs-twistedextensions
36
GH_PROJECT=	ccs-twistedextensions
37
GH_TAGNAME=	a8528bc
37
GH_TAGNAME=	2c4046d
38
38
39
post-patch:
39
post-patch:
40
	@${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"0.20160928"|' ${WRKSRC}/setup.py
40
	@${REINPLACE_CMD} -e 's|"{}a1+unknown".format(base_version)|"0.20170227"|' ${WRKSRC}/setup.py
41
41
42
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)devel/py-twext/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1479895744
1
TIMESTAMP = 1503863135
2
SHA256 (apple-ccs-twistedextensions-0.20160818-a8528bc_GH0.tar.gz) = b53ea069486a20b4b0f14a73ebc4f873376aa4aa497c81183ab4f1613d3b6ed4
2
SHA256 (apple-ccs-twistedextensions-0.20170227-2c4046d_GH0.tar.gz) = 63206d11e4477581bd3ecfd9dccdf88fdb7ec5a71526456bbc8e408423e61c66
3
SIZE (apple-ccs-twistedextensions-0.20160818-a8528bc_GH0.tar.gz) = 269151
3
SIZE (apple-ccs-twistedextensions-0.20170227-2c4046d_GH0.tar.gz) = 270786
(-)databases/py-sqlparse02/Makefile (+19 lines)
Line 0 Link Here
1
# Created by: Cullum Smith <cullum@c0ffee.net>
2
3
PORTNAME=	sqlparse02
4
PORTVERSION=	0.2.0
5
CATEGORIES=	databases python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
DISTNAME=	sqlparse-${DISTVERSION}
9
10
MAINTAINER=	cullum@c0ffee.net
11
COMMENT=	Non-validating SQL parser for Python (version 0.2.0)
12
13
LICENSE=	BSD3CLAUSE
14
15
NO_ARCH=	yes
16
USE_PYTHON=	autoplist concurrent distutils
17
USES=		python
18
19
.include <bsd.port.mk>
(-)databases/py-sqlparse02/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1503863532
2
SHA256 (sqlparse-0.2.0.tar.gz) = 7fac8d39ac543499b191be19e811ff275f2df0d45c4ba5fc24850aa883ac2060
3
SIZE (sqlparse-0.2.0.tar.gz) = 52554
(-)databases/py-sqlparse02/pkg-descr (+5 lines)
Line 0 Link Here
1
sqlparse is a non-validating SQL parser module.
2
It provides support for parsing, splitting and formatting SQL statements.
3
4
WWW: https://pypi.python.org/pypi/sqlparse
5
WWW: https://github.com/andialbrecht/sqlparse

Return to bug 221929