Package Details: chisel-tunnel-bin 1.9.1-1

Git Clone URL: https://aur.archlinux.org/chisel-tunnel-bin.git (read-only, click to copy)
Package Base: chisel-tunnel-bin
Description: A fast TCP tunnel over HTTP
Upstream URL: https://github.com/jpillora/chisel
Keywords: chisel http jpillora proxy socks socks5 ssh tcp tunnel websocket
Licenses: MIT
Conflicts: chisel-tunnel
Provides: chisel-tunnel
Submitter: connesc
Maintainer: connesc
Last Packager: connesc
Votes: 2
Popularity: 0.000000
First Submitted: 2021-01-08 19:29 (UTC)
Last Updated: 2023-08-26 11:25 (UTC)

Latest Comments

connesc commented on 2021-01-08 19:21 (UTC) (edited on 2021-01-08 22:55 (UTC) by connesc)

Sure, I will ask for a renaming.

EDIT: Done.

djmattyg007 commented on 2021-01-03 07:09 (UTC)

This package should be renamed to 'chisel-tunnel-bin', as it's downloading pre-compiled binaries rather than compiling the source code manually.

OhadEytan commented on 2019-10-06 15:09 (UTC)

Great. Thanks for maintaining the package.

connesc commented on 2019-10-06 13:53 (UTC)

I have pushed the temporary fix ;-)

OhadEytan commented on 2019-10-06 13:19 (UTC)

Thanks. I just understood that extraction is the problem.

[BTW, if you add your line in the PKGBUILD package() section, the src/ is unneeded. So: zcat "chisel_${pkgver}_$CARCH.gz" > "chisel_${pkgver}_$CARCH" will do]

connesc commented on 2019-10-06 13:09 (UTC) (edited on 2019-10-06 13:46 (UTC) by connesc)

Well, you're right, I get the same error. This looks like a makepkg bug. I see here that makepkg uses file -iz for compression detection. However, file produces an incorrect output starting with version 5.37. I will try to report this somewhere.

In the meantime, you can perform decompression manually like this:

zcat src/chisel_1.3.1_x86_64.gz > src/chisel_1.3.1_x86_64

EDIT: bug reported here.

OhadEytan commented on 2019-10-06 11:56 (UTC) (edited on 2019-10-06 12:00 (UTC) by OhadEytan)

Otherwise I got:

==> Extracting sources...
==> Sources are ready.
==> Making package: chisel-tunnel 1.3.1-1 (Sun 06 Oct 2019 02:55:20 PM IDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'chisel_1.3.1_x86_64': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
Error making: chisel-tunnel

Perhaps I have some other problem

connesc commented on 2019-10-06 11:21 (UTC)

@OhadEytan: why? The gzip file is automatically uncompressed by makepkg.

OhadEytan commented on 2019-10-06 09:56 (UTC) (edited on 2019-10-06 13:22 (UTC) by OhadEytan)

Edit: THIS IS A WRONG SOLUTION

Hey,

You should add an ".gz" extension in the 28th line of the PKGBUILD:

------------------------------------------ V -------------------------

install -D -m755 "chisel_${pkgver}_$CARCH.gz" "$pkgdir/usr/bin/chisel"

Thanks