Browse Source

uanytun: bump to v. 0.3.7

Adds support for openssl 1.1.0.
Removed all patches as they are now integrated into upstream.

Thanks to: Eneas U de Queiroz <cote2004-github@yahoo.com> for his OpenSSL patch

Signed-off-by: Christian Pointner <equinox@spreadspace.org>
lilik-openwrt-22.03
Christian Pointner 7 years ago
parent
commit
30ba69f1a4
2 changed files with 8 additions and 21 deletions
  1. +8
    -9
      net/uanytun/Makefile
  2. +0
    -12
      net/uanytun/patches/100-reproducible-builds.patch

+ 8
- 9
net/uanytun/Makefile View File

@ -12,12 +12,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uanytun
PKG_VERSION:=0.3.5
PKG_RELEASE:=2
PKG_VERSION:=0.3.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.anytun.org/download/
PKG_HASH:=8edeed2ce185cc1add8a53de9f9192dfa65a48b559cccae6393faf2a1cd6f093
PKG_HASH:=076318c771c908386c4408dda0769171542da701785302903641ce23fd33a295
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Christian Pointner <equinox@spreadspace.org>
PKG_LICENSE:=GPL-3.0+
@ -101,8 +101,7 @@ define Build/Configure
echo '#ifndef UANYTUN_version_h_INCLUDED' > version.h; \
echo '#define UANYTUN_version_h_INCLUDED' >> version.h; \
echo '' >> version.h; \
echo '#define VERSION_STRING_0 "uanytun version '`cat $(PKG_BUILD_DIR)/version`'"' >> version.h; \
echo '#define VERSION_STRING_1 "built on '`hostname`', '`date +"%d.%m.%Y %H:%M:%S %Z"`'"' >> version.h; \
echo '#define VERSION_STRING "uanytun version '`cat $(PKG_BUILD_DIR)/version`'"' >> version.h; \
echo '' >> version.h; \
echo '#endif' >> version.h \
)
@ -113,22 +112,22 @@ VARIANT_LDFLAGS:=-ldl
VARIANT_MAKE_OPTS:=
ifeq ($(BUILD_VARIANT),gcrypt)
VARIANT_CFLAGS+=-DUSE_GCRYPT
VARIANT_CFLAGS+=-DUSE_GCRYPT -DCRYPTO_LIB_NAME=\\\"libgcrypt\\\"
VARIANT_LDFLAGS+=-lgpg-error -lgcrypt
endif
ifeq ($(BUILD_VARIANT),nettle)
VARIANT_CFLAGS+=-DUSE_NETTLE
VARIANT_CFLAGS+=-DUSE_NETTLE -DCRYPTO_LIB_NAME=\\\"Nettle\\\"
VARIANT_LDFLAGS+=-lnettle
endif
ifeq ($(BUILD_VARIANT),sslcrypt)
VARIANT_CFLAGS+=-DUSE_SSL_CRYPTO
VARIANT_CFLAGS+=-DUSE_SSL_CRYPTO -DCRYPTO_LIB_NAME=\\\"OpenSSL\\\"
VARIANT_LDFLAGS+=-lcrypto
endif
ifeq ($(BUILD_VARIANT),nocrypt)
VARIANT_CFLAGS+=-DNO_CRYPT
VARIANT_CFLAGS+=-DNO_CRYPT -DCRYPTO_LIB_NAME=\\\"none\\\"
VARIANT_MAKE_OPTS+=NO_CRYPT_OBJ=1
endif


+ 0
- 12
net/uanytun/patches/100-reproducible-builds.patch View File

@ -1,12 +0,0 @@
Index: uanytun-0.3.5/src/options.c
===================================================================
--- uanytun-0.3.5.orig/src/options.c
+++ uanytun-0.3.5/src/options.c
@@ -481,7 +481,6 @@ void options_print_usage()
void options_print_version()
{
printf("%s\n", VERSION_STRING_0);
- printf("%s\n", VERSION_STRING_1);
}
void options_print(options_t* opt)

|||||||
x
 
000:0
Loading…
Cancel
Save