git: b3c7fff32af0 - main - sysutils/ansible-sshjail: New port

Guido Falsi madpilot at FreeBSD.org
Thu Apr 15 18:00:28 UTC 2021


The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3c7fff32af0b3b3f34428c550841bbf19f8de85

commit b3c7fff32af0b3b3f34428c550841bbf19f8de85
Author:     Guido Falsi <madpilot at FreeBSD.org>
AuthorDate: 2021-04-15 17:59:38 +0000
Commit:     Guido Falsi <madpilot at FreeBSD.org>
CommitDate: 2021-04-15 17:59:38 +0000

    sysutils/ansible-sshjail: New port
    
    An Ansible connection plugin for remotely provisioning FreeBSD jails separately from their jailhost.
    
    WWW: https://github.com/austinhyde/ansible-sshjail
---
 sysutils/Makefile                  |  1 +
 sysutils/ansible-sshjail/Makefile  | 30 ++++++++++++++++++++++++++++++
 sysutils/ansible-sshjail/distinfo  |  3 +++
 sysutils/ansible-sshjail/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index b9caf5766154..32af6f4f7f89 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -43,6 +43,7 @@
     SUBDIR += ansible
     SUBDIR += ansible-iocage
     SUBDIR += ansible-kld
+    SUBDIR += ansible-sshjail
     SUBDIR += ansible-sysrc
     SUBDIR += ansible27
     SUBDIR += ansible28
diff --git a/sysutils/ansible-sshjail/Makefile b/sysutils/ansible-sshjail/Makefile
new file mode 100644
index 000000000000..73499357b2f0
--- /dev/null
+++ b/sysutils/ansible-sshjail/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	ansible-sshjail
+DISTVERSION=	1.1.0-g20210107
+CATEGORIES=	sysutils
+
+MAINTAINER=	mad at madpilot.net
+COMMENT=	Ansible connector for remote jails
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ansible>0:sysutils/ansible@${PY_FLAVOR}
+
+USES=		python
+USE_GITHUB=	yes
+
+GH_ACCOUNT=	austinhyde
+GH_TAGNAME=	981674f
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+ANSIBLE_MOD=	share/${PYTHON_PKGNAMEPREFIX}ansible/plugins/connection
+
+PLIST_FILES=	${ANSIBLE_MOD}/sshjail.py
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${ANSIBLE_MOD}
+	${INSTALL_SCRIPT} ${WRKSRC}/sshjail.py \
+		${STAGEDIR}${PREFIX}/${ANSIBLE_MOD}/sshjail.py
+
+.include <bsd.port.mk>
diff --git a/sysutils/ansible-sshjail/distinfo b/sysutils/ansible-sshjail/distinfo
new file mode 100644
index 000000000000..58c9416f078b
--- /dev/null
+++ b/sysutils/ansible-sshjail/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618495120
+SHA256 (austinhyde-ansible-sshjail-1.1.0-g20210107-981674f_GH0.tar.gz) = e75d1f9f1038048c48b48cac119414847aa5ffcec173f5769e1809ca3baabbf3
+SIZE (austinhyde-ansible-sshjail-1.1.0-g20210107-981674f_GH0.tar.gz) = 10691
diff --git a/sysutils/ansible-sshjail/pkg-descr b/sysutils/ansible-sshjail/pkg-descr
new file mode 100644
index 000000000000..96340a31545e
--- /dev/null
+++ b/sysutils/ansible-sshjail/pkg-descr
@@ -0,0 +1,4 @@
+An Ansible connection plugin for remotely provisioning FreeBSD jails
+separately from their jailhost.
+
+WWW: https://github.com/austinhyde/ansible-sshjail


More information about the dev-commits-ports-all mailing list