]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- bcond for ssl
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 2 Feb 2005 11:39:35 +0000 (11:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.spec -> 1.90

lighttpd.spec

index 3aeb77c4d77709f1e80c9d38f1a434a10b176a39..bd3814577a642b4b70f85b601f743ec34eb1d1aa 100644 (file)
@@ -11,6 +11,7 @@
 %bcond_with    valgrind        # enable valgrind fixes in code.
 %bcond_without ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
 %bcond_without largefile       # without largefile support,
+%bcond_without ssl             # disable ssl support
 # use it if you have 2.4 kernel to get sendfile() support,
 # and don't need > 2GB file requests,
 # see http://article.gmane.org/gmane.comp.web.lighttpd:722
@@ -47,7 +48,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: bzip2-devel
 BuildRequires: libtool
-BuildRequires: openssl-devel
+%{?with_ssl:BuildRequires:     openssl-devel}
 BuildRequires: pcre-devel
 BuildRequires: rpmbuild(macros) >= 1.159
 BuildRequires: zlib-devel
@@ -126,7 +127,7 @@ pomocy serwera WWW ani samego programu.
        %{?with_ldap:--with-ldap} \
        %{!?with_ipv6:--disable-ipv6} \
        %{!?with_largefile:--disable-lfs} \
-       --with-openssl
+       %{?with_ssl:--with-openssl}
        
 %{__make}
 
This page took 0.228492 seconds and 4 git commands to generate.