Package Details: chisel-tunnel 1.3.1-2

Git Clone URL: https://aur.archlinux.org/chisel-tunnel.git (read-only)
Package Base: chisel-tunnel
Description: A fast TCP tunnel over HTTP
Upstream URL: https://github.com/jpillora/chisel
Licenses: MIT
Submitter: connesc
Maintainer: connesc
Last Packager: connesc
Votes: 2
Popularity: 0.40
First Submitted: 2017-04-17 14:15
Last Updated: 2019-10-06 13:52

Latest Comments

OhadEytan commented on 2019-10-06 15:09

Great. Thanks for maintaining the package.

connesc commented on 2019-10-06 13:53

I have pushed the temporary fix ;-)

OhadEytan commented on 2019-10-06 13:19

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

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

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

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

OhadEytan commented on 2019-10-06 09:56

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