From f19eed403c795f7459f878b37bbe24b938095c22 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Mon, 4 Nov 2019 20:21:00 +0000 Subject: New port: sysutils/ansible-sysrc Ansible module to manipulate rc.conf on a FreeBSD system via sysrc. The current states available are: append, absent, present and subtract. PR: 240788 Submitted by: Lewis Cook --- sysutils/ansible-sysrc/Makefile | 36 ++++++++++++++++++++++++++++++++++++ sysutils/ansible-sysrc/distinfo | 3 +++ sysutils/ansible-sysrc/pkg-descr | 5 +++++ 3 files changed, 44 insertions(+) create mode 100644 sysutils/ansible-sysrc/Makefile create mode 100644 sysutils/ansible-sysrc/distinfo create mode 100644 sysutils/ansible-sysrc/pkg-descr (limited to 'sysutils/ansible-sysrc') 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 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/ -- cgit v1.2.3