summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-11 17:14:28 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-11 17:14:28 +0000
commit4c8e1eb4cc6eb730b3e18c17b6b8f954f7067c45 (patch)
treed7582a7b966ce16fe471ba8b550cd53cdcf19eeb
parentaf08b68982c53c54fdbefa0dc3dc6e8d01b8c34e (diff)
Add lzo support.
-rw-r--r--make/vtun.mk5
-rw-r--r--sources/vtun.patch11
2 files changed, 14 insertions, 2 deletions
diff --git a/make/vtun.mk b/make/vtun.mk
index d62915ce6..595a6f82b 100644
--- a/make/vtun.mk
+++ b/make/vtun.mk
@@ -25,7 +25,7 @@ $(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE)
cat $(VTUN_PATCH) | patch -p1 -d $(VTUN_DIR)
touch $(VTUN_DIR)/.unpacked
-$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
+$(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked zlib lzo openssl
(cd $(VTUN_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
./configure \
@@ -42,7 +42,8 @@ $(VTUN_DIR)/.configured: $(VTUN_DIR)/.unpacked
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
- --disable-lzo \
+ --with-ssl-headers=$(STAGING_DIR)/include/openssl \
+ --with-lzo-headers=$(STAGING_DIR)/include \
);
touch $(VTUN_DIR)/.configured
diff --git a/sources/vtun.patch b/sources/vtun.patch
index 373a9e147..00a12454e 100644
--- a/sources/vtun.patch
+++ b/sources/vtun.patch
@@ -173,3 +173,14 @@ diff -urN vtun/scripts/vtund.rc.debian vtun-2.6/scripts/vtund.rc.debian
+ ;;
+esac
+exit 0
+--- vtun-2.6/configure.dist 2004-03-11 10:39:10.000000000 -0600
++++ vtun-2.6/configure 2004-03-11 10:45:52.000000000 -0600
+@@ -2112,7 +2112,7 @@
+ echo $ac_n "checking "for blowfish.h"""... $ac_c" 1>&6
+ echo "configure:2114: checking "for blowfish.h"" >&5
+ ac_hdr_found=no
+- for p in $BLOWFISH_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto; do
++ for p in $BLOWFISH_HDR_DIR $SSL_HDR_DIR /usr/include/ssl /usr/include/openssl /usr/include /usr/local/include /usr/local/ssl/include /usr/include/crypto; do
+ if test -n "$p"; then
+ dir="$p"
+ else