svn commit: r477431 - in head/sysutils: . helm
Danilo Egea Gondolfo
danilo at FreeBSD.org
Fri Aug 17 14:32:42 UTC 2018
Author: danilo
Date: Fri Aug 17 14:32:41 2018
New Revision: 477431
URL: https://svnweb.freebsd.org/changeset/ports/477431
Log:
- New port: sysutils/helm
Helm is a tool for managing Kubernetes charts.
Charts are packages of pre-configured Kubernetes resources.
Added:
head/sysutils/helm/
head/sysutils/helm/Makefile (contents, props changed)
head/sysutils/helm/distinfo (contents, props changed)
head/sysutils/helm/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Aug 17 14:04:43 2018 (r477430)
+++ head/sysutils/Makefile Fri Aug 17 14:32:41 2018 (r477431)
@@ -480,6 +480,7 @@
SUBDIR += healthd
SUBDIR += heartbeat
SUBDIR += heirloom
+ SUBDIR += helm
SUBDIR += hextools
SUBDIR += hfm
SUBDIR += hfsexplorer
Added: head/sysutils/helm/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/helm/Makefile Fri Aug 17 14:32:41 2018 (r477431)
@@ -0,0 +1,50 @@
+# Created by: Danilo Egea Gondolfo <danilo at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= helm
+PORTVERSION= 2.9.1
+CATEGORIES= sysutils
+MASTER_SITES= LOCAL/danilo
+
+MAINTAINER= danilo at FreeBSD.org
+COMMENT= Kubernetes Package Manager
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= kubectl:sysutils/kubectl
+
+USES= go tar:xz
+
+PLIST_FILES= bin/${PORTNAME} \
+ bin/tiller \
+ bin/rudder
+
+post-patch:
+ ${RM} -r ${WRKSRC}/vendor/k8s.io/kubernetes/vendor
+ ${RM} -r ${WRKSRC}/vendor/k8s.io/apiextensions-apiserver/vendor
+ ${MV} ${WRKSRC}/vendor/* ${WRKDIR}/src/
+ ${LN} -s ${WRKSRC} ${WRKDIR}/src/k8s.io/helm
+
+do-build:
+.for cmd in helm tiller rudder
+ cd ${WRKDIR}/src/k8s.io/helm/cmd/${cmd} ; \
+ GOPATH=${WRKDIR} go build \
+ -ldflags="-X k8s.io/helm/pkg/version.Version=v${PORTVERSION} \
+ -X k8s.io/helm/pkg/version.BuildMetadata="
+.endfor
+
+do-install:
+.for cmd in helm tiller rudder
+ ${INSTALL_PROGRAM} \
+ ${WRKSRC}/cmd/${cmd}/${cmd} \
+ ${STAGEDIR}${PREFIX}/bin/${cmd}
+.endfor
+
+maintainer-distfile:
+ (cd /tmp; fetch https://github.com/helm/helm/archive/v${PORTVERSION}.tar.gz; \
+ tar xzf v${PORTVERSION}.tar.gz; \
+ cd helm-${PORTVERSION}; \
+ glide install; \
+ cd ..; tar cJf helm-${PORTVERSION}.tar.xz helm-${PORTVERSION})
+
+.include <bsd.port.mk>
Added: head/sysutils/helm/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/helm/distinfo Fri Aug 17 14:32:41 2018 (r477431)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1534458415
+SHA256 (helm-2.9.1.tar.xz) = d0147464ab36bfdeab593c3f4f5472d5c0c21db66a0b4fa15a8a511d6f3d1ae9
+SIZE (helm-2.9.1.tar.xz) = 35800132
Added: head/sysutils/helm/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/helm/pkg-descr Fri Aug 17 14:32:41 2018 (r477431)
@@ -0,0 +1,11 @@
+Helm is a tool for managing Kubernetes charts.
+Charts are packages of pre-configured Kubernetes resources.
+
+Use Helm to:
+- Find and use popular software packaged as Kubernetes charts
+- Share your own applications as Kubernetes charts
+- Create reproducible builds of your Kubernetes applications
+- Intelligently manage your Kubernetes manifest files
+- Manage releases of Helm packages
+
+WWW: https://helm.sh
More information about the svn-ports-all
mailing list