Add lzo support.
authorManuel Novoa III <mjn3@codepoet.org>
Thu, 11 Mar 2004 17:14:28 +0000 (17:14 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Thu, 11 Mar 2004 17:14:28 +0000 (17:14 -0000)
make/vtun.mk
sources/vtun.patch

index d62915ce64066dbf11118eba014d5225b728c751..595a6f82b29502b47d836f5815e5c33b8cfdf3a2 100644 (file)
@@ -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
 
index 373a9e1473c81bf19612b6a855dd0e681a2f42fd..00a12454eee40aafb39764f1258349564065ddf1 100644 (file)
@@ -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