Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 19:48:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371603 - in head/net: . cloud-init
Message-ID:  <201410271948.s9RJm3rf051146@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Oct 27 19:48:03 2014
New Revision: 371603
URL: https://svnweb.freebsd.org/changeset/ports/371603
QAT: https://qat.redports.org/buildarchive/r371603/

Log:
  Package provides configuration and customization of cloud instance.
  
  WWW: https://launchpad.net/cloud-init
  
  PR:		194295
  Submitted by:	harm@weites.com

Added:
  head/net/cloud-init/
  head/net/cloud-init/Makefile   (contents, props changed)
  head/net/cloud-init/distinfo   (contents, props changed)
  head/net/cloud-init/pkg-descr   (contents, props changed)
  head/net/cloud-init/pkg-message   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Mon Oct 27 19:31:53 2014	(r371602)
+++ head/net/Makefile	Mon Oct 27 19:48:03 2014	(r371603)
@@ -62,6 +62,7 @@
     SUBDIR += chrony
     SUBDIR += citrix_ica
     SUBDIR += clamz
+    SUBDIR += cloud-init
     SUBDIR += clusterit
     SUBDIR += cnd
     SUBDIR += coda6_client

Added: head/net/cloud-init/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/Makefile	Mon Oct 27 19:48:03 2014	(r371603)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	cloud-init
+PORTVERSION=	0.7.6
+CATEGORIES=	net python
+MASTER_SITES=	http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	harm@weites.com
+COMMENT=	Init scripts for use on cloud images
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	dmidecode>0:${PORTSDIR}/sysutils/dmidecode \
+		sudo>0:${PORTSDIR}/security/sudo \
+		gpart>0:${PORTSDIR}/sysutils/gpart \
+		${PYTHON_PKGNAMEPREFIX}boto>0:${PORTSDIR}/devel/py-boto \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2 \
+		${PYTHON_PKGNAMEPREFIX}prettytable>0:${PORTSDIR}/devel/py-prettytable \
+		${PYTHON_PKGNAMEPREFIX}configobj>0:${PORTSDIR}/devel/py-configobj \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \
+		${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse \
+		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}serial>0:${PORTSDIR}/comms/py-serial \
+		${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
+		${PYTHON_PKGNAMEPREFIX}oauth>0:${PORTSDIR}/net/py-oauth \
+		${PYTHON_PKGNAMEPREFIX}jsonpatch>0:${PORTSDIR}/devel/py-jsonpatch \
+		${PYTHON_PKGNAMEPREFIX}jsonpointer>0:${PORTSDIR}/devel/py-jsonpointer
+
+ETCDIR=		${PREFIX}/etc/cloud
+
+USES=		python:2.7 shebangfix
+SHEBANG_FILES=	tools/validate-yaml.py tools/read-dependencies \
+		tools/read-version tools/hacking.py
+python_OLD_CMD=	/usr/bin/env python
+python_CMD=	${PYTHON_CMD}
+USE_PYTHON=	autoplist distutils
+
+PYDISTUTILS_INSTALLARGS+=	"--init-system=sysvinit_freebsd"
+
+post-build:
+	@cd ${WRKSRC} && ${MV} config/cloud.cfg-freebsd config/cloud.cfg
+
+.include <bsd.port.mk>

Added: head/net/cloud-init/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/distinfo	Mon Oct 27 19:48:03 2014	(r371603)
@@ -0,0 +1,2 @@
+SHA256 (cloud-init-0.7.6.tar.gz) = 9e8fd22eb7f6e40ae6a5f66173ddc3cc18f65ee406c460a728092b37db2f3ed7
+SIZE (cloud-init-0.7.6.tar.gz) = 515670

Added: head/net/cloud-init/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/pkg-descr	Mon Oct 27 19:48:03 2014	(r371603)
@@ -0,0 +1,3 @@
+Package provides configuration and customization of cloud instance.
+
+WWW: https://launchpad.net/cloud-init

Added: head/net/cloud-init/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cloud-init/pkg-message	Mon Oct 27 19:48:03 2014	(r371603)
@@ -0,0 +1,7 @@
+==========================================================
+To enable cloud-init, add the following line to rc.conf:
+
+cloudinit_enable="YES"
+
+This will make sure cloud-init is started at boot.
+==========================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410271948.s9RJm3rf051146>