From owner-svn-ports-head@freebsd.org Sun Feb 26 15:01:42 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9F4ECEE956; Sun, 26 Feb 2017 15:01:42 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CB3AE75; Sun, 26 Feb 2017 15:01:42 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1QF1fYA057924; Sun, 26 Feb 2017 15:01:41 GMT (envelope-from dumbbell@FreeBSD.org) Received: (from dumbbell@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1QF1fiG057922; Sun, 26 Feb 2017 15:01:41 GMT (envelope-from dumbbell@FreeBSD.org) Message-Id: <201702261501.v1QF1fiG057922@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dumbbell set sender to dumbbell@FreeBSD.org using -f From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Date: Sun, 26 Feb 2017 15:01:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434886 - head/net/cf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2017 15:01:42 -0000 Author: dumbbell Date: Sun Feb 26 15:01:41 2017 New Revision: 434886 URL: https://svnweb.freebsd.org/changeset/ports/434886 Log: net/cf: Update to 6.24.0 The port now uses a `go build` link flag to set the version (as returned by `cf --version`) of the produced executable. This gets rid of the previous patching; it didn't work anymore with the new source code anyway. Approved by: swills, antoine (mentor) Differential Revision: https://reviews.freebsd.org/D9650 Modified: head/net/cf/Makefile head/net/cf/distinfo Modified: head/net/cf/Makefile ============================================================================== --- head/net/cf/Makefile Sun Feb 26 14:38:59 2017 (r434885) +++ head/net/cf/Makefile Sun Feb 26 15:01:41 2017 (r434886) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= cf -PORTVERSION= 6.22.2 +PORTVERSION= 6.24.0 DISTVERSIONPREFIX= v CATEGORIES= net @@ -27,11 +27,10 @@ STRIP= # stripping can break go binarie OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} \ - -e "s/BUILT_FROM_SOURCE/${PORTVERSION}/g" \ - ${WRKSRC}/cf/app_constants.go - @: ${LN} -s ../.. ${WRKSRC}/vendor/code.cloudfoundry.org/cli +do-build: + (cd ${WRKDIR}; \ + ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} \ + install -v -ldflags="-X code.cloudfoundry.org/cli/version.binaryVersion=${PORTVERSION}" ${GO_TARGET}) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/net/cf/distinfo ============================================================================== --- head/net/cf/distinfo Sun Feb 26 14:38:59 2017 (r434885) +++ head/net/cf/distinfo Sun Feb 26 15:01:41 2017 (r434886) @@ -1,3 +1,3 @@ -TIMESTAMP = 1479575472 -SHA256 (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = fa5254a6e7197d9de86f3f9e1084d1f51f04cfa201b27c85b467a3320dbecda6 -SIZE (cloudfoundry-cli-v6.22.2_GH0.tar.gz) = 5399810 +TIMESTAMP = 1487333583 +SHA256 (cloudfoundry-cli-v6.24.0_GH0.tar.gz) = bb62e9bed4b95b0042426dab9fd40890de48ed04a9ff654193cf803d35422f75 +SIZE (cloudfoundry-cli-v6.24.0_GH0.tar.gz) = 5632074