aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2017-03-08 19:56:50 +0800
committerkmoore <kmoore@FreeBSD.org>2017-03-08 19:56:50 +0800
commitccabfd89ff256d65936380e57ce06aa2f72412f8 (patch)
tree91ea1e93d3af1025ed7a4b8d37ad2fb1770be0bf
parent5828cf1569d8501972966f1897bb0733a763cde2 (diff)
downloadfreebsd-ports-gnome-ccabfd89ff256d65936380e57ce06aa2f72412f8.tar.gz
freebsd-ports-gnome-ccabfd89ff256d65936380e57ce06aa2f72412f8.tar.zst
freebsd-ports-gnome-ccabfd89ff256d65936380e57ce06aa2f72412f8.zip
SysAdm is a FreeBSD-based service which provides a stable API for
administrating FreeBSD and TrueOS systems. It is composed of a headless daemon that runs in the background on any system to be administrated, providing both web socket and REST network services. WWW: https://sysadm.us
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/sysadm/Makefile27
-rw-r--r--sysutils/sysadm/distinfo3
-rw-r--r--sysutils/sysadm/pkg-descr6
-rw-r--r--sysutils/sysadm/pkg-plist11
5 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 1cb56a7c24c6..15b8c550f025 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1088,6 +1088,7 @@
SUBDIR += symlinks
SUBDIR += symon
SUBDIR += synergy
+ SUBDIR += sysadm
SUBDIR += sysgather
SUBDIR += sysinfo
SUBDIR += syslinux
diff --git a/sysutils/sysadm/Makefile b/sysutils/sysadm/Makefile
new file mode 100644
index 000000000000..a156f8a4c7a3
--- /dev/null
+++ b/sysutils/sysadm/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= sysadm
+PORTVERSION= 1.0
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= kmoore@FreeBSD.org
+COMMENT= SysAdm API server
+
+LICENSE= BSD3CLAUSE
+
+WRKSRC_SUBDIR= src
+USE_QT5= concurrent core network buildtools qmake gui websockets sql
+USES= pkgconfig tar:xz qmake ssl
+MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
+
+USE_GITHUB= yes
+GH_ACCOUNT= trueos
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+IGNORE= requires FreeBSD 10 or later
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/sysadm/distinfo b/sysutils/sysadm/distinfo
new file mode 100644
index 000000000000..53eddc587237
--- /dev/null
+++ b/sysutils/sysadm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1488973152
+SHA256 (trueos-sysadm-v1.0_GH0.tar.gz) = 7c8dd532d72a42c9b87c5bc023cab70c33ab722d8170fabddb9b7eac3710033f
+SIZE (trueos-sysadm-v1.0_GH0.tar.gz) = 139128
diff --git a/sysutils/sysadm/pkg-descr b/sysutils/sysadm/pkg-descr
new file mode 100644
index 000000000000..2d02cc3e2fe4
--- /dev/null
+++ b/sysutils/sysadm/pkg-descr
@@ -0,0 +1,6 @@
+SysAdm is a FreeBSD-based service which provides a stable API for
+administrating FreeBSD and TrueOS systems. It is composed of a
+headless daemon that runs in the background on any system to be
+administrated, providing both web socket and REST network services.
+
+WWW: https://sysadm.us
diff --git a/sysutils/sysadm/pkg-plist b/sysutils/sysadm/pkg-plist
new file mode 100644
index 000000000000..f90269b93ff7
--- /dev/null
+++ b/sysutils/sysadm/pkg-plist
@@ -0,0 +1,11 @@
+bin/sysadm-binary
+bin/sysadm-server
+bin/sysadm-bridge
+bin/sysadm-bridge-start
+etc/sysadm.conf.dist
+etc/init.d/sysadm
+etc/init.d/sysadm-bridge
+etc/init.d/sysadm-rest
+etc/rc.d/sysadm
+etc/rc.d/sysadm-bridge
+etc/rc.d/sysadm-rest