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 <vulcan@wired.sh>
This commit is contained in:
Raphael Kubo da Costa 2019-11-04 20:21:00 +00:00
parent f05482877c
commit f19eed403c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516737
4 changed files with 45 additions and 0 deletions

View File

@ -37,6 +37,7 @@
SUBDIR += android-file-transfer
SUBDIR += android-file-transfer-qt5
SUBDIR += ansible
SUBDIR += ansible-sysrc
SUBDIR += ansible1
SUBDIR += ansible23
SUBDIR += ansible24

View File

@ -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>

View File

@ -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

View File

@ -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/