Browse Source

- remove obsolete openvpn-hd1 target

master
gixxpunk 7 years ago
parent
commit
ad85e9307d
  1. 26
      archive-patches/openvpn-fix-tun-device-for-coolstream.patch
  2. 28
      make/system-tools-extra.mk

26
archive-patches/openvpn-fix-tun-device-for-coolstream.patch

@ -1,26 +0,0 @@
From 7bd075fdb97349cfcde9a58a9b9003f2b1955d2d Mon Sep 17 00:00:00 2001
Message-Id: <7bd075fdb97349cfcde9a58a9b9003f2b1955d2d.1391456188.git.striper@gmx.de>
From: striper <striper@gmx.de>
Date: Mon, 3 Feb 2014 20:36:16 +0100
Subject: [PATCH] - fix tun device for coolstream
---
src/openvpn/tun.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c
index a361233..a6197be 100644
--- a/src/openvpn/tun.c
+++ b/src/openvpn/tun.c
@@ -1397,7 +1397,7 @@ open_tun (const char *dev, const char *dev_type, const char *dev_node, struct tu
*/
const char *node = dev_node;
if (!node)
- node = "/dev/net/tun";
+ node = "/dev/tun";
/*
* Open the interface
--
1.8.5.2

28
make/system-tools-extra.mk

@ -1,33 +1,5 @@
# makefile to build extra system tools (mostly unused)
$(D)/openvpn-hd1: $(D)/kernel-cst-hd1 $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $(TARGETPREFIX)
$(UNTAR)/openvpn-$(OPENVPN_VER).tar.xz
cd $(BUILD_TMP)/openvpn-$(OPENVPN_VER) && \
$(PATCH)/openvpn-fix-tun-device-for-coolstream.patch && \
$(BUILDENV) ./configure \
--build=$(BUILD) \
--host=$(TARGET) \
--prefix= \
--mandir=/.remove \
--docdir=/.remove \
--infodir=/.remove \
--enable-shared \
--disable-static \
--enable-small \
--enable-password-save \
--enable-management \
--disable-socks \
--disable-debug \
--disable-selinux \
--disable-plugins \
--disable-pkcs11 && \
$(MAKE) && \
$(MAKE) install DESTDIR=$(TARGETPREFIX)
cp -a $(MODULESDIR)/kernel/drivers/net/tun.ko $(TARGET_MODULE)
$(TARGET)-strip $(TARGETPREFIX)/sbin/openvpn
$(REMOVE)/openvpn-$(OPENVPN_VER)
touch $@
# usbutils-008 needs udev
USB_UTILS_VER=007
$(ARCHIVE)/usbutils-$(USB_UTILS_VER).tar.xz:

Loading…
Cancel
Save