aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-07-24 15:26:58 +0000
committerSteve Wills <swills@FreeBSD.org>2017-07-24 15:26:58 +0000
commitcb1476b0ee9f070555ea172119d5290a976bbb44 (patch)
tree5443baf37ab2207d426f0b122dedcd480d7a793b
parent0a9b2fdce9a5c06023a889c5185158a50adb7117 (diff)
downloadports-cb1476b0ee9f070555ea172119d5290a976bbb44.tar.gz
ports-cb1476b0ee9f070555ea172119d5290a976bbb44.zip
Notes
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/goss/Makefile49
-rw-r--r--sysutils/goss/distinfo35
-rw-r--r--sysutils/goss/pkg-descr6
-rw-r--r--sysutils/goss/pkg-message2
5 files changed, 93 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e06b4315683f..8d82a245b6fc 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -407,6 +407,7 @@
SUBDIR += gnome-system-monitor
SUBDIR += gnome_subr
SUBDIR += goaccess
+ SUBDIR += goss
SUBDIR += gpart
SUBDIR += gpte
SUBDIR += graffer
diff --git a/sysutils/goss/Makefile b/sysutils/goss/Makefile
new file mode 100644
index 000000000000..6faa9a37b9b7
--- /dev/null
+++ b/sysutils/goss/Makefile
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME= goss
+PORTVERSION= 0.3.4
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= englishm@llnw.com
+COMMENT= Quick and Easy server validation
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= go:lang/go
+
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= go-ps only supports amd64
+
+PLIST_FILES= bin/goss
+
+USE_GITHUB= yes
+GH_ACCOUNT= aelsabbahy
+GH_SUBDIR= src/github.com/aelsabbahy/${PORTNAME}
+GH_TUPLE= achanda:go-sysctl:6be7678:achanda/src/github.com/achanda/go-sysctl \
+ aelsabbahy:go-ps:4433868:gops/src/github.com/aelsabbahy/go-ps \
+ aelsabbahy:GOnetstat:edf89f7:GOnetstat/src/github.com/aelsabbahy/GOnetstat \
+ cheekybits:genny:e8e29e6:cheekybits/src/github.com/cheekybits/genny \
+ fatih:color:bf82308:fatih/src/github.com/fatih/color \
+ go-yaml:yaml:a5b47d3:yaml/src/gopkg.in/yaml.v2 \
+ golang:sys:9a2e24c:sys/src/golang.org/x/sys \
+ mattn:go-colorable:d228849:mattn/src/github.com/mattn/go-colorable \
+ mattn:go-isatty:66b8e73:mattnisatty/src/github.com/mattn/go-isatty \
+ miekg:dns:58f52c5:miekg/src/github.com/miekg/dns \
+ moby:moby:383a2f0:docker/src/github.com/docker/docker \
+ oleiade:reflections:0e86b3c:oleiade/src/github.com/oleiade/reflections \
+ onsi:gomega:ff4bc6b:onsi/src/github.com/onsi/gomega \
+ opencontainers:runc:8779fa5:opencontainers/src/github.com/opencontainers/runc \
+ patrickmn:go-cache:1881a9b:patrickmn/src/github.com/patrickmn/go-cache \
+ urfave:cli:d86a009:urfave/src/github.com/urfave/cli
+do-build:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \
+ go build -ldflags "-X main.version=${DISTVERSIONPREFIX}${PORTVERSION} -s -w" -o \
+ bin/${PORTNAME} ./cmd/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/sysutils/goss/distinfo b/sysutils/goss/distinfo
new file mode 100644
index 000000000000..22b042911369
--- /dev/null
+++ b/sysutils/goss/distinfo
@@ -0,0 +1,35 @@
+TIMESTAMP = 1500908773
+SHA256 (aelsabbahy-goss-v0.3.4_GH0.tar.gz) = ffdf1b7a0f8acd32ae07cdecf467c90934e30c8df3bb5a6df203a37e6051288d
+SIZE (aelsabbahy-goss-v0.3.4_GH0.tar.gz) = 61780
+SHA256 (achanda-go-sysctl-6be7678_GH0.tar.gz) = 07fffc53be4bb684275c82292e2345b7164acb09297d30db9d58d517a7281a6a
+SIZE (achanda-go-sysctl-6be7678_GH0.tar.gz) = 5305
+SHA256 (aelsabbahy-go-ps-4433868_GH0.tar.gz) = 06dad4e20730073b0a08998910549aa300d3f2a209b35bdae4a9413e2bd3e04a
+SIZE (aelsabbahy-go-ps-4433868_GH0.tar.gz) = 7557
+SHA256 (aelsabbahy-GOnetstat-edf89f7_GH0.tar.gz) = 609ce1aeac7d83aa4550a27828b8840f957b21b5baa3f6acf899ba3b7a95919f
+SIZE (aelsabbahy-GOnetstat-edf89f7_GH0.tar.gz) = 3972
+SHA256 (cheekybits-genny-e8e29e6_GH0.tar.gz) = 6330b9d1c48e32edc8f41825ca6faf97cf77aa819aba47d12132e0387a56a7c9
+SIZE (cheekybits-genny-e8e29e6_GH0.tar.gz) = 13715
+SHA256 (fatih-color-bf82308_GH0.tar.gz) = a9c2f49b4fa200b4dec36e122da53434a42fa8a62f1e270030d96c97d90cdaed
+SIZE (fatih-color-bf82308_GH0.tar.gz) = 7649
+SHA256 (go-yaml-yaml-a5b47d3_GH0.tar.gz) = 169639b2a29faef0955fb7979f52f22d1384e448ead8fc2dd71d446bc9ca0f42
+SIZE (go-yaml-yaml-a5b47d3_GH0.tar.gz) = 60493
+SHA256 (golang-sys-9a2e24c_GH0.tar.gz) = 598cb90e7a03dbab53d05ef1ee843035096fbd53ee4c6a9cef4b8bcedf8b1383
+SIZE (golang-sys-9a2e24c_GH0.tar.gz) = 620783
+SHA256 (mattn-go-colorable-d228849_GH0.tar.gz) = c6370c4aec4b767bc52f9ebcb65d3baeda18b0068812b5c9c569bcfe0e2c65fa
+SIZE (mattn-go-colorable-d228849_GH0.tar.gz) = 6647
+SHA256 (mattn-go-isatty-66b8e73_GH0.tar.gz) = 261ec4d11cc7615205c67a1dd9ffe1f88166fc50db0022700a82f39ab7e47b0d
+SIZE (mattn-go-isatty-66b8e73_GH0.tar.gz) = 1956
+SHA256 (miekg-dns-58f52c5_GH0.tar.gz) = 7f0604f628ee97d8108221d723cf6377674e64583586e9138235071d011b0f01
+SIZE (miekg-dns-58f52c5_GH0.tar.gz) = 169993
+SHA256 (moby-moby-383a2f0_GH0.tar.gz) = 9a4211e3c71f29f4967b0068fbc2b2947a8e621657f3626b293962c4b7ce6f4e
+SIZE (moby-moby-383a2f0_GH0.tar.gz) = 7613701
+SHA256 (oleiade-reflections-0e86b3c_GH0.tar.gz) = 8f059967c74941e16bebfceb32c12ed370f34e132207d2a5684bc0b1920d2c12
+SIZE (oleiade-reflections-0e86b3c_GH0.tar.gz) = 6851
+SHA256 (onsi-gomega-ff4bc6b_GH0.tar.gz) = 7bbe846b9f47c3f21d91a34e219b5eee7c5c5eaf8f753e5f6fa13ea40ba3f1a5
+SIZE (onsi-gomega-ff4bc6b_GH0.tar.gz) = 72308
+SHA256 (opencontainers-runc-8779fa5_GH0.tar.gz) = 8163f18707d8424f72bcc9c01e7daa91b14b24ccb7fceb54f68bb0bee657245d
+SIZE (opencontainers-runc-8779fa5_GH0.tar.gz) = 560793
+SHA256 (patrickmn-go-cache-1881a9b_GH0.tar.gz) = 988494fbb1b9740bba9c259481cf062922ae9a469c2fa2a1b7cfce83e2f343b5
+SIZE (patrickmn-go-cache-1881a9b_GH0.tar.gz) = 13200
+SHA256 (urfave-cli-d86a009_GH0.tar.gz) = 04dcba0da3caaea0e6f5d48757b404ccac13df96c874b99a5654308c6c51b3aa
+SIZE (urfave-cli-d86a009_GH0.tar.gz) = 51661
diff --git a/sysutils/goss/pkg-descr b/sysutils/goss/pkg-descr
new file mode 100644
index 000000000000..42807a834d04
--- /dev/null
+++ b/sysutils/goss/pkg-descr
@@ -0,0 +1,6 @@
+Goss is a YAML based serverspec alternative tool for validating a server's
+configuration. It eases the process of writing tests by allowing the user to
+generate tests from the current system state. Once the test suite is written
+they can be executed, waited-on, or served as a health endpoint.
+
+WWW: https://goss.rocks
diff --git a/sysutils/goss/pkg-message b/sysutils/goss/pkg-message
new file mode 100644
index 000000000000..a589e5a2571d
--- /dev/null
+++ b/sysutils/goss/pkg-message
@@ -0,0 +1,2 @@
+WARNING: goss is not yet fully functional on FreeBSD.
+See https://github.com/aelsabbahy/goss/issues/26 for details.