]> git.pld-linux.org Git - packages/vtun.git/commitdiff
- added conditional --without ssl; I need it, OK? vtun-2_5b1-5
authorrrw <rrw@hell.pl>
Thu, 4 Oct 2001 12:35:45 +0000 (12:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 5;

Changed files:
    vtun.spec -> 1.33

vtun.spec

index 713195accaa60d132ef49f8719a58a4de6baf5b1..df156848c45df1a19d67f1419a342c8c8cdf0c43 100644 (file)
--- a/vtun.spec
+++ b/vtun.spec
@@ -1,8 +1,11 @@
+# Conditional build:
+# _without_ssl - build without encryption ability
+
 Summary:       Virtual tunnel over TCP/IP networks
 Summary(pl):   Wirtualne tunele poprzez sieci TCP/IP
 Name:          vtun
 Version:       2.5b1
-Release:       4
+Release:       5
 Epoch:         1
 License:       GPL
 Group:         Networking/Daemons
@@ -18,7 +21,7 @@ URL:          http://vtun.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: autoconf
 BuildRequires: lzo-devel
-BuildRequires: openssl-devel >= 0.9.6a
+%{!?_without_ssl:BuildRequires:        openssl-devel >= 0.9.6a}
 BuildRequires: zlib-devel
 BuildRequires: bison
 BuildRequires: flex
@@ -54,7 +57,8 @@ protoko
 aclocal
 autoconf
 %configure \
-       --with-crypto-headers=%{_includedir}/openssl \
+       %{!?_without_ssl:--with-crypto-headers=%{_includedir}/openssl} \
+       %{?_without_ssl:--disable-ssl} \
        --enable-lzo
 %{__make}
 
This page took 0.024401 seconds and 4 git commands to generate.