Skip to content

Commit

Permalink
security/teleport: Update version 4.4.12=>5.2.5
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
5u623l20 committed Mar 30, 2023
1 parent e54484d commit 301d2b5
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 467 deletions.
1 change: 1 addition & 0 deletions MOVED
Expand Up @@ -17886,3 +17886,4 @@ devel/horde-content||2023-03-31|Has expired: Requires php74
devel/horde-timeobjects||2023-03-31|Has expired: Requires php74
www/horde-base||2023-03-31|Has expired: Requires php74
multimedia/transcode||2023-03-31|Has expired: abandoned by upstream and does not build
security/teleport5|security/teleport|2023-03-31|More recent version than expired teleport port
1 change: 0 additions & 1 deletion security/Makefile
Expand Up @@ -1268,7 +1268,6 @@
SUBDIR += tclsasl
SUBDIR += tcpcrypt
SUBDIR += teleport
SUBDIR += teleport5
SUBDIR += testssl.sh
SUBDIR += tfhe
SUBDIR += tfsec
Expand Down
15 changes: 5 additions & 10 deletions security/teleport/Makefile
@@ -1,7 +1,6 @@
PORTNAME= teleport
DISTVERSIONPREFIX= v
DISTVERSION= 4.4.12
PORTREVISION= 5
DISTVERSION= 5.2.5
CATEGORIES= security

MAINTAINER= kraileth@elderlinux.org
Expand All @@ -10,9 +9,6 @@ WWW= https://goteleport.com/teleport

LICENSE= APACHE20

DEPRECATED= End of life, users are recommended to use security/teleport5 as an upgrade path
EXPIRATION_DATE=2023-03-31

NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON= Uses 64bit types

Expand All @@ -21,19 +17,16 @@ 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:2ee76aa:webassets/webassets
GH_COMMIT_SHORT= fabee242d
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 \
Expand All @@ -48,6 +41,8 @@ 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}/

Expand Down
10 changes: 5 additions & 5 deletions security/teleport/distinfo
@@ -1,5 +1,5 @@
TIMESTAMP = 1665730213
SHA256 (gravitational-teleport-v4.4.12_GH0.tar.gz) = 097537273bd0579b3b833870cab74ce1da5432357a14c5501db7a2c525fbcb15
SIZE (gravitational-teleport-v4.4.12_GH0.tar.gz) = 37824023
SHA256 (gravitational-webassets-2ee76aa_GH0.tar.gz) = 16c5fbdc43723c392d46163073053c850cae7d355fb97b5ba8fd298246be85c4
SIZE (gravitational-webassets-2ee76aa_GH0.tar.gz) = 4684443
TIMESTAMP = 1670876102
SHA256 (gravitational-teleport-v5.2.5_GH0.tar.gz) = 81b48678ead350ca40183ffef70c4afe0ffdcf1e895d04c0bc62eab180b41065
SIZE (gravitational-teleport-v5.2.5_GH0.tar.gz) = 41856905
SHA256 (gravitational-webassets-8ace0cf_GH0.tar.gz) = 87b4a3beff4259ff48d30a03cb2e5ac580dc964eac5218518ac89ede450d2220
SIZE (gravitational-webassets-8ace0cf_GH0.tar.gz) = 4719723
68 changes: 0 additions & 68 deletions security/teleport/files/patch-docs_pages_config-reference.mdx

This file was deleted.

12 changes: 6 additions & 6 deletions security/teleport/files/pkg-message.in
Expand Up @@ -3,7 +3,7 @@
message: <<EOM
ATTENTION! This version of Teleport is very old and likely to contain unfixed
ATTENTION! vulnerabilities. It's only provided to allow for a working upgrade
ATTENTION! path from 4.3. Watch for an upgrade to teleport5 next.
ATTENTION! path from 4.4. Watch for an upgrade to teleport6 next.
ATTENTION! New installations are STRONGLY discouraged (wait for version 7).

Quick getting started guide:
Expand All @@ -23,11 +23,11 @@ To add a new node to the cluster, on the auth server:

See the docs for additional details:

Quick start: https://github.com/gravitational/teleport/blob/branch/4.4/docs/pages/quickstart.mdx
Admin Manual: https://github.com/gravitational/teleport/blob/branch/4.4/docs/pages/admin-guide.mdx
User Manual: https://github.com/gravitational/teleport/blob/branch/4.4/docs/pages/user-manual.mdx
Architecture: https://github.com/gravitational/teleport/blob/branch/4.4/docs/pages/architecture/overview.mdx
FAQ: https://github.com/gravitational/teleport/blob/branch/4.4/docs/pages/faq.mdx
Quick start: https://github.com/gravitational/teleport/blob/branch/5.0/docs/pages/quickstart.mdx
Admin Manual: https://github.com/gravitational/teleport/blob/branch/5.0/docs/pages/admin-guide.mdx
User Manual: https://github.com/gravitational/teleport/blob/branch/5.0/docs/pages/user-manual.mdx
Architecture: https://github.com/gravitational/teleport/blob/branch/5.0/docs/pages/architecture/overview.mdx
FAQ: https://github.com/gravitational/teleport/blob/branch/5.0/docs/pages/faq.mdx
EOM
}
]
2 changes: 1 addition & 1 deletion security/teleport/files/teleport.in
Expand Up @@ -16,7 +16,7 @@
# teleport_roles (dir): Set roles to run teleport in.
# Default is "node".
# Can be any combination of
# "proxy" "node" and "auth", separated by commas
# "node", "app", "proxy" and "auth", separated by commas

. /etc/rc.subr

Expand Down
8 changes: 5 additions & 3 deletions security/teleport/pkg-descr
Expand Up @@ -8,6 +8,8 @@ used instead for additional functionality.
With Teleport it is simple to adopt SSH best practices like using
certificate-based access and enabling 2FA via TOTP (e.g. Google
Authenticator), U2F or an SSO provider. Cluster nodes can be accessed via
a CLI (tsh) or a Web UI which both allow for session sharing. Teleport
provides centralized user management as well as full session recordings
that can be played back for knowledge sharing or auditing purposes.
a CLI (tsh) or a Web UI which both allow for session sharing.

Teleport provides centralized user management as well as full session
recordings that can be played back for knowledge sharing or auditing
purposes. It can also be used to protect Web applications like dashboards.
78 changes: 0 additions & 78 deletions security/teleport5/Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions security/teleport5/distinfo

This file was deleted.

11 changes: 0 additions & 11 deletions security/teleport5/files/patch-lib_defaults_defaults.go

This file was deleted.

11 changes: 0 additions & 11 deletions security/teleport5/files/patch-lib_events_auditlog.go

This file was deleted.

0 comments on commit 301d2b5

Please sign in to comment.