Package Details: ngrok 3.0.6-2

Git Clone URL: https://aur.archlinux.org/ngrok.git (read-only, click to copy)
Package Base: ngrok
Description: A tunneling, reverse proxy for developing and understanding networked, HTTP services
Upstream URL: https://ngrok.com
Licenses: custom
Submitter: neersighted
Maintainer: brenekh
Last Packager: brenekh
Votes: 105
Popularity: 2.36
First Submitted: 2013-09-08 17:10 (UTC)
Last Updated: 2022-08-04 15:11 (UTC)

Pinned Comments

brenekh commented on 2022-04-20 17:11 (UTC)

ngrok v3 introduces breaking changes.

Check https://ngrok.com/docs/guides/upgrade-v2-v3 for the upgrade instructions.

daurnimator commented on 2019-03-06 21:05 (UTC)

Note to self/future maintainers, this software only provides official downloads for an old release. The package itself then tries to update itself using 'equinox'. To find out the real download url, I use this script get_download_info:

#!/bin/bash

exec http -b https://update.equinox.io/check \
    'Accept:application/json; q=1; version=1; charset=utf-8' \
    'Content-Type:application/json; charset=utf-8' \
    app_id=app_goVRodbMVm \
    arch=amd64 \
    channel=stable \
    current_sha256=1aaccea9c0668d97f19095636b2f4fca033fb8d9f7fc37241a013f4f1fa48bb3 \
    current_version=2.2.8 \
    goarm= \
    os=linux \
    target_version= \
    "$@"

You need to call it with the different architectures:

get_download_info arch=386
get_download_info arch=amd64
get_download_info arch=arm
get_download_info arch=arm64

Latest Comments

brenekh commented on 2022-04-20 17:11 (UTC)

ngrok v3 introduces breaking changes.

Check https://ngrok.com/docs/guides/upgrade-v2-v3 for the upgrade instructions.

Ranguna commented on 2021-08-01 11:35 (UTC)

I see that pkgbuild contains the following sha for amd64: 218d267cd1195334718bafac14bfdf1c19dc95dcf8a24aaa6a1383c21dc86e76

Searching for this in https://dl.equinox.io/ngrok/ngrok/stable/archive, gives me no results. Any reason for that ?

M.Srikanth commented on 2021-04-05 13:59 (UTC)

As per https://dl.equinox.io/ngrok/ngrok/stable/archive, the newest version is 2.3.38. (Even the script in your pinned comment gives the same thing.)

slabz commented on 2021-03-10 19:31 (UTC)

I just scanned the 64bit binary that this package installed and VirusTotal comes back clean: https://www.virustotal.com/gui/file/c930d52595169da874d201914b09b4cc779f536d7887eed90196aa3b40b4eafb/detection

trevordf commented on 2020-10-15 15:09 (UTC)

Might be nothing, but virustotal reported one detection on v2.3.35: https://www.virustotal.com/gui/file/1fdd1c057c3c31044400ef6ade20ad3f10bce415ad33ccfb4bc2fd83bb36f62f/detection.

If I download the official zip from https://dashboard.ngrok.com/get-started/setup I don't see the same thing: https://www.virustotal.com/gui/file/1761f150c5e1d210e8148a863441af4bf0f0ae413d205fdb3ce9db4a3454d504/detection

daurnimator commented on 2020-09-29 03:03 (UTC)

Despite the app claiming an update is available, there is no new version available on the download page; or via the update script I jury rigged up.

imlonghao commented on 2020-02-10 04:30 (UTC)

The download url can be found at https://dl.equinox.io/ngrok/ngrok/stable/archive

daurnimator commented on 2019-03-15 00:17 (UTC)

@kodopp that appears to be correct. (I only just took over this package to bump to a new release). However, I'm having trouble finding a license: I looked on the ngrok, in the upstream proper releases, and searched around elsewhere. Do you have any idea what license it is under?

kodopp commented on 2019-03-14 18:31 (UTC)

As far as I know ngrok 2.x is not open source, so specifying 'Apache' as its license in the PKGBUILD is not correct. I think you should change it to 'Custom' and include appropriate license in the package. Please correct me if I am wrong

Kunda commented on 2019-03-13 23:51 (UTC) (edited on 2019-03-14 11:33 (UTC) by Kunda)

Can we get another bump to 2.3.17, please :) ?

Edit: Thank you!

daurnimator commented on 2019-03-06 21:05 (UTC)

Note to self/future maintainers, this software only provides official downloads for an old release. The package itself then tries to update itself using 'equinox'. To find out the real download url, I use this script get_download_info:

#!/bin/bash

exec http -b https://update.equinox.io/check \
    'Accept:application/json; q=1; version=1; charset=utf-8' \
    'Content-Type:application/json; charset=utf-8' \
    app_id=app_goVRodbMVm \
    arch=amd64 \
    channel=stable \
    current_sha256=1aaccea9c0668d97f19095636b2f4fca033fb8d9f7fc37241a013f4f1fa48bb3 \
    current_version=2.2.8 \
    goarm= \
    os=linux \
    target_version= \
    "$@"

You need to call it with the different architectures:

get_download_info arch=386
get_download_info arch=amd64
get_download_info arch=arm
get_download_info arch=arm64

waseem commented on 2019-02-26 16:26 (UTC)

@neersighted Do you have any plans of updating this package in near future?

el_aur commented on 2018-07-01 14:12 (UTC)

use my AUR packages ngrok-stable and ngrok-beta

Mind commented on 2018-01-04 02:18 (UTC)

ngrok indicates that it needs to update to version 2.2.8 in the status screen, even though it is already 2.2.8. This doesn't appear when running a separately-downloaded binary.

crotok commented on 2017-09-18 10:36 (UTC)

Use versioned urls rather than generic to avoid checksum obsolescence: https://dl.equinox.io/ngrok/ngrok/stable/archive

alrayyes commented on 2017-08-14 13:54 (UTC)

Correct checksum for x86_64 is now ff5926b1c141dbe9a005b642a10d819fc498a069d69588767a18349c521839dd

snowcrash commented on 2017-07-15 00:33 (UTC)

I just installed. I needed to run sha256sum on the latest x86_64 version to get it passing. For those interested, the sha was: a3f667e7b9f3c9e10abb5e277154a0b5e09a011a7f561a2a789fecb34407e108

thburghout commented on 2017-04-26 20:41 (UTC)

The correct checksum for x86_64 is e718fae33fa21f6ac9689a617b9fa19147b6fa1e4f5779353fbb77ccef6bc78c

kamek-pf commented on 2017-04-05 17:33 (UTC)

This is out of date, checksum needs to be updated. You can edit the PKGBUILD yourself during the install process and replace it (the field you want is probably sha256sums_x86_64). Right now the correct checksum is : 32d5cd63e47041931225d3a17dcd1d2d6a5a8f88f662cfe656e1d96e99af84bd If this doesn't work, go to https://ngrok.com/download, download the linux 64 bit archive and run sha256sum on the tarball.

useradded commented on 2017-04-04 13:37 (UTC)

Fails with: Validating source_x86_64 files with sha256sums... ngrok-stable-linux-amd64.zip ... FAILED ==> ERROR: One or more files did not pass the validity check!

tkarls commented on 2017-02-28 13:51 (UTC) (edited on 2017-02-28 13:55 (UTC) by tkarls)

Hi, would you consider adding support for armv7h too? It can be done using architecture specific downloads source_x86_64=("https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip") sha256sums_x86_64=('0165a266388e80b467d6f97fcc42baa51da262c467b99bfb79305d7b6dd22b94') source_armv7h=("https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip") sha256sums_armv7h=('f2bf6e1c4221e7847a0c4fd3728f2140d7af80a8e0ab2072ae6c919d893bb254') (and also to fix so the package does work on 32 bit platform as it says it does with i686) source_i686=("https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-386.zip") sha256sums_i686=('97746f160088a8fffd79a3897225b58ba62a1bb72cbbcce1d3542a786622fba6') Let me know if there is any problem adding this. Thanks, /Thomas

jamesan commented on 2016-10-28 18:16 (UTC) (edited on 2016-10-28 18:16 (UTC) by jamesan)

The checksum validation currently fails as the source URL points to an updated version of the binary archive. The current version is 2.1.18 and the correct SHA256 checksum value is: 0165a266388e80b467d6f97fcc42baa51da262c467b99bfb79305d7b6dd22b94.

CircleCode commented on 2016-10-12 06:53 (UTC)

please mark it as conflicting with previous ngrok-bin

neersighted commented on 2016-10-08 16:36 (UTC)

This package is now based on ngrok 2.x, and is binary only. There is some auto-updating functionality built into ngrok now, but as I only recently switched to 2.x, I am not sure what effect this will have on the packaging. Please let me know if you run into any problems.

mart-e commented on 2016-09-16 08:45 (UTC)

The package is broken because code.google no longer exists. It has been fixed upstream at https://github.com/inconshreveable/ngrok/pull/308 but not yet integrated into a release. I have asked to make a 1.7.2 version (https://github.com/inconshreveable/ngrok/issues/368) but in the meantime, if you want to build it, you need to modify the PKGBUILD. -source=("git+https://github.com/inconshreveable/ngrok.git#tag=${pkgver}") +source=("git+https://github.com/inconshreveable/ngrok.git")

bradpitcher commented on 2016-05-16 18:56 (UTC)

I got an error on build(). Using Antergos: ==> Starting build()... go fmt ngrok/... go get github.com/jteeuwen/go-bindata GOOS="" GOARCH="" go install github.com/jteeuwen/go-bindata/go-bindata bin/go-bindata -nomemcopy -pkg=assets -tags=release \ -debug=false \ -o=src/ngrok/client/assets/assets_release.go \ assets/client/... go get github.com/jteeuwen/go-bindata GOOS="" GOARCH="" go install github.com/jteeuwen/go-bindata/go-bindata bin/go-bindata -nomemcopy -pkg=assets -tags=release \ -debug=false \ -o=src/ngrok/server/assets/assets_release.go \ assets/server/... go get -tags 'release' -d -v ngrok/... github.com/inconshreveable/go-update (download) package github.com/inconshreveable/go-update/check: cannot find package "github.com/inconshreveable/go-update/check" in any of: /usr/lib/go/src/github.com/inconshreveable/go-update/check (from $GOROOT) /tmp/yaourt-tmp-brad/aur-ngrok/src/ngrok/src/github.com/inconshreveable/go-update/check (from $GOPATH) github.com/inconshreveable/mousetrap (download) github.com/rcrowley/go-metrics (download) Fetching https://gopkg.in/yaml.v1?go-get=1 Parsing meta tags from https://gopkg.in/yaml.v1?go-get=1 (status code 200) get "gopkg.in/yaml.v1": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v1", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v1"} at https://gopkg.in/yaml.v1?go-get=1 gopkg.in/yaml.v1 (download) github.com/inconshreveable/go-vhost (download) package code.google.com/p/log4go: unable to detect version control system for code.google.com/ path github.com/nsf/termbox-go (download) github.com/mattn/go-runewidth (download) github.com/gorilla/websocket (download) Makefile:8: recipe for target 'deps' failed make: *** [deps] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

zekesonxx commented on 2016-01-09 03:51 (UTC)

@neersighted ngrok-bin is ngrok 2.0 so I would say leave this package as-is.

neersighted commented on 2015-08-05 16:24 (UTC)

I'm not sure how to go about updating to ngrok 2.0. It is a closed-source, totally different program. I'd like to keep this package (and ngrok-git) around. Does anyone object to a ngrok2 package?

foxxy commented on 2015-02-26 14:35 (UTC)

Failed to build with -j2 (or greater). I think the PKGBUILD needs to ensure -j1.

dumphblooz commented on 2015-02-21 10:04 (UTC)

==> Starting build()... go fmt ngrok/... go get github.com/jteeuwen/go-bindata go get github.com/jteeuwen/go-bindata # cd .; git clone https://github.com/jteeuwen/go-bindata /tmp/yaourt-tmp-nuklea/aur-ngrok/src/ngrok/src/github.com/jteeuwen/go-bindata fatal: destination path '/tmp/yaourt-tmp-nuklea/aur-ngrok/src/ngrok/src/github.com/jteeuwen/go-bindata' already exists and is not an empty directory. package github.com/jteeuwen/go-bindata: exit status 128 Makefile:30: recipe for target 'server-assets' failed make: *** [server-assets] Error 1 make: *** Waiting for unfinished jobs.... GOOS="" GOARCH="" go install github.com/jteeuwen/go-bindata/go-bindata bin/go-bindata -nomemcopy -pkg=assets -tags=release \ -debug=false \ -o=src/ngrok/client/assets/assets_release.go \ assets/client/... ==> ERROR: A failure occurred in build().

mvdan commented on 2015-02-02 00:24 (UTC)

Why is bzr a dependency? I don't see it being used anywhere.

neersighted commented on 2014-10-07 04:08 (UTC)

I'm not sure why this was flagged out of date, as 1.7 is the latest upstream release. Please comment or email me before flagging in the future. Thanks!

neersighted commented on 2014-09-26 22:13 (UTC)

Hmm, it seems to work fine on my machine. Could you please email me the full log from the failed build? Thanks! ps: my email is in first line of the PKGBUILD.

szabba commented on 2014-09-26 21:32 (UTC)

Github bounced me off of the source URL in the PKGBUILD. So I dropped the tag specifier and changed the URL scheme to git+http. Then I checked the tag out in the build function. I'm not sure whether the PKGBUILD didn't work because I have something set up wrong in my environment or it assumes something about the environment in which it's built that it shouldn't...

codemac commented on 2014-08-19 18:50 (UTC)

The build of this package fails if GOBIN is set in the shell that makepkg is running from. Maybe this isn't a concern, but tools like yaourt fail to properly isolate environments.

foxxy commented on 2014-07-10 18:42 (UTC)

Just updated, built correctly. Thanks.

neersighted commented on 2014-07-10 15:25 (UTC)

It's fine, I've got to look into why I'm not getting comment notifications. I wouldn't have seen your comment if you had not sent a request. Anyways, this should be an easy fix. For future reference, my PKGBUILDs[1] are on GitHub and I do take pull requests. [1]: https://github.com/neersighted/PKGBUILDs

foxxy commented on 2014-07-10 15:23 (UTC)

Hi neersighted. Sorry, I must seem a bit whiny and impatient.

neersighted commented on 2014-07-10 15:12 (UTC)

Also, FYI, two weeks[1] is the time since contacting the maintainer (assuming they are not on vacation) after which packages can be orphaned. [1]: https://wiki.archlinux.org/index.php/Arch_User_Repository#Other_requests

neersighted commented on 2014-07-10 15:07 (UTC)

I'm around, but somehow your comments hit my spam filter. I'll see what I can do today.

foxxy commented on 2014-07-05 09:19 (UTC)

Nailed it. The goals in the Makefiles do not correctly specify their dependencies and so cannot be built simultaneous. The ensure make does not attempt to "achieve" goals simultaneous use --jobs=1, e.g.; build() { cd -- "${scrdir}/ngrok make --jobs=1 release-client } Thanks for the package.

foxxy commented on 2014-07-05 08:36 (UTC)

Build fails in the following manner ==> Making package: ngrok 1.7-2 (Sat 5 Jul 09:35:28 BST 2014) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning ngrok git repo... Cloning into bare repository '/home/foxxy/Dropbox/scratch/ngrok-bin/ngrok'... remote: Reusing existing pack: 2588, done. remote: Counting objects: 196, done. remote: Compressing objects: 100% (143/143), done. remote: Total 2784 (delta 65), reused 137 (delta 33) Receiving objects: 100% (2784/2784), 712.11 KiB | 292.00 KiB/s, done. Resolving deltas: 100% (1259/1259), done. Checking connectivity... done. ==> Validating source files with md5sums... ngrok ... Skipped ==> Validating source files with sha1sums... ngrok ... Skipped ==> Validating source files with sha256sums... ngrok ... Skipped ==> Extracting sources... -> Creating working copy of ngrok git repo... Cloning into 'ngrok'... done. Switched to a new branch 'makepkg' ==> Starting build()... go get github.com/jteeuwen/go-bindata go get github.com/jteeuwen/go-bindata # cd .; git clone https://github.com/jteeuwen/go-bindata /home/foxxy/Dropbox/scratch/ngrok-bin/src/ngrok/src/github.com/jteeuwen/go-bindata fatal: could not create work tree dir '/home/foxxy/Dropbox/scratch/ngrok-bin/src/ngrok/src/github.com/jteeuwen/go-bindata'.: File exists package github.com/jteeuwen/go-bindata: exit status 128 Makefile:30: recipe for target 'server-assets' failed make: *** [server-assets] Error 1 make: *** Waiting for unfinished jobs.... GOOS="" GOARCH="" go install github.com/jteeuwen/go-bindata/go-bindata bin/go-bindata -nomemcopy -pkg=assets -tags=release \ -debug=false \ -o=src/ngrok/client/assets/assets_release.go \ assets/client/... ==> ERROR: A failure occurred in build(). Aborting...

roylines commented on 2014-06-17 19:22 (UTC)

I'm getting the following error when trying to install. Any ideas? > fatal: Cannot update paths and switch to branch 'makepkg' at the same time. Did you intend to checkout '1.7' which can not be resolved as commit?

phaseburn commented on 2013-11-20 23:47 (UTC)

Compilation fails due to a missing "hg" binary. Installed mercurial and it built fine. Please include that as a dependency as well as bumping to the latest version of ngrok.

KrzyStar commented on 2013-09-30 14:19 (UTC)

The package needs mercurial to build, I suggest adding it to the dependencies. :)