SPECS: openvpn.spec - up to 2.1rc2
arekm
arekm at pld-linux.org
Mon Mar 12 08:25:08 CET 2007
Author: arekm Date: Mon Mar 12 07:25:08 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 2.1rc2
---- Files affected:
SPECS:
openvpn.spec (1.125 -> 1.126)
---- Diffs:
================================================================
Index: SPECS/openvpn.spec
diff -u SPECS/openvpn.spec:1.125 SPECS/openvpn.spec:1.126
--- SPECS/openvpn.spec:1.125 Sun Feb 25 17:25:35 2007
+++ SPECS/openvpn.spec Mon Mar 12 08:25:03 2007
@@ -1,24 +1,18 @@
# $Revision$, $Date$
-# TODO
-# - RFC: currently plugins were installed to /usr/%{_lib}/openvpn/plugins,
-# perhaps just /usr/%{_lib} as they're prefixed with openvpn-? pros from
-# this is that then you don't need to specify full path to plugins
-# in openvpn.conf
Summary: VPN Daemon
Summary(pl.UTF-8): Serwer VPN
Name: openvpn
-Version: 2.0.9
-Release: 4
+%define snap rc2
+Version: 2.1
+Release: 0.%{snap}.1
License: GPL
Group: Networking/Daemons
-Source0: http://openvpn.net/release/%{name}-%{version}.tar.gz
-# Source0-md5: 60745008b90b7dbe25fe8337c550fec6
+Source0: http://openvpn.net/release/%{name}-%{version}_%{snap}.tar.gz
+# Source0-md5: 853c81d2de51d85b5381d4c7f7f074e3
Source1: %{name}.init
Source2: %{name}.sysconfig
-Patch0: %{name}-2.0_rc16MH.patch
-Patch1: %{name}-optflags.patch
-Patch2: easy-rsa2.patch
-Patch3: %{name}-tcp-client-bind.patch
+Patch0: %{name}-optflags.patch
+Patch1: easy-rsa2.patch
URL: http://openvpn.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -81,11 +75,9 @@
<http://openvpn.net/howto.html>.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}_%{snap}
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%build
%{__aclocal}
@@ -94,6 +86,7 @@
%{__automake}
%configure \
+ --enable-password-save \
--enable-pthread \
--enable-iproute2
%{__make}
@@ -123,6 +116,10 @@
cp -a easy-rsa/2.0/{build-*,clean-all,inherit-inter,list-crl,revoke-full,sign-req} $RPM_BUILD_ROOT%{_datadir}/easy-rsa
cp -a easy-rsa/2.0/pkitool $RPM_BUILD_ROOT%{_sbindir}
+#
+cp -f plugin/auth-pam/README README.auth-pam
+cp -f plugin/down-root/README README.down-root
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -138,7 +135,8 @@
%files
%defattr(644,root,root,755)
-%doc AUTHORS README ChangeLog sample-config-files sample-keys sample-scripts
+%doc AUTHORS README* ChangeLog sample-config-files sample-keys sample-scripts
+%doc management/management-notes.txt
%dir %{_sysconfdir}/openvpn
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
%attr(755,root,root) %{_sbindir}/openvpn
@@ -165,12 +163,16 @@
%dir %{_datadir}/easy-rsa
%attr(755,root,root) %{_datadir}/easy-rsa/*
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.126 2007/03/12 07:25:03 arekm
+- up to 2.1rc2
+
Revision 1.125 2007/02/25 16:25:35 glen
- drop Version: from easy-rsa
- update Group: of easy-rsa
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/openvpn.spec?r1=1.125&r2=1.126&f=u
More information about the pld-cvs-commit
mailing list