packages: openvpn/openvpn.spec - without_pkcs11 bcond added
jajcus
jajcus at pld-linux.org
Tue Apr 5 13:49:42 CEST 2011
Author: jajcus Date: Tue Apr 5 11:49:42 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- without_pkcs11 bcond added
---- Files affected:
packages/openvpn:
openvpn.spec (1.161 -> 1.162)
---- Diffs:
================================================================
Index: packages/openvpn/openvpn.spec
diff -u packages/openvpn/openvpn.spec:1.161 packages/openvpn/openvpn.spec:1.162
--- packages/openvpn/openvpn.spec:1.161 Thu Jan 27 23:45:17 2011
+++ packages/openvpn/openvpn.spec Tue Apr 5 13:49:37 2011
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+
+# Conditional build:
+%bcond_without pkcs11 # build without PKCS#11 support
+
Summary: VPN Daemon
Summary(pl.UTF-8): Serwer VPN
Name: openvpn
@@ -23,7 +27,7 @@
BuildRequires: lzo-devel
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: pam-devel
-BuildRequires: pkcs11-helper-devel
+%{?with_pkcs11:BuildRequires: pkcs11-helper-devel}
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires: /sbin/ip
@@ -99,6 +103,7 @@
%{__automake}
%configure \
+ %{!?with_pkcs11:--disable-pkcs11} \
--enable-password-save \
--enable-pthread \
--enable-iproute2
@@ -186,6 +191,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.162 2011/04/05 11:49:37 jajcus
+- without_pkcs11 bcond added
+
Revision 1.161 2011/01/27 22:45:17 glen
- upstart hook
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openvpn/openvpn.spec?r1=1.161&r2=1.162&f=u
More information about the pld-cvs-commit
mailing list