Index: head/security/teleport/Makefile =================================================================== --- head/security/teleport/Makefile (revision 469692) +++ head/security/teleport/Makefile (revision 469693) @@ -1,61 +1,68 @@ # $FreeBSD$ PORTNAME= teleport DISTVERSIONPREFIX= v -DISTVERSION= 2.5.6 +DISTVERSION= 2.5.7 CATEGORIES= security MAINTAINER= seanc@FreeBSD.org COMMENT= Gravitational Telport SSH LICENSE= APACHE20 +ONLY_FOR_ARCHS= amd64 + BUILD_DEPENDS= ${LOCALBASE}/bin/go:lang/go \ ${LOCALBASE}/bin/zip:archivers/zip USES= compiler gmake USE_GITHUB= yes GH_ACCOUNT= gravitational GH_TAGNAME= v${DISTVERSION}${DISTVERSIONSUFFIX} +GH_TAG_COMMIT= b3f4ecb USE_RC_SUBR= teleport SUB_FILES= pkg-message PLIST_FILES= bin/teleport \ bin/tctl \ bin/tsh \ etc/teleport.yaml.sample STRIP= GO_TELEPORT_SRC_DIR= src/github.com/gravitational/teleport PRE_GOPATH_DIR= ${PORTNAME}-${DISTVERSION}${DISTVERSIONSUFFIX} post-extract: @${MKDIR} ${WRKDIR}/${GO_TELEPORT_SRC_DIR} @${CP} -rp ${WRKDIR}/${PRE_GOPATH_DIR}/vendor/* ${WRKDIR}/src/ @${CP} -rp ${WRKDIR}/${PRE_GOPATH_DIR}/* ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/ +post-patch: + @${REINPLACE_CMD} -e "s|%%GH_TAG_COMMIT%%|${GH_TAG_COMMIT}|g" \ + ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/version.mk + do-build: @cd ${WRKDIR}/${GO_TELEPORT_SRC_DIR} && \ ${SETENV} ${MAKE_ENV} ${BUILD_ENV} \ CGO_ENABLED=1 GOPATH=${WRKDIR} \ - ${GMAKE} full + ${GMAKE} -s full do-install: ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/build/teleport configure > ${STAGEDIR}${PREFIX}/etc/teleport.yaml.sample ${INSTALL_PROGRAM} ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/build/teleport ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/build/tsh ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/build/tctl ${STAGEDIR}${PREFIX}/bin .include # golang assumes that if clang is in use, it is called "clang" and not "cc". If # it's called "cc", go fails. .if ${COMPILER_TYPE} == clang BUILD_ENV= CC=clang .endif .include Index: head/security/teleport/distinfo =================================================================== --- head/security/teleport/distinfo (revision 469692) +++ head/security/teleport/distinfo (revision 469693) @@ -1,3 +1,3 @@ -TIMESTAMP = 1524207284 -SHA256 (gravitational-teleport-v2.5.6_GH0.tar.gz) = 7a7168df106b1d4ea3b81b5078eaf6ea8f6063b11c7171202d2e2b9bfbdcfe2c -SIZE (gravitational-teleport-v2.5.6_GH0.tar.gz) = 16216649 +TIMESTAMP = 1525898627 +SHA256 (gravitational-teleport-v2.5.7_GH0.tar.gz) = 26a62a4ae91482d51191f53edde01a93b13e23a257b5336de06e336ed39c8e7e +SIZE (gravitational-teleport-v2.5.7_GH0.tar.gz) = 16216353 Index: head/security/teleport/files/patch-version.mk =================================================================== --- head/security/teleport/files/patch-version.mk (nonexistent) +++ head/security/teleport/files/patch-version.mk (revision 469693) @@ -0,0 +1,8 @@ +--- ../src/github.com/gravitational/teleport/version.mk.orig 2018-05-05 22:53:11 UTC ++++ ../src/github.com/gravitational/teleport/version.mk +@@ -1,4 +1,4 @@ +-GITREF=`git describe --dirty --long --tags` ++GITREF="%%GH_TAG_COMMIT%%" + + # $(VERSION_GO) will be written to version.go + VERSION_GO="/* DO NOT EDIT THIS FILE. IT IS GENERATED BY 'make setver'*/\n\n\ Property changes on: head/security/teleport/files/patch-version.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property