From: David P. <dp...@ec...> - 2006-03-05 17:58:49
|
Hi All, I don't know if this is of interest to anyone else but I needed to get = OpenVPN 2 working on my gumstix and thought I should post the (very = small) patch to get it to work. Regards David =20 Index: package/openvpn/openvpn.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- package/openvpn/openvpn.mk (revision 888) +++ package/openvpn/openvpn.mk (working copy) @@ -6,9 +6,9 @@ # to enable that within busybox # ############################################################# -OPENVPN_SOURCE:=3Dopenvpn-1.5.0.tar.gz -OPENVPN_SITE:=3Dhttp://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sour= ceforge/openvpn/ -OPENVPN_DIR:=3D$(BUILD_DIR)/openvpn-1.5.0 +OPENVPN_SOURCE:=3Dopenvpn-2.0.5.tar.gz +OPENVPN_SITE:=3Dhttp://openvpn.net/release/ +OPENVPN_DIR:=3D$(BUILD_DIR)/openvpn-2.0.5 OPENVPN_CAT:=3Dzcat OPENVPN_BINARY:=3Dopenvpn OPENVPN_TARGET_BINARY:=3Dusr/sbin/openvpn @@ -34,7 +34,7 @@ $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked (cd $(OPENVPN_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS=3D"$(TARGET_CFLAGS)" \ + CFLAGS=3D"$(TARGET_CFLAGS) -fno-inline" \ ./configure \ --target=3D$(GNU_TARGET_NAME) \ --host=3D$(GNU_TARGET_NAME) \ @@ -51,6 +51,8 @@ --infodir=3D/usr/info \ --program-prefix=3D"" \ $(THREAD_MODEL) \ + --with-lzo-headers=3D"$(STAGING_DIR)/usr/include" \ + --with-lzo-lib=3D"$(STAGING_DIR)/usr/lib" \ ); touch $(OPENVPN_DIR)/.configured =20 =20 =20 =20 |