Disable make check due to lack of md5 support.

epel8
Jon Ciesla 11 years ago
parent 2153c50ff8
commit 9359ca77ef

@ -94,34 +94,34 @@ find contrib sample -type f -perm /100 \
# %{__make} -C src/plugins/$plugin # %{__make} -C src/plugins/$plugin
#done #done
%check #%check
# Test Crypto: ## Test Crypto:
./src/openvpn/openvpn --genkey --secret key #./src/openvpn/openvpn --genkey --secret key
./src/openvpn/openvpn --test-crypto --secret key #./src/openvpn/openvpn --test-crypto --secret key
#
# Randomize ports for tests to avoid conflicts on the build servers. ## Randomize ports for tests to avoid conflicts on the build servers.
cport=$[ 50000 + ($RANDOM % 15534) ] #cport=$[ 50000 + ($RANDOM % 15534) ]
sport=$[ $cport + 1 ] #sport=$[ $cport + 1 ]
sed -e 's/^\(rport\) .*$/\1 '$sport'/' \ #sed -e 's/^\(rport\) .*$/\1 '$sport'/' \
-e 's/^\(lport\) .*$/\1 '$cport'/' \ # -e 's/^\(lport\) .*$/\1 '$cport'/' \
< sample/sample-config-files/loopback-client \ # < sample/sample-config-files/loopback-client \
> %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client # > %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client
sed -e 's/^\(rport\) .*$/\1 '$cport'/' \ #sed -e 's/^\(rport\) .*$/\1 '$cport'/' \
-e 's/^\(lport\) .*$/\1 '$sport'/' \ # -e 's/^\(lport\) .*$/\1 '$sport'/' \
< sample/sample-config-files/loopback-server \ # < sample/sample-config-files/loopback-server \
> %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server # > %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server
#
pushd sample #pushd sample
# Test SSL/TLS negotiations (runs for 2 minutes): ## Test SSL/TLS negotiations (runs for 2 minutes):
../src/openvpn/openvpn --config \ #../src/openvpn/openvpn --config \
%{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client & # %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client &
../src/openvpn/openvpn --config \ #../src/openvpn/openvpn --config \
%{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server # %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server
wait #wait
popd #popd
#
rm -f %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client \ #rm -f %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-client \
%{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server # %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u})-loopback-server
%install %install
#install -D -m 0644 doc/%{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8 #install -D -m 0644 doc/%{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8
@ -206,6 +206,8 @@ fi
%changelog %changelog
* Fri May 02 2014 Jon Ciesla <limburgher@gmail.com> 2.3.4-1 * Fri May 02 2014 Jon Ciesla <limburgher@gmail.com> 2.3.4-1
- 2.3.4. - 2.3.4.
- Disable make check until upstream provides non-md5 sample keys.
- Filed upstream https://community.openvpn.net/openvpn/ticket/400#ticket
* Fri Apr 11 2014 Jon Ciesla <limburgher@gmail.com> 2.3.3-1 * Fri Apr 11 2014 Jon Ciesla <limburgher@gmail.com> 2.3.3-1
- Latest uptream, needs pkcs11-helper >= 1.11 - Latest uptream, needs pkcs11-helper >= 1.11

Loading…
Cancel
Save