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

Collapse All | Expand All

(-)security/py-keystone/Makefile (+83 lines)
Line 0 Link Here
1
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
2
# $FreeBSD$
3
4
PORTNAME=	keystone
5
PORTVERSION=	10.0.0
6
CATEGORIES=	security python
7
MASTER_SITES=	https://fossies.org/linux/misc/openstack/
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
10
MAINTAINER=	alexander.nusov@nfvexpress.com
11
COMMENT=	OpenStack Keystone
12
13
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr
14
RUN_DEPENDS:=	${BUILD_DEPENDS}
15
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel \
16
		${PYTHON_PKGNAMEPREFIX}webob>=1.2.3:www/py-webob \
17
		${PYTHON_PKGNAMEPREFIX}PasteDeploy>=1.5.0:www/py-pastedeploy \
18
		${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste \
19
		${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes \
20
		${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography \
21
		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
22
		${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10 \
23
		${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.9.6:databases/py-sqlalchemy-migrate \
24
		${PYTHON_PKGNAMEPREFIX}stevedore>=1.16.0:devel/py-stevedore \
25
		${PYTHON_PKGNAMEPREFIX}passlib>=1.6:security/py-passlib \
26
		${PYTHON_PKGNAMEPREFIX}keystoneclient>=0:net/py-keystoneclient \
27
		${PYTHON_PKGNAMEPREFIX}keystonemiddleware>=0:devel/py-keystonemiddleware \
28
		${PYTHON_PKGNAMEPREFIX}oslo.cache>=1.5.0:devel/py-oslo.cache \
29
		${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \
30
		${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \
31
		${PYTHON_PKGNAMEPREFIX}oslo.context>=2.9.0:devel/py-oslo.context \
32
		${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.2.0:devel/py-oslo.messaging \
33
		${PYTHON_PKGNAMEPREFIX}oslo.db>=0:devel/py-oslo.db \
34
		${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
35
		${PYTHON_PKGNAMEPREFIX}oslo.log>=1.14.0:devel/py-oslo.log \
36
		${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.0.0:devel/py-oslo.middleware \
37
		${PYTHON_PKGNAMEPREFIX}oslo.policy>=1.9.0:devel/py-oslo.policy \
38
		${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \
39
		${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \
40
		${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6:security/py-oauthlib \
41
		${PYTHON_PKGNAMEPREFIX}pysaml2>=0:security/py-pysaml2 \
42
		${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.6.2:devel/py-dogpile.cache \
43
		${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema \
44
		${PYTHON_PKGNAMEPREFIX}pycadf>=0:devel/py-pycadf \
45
		${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.0:devel/py-msgpack-python \
46
		${PYTHON_PKGNAMEPREFIX}osprofiler>=1.4.0:devel/py-osprofiler \
47
		${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse \
48
		${PYTHON_PKGNAMEPREFIX}python-editor>=0:devel/py-python-editor
49
50
NO_ARCH=	yes
51
52
USES=		python
53
USE_PYTHON=	autoplist distutils noegginfo
54
55
USERS=		keystone
56
GROUPS=		keystone
57
58
post-patch:
59
	${REINPLACE_CMD} -e "s|/etc/keystone|${PREFIX}/etc/${PORTNAME}|g" \
60
		${WRKSRC}/doc/source/apache-httpd.rst \
61
		${WRKSRC}/doc/source/api_curl_examples.rst \
62
		${WRKSRC}/doc/source/configuration.rst \
63
		${WRKSRC}/doc/source/event_notifications.rst \
64
		${WRKSRC}/doc/source/federation/configure_federation.rst \
65
		${WRKSRC}/doc/source/http-api.rst \
66
		${WRKSRC}/doc/source/installing.rst \
67
		${WRKSRC}/doc/source/upgrading.rst \
68
		${WRKSRC}/etc/keystone.conf.sample \
69
		${WRKSRC}/keystone/tests/unit/test_ldap_tls_livetest.py \
70
		${WRKSRC}/keystone/conf/fernet_tokens.py \
71
		${WRKSRC}/keystone/conf/signing.py \
72
		${WRKSRC}/keystone/conf/saml.py \
73
		${WRKSRC}/keystone/conf/identity.py \
74
		${WRKSRC}/keystone/conf/constants.py \
75
		${WRKSRC}/keystone/conf/credential.py \
76
		${WRKSRC}/keystone/conf/federation.py \
77
		${WRKSRC}/keystone/common/profiler.py
78
79
post-install:
80
	${MKDIR} ${STAGEDIR}${ETCDIR}
81
	${CP} -R ${WRKSRC}/etc/ ${STAGEDIR}${ETCDIR}
82
83
.include <bsd.port.mk>
(-)security/py-keystone/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1476962582
2
SHA256 (keystone-10.0.0.tar.gz) = 5317c7a0c67ec5184e3efabd513ed7bd2eb3a5d537e24d781bc252035f46ae63
3
SIZE (keystone-10.0.0.tar.gz) = 1355520
(-)security/py-keystone/pkg-descr (+6 lines)
Line 0 Link Here
1
Keystone provides authentication, authorization and service discovery
2
mechanisms via HTTP primarily for use by projects in the OpenStack family. 
3
It is most commonly deployed as an HTTP interface to existing identity systems,
4
such as LDAP.
5
6
WWW: http://openstack.org/keystone
(-)security/py-keystone/pkg-plist (+9 lines)
Line 0 Link Here
1
@owner keystone
2
@dir %%ETCDIR%%
3
@sample %%ETCDIR%%/keystone.conf.sample
4
@sample %%ETCDIR%%/logging.conf.sample
5
%%ETCDIR%%/default_catalog.templates
6
%%ETCDIR%%/keystone-paste.ini
7
%%ETCDIR%%/policy.json
8
%%ETCDIR%%/sso_callback_template.html
9

Return to bug 213542