|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
|
Name: ocserv
|
|
|
|
|
Version: 0.11.3
|
|
|
|
|
Version: 0.11.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: OpenConnect SSL VPN server
|
|
|
|
|
|
|
|
|
@ -18,6 +18,7 @@ Source5: ocserv-pamd.conf
|
|
|
|
|
Source6: PACKAGE-LICENSING
|
|
|
|
|
Source8: ocserv-genkey
|
|
|
|
|
Source9: ocserv-script
|
|
|
|
|
Source10: gpgkey-56EE7FA9E8173B19FE86268D763712747F343FA7.gpg
|
|
|
|
|
|
|
|
|
|
# Taken from upstream:
|
|
|
|
|
# http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09
|
|
|
|
@ -74,7 +75,7 @@ uses the standard IETF security protocols such as TLS 1.2, and Datagram TLS
|
|
|
|
|
to provide the secure VPN service.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} || gpgv2 --keyring %{SOURCE10} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h
|
|
|
|
@ -83,7 +84,7 @@ rm -rf src/ccan/talloc
|
|
|
|
|
rm -f libopts/*.c libopts/*.h libopts/*/*.c libopts/*/*.h
|
|
|
|
|
rm -f src/pcl/*.c src/pcl/*.h
|
|
|
|
|
sed -i 's|/etc/ocserv.conf|/etc/ocserv/ocserv.conf|g' src/config.c
|
|
|
|
|
sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/*.config
|
|
|
|
|
sed -i 's/run-as-group = nogroup/run-as-group = nobody/g' tests/data/*.config
|
|
|
|
|
# GPLv3 in headers is a gnulib bug:
|
|
|
|
|
# http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00062.html
|
|
|
|
|
sed -i 's/either version 3 of the License/either version 2 of the License/g' build-aux/snippet/*
|
|
|
|
@ -161,6 +162,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_localstatedir}/lib/ocserv/profile.xml
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Aug 5 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.11.4-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Jun 16 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.11.3-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
|
|