hans: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
631b09645a
commit
5f29f8663d
@ -1091,6 +1091,7 @@ endif
|
||||
source "package/fping/Config.in"
|
||||
source "package/gesftpserver/Config.in"
|
||||
source "package/gutenprint/Config.in"
|
||||
source "package/hans/Config.in"
|
||||
source "package/hiawatha/Config.in"
|
||||
source "package/hostapd/Config.in"
|
||||
source "package/hplip/Config.in"
|
||||
|
13
package/hans/Config.in
Normal file
13
package/hans/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
comment "hans needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_HANS
|
||||
bool "hans"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Hans makes it possible to tunnel IPv4 through ICMP echo packets,
|
||||
so you could call it a ping tunnel.
|
||||
This can be useful when you find yourself in the situation
|
||||
that your Internet access is firewalled, but pings are allowed.
|
||||
|
||||
http://code.gerade.org/hans/
|
3
package/hans/hans.hash
Normal file
3
package/hans/hans.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# From http://sourceforge.net/projects/hanstunnel/files/source/
|
||||
md5 97a93a886bc766212257198fd99d1061 hans-0.4.4.tar.gz
|
||||
sha1 8a21a9acc6d52cf7d2a5049523469e2609716ab3 hans-0.4.4.tar.gz
|
20
package/hans/hans.mk
Normal file
20
package/hans/hans.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# hans
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HANS_VERSION = 0.4.4
|
||||
HANS_SITE = http://downloads.sourceforge.net/project/hanstunnel/source
|
||||
HANS_LICENSE = GPLv3+
|
||||
HANS_LICENSE_FILES = LICENSE
|
||||
|
||||
define HANS_BUILD_CMDS
|
||||
$(MAKE) GCC="$(TARGET_CC)" GPP="$(TARGET_CXX)" -C $(@D)
|
||||
endef
|
||||
|
||||
define HANS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 -D $(@D)/hans $(TARGET_DIR)/usr/sbin/hans
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue
Block a user