diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-03-30 20:06:43 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-03-30 23:59:59 +0000 |
commit | 301d2b57c411477e53b659039c91bf72557ea765 (patch) | |
tree | f08830e0ccb056d7b7ef697ad24d764f0eba193d /security/teleport5/Makefile | |
parent | e54484d4d71c6cace7ced7002c903af1ec5bbd77 (diff) | |
download | ports-301d2b57c411477e53b659039c91bf72557ea765.tar.gz ports-301d2b57c411477e53b659039c91bf72557ea765.zip |
security/teleport: Update version 4.4.12=>5.2.5
This port was marked to expire on 2023-03-31 but there was another port
security/teleport5 with more recent version from upstream. So move
security/teleport5 to security/teleport.
Pet portlint/portclippy while I am here.
Approved by: portmgr (blanket)
Diffstat (limited to 'security/teleport5/Makefile')
-rw-r--r-- | security/teleport5/Makefile | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/security/teleport5/Makefile b/security/teleport5/Makefile deleted file mode 100644 index fcf418b69497..000000000000 --- a/security/teleport5/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -PORTNAME= teleport -DISTVERSIONPREFIX= v -DISTVERSION= 5.2.5 -PORTREVISION= 4 -CATEGORIES= security -PKGNAMESUFFIX= 5 - -MAINTAINER= kraileth@elderlinux.org -COMMENT= Centralized access gateway using the SSH protocol -WWW= https://goteleport.com/teleport - -LICENSE= APACHE20 - -NOT_FOR_ARCHS= i386 -NOT_FOR_ARCHS_REASON= Uses 64bit types - -BUILD_DEPENDS= zip:archivers/zip - -# If you need the auth service to work, you need to compile this port with -# Go 1.17 or older. In case tsh is what you're after, Go 1.19 is fine. -USES= compiler gmake go - -USE_GITHUB= yes -GH_ACCOUNT= gravitational -GH_TUPLE= gravitational:webassets:8ace0cf:webassets/webassets -GH_COMMIT_SHORT= f8ba4afd9 -GH_TAG_COMMIT= ${DISTVERSIONPREFIX}${DISTVERSION}-0-g${GH_COMMIT_SHORT} - -USE_RC_SUBR= teleport - -# Extra assets are stored in the binary and must not be inadvertently removed -STRIP= -NOPRECIOUSMAKEVARS= YES - -SUB_FILES= pkg-message - -PLIST_FILES= bin/tctl \ - bin/teleport \ - bin/tsh \ - "@sample etc/teleport.yaml.sample" - -GO_TELEPORT_SRC_DIR= src/github.com/gravitational/teleport -PRE_GOPATH_DIR= ${PORTNAME}-${DISTVERSION}${DISTVERSIONSUFFIX} - -post-patch: - @${MKDIR} ${WRKDIR}/${GO_TELEPORT_SRC_DIR} - @${REINPLACE_CMD} -e 's|%%GH_TAG_COMMIT%%|${GH_TAG_COMMIT}|' \ - ${WRKSRC}/version.mk - @${FIND} ${WRKSRC}/docs/pages -iname '*.mdx' | ${XARGS} \ - ${REINPLACE_CMD} -i '' -e 's|/var/lib|/var/db|g' - @${CP} -rpH ${WRKDIR}/${PRE_GOPATH_DIR}/vendor/* ${WRKDIR}/src/ - @${CP} -rpH ${WRKDIR}/${PRE_GOPATH_DIR}/* ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/ - -do-build: - @cd ${WRKDIR}/${GO_TELEPORT_SRC_DIR} && \ - ${SETENV} ${MAKE_ENV} ${BUILD_ENV} ${GO_ENV} \ - CGO_ENABLED=1 GOPATH=${WRKDIR} \ - ${GMAKE} full - -do-install: - ${WRKDIR}/${GO_TELEPORT_SRC_DIR}/build/teleport configure > ${STAGEDIR}${PREFIX}/etc/teleport.yaml.sample - @${SED} -i '' \ - -e "s|nodename: .*|nodename: |g" \ - -e "s|cluster-join-token||g" \ - ${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 <bsd.port.pre.mk> - -# 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 <bsd.port.post.mk> |