Compare commits

..

32 Commits
f33 ... rawhide

Author SHA1 Message Date
Fedora Release Engineering
1628aac055 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 22:27:47 +00:00
Fedora Release Engineering
a593faeb19 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 01:38:36 +00:00
Nikos Mavrogiannopoulos
6f808d4213 Updated to 1.1.6 2022-02-17 13:12:08 +01:00
Nikos Mavrogiannopoulos
17e5b407a3 Fixes for gnutls 3.7.3 and glibc new syscalls 2022-02-10 16:06:01 +01:00
Fedora Release Engineering
7bbf448378 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 22:02:26 +00:00
Nikos Mavrogiannopoulos
1230c3d17a update to 1.1.4 2021-11-13 13:06:44 +01:00
Adrian Reber
ecf3bd2df8
Rebuilt for protobuf 3.19.0 2021-11-06 12:59:42 +01:00
Adrian Reber
32af46b9e7
Rebuilt for protobuf 3.18.1 2021-10-26 08:47:45 +02:00
Fedora Release Engineering
1412a40612 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:54:24 +00:00
Nikos Mavrogiannopoulos
86658a4f0a removed unused file 2021-06-02 09:28:31 +02:00
Nikos Mavrogiannopoulos
6f808faf0e updated to 1.1.3 2021-06-02 09:12:48 +02:00
Fedora Release Engineering
3d30df7cf7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:12:48 +00:00
Adrian Reber
65e0fa7408
Rebuilt for protobuf 3.14 2021-01-14 08:31:27 +01:00
Tom Stellard
e1cb96f264 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 03:24:47 +00:00
Nikos Mavrogiannopoulos
3a3280275f do not special case rhel8 for http-parser
The development headers are now shipped.
2020-12-09 09:44:52 +01:00
Nikos Mavrogiannopoulos
4fa9fe0ca2 skip patch that needs root 2020-12-06 20:08:56 +01:00
Nikos Mavrogiannopoulos
e9d48e920a Update to upstream 1.1.2 release 2020-12-06 14:12:28 +01:00
Nikos Mavrogiannopoulos
1400361cdd Rebuilt for ronn successor 2020-11-23 12:05:38 +01:00
Nikos Mavrogiannopoulos
f4653b5390 rebuilt for new radcli 2020-11-12 09:13:56 +01:00
Nikos Mavrogiannopoulos
26ab9a4fb3 spec: removed seccomp-trap debugging option 2020-10-30 09:04:58 +01:00
Nikos Mavrogiannopoulos
361405c03b Compile with new glibc 2020-10-30 08:45:39 +01:00
Nikos Mavrogiannopoulos
6326ab472d rebuild without pcllib 2020-10-29 09:54:59 +01:00
Nikos Mavrogiannopoulos
fc6fc1e94f do not treat TODO as document to install 2020-10-23 15:00:03 +02:00
Adrian Reber
5ee6ad0f36
Rebuilt for protobuf 3.13 2020-09-24 14:42:40 +02:00
Nikos Mavrogiannopoulos
b6e52d29bc corrected bogus date 2020-09-21 15:12:40 +02:00
Nikos Mavrogiannopoulos
184c39d298 disable socket_wrapper on archs where it causes problems 2020-09-21 14:51:06 +02:00
Nikos Mavrogiannopoulos
bd9a292f76 make check: be verbose 2020-09-21 13:51:50 +02:00
Nikos Mavrogiannopoulos
df7d3b4c34 removed xfail tests; they no longer fail 2020-09-21 13:01:57 +02:00
Nikos Mavrogiannopoulos
52adc1c385 ensure gnutls-utils are installed when building
This is needed for certain tests
2020-09-21 12:52:22 +02:00
Nikos Mavrogiannopoulos
745079e26b added resumption to XFAIL
This test seems to be failing
2020-09-21 12:51:10 +02:00
Nikos Mavrogiannopoulos
ea091e0b7b documented crypto policies change 2020-09-21 12:42:55 +02:00
Nikos Mavrogiannopoulos
71f2d63baa updated to 1.1.1 2020-09-21 12:37:59 +02:00
4 changed files with 71 additions and 29 deletions

8
.gitignore vendored
View File

@ -229,3 +229,11 @@
/ocserv-1.1.0.tar.xz.sig
/ocserv-1.1.1.tar.xz
/ocserv-1.1.1.tar.xz.sig
/ocserv-1.1.2.tar.xz
/ocserv-1.1.2.tar.xz.sig
/ocserv-1.1.3.tar.xz
/ocserv-1.1.3.tar.xz.sig
/ocserv-1.1.4.tar.xz
/ocserv-1.1.4.tar.xz.sig
/ocserv-1.1.6.tar.xz.sig
/ocserv-1.1.6.tar.xz

View File

@ -89,12 +89,6 @@ auth = "pam"
tcp-port = 443
udp-port = 443
# Accept connections using a socket file. It accepts HTTP
# connections (i.e., without SSL/TLS unlike its TCP counterpart),
# and uses it as the primary channel. That option cannot be
# combined with certificate authentication.
#listen-clear-file = /var/run/ocserv-conn.socket
# The user the worker processes will be run as. It should be
# unique (no other services run as this user).
run-as-user = ocserv

View File

@ -1,5 +1,5 @@
Version: 1.1.1
Release: 1%{?dist}
Version: 1.1.6
Release: 3%{?dist}
%global _hardened_build 1
%if 0%{?fedora} || 0%{?rhel} >= 7
@ -18,12 +18,6 @@ Release: 1%{?dist}
%define use_geoip 1
%endif
%if 0%{?rhel} && 0%{?rhel} == 8
%define use_http_parser 0
%else
%define use_http_parser 1
%endif
%define use_local_protobuf 0
Name: ocserv
@ -48,6 +42,7 @@ Source11: ocserv.init
# Taken from upstream:
# http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09
BuildRequires: make
BuildRequires: gcc
%if 0%{?rhel} && 0%{?rhel} <= 6
BuildRequires: gnutls30-devel
@ -67,12 +62,9 @@ BuildRequires: libnl3-devel
BuildRequires: krb5-devel
BuildRequires: libtasn1-devel
BuildRequires: gperf
BuildRequires: pcllib-devel
BuildRequires: libtalloc-devel
BuildRequires: libev-devel
%if %{use_http_parser}
BuildRequires: http-parser-devel
%endif
%if %{use_libwrap}
BuildRequires: tcp_wrappers-devel
@ -113,7 +105,7 @@ BuildRequires: libseccomp-devel
# no rubygem in epel7
%if 0%{?fedora}
BuildRequires: rubygem(ronn)
BuildRequires: rubygem-ronn-ng
%endif
Recommends: gnutls-utils
@ -148,15 +140,12 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} || gpgv2 --keyring %{SOURCE10}
%autosetup -p1
%if %{use_http_parser}
rm -f src/http-parser/http_parser.c src/http-parser/http_parser.h
%endif
%if (0%{?use_local_protobuf} == 0)
rm -rf src/protobuf/protobuf-c/
touch src/*.proto
%endif
rm -rf src/ccan/talloc
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/data/*.config
# GPLv3 in headers is a gnulib bug:
@ -179,6 +168,7 @@ autoreconf -fvi
%endif
%configure \
--without-pcl-lib \
%if %{use_systemd}
--enable-systemd \
%else
@ -187,16 +177,13 @@ autoreconf -fvi
%if %{use_local_protobuf}
--without-protobuf \
%endif
%if ! %{use_http_parser}
--without-http-parser \
%endif
%if %{use_libwrap}
--with-libwrap
%else
--without-libwrap
%endif
make #%{?_smp_mflags}
make %{?_smp_mflags}
%pre
getent group ocserv &>/dev/null || groupadd -r ocserv
@ -263,7 +250,7 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
%config(noreplace) %{_sysconfdir}/pam.d/ocserv
%config(noreplace) %{_localstatedir}/lib/ocserv/profile.xml
%doc AUTHORS ChangeLog NEWS COPYING LICENSE README.md TODO PACKAGE-LICENSING
%doc AUTHORS ChangeLog NEWS COPYING LICENSE README.md PACKAGE-LICENSING
%doc src/ccan/licenses/CC0 src/ccan/licenses/LGPL-2.1 src/ccan/licenses/BSD-MIT
%{_mandir}/man8/ocserv.8*
@ -285,7 +272,60 @@ install -D -m 0755 %{SOURCE11} %{buildroot}/%{_initrddir}/%{name}
%endif
%changelog
* Thu Sep 21 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.1-1
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 17 2022 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.6-1
- Updated to 1.1.6
* Thu Feb 10 2022 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.4-3
- Update seccomp rules to allow the futex syscall
- Workaround incompatible API change in GnuTLS 3.7.3.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Nov 13 2021 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.4-1
- Update to upstream 1.1.4 release
* Sat Nov 06 2021 Adrian Reber <adrian@lisas.de> - 1.1.3-4
- Rebuilt for protobuf 3.19.0
* Tue Oct 26 2021 Adrian Reber <adrian@lisas.de> - 1.1.3-3
- Rebuilt for protobuf 3.18.1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 2 2021 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.3-1
- Updated to latest release
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 08:31:24 CET 2021 Adrian Reber <adrian@lisas.de> - 1.1.2-2
- Rebuilt for protobuf 3.14
* Sun Dec 6 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.2-1
- Update to upstream 1.1.2 release
* Mon Nov 23 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.1.1-5
- Rebuilt for ronn successor
* Wed Nov 11 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.1.1-4
- Rebuilt for radcli 1.3.0
* Thu Oct 29 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.1-3
- Rebuild without pcllib dependency
- Enhanced seccomp filters for tests to run in all architectures
* Thu Sep 24 2020 Adrian Reber <adrian@lisas.de> - 1.1.1-2
- Rebuilt for protobuf 3.13
* Mon Sep 21 2020 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> - 1.1.1-1
- Update to upstream 1.1.1 release
- Set default priorities to NORMAL as using @SYSTEM is no longer necessary
to follow crypto policies.

View File

@ -1,2 +1,2 @@
SHA512 (ocserv-1.1.1.tar.xz) = 1173416f0d32f9faf98e539c8e73316a50ac93b519d1ade19374a3df865d10d975e13ac53e0c5a5e77c80f3605d7a810287b18b85b798887d227389761b54220
SHA512 (ocserv-1.1.1.tar.xz.sig) = 9fe0f3e2ea4daaf1d053c2cdc87d38dc8256feb11c16f93e7e677500457914a82e659901f77f6ec4ca175fceeec74e3f8d001412c969c18dcf486545bac83393
SHA512 (ocserv-1.1.6.tar.xz.sig) = 2a87768ad63d40053732fa011bbeb3532c9673296b9be299bf8f7d8dd3dd35571eee96c0b4fa9bf5a30633b4c844337ab3d562d6ea2b6ad8efca084eb5e6f502
SHA512 (ocserv-1.1.6.tar.xz) = d1c5e5cf0e84aab168ed51516534df8b2968194dd1421f33563c61b3e47d5d79ebe9e6ffbf7cbcc9ff1242fae05151024f70ef586d063bec0b3eec00050bfdfa