Package Details: firetunnel-git master-5

Git Clone URL: https://aur.archlinux.org/firetunnel-git.git (read-only, click to copy)
Package Base: firetunnel-git
Description: Tunneling program for Firejail sandboxes
Upstream URL: https://github.com/netblue30/firetunnel
Licenses: GPL
Conflicts: firetunnel
Provides: firetunnel
Submitter: cyrinux
Maintainer: cyrinux
Last Packager: cyrinux
Votes: 1
Popularity: 0.000000
First Submitted: 2018-09-09 20:03 (UTC)
Last Updated: 2023-01-11 16:13 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

glitsj16 commented on 2023-08-18 21:40 (UTC) (edited on 2023-08-18 21:41 (UTC) by glitsj16)

@dreieck See my earlier comment. The patch and suggested changes to this PKGBUILD still work. Nothing changed upstream.

dreieck commented on 2023-08-18 13:59 (UTC) (edited on 2023-08-18 14:00 (UTC) by dreieck)

Build fails for me with /usr/bin/ld: compress_l2.o (symbol from plugin): in function `compress_l2_size':

[...]
gcc  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -pie -Wl,-z,relro -Wl,-z,now -lpthread -o firetunnel blake2b-ref.o child.o compress_l2.o compress_l3.o compress_l4.o dns.o log.o main.o network.o packet.o profile.o scramble.o secret.o security.o usage.o -lseccomp 
/usr/bin/ld: compress_l2.o (symbol from plugin): in function `compress_l2_size':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: compress_l3.o (symbol from plugin): in function `compress_l3_size':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: compress_l4.o (symbol from plugin): in function `compress_l4_size':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: dns.o (symbol from plugin): in function `dns_set_tunnel':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: log.o (symbol from plugin): in function `logcnt':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: main.o (symbol from plugin): in function `have_syslog':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: network.o (symbol from plugin): in function `net_if_up':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: packet.o (symbol from plugin): in function `pkt_set_header':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: profile.o (symbol from plugin): in function `profile_defaultgw':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: scramble.o (symbol from plugin): in function `scramble':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: secret.o (symbol from plugin): in function `get_hash':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: security.o (symbol from plugin): in function `daemonize':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: usage.o (symbol from plugin): in function `usage':
(.text+0x0): multiple definition of `enc_dictionary'; child.o (symbol from plugin):(.text+0x0): first defined here
compress_l3.c: In function ‘sandbox’:
compress_l3.c:209:9: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=]
  209 |         memcpy(pkt + 26, s->addr, 8);
      |         ^
firetunnel.h:180:17: note: at offset -6 into destination object ‘eth’ of size 2000
  180 |         uint8_t eth[2000];      // enough room to fit a 1500 eth packet in
      |                 ^
firetunnel.h:180:17: note: at offset -6 into destination object ‘eth’ of size 2000
firetunnel.h:180:17: note: at offset -6 into destination object ‘eth’ of size 2000
compress_l3.c:221:9: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=]
  221 |         memcpy(pkt + 24, &checksum, 2);
      |         ^
firetunnel.h:180:17: note: at offset -8 into destination object ‘eth’ of size 2000
  180 |         uint8_t eth[2000];      // enough room to fit a 1500 eth packet in
      |                 ^
firetunnel.h:180:17: note: at offset -8 into destination object ‘eth’ of size 2000
firetunnel.h:180:17: note: at offset -8 into destination object ‘eth’ of size 2000
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:9: firetunnel] Error 1
make[1]: Leaving directory '/tmp/makepkg/build/firetunnel-git/src/firetunnel/src/firetunnel'
make: *** [Makefile:22: src/firetunnel] Error 2

Regards!

glitsj16 commented on 2021-05-07 05:41 (UTC)

Building from git is currently broken: https://github.com/netblue30/firetunnel/issues/2. I've made a PR to fix this, but that's pending review. Users who'd like to test can use this temporary PKGBUILD.

@cyrinux Feel free to integrate the above PKGBUILD in this one. There are still issues with it. Depends is missing libseccomp. And as that is architecture-dependant, the correct arch is x86_64 instead of 'any'. Provides array is misspelled,...

gambas commented on 2019-02-15 01:12 (UTC)

the pkbuild is broken, also depends=('') block the install

glitsj16 commented on 2018-12-08 14:52 (UTC)

@cyrinux: Thanks for offering this package. I wanted to suggest to the maintainer of the firejail-git package to add this as optdepends, but that wouldn't work untill a typo in your PKGBUILD is corrected (see below). In fact, might I point to a few issues/typos with the current PKGBUILD in general: (1) 'provides' (instead of 'provide') --> https://wiki.archlinux.org/index.php/PKGBUILD#provides; (2) 'backup' (instead of 'backups') + files in this array should use relative paths without the leading slash --> https://wiki.archlinux.org/index.php/PKGBUILD#backup; (3) source=("git+https://github.com/netblue30/firetunnel.git") would be closer to the Arch guidelines --> https://wiki.archlinux.org/index.php/VCS_package_guidelines#VCS_sources; (4) related to the above it would be nice to add '- GIT version' to the 'pkgdesc'

Regards