diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2019-11-04 20:21:00 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2019-11-04 20:21:00 +0000 |
commit | f19eed403c795f7459f878b37bbe24b938095c22 (patch) | |
tree | 520626accb20bd1868ae5e4696bc2d19224a5cf5 /sysutils/ansible-sysrc | |
parent | f05482877c0f8760112d289be3ed0de112023393 (diff) | |
download | ports-f19eed403c795f7459f878b37bbe24b938095c22.tar.gz ports-f19eed403c795f7459f878b37bbe24b938095c22.zip |
Notes
Diffstat (limited to 'sysutils/ansible-sysrc')
-rw-r--r-- | sysutils/ansible-sysrc/Makefile | 36 | ||||
-rw-r--r-- | sysutils/ansible-sysrc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/ansible-sysrc/pkg-descr | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/ansible-sysrc/Makefile b/sysutils/ansible-sysrc/Makefile new file mode 100644 index 000000000000..2162f744faa2 --- /dev/null +++ b/sysutils/ansible-sysrc/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= ansible-sysrc +DISTVERSION= 0.1 +CATEGORIES= sysutils +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= vulcan@wired.sh +COMMENT= Ansible module to set sysvars in rc.conf + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible>0:sysutils/ansible@${PY_FLAVOR} + +USES= python shebangfix +SHEBANG_FILES= library/sysrc + +USE_GITHUB= yes +GH_ACCOUNT= dlundgren +GH_PROJECT= ansible-freebsd-modules +GH_TAGNAME= cf37fc1e16fc03852abc8933e7959b22b51a5c90 + +NO_ARCH= yes +NO_BUILD= yes + +ANSIBLE_MOD= share/${PYTHON_PKGNAMEPREFIX}ansible/plugins/modules + +PLIST_FILES= ${ANSIBLE_MOD}/sysrc + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${ANSIBLE_MOD} + ${INSTALL_SCRIPT} ${WRKSRC}/library/sysrc \ + ${STAGEDIR}${PREFIX}/${ANSIBLE_MOD}/sysrc + +.include <bsd.port.mk> diff --git a/sysutils/ansible-sysrc/distinfo b/sysutils/ansible-sysrc/distinfo new file mode 100644 index 000000000000..60df42dffa22 --- /dev/null +++ b/sysutils/ansible-sysrc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1569326595 +SHA256 (dlundgren-ansible-freebsd-modules-0.1-cf37fc1e16fc03852abc8933e7959b22b51a5c90_GH0.tar.gz) = 168013ef470d93eeb2a103c1613aaadceb84e6202cb9bff91166a5047a77898f +SIZE (dlundgren-ansible-freebsd-modules-0.1-cf37fc1e16fc03852abc8933e7959b22b51a5c90_GH0.tar.gz) = 9310 diff --git a/sysutils/ansible-sysrc/pkg-descr b/sysutils/ansible-sysrc/pkg-descr new file mode 100644 index 000000000000..08223d2a637b --- /dev/null +++ b/sysutils/ansible-sysrc/pkg-descr @@ -0,0 +1,5 @@ +Ansible module to manipulate rc.conf on a FreeBSD system +via sysrc. The current states available are: append, +absent, present and subtract. + +WWW: https://github.com/dlundgren/ansible-freebsd-modules/ |