tinc: new package

[Thomas:
 - fix license from GPLv2 to 'GPLv2+ with OpenSSL exception'
 - add -std=c99 to CFLAGS, otherwise it doesn't build with a minimal
   toolchain configuration
 - add BR2_USE_MMU dependency since fork() is used.]

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015.08.x
Zoltan Gyarmati 2014-12-16 15:47:58 +01:00 committed by Thomas Petazzoni
parent 66cfe52fe4
commit 50440196ae
3 changed files with 27 additions and 0 deletions

View File

@ -1140,6 +1140,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/tftpd/Config.in"
endif
source "package/thttpd/Config.in"
source "package/tinc/Config.in"
source "package/tinyhttpd/Config.in"
source "package/tn5250/Config.in"
source "package/transmission/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_TINC
bool "tinc"
select BR2_PACKAGE_LZO
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
depends on BR2_USE_MMU # fork()
help
tinc is a Virtual Private Network (VPN) daemon that uses
tunnelling and encryption to create a secure private network
between hosts on the Internet.
http://www.tinc-vpn.org/

View File

@ -0,0 +1,14 @@
################################################################################
#
# tinc
#
################################################################################
TINC_VERSION = 1.0.24
TINC_SITE = http://www.tinc-vpn.org/packages
TINC_DEPENDENCIES = lzo openssl zlib
TINC_LICENSE = GPLv2+ with OpenSSL exception
TINC_LICENSE_FILES = COPYING COPYING.README
TINC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
$(eval $(autotools-package))