git: 4bffe4e82e07 - main - security/openconnect-freebsd-daemon: New port

Mateusz Piotrowski 0mp at FreeBSD.org
Fri May 21 16:24:17 UTC 2021


The branch main has been updated by 0mp:

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

commit 4bffe4e82e07f5ff733e5c60a9819b099a4001bd
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-05-21 16:20:13 +0000
Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-05-21 16:23:48 +0000

    security/openconnect-freebsd-daemon: New port
    
    A service daemon for the FreeBSD rc(8) framework. It lets the user
    configure OpenConnect VPN in rc.conf(5) and use the standard FreeBSD
    tools to control the daemon.
---
 security/Makefile                             |  1 +
 security/openconnect-freebsd-daemon/Makefile  | 28 +++++++++++++++++++++++++++
 security/openconnect-freebsd-daemon/distinfo  |  3 +++
 security/openconnect-freebsd-daemon/pkg-descr |  9 +++++++++
 4 files changed, 41 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 43319260befe..ad319e91e1ae 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -397,6 +397,7 @@
     SUBDIR += openbsm
     SUBDIR += openca-tools-forked
     SUBDIR += openconnect
+    SUBDIR += openconnect-freebsd-daemon
     SUBDIR += openconnect-gui
     SUBDIR += opencryptoki
     SUBDIR += openct
diff --git a/security/openconnect-freebsd-daemon/Makefile b/security/openconnect-freebsd-daemon/Makefile
new file mode 100644
index 000000000000..e6ef501f2708
--- /dev/null
+++ b/security/openconnect-freebsd-daemon/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	openconnect-freebsd-daemon
+DISTVERSION=	1.1.0
+CATEGORIES=	security net-vpn
+
+MAINTAINER=	0mp at FreeBSD.org
+COMMENT=	OpenConnect service daemon for FreeBSD rc(8)
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	openconnect:security/openconnect
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	0mp
+
+NO_ARCH=	yes
+
+PLIST_FILES=	etc/rc.d/openconnect \
+		etc/rc.d/openconnect_services
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/security/openconnect-freebsd-daemon/distinfo b/security/openconnect-freebsd-daemon/distinfo
new file mode 100644
index 000000000000..61f953127549
--- /dev/null
+++ b/security/openconnect-freebsd-daemon/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621613677
+SHA256 (0mp-openconnect-freebsd-daemon-1.1.0_GH0.tar.gz) = 489760e9be9856975e40b8d066bbffded36218d10f90a4402f824f0be83764af
+SIZE (0mp-openconnect-freebsd-daemon-1.1.0_GH0.tar.gz) = 2987
diff --git a/security/openconnect-freebsd-daemon/pkg-descr b/security/openconnect-freebsd-daemon/pkg-descr
new file mode 100644
index 000000000000..e2aa2848ad3b
--- /dev/null
+++ b/security/openconnect-freebsd-daemon/pkg-descr
@@ -0,0 +1,9 @@
+A service daemon for the FreeBSD rc(8) framework. It lets the user configure
+OpenConnect VPN in rc.conf(5) and use the standard FreeBSD tools to control the
+daemon.
+
+Features:
+- Support for starting multiple OpenConnect services.
+- Support for running arbitrary commands for OTP-based authentication.
+
+WWW: https://github.com/0mp/openconnect-freebsd-daemon


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