Index: GIDs =================================================================== --- GIDs (revision 424615) +++ GIDs (working copy) @@ -132,7 +132,7 @@ netxms:*:188: leofs:*:189: keystone:*:190: -# free: 191 +glance:*:191: moinmoin:*:192: cups:*:193: saned:*:194: Index: UIDs =================================================================== --- UIDs (revision 424615) +++ UIDs (working copy) @@ -137,7 +137,7 @@ netxms:*:188:188::0:0:netxms pseudo-user:/nonexistent:/usr/sbin/nologin leofs:*:189:189::0:0:LeoFS daemons pseudo-user:/var/db/leofs:/usr/sbin/nologin keystone:*:190:190::0:0:Keystone pseudo-user:/var/lib/keystone:/usr/sbin/nologin -# free: 191 +glance:*:191:191::0:0:Glance pseudo-user:/var/lib/glance:/usr/sbin/nologin moinmoin:*:192:192::0:0:MoinMoin User:/nonexistent:/usr/sbin/nologin cups:*:193:193::0:0:Cups Owner:/nonexistent:/usr/sbin/nologin saned:*:194:194::0:0:SANE Scanner Daemon:/nonexistent:/bin/sh Index: misc/py-glance/Makefile =================================================================== --- misc/py-glance/Makefile (revision 0) +++ misc/py-glance/Makefile (working copy) @@ -0,0 +1,74 @@ +# Created by: Alexander Nusov +# $FreeBSD$ + +PORTNAME= glance +PORTVERSION= 13.0.0 +CATEGORIES= misc python +MASTER_SITES= https://fossies.org/linux/misc/openstack/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= alexander.nusov@nfvexpress.com +COMMENT= OpenStack Image Service + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr + +RUN_DEPENDS:= ${BUILD_DEPENDS} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10 \ + ${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet \ + ${PYTHON_PKGNAMEPREFIX}PasteDeploy>=1.5.0:www/py-pastedeploy \ + ${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes \ + ${PYTHON_PKGNAMEPREFIX}webob>=1.2.3:www/py-webob \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.9.6:databases/py-sqlalchemy-migrate \ + ${PYTHON_PKGNAMEPREFIX}httplib2>=0.7.5:www/py-httplib2 \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6:security/py-pycrypto \ + ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \ + ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \ + ${PYTHON_PKGNAMEPREFIX}oslo.context>=2.9.0:devel/py-oslo.context \ + ${PYTHON_PKGNAMEPREFIX}oslo.service>=1.10.0:devel/py-oslo.service \ + ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \ + ${PYTHON_PKGNAMEPREFIX}stevedore>=1.16.0:devel/py-stevedore \ + ${PYTHON_PKGNAMEPREFIX}futurist>=0:devel/py-futurist \ + ${PYTHON_PKGNAMEPREFIX}taskflow>=1.26.0:devel/py-taskflow \ + ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \ + ${PYTHON_PKGNAMEPREFIX}keystonemiddleware>=0:devel/py-keystonemiddleware \ + ${PYTHON_PKGNAMEPREFIX}wsme>=0.8:devel/py-wsme \ + ${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable \ + ${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema \ + ${PYTHON_PKGNAMEPREFIX}keystoneclient>=0:net/py-keystoneclient \ + ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl \ + ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}oslo.db>=0:devel/py-oslo.db \ + ${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \ + ${PYTHON_PKGNAMEPREFIX}oslo.log>=1.14.0:devel/py-oslo.log \ + ${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.2.0:devel/py-oslo.messaging \ + ${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.0.0:devel/py-oslo.middleware \ + ${PYTHON_PKGNAMEPREFIX}oslo.policy>=1.9.0:devel/py-oslo.policy \ + ${PYTHON_PKGNAMEPREFIX}retrying>=0:devel/py-retrying \ + ${PYTHON_PKGNAMEPREFIX}osprofiler>=1.4.0:devel/py-osprofiler \ + ${PYTHON_PKGNAMEPREFIX}glance-store>=0.18.0:devel/py-glance-store \ + ${PYTHON_PKGNAMEPREFIX}semantic_version>=2.3.1:devel/py-semantic_version \ + ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}cursive>=0.1.1:devel/py-cursive \ + ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \ + ${PYTHON_PKGNAMEPREFIX}monotonic>=0.6:devel/py-monotonic \ + ${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse + +NO_ARCH= yes + +USES= python +USE_PYTHON= autoplist distutils noegginfo + +USE_RC_SUBR= glance-api glance-registry glance-scrubber +USERS= glance +GROUPS= glance + +post-extract: + @(cd ${WRKSRC}/etc; for f in *.conf; do ${MV} $${f} $${f}.sample; done) + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} + ${CP} -R ${WRKSRC}/etc/ ${STAGEDIR}${PREFIX}/etc/${PORTNAME} + +.include Property changes on: misc/py-glance/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/distinfo =================================================================== --- misc/py-glance/distinfo (revision 0) +++ misc/py-glance/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1476650212 +SHA256 (glance-13.0.0.tar.gz) = 3ef3594018469ba36425afafa61ae31487b6025e6f8d9d14febcedfa7136160f +SIZE (glance-13.0.0.tar.gz) = 1742124 Property changes on: misc/py-glance/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/files/glance-api.in =================================================================== --- misc/py-glance/files/glance-api.in (revision 0) +++ misc/py-glance/files/glance-api.in (working copy) @@ -0,0 +1,34 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: glance_api +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable glance-api: +# +# glance_api_enable (bool): Set it to "YES" to enable glance-api. +# Default is "NO". + +. /etc/rc.subr + +name="glance_api" +rcvar=glance_api_enable + +extra_commands="reload shutdown status" +reload_cmd="glance-control api reload" +shutdown_cmd="glance-control api shutdown" +start_cmd="glance-control api start" +status_cmd="glance-control api status" +stop_cmd="glance-control api stop" + +required_files=%%PREFIX%%/etc/glance/glance-api.conf + +PATH=%%PREFIX%%/bin:$PATH + +load_rc_config $name + +: ${glance_api_enable:="NO"} + +run_rc_command "$1" Property changes on: misc/py-glance/files/glance-api.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/files/glance-registry.in =================================================================== --- misc/py-glance/files/glance-registry.in (revision 0) +++ misc/py-glance/files/glance-registry.in (working copy) @@ -0,0 +1,34 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: glance_registry +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable glance-registry: +# +# glance_registry_enable (bool): Set it to "YES" to enable glance-registry. +# Default is "NO". + +. /etc/rc.subr + +name="glance_registry" +rcvar=glance_registry_enable + +extra_commands="reload shutdown status" +reload_cmd="glance-control registry reload" +shutdown_cmd="glance-control registry shutdown" +start_cmd="glance-control registry start" +status_cmd="glance-control registry status" +stop_cmd="glance-control registry stop" + +required_files=%%PREFIX%%/etc/glance/glance-registry.conf + +PATH=%%PREFIX%%/bin:$PATH + +load_rc_config $name + +: ${glance_registry_enable:="NO"} + +run_rc_command "$1" Property changes on: misc/py-glance/files/glance-registry.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/files/glance-scrubber.in =================================================================== --- misc/py-glance/files/glance-scrubber.in (revision 0) +++ misc/py-glance/files/glance-scrubber.in (working copy) @@ -0,0 +1,33 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: glance_scrubber +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable glance-scrubber: +# +# glance_scrubber_enable (bool): Set it to "YES" to enable glance-scrubber. +# Default is "NO". + +. /etc/rc.subr + +name="glance_scrubber" +rcvar=glance_scrubber_enable + +extra_commands="shutdown status" +shutdown_cmd="glance-control scrubber shutdown" +start_cmd="glance-control scrubber start" +status_cmd="glance-control scrubber status" +stop_cmd="glance-control scrubber stop" + +required_files=%%PREFIX%%/etc/glance/glance-scrubber.conf + +PATH=%%PREFIX%%/bin:$PATH + +load_rc_config $name + +: ${glance_scrubber_enable:="NO"} + +run_rc_command "$1" Property changes on: misc/py-glance/files/glance-scrubber.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/pkg-descr =================================================================== --- misc/py-glance/pkg-descr (revision 0) +++ misc/py-glance/pkg-descr (working copy) @@ -0,0 +1,5 @@ +The Glance project provides services for discovering, registering, and +retrieving virtual machine images. Glance has a RESTful API that allows +querying of VM image metadata as well as retrieval of the actual image. + +WWW: http://openstack.org/glance Property changes on: misc/py-glance/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/py-glance/pkg-plist =================================================================== --- misc/py-glance/pkg-plist (revision 0) +++ misc/py-glance/pkg-plist (working copy) @@ -0,0 +1,18 @@ +@owner glance +@dir %%ETCDIR%% +@sample %%ETCDIR%%/glance-swift.conf.sample +@sample %%ETCDIR%%/ovf-metadata.json.sample +@sample %%ETCDIR%%/property-protections-policies.conf.sample +@sample %%ETCDIR%%/property-protections-roles.conf.sample +@sample %%ETCDIR%%/glance-api.conf.sample +@sample %%ETCDIR%%/glance-cache.conf.sample +@sample %%ETCDIR%%/glance-glare.conf.sample +@sample %%ETCDIR%%/glance-manage.conf.sample +@sample %%ETCDIR%%/glance-registry.conf.sample +@sample %%ETCDIR%%/glance-scrubber.conf.sample +%%ETCDIR%%/policy.json +%%ETCDIR%%/schema-image.json +%%ETCDIR%%/glance-api-paste.ini +%%ETCDIR%%/glance-glare-paste.ini +%%ETCDIR%%/glance-registry-paste.ini +@dir %%ETCDIR%%/metadefs Property changes on: misc/py-glance/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property