summaryrefslogtreecommitdiff
path: root/devel/etcd36
diff options
context:
space:
mode:
Diffstat (limited to 'devel/etcd36')
-rw-r--r--devel/etcd36/Makefile66
-rw-r--r--devel/etcd36/distinfo21
-rw-r--r--devel/etcd36/pkg-descr11
3 files changed, 98 insertions, 0 deletions
diff --git a/devel/etcd36/Makefile b/devel/etcd36/Makefile
new file mode 100644
index 000000000000..a7a443a2e893
--- /dev/null
+++ b/devel/etcd36/Makefile
@@ -0,0 +1,66 @@
+PORTNAME= etcd
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.6.0-rc.4
+CATEGORIES= devel
+MASTER_SITES= https://raw.githubusercontent.com/etcd-io/${PORTNAME}/${DISTVERSIONFULL}/:gomod
+PKGNAMEPREFIX= coreos-
+PKGNAMESUFFIX= 36
+DISTFILES= go.mod:gomod \
+ api/go.mod:gomod \
+ pkg/go.mod:gomod \
+ client/pkg/go.mod:gomod \
+ client/v3/go.mod:gomod \
+ etcdctl/go.mod:gomod \
+ etcdutl/go.mod:gomod \
+ server/go.mod:gomod \
+ tests/go.mod:gomod
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= Highly-available key value store and service discovery
+WWW= https://etcd.io/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cpe go:1.23,modules
+USE_GITHUB= yes
+GH_ACCOUNT= etcd-io
+GO_MODULE= go.etcd.io/etcd/v3
+GO_MOD_DIST= github
+GO_TARGET= ./etcdctl ./etcdutl ./server
+
+CONFLICTS_INSTALL= coreos-etcd[0-9][0-9]
+
+PLIST_FILES= bin/etcd \
+ bin/etcdctl \
+ bin/etcdutl
+
+# This target is based on the post-extract target from Uses/go.mk
+post-extract:
+.for gt in ${GO_TARGET:T}
+ @${ECHO_MSG} "===> Tidying ${GO_MODNAME} dependencies";
+ @(cd ${GO_WRKSRC}/${gt}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod tidy -e)
+ @${ECHO_MSG} "===> Vendoring ${GO_MODNAME} dependencies";
+ @(cd ${GO_WRKSRC}/${gt}; ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOPROXY=${GO_MODCACHE} ${GO_CMD} mod vendor -e)
+.endfor
+
+# This target is based on the do-build target from Uses/go.mk.
+do-build:
+.for gt in ${GO_TARGET:T}
+ (cd ${GO_WRKSRC}/${gt}; \
+ for t in ${gt}; do \
+ out=$$(${BASENAME} $$(${ECHO_CMD} $${t} | \
+ ${SED} -Ee 's/^[^:]*:([^:]+).*$$/\1/' -e 's/^\.$$/${PORTNAME}/')); \
+ pkg=$$(${ECHO_CMD} $${t} | \
+ ${SED} -Ee 's/^([^:]*).*$$/\1/' -e 's/^${PORTNAME}$$/./'); \
+ ${ECHO_MSG} "===> Building $${out} from $${pkg}"; \
+ ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${GO_ENV} GOMAXPROCS=${MAKE_JOBS_NUMBER} GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \
+ -o ${GO_WRKDIR_BIN}/$${out} \
+ .; \
+ done)
+.endfor
+
+post-install:
+ ${MV} ${STAGEDIR}${PREFIX}/bin/server ${STAGEDIR}${PREFIX}/bin/etcd
+
+.include <bsd.port.mk>
diff --git a/devel/etcd36/distinfo b/devel/etcd36/distinfo
new file mode 100644
index 000000000000..a047b821055f
--- /dev/null
+++ b/devel/etcd36/distinfo
@@ -0,0 +1,21 @@
+TIMESTAMP = 1746453492
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/go.mod) = dc9bf0b21ae0ab300e96e60bfcd3a2c73b5ebcfb36a6c717db0ffba789d753af
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/go.mod) = 4411
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/api/go.mod) = 55ef5a76dc335dc032b34457773e652b3ffde8d1586cdab9168c0f9fe78b2060
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/api/go.mod) = 1271
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/pkg/go.mod) = 3e492c667484b2b94cb0ad5132da101ddc24dfd97831ab55acfadf8136468ec4
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/pkg/go.mod) = 1463
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/client/pkg/go.mod) = e71fd432af21536333c9da0751d3cb9d9dde0925a5a6efa1d321d9123fb04183
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/client/pkg/go.mod) = 560
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/client/v3/go.mod) = 98130a7a95edc45eef055388dfdcd8fd41784f77ec8e10087f6c0ee272067040
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/client/v3/go.mod) = 2152
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcdctl/go.mod) = 30624d3d842493d3cad7f1368db25f9d6bb204005c17028ab083367836b0cefd
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcdctl/go.mod) = 2170
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcdutl/go.mod) = b56fcff0f42f5e75f68d812338d7982e5059465350234e9042e3933a5b1eee20
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcdutl/go.mod) = 4022
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/server/go.mod) = da9ea9e1d8b71a8a4adf43ed5ad7143a05c8871bc05c6c059fe0d3579aa0b25c
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/server/go.mod) = 3607
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/tests/go.mod) = ab486a67087d038c337b21064dacac69a504ffea4697aa3ebf8981b201521b34
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/tests/go.mod) = 4533
+SHA256 (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcd-io-etcd-v3.6.0-rc.4_GH0.tar.gz) = fdeb4fce1d58214bd63341f2cd5230848eba4895e335e265eaf52ce7144b73ca
+SIZE (go/devel_etcd36/etcd-io-etcd-v3.6.0-rc.4_GH0/etcd-io-etcd-v3.6.0-rc.4_GH0.tar.gz) = 7370001
diff --git a/devel/etcd36/pkg-descr b/devel/etcd36/pkg-descr
new file mode 100644
index 000000000000..ea402f1fff4c
--- /dev/null
+++ b/devel/etcd36/pkg-descr
@@ -0,0 +1,11 @@
+A highly-available key value store for shared
+configuration and service discovery. etcd is
+inspired by zookeeper and doozer, with a focus on:
+
+* Simple: curl'able user facing API (HTTP+JSON)
+* Secure: optional SSL client cert authentication
+* Fast: benchmarked 1000s of writes/s per instance
+* Reliable: Properly distributed using Raft
+
+Etcd is written in Go and uses the raft consensus
+algorithm to manage a highly-available replicated log.