From: Manuel Novoa III Date: Thu, 11 Mar 2004 17:14:28 +0000 (-0000) Subject: Add lzo support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c8e1eb4cc6eb730b3e18c17b6b8f954f7067c45;p=buildroot.git Add lzo support. --- diff --git a/make/vtun.mk b/make/vtun.mk index d62915ce64..595a6f82b2 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 373a9e1473..00a12454ee 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