|
|
|
@ -2,13 +2,13 @@
|
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
release_number = 2;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Version: 1.2.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
@ -37,8 +37,8 @@ Summary: OpenConnect SSL VPN server
|
|
|
|
|
# To simplify licenses LGPLv2+ files have been promoted to GPLv2+.
|
|
|
|
|
License: GPLv2+ and BSD and MIT and CC0
|
|
|
|
|
URL: http://www.infradead.org/ocserv/
|
|
|
|
|
Source0: ftp://ftp.infradead.org/pub/ocserv/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: ftp://ftp.infradead.org/pub/ocserv/%{name}-%{version}.tar.xz.sig
|
|
|
|
|
Source0: https://www.infradead.org/ocserv/download/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: https://www.infradead.org/ocserv/download/%{name}-%{version}.tar.xz.sig
|
|
|
|
|
Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
|
|
|
|
Source3: ocserv.conf
|
|
|
|
|
Source4: ocserv.service
|
|
|
|
@ -202,8 +202,7 @@ mkdir -p -m 700 %{_sysconfdir}/pki/ocserv/private
|
|
|
|
|
mkdir -p %{_sysconfdir}/pki/ocserv/cacerts
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# The 1.2.0 release has a missing file
|
|
|
|
|
make check %{?_smp_mflags} VERBOSE=1 XFAIL_TESTS="test-group-cert"
|
|
|
|
|
make check %{?_smp_mflags} VERBOSE=1
|
|
|
|
|
|
|
|
|
|
%if %{use_systemd}
|
|
|
|
|
%post
|
|
|
|
@ -213,7 +212,7 @@ make check %{?_smp_mflags} VERBOSE=1 XFAIL_TESTS="test-group-cert"
|
|
|
|
|
%systemd_preun ocserv.service
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun ocserv.service
|
|
|
|
|
%systemd_postun_with_restart ocserv.service
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -280,6 +279,30 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 22 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.2-2
|
|
|
|
|
- Added packit config
|
|
|
|
|
|
|
|
|
|
* Thu Sep 21 2023 Packit <hello@packit.dev> - 1.2.2-1
|
|
|
|
|
- [packit] 1.2.2 upstream release
|
|
|
|
|
|
|
|
|
|
* Tue Aug 29 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.1-3
|
|
|
|
|
- config: increased log level to 3
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.1-2
|
|
|
|
|
- make check: no longer use xfail for missing file
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Packit <hello@packit.dev> - 1.2.1-1
|
|
|
|
|
- [packit] 1.2.1 upstream release
|
|
|
|
|
|
|
|
|
|
* Wed Aug 23 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.0-4
|
|
|
|
|
- corrected download link
|
|
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.0-3
|
|
|
|
|
- updated URIs of source
|
|
|
|
|
|
|
|
|
|
* Tue Aug 15 2023 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.2.0-2
|
|
|
|
|
- use %%systemd_postun_with_restart
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 1.2.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|