FreeBSD Bugzilla – Attachment 207801 Details for
Bug 240814
[NEW PORT] sysutils/ansible-iocage: Ansible module for iocage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
port diff
ansible-iocage.diff (text/plain), 5.08 KB, created by
Lewis Cook
on 2019-09-25 13:29:06 UTC
(
hide
)
Description:
port diff
Filename:
MIME Type:
Creator:
Lewis Cook
Created:
2019-09-25 13:29:06 UTC
Size:
5.08 KB
patch
obsolete
>Index: sysutils/ansible-iocage/Makefile >=================================================================== >--- sysutils/ansible-iocage/Makefile (nonexistent) >+++ sysutils/ansible-iocage/Makefile (working copy) >@@ -0,0 +1,34 @@ >+# $FreeBSD$ >+ >+PORTNAME= ansible-iocage >+DISTVERSION= 0.1 >+CATEGORIES= sysutils >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= vulcan@wired.sh >+COMMENT= Ansible module for iocage >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible>0:sysutils/ansible@${PY_FLAVOR} >+ >+USES= python >+ >+USE_GITHUB= yes >+GH_ACCOUNT= fractalcells >+GH_PROJECT= ansible-iocage >+GH_TAGNAME= b8114ae6670fefddf0612801fd16030595c24bb2 >+ >+NO_ARCH= yes >+NO_BUILD= yes >+ >+ANSIBLE_MOD= $$(ansible-config-${PYTHON_VER} dump | ${EGREP} -o '${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}ansible/plugins/modules') >+ >+PLIST_FILES= $$(${ECHO_CMD} ${ANSIBLE_MOD} | ${SED} -e 's|${PREFIX}/||')/iocage >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${ANSIBLE_MOD} >+ ${INSTALL_SCRIPT} ${WRKSRC}/iocage ${STAGEDIR}${ANSIBLE_MOD}/iocage >+ >+.include <bsd.port.mk> > >Property changes on: sysutils/ansible-iocage/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: sysutils/ansible-iocage/distinfo >=================================================================== >--- sysutils/ansible-iocage/distinfo (nonexistent) >+++ sysutils/ansible-iocage/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1569417146 >+SHA256 (fractalcells-ansible-iocage-0.1-b8114ae6670fefddf0612801fd16030595c24bb2_GH0.tar.gz) = 422e32f7cf34266a5b2ba1722d4e316aab2581a0a0087cb844a976f81bed86fd >+SIZE (fractalcells-ansible-iocage-0.1-b8114ae6670fefddf0612801fd16030595c24bb2_GH0.tar.gz) = 7786 > >Property changes on: sysutils/ansible-iocage/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: sysutils/ansible-iocage/files/patch-iocage >=================================================================== >--- sysutils/ansible-iocage/files/patch-iocage (nonexistent) >+++ sysutils/ansible-iocage/files/patch-iocage (working copy) >@@ -0,0 +1,26 @@ >+--- iocage.orig 2019-09-25 14:04:39.890773000 +0100 >++++ iocage 2019-09-25 14:09:59.399713000 +0100 >+@@ -148,10 +148,11 @@ >+ # non-iocage jails: skip all >+ break >+ elif re.match('(\d+|-)',_jid): >+- if l.count('\t') == 10: >+- (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template,_basejail) = l.split('\t') >++ _fragments = l.split('\t') >++ if len(_fragments) == 10: >++ (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template,_basejail) = _fragments >+ else: >+- (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template) = l.split('\t') >++ (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template) = _fragments >+ if _name != "": >+ _properties = _jail_get_properties(module, iocage_path, _name) >+ _jails[_name] = { "jid": _jid, "name": _name, "state": _state, "properties": _properties } >+@@ -504,7 +505,7 @@ >+ cmd = dict(default="", required=False), >+ clone_from = dict(default="", required=False), >+ release = dict(default="", required=False), >+- update = dict(default="", required=False, type='bool'), >++ update = dict(default=False, required=False, type='bool'), >+ components = dict(default="", aliases=["files","component"], required=False, type='list')), >+ supports_check_mode = True >+ ) > >Property changes on: sysutils/ansible-iocage/files/patch-iocage >___________________________________________________________________ >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: sysutils/ansible-iocage/pkg-descr >=================================================================== >--- sysutils/ansible-iocage/pkg-descr (nonexistent) >+++ sysutils/ansible-iocage/pkg-descr (working copy) >@@ -0,0 +1,4 @@ >+Ansible module for the iocage utility: convenient, lightweight >+and easy jail management. >+ >+WWW: https://github.com/fractalcells/ansible-iocage > >Property changes on: sysutils/ansible-iocage/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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lcook
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 240814
:
207801
|
208821
|
208828
|
208858