diff --git a/net/bosh-bootloader/Makefile b/net/bosh-bootloader/Makefile index 148d5760a8c8..54ac7e2caeda 100644 --- a/net/bosh-bootloader/Makefile +++ b/net/bosh-bootloader/Makefile @@ -1,30 +1,33 @@ PORTNAME= bosh-bootloader PORTVERSION= 7.6.0 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= net sysutils MAINTAINER= dumbbell@FreeBSD.org COMMENT= CLI for standing up CloudFoundry or Concourse on an IAAS WWW= https://github.com/cloudfoundry/bosh-bootloader LICENSE= APACHE20 +DEPRECATED= Not updated in years, no demand for them +EXPIRATION_DATE= 2025-10-01 + USE_GITHUB= yes GH_TUPLE= cloudfoundry:bosh-bootloader:v${PORTVERSION} \ golang:sys:v0.6.0:sys USES= go tar:xz GO_PKGNAME= github.com/cloudfoundry/bosh-bootloader GO_TARGET= github.com/cloudfoundry/bosh-bootloader/bbl PLIST_FILES= bin/bbl pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys post-patch: ${REINPLACE_CMD} -E -e 's|(Version = )"dev"|\1"${PORTVERSION}"|' ${WRKSRC}/bbl/main.go .include diff --git a/net/bosh-cli/Makefile b/net/bosh-cli/Makefile index 8488f09f52ac..38c3a0feabd6 100644 --- a/net/bosh-cli/Makefile +++ b/net/bosh-cli/Makefile @@ -1,29 +1,32 @@ PORTNAME= bosh-cli PORTVERSION= 5.5.0 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= net sysutils MAINTAINER= dumbbell@FreeBSD.org COMMENT= CLI for BOSH WWW= https://bosh.io/docs/cli-v2.html LICENSE= APACHE20 +DEPRECATED= Not updated in years, no demand for them +EXPIRATION_DATE= 2025-10-01 + USE_GITHUB= yes GH_TUPLE= cloudfoundry:bosh-cli:v${PORTVERSION} USES= go tar:xz CONFLICTS_INSTALL= schilyutils # bin/bosh GO_PKGNAME= github.com/cloudfoundry/bosh-cli PLIST_FILES= bin/bosh post-patch: ${REINPLACE_CMD} -e 's|\[DEV BUILD\]|${PORTVERSION}|' ${WRKSRC}/cmd/version.go post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/bosh-cli ${STAGEDIR}${PREFIX}/bin/bosh .include diff --git a/net/cf/Makefile b/net/cf/Makefile index 0d0ce72d0201..8ef52f5e9608 100644 --- a/net/cf/Makefile +++ b/net/cf/Makefile @@ -1,45 +1,48 @@ PORTNAME= cf PORTVERSION= 6.49.0 DISTVERSIONPREFIX= v -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= net MAINTAINER= dumbbell@FreeBSD.org COMMENT= CLI for Cloud Foundry written in Go WWW= https://cloudfoundry.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Not updated in years, no demand for them +EXPIRATION_DATE= 2025-10-01 + BUILD_DEPENDS= ${LOCALBASE}/bin/go-bindata:devel/go-bindata USE_GITHUB= yes GH_ACCOUNT= cloudfoundry GH_PROJECT= cli GH_TUPLE= golang:sys:v0.6.0:sys USES= go CONFLICTS_INSTALL= lbl-cf # bin/cf GO_BUILDFLAGS= -ldflags="-X code.cloudfoundry.org/cli/version.binaryVersion=${PORTVERSION}" GO_PKGNAME= code.cloudfoundry.org/cli GO_TARGET= :cf PLIST_FILES= bin/cf PORTDOCS= NOTICE README.md OPTIONS_DEFINE= DOCS pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for x in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/concourse-fly/Makefile b/net/concourse-fly/Makefile index daa7616f52e0..4ff27fc9c787 100644 --- a/net/concourse-fly/Makefile +++ b/net/concourse-fly/Makefile @@ -1,68 +1,71 @@ PORTNAME= concourse PORTVERSION= 6.7.1 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= net sysutils MASTER_SITES= LOCAL/dumbbell/concourse/ PKGNAMESUFFIX= -fly MAINTAINER= dumbbell@FreeBSD.org COMMENT= CLI for Concourse WWW= https://concourse-ci.org/ LICENSE= APACHE20 +DEPRECATED= Not updated in years, no demand for them +EXPIRATION_DATE= 2025-10-01 + USES= cpe go:modules tar:xz CPE_VENDOR= pivotal_software GO_TARGET= ./cmd/concourse:fly GO_BUILDFLAGS= -ldflags="-s -w -X github.com/concourse/concourse.Version=${PORTVERSION}" CGO_CFLAGS= -I. CONFLICTS_INSTALL= concourse fly # bin/fly PLIST_FILES= bin/fly # The build instructions for `fly` suggest to clone the global Concourse # repository, which contains many Git submodules, including fly, and # build from there. So basically: # # git clone --recursive https://github.com/concourse/concourse.git # cd concourse/fly # go build # # Unfortunately, this is difficult to integrate as is with the Ports framework: # * Some submodules are hosted on services other than GitHub # * Third-party Go dependencies are not Git submodules # # We created the `create-src-archive` to create a self-contained # source archive because the Concourse does not provide one. This # source archive contains the Git submodules and the third-party Go # dependencies, fetched using `go mod vendor`. # # It is created using the `create-src-archive` target below: # # make create-src-archive # # `fly` version is set by default to "0.0.0-dev" in version/Version.go. # Instead of patching the file, we use a linker flag to set the variable # to the port's version. .PHONY: create-src-archive ARCHIVE_DIR= ${DISTDIR}/concourse-${PORTVERSION} create-src-archive: ${RM} -rf ${ARCHIVE_DIR} git clone --recursive -b v${PORTVERSION} \ https://github.com/concourse/concourse.git \ ${ARCHIVE_DIR} GOPATH=$$(mktemp concourse-gopath.XXXX) && \ (cd ${ARCHIVE_DIR} && \ ${GO_CMD} mod vendor) && \ ${FIND} "$$GOPATH" -exec ${CHMOD} u+w {} \; && \ ${RM} -rf "$$GOPATH" ${FIND} ${ARCHIVE_DIR} \( -name ".git*" -o -name "testdata" \) -depth -exec ${RM} -rf {} \; ${TAR} -cf - -C ${ARCHIVE_DIR:H} ${ARCHIVE_DIR:T} | ${XZ_CMD} > ${ARCHIVE_DIR}.tar.xz ${RM} -rf ${ARCHIVE_DIR} ${MAKE} makesum .include