diff --git a/sysutils/Makefile b/sysutils/Makefile index 8a0fbda0e3c4..bc5f3faee13f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -40,6 +40,7 @@ SUBDIR += android-file-transfer-qt5 SUBDIR += angrysearch SUBDIR += ansible + SUBDIR += ansible-kld SUBDIR += ansible-sysrc SUBDIR += ansible27 SUBDIR += ansible28 diff --git a/sysutils/ansible-kld/Makefile b/sysutils/ansible-kld/Makefile new file mode 100644 index 000000000000..f74f62787332 --- /dev/null +++ b/sysutils/ansible-kld/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= ansible-kld +DISTVERSION= 0.1 +CATEGORIES= sysutils +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= vulcan@wired.sh +COMMENT= Ansible module to load kernel modules or update /boot/loader.conf + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansible>0:sysutils/ansible@${PY_FLAVOR} + +USES= python shebangfix +SHEBANG_FILES= library/kld + +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}/kld + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${ANSIBLE_MOD} + ${INSTALL_SCRIPT} ${WRKSRC}/library/kld \ + ${STAGEDIR}${PREFIX}/${ANSIBLE_MOD}/kld + +.include diff --git a/sysutils/ansible-kld/distinfo b/sysutils/ansible-kld/distinfo new file mode 100644 index 000000000000..47366b7e5e34 --- /dev/null +++ b/sysutils/ansible-kld/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1569326545 +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-kld/pkg-descr b/sysutils/ansible-kld/pkg-descr new file mode 100644 index 000000000000..2801e8c9d753 --- /dev/null +++ b/sysutils/ansible-kld/pkg-descr @@ -0,0 +1,4 @@ +Ansible module to load kernel modules and manipulate +/boot/loader.conf on a FreeBSD system. + +WWW: https://github.com/dlundgren/ansible-freebsd-modules/