Package Details: hanstunnel 0.4.4-3

Git Clone URL: https://aur.archlinux.org/hanstunnel.git (read-only)
Package Base: hanstunnel
Description: IP over ICMP, Hans makes it possible to tunnel IPv4 through ICMP echo packets
Upstream URL: http://code.gerade.org/hans/
Licenses: GPL3
Submitter: fnord0
Maintainer: izmntuk
Last Packager: izmntuk
Votes: 8
Popularity: 0.776559
First Submitted: 2010-10-04 09:36
Last Updated: 2015-09-05 12:21

Latest Comments

izmntuk commented on 2014-06-29 00:38

As version 0.4.4, the license should be GPL3

fnord0 commented on 2013-10-18 12:39

thanks dimich, I have added your patch to the archive, and now hans tunnel compiles properly

dimich commented on 2013-05-26 21:10

This patch fixes the compilation issue.

diff -ru hans-0.4.1.orig/worker.h hans-0.4.1/worker.h
--- hans-0.4.1.orig/worker.h 2013-05-27 00:05:34.083822947 +0300
+++ hans-0.4.1/worker.h 2013-05-27 00:08:07.107413645 +0300
@@ -25,6 +25,7 @@
#include "tun.h"

#include <string>
+#include <unistd.h>

class Worker
{

test0 commented on 2012-11-11 00:39

Confirm quetzal's situation.

quetzal commented on 2012-10-01 19:52

it does not compile:

g++ -c tun.cpp -c -g `sh osflags c `
g++ -c sha1.cpp -c -g `sh osflags c `
g++ -c main.cpp -c -g `sh osflags c `
In file included from client.h:23:0,
from main.cpp:20:
worker.h:32:65: erreur: ‘uid_t’ has not been declared
worker.h:32:76: erreur: ‘gid_t’ has not been declared
In file included from client.h:23:0,
from main.cpp:20:
worker.h:92:2: erreur: ‘uid_t’ does not name a type
worker.h:93:2: erreur: ‘gid_t’ does not name a type
In file included from main.cpp:20:0:
client.h:32:50: erreur: ‘uid_t’ has not been declared
client.h:32:61: erreur: ‘gid_t’ has not been declared
In file included from main.cpp:21:0:
server.h:34:107: erreur: ‘uid_t’ has not been declared
server.h:34:118: erreur: ‘gid_t’ has not been declared
main.cpp: In function ‘int main(int, char**)’:
main.cpp:85:56: erreur: ‘getopt’ was not declared in this scope
main.cpp:92:16: erreur: ‘optarg’ was not declared in this scope
main.cpp:204:15: erreur: ‘daemon’ was not declared in this scope
make: *** [main.o] Erreur 1