|
|
b60b35d |
%global _hardened_build 1
|
|
|
b60b35d |
|
|
Ondrej Dvoracek |
9093eea |
Summary: A RFC 1413 ident protocol daemon
|
|
cvsdist |
b5c4a46 |
Name: authd
|
|
|
3fc68d6 |
Version: 1.4.4
|
|
|
920afd2 |
Release: 15%{?dist}
|
|
|
3c7ff32 |
License: GPLv2+
|
|
|
3fc68d6 |
URL: https://github.com/InfrastructureServices/authd
|
|
CAI Qian |
aa99f0b |
Obsoletes: pidentd < 3.2
|
|
cvsdist |
c91b4ac |
Provides: pidentd = 3.2
|
|
havill |
d3a6599 |
Requires(post): openssl
|
|
|
3fc68d6 |
Source0: https://github.com/InfrastructureServices/authd/releases/download/v1.4.4/authd-1.4.4.tar.gz
|
|
Roman Rakus |
dc6ab7c |
Source1: auth.socket
|
|
Roman Rakus |
dc6ab7c |
Source2: auth@.service
|
|
|
047607d |
BuildRequires: gcc
|
|
Roman Rakus |
a031794 |
BuildRequires: openssl-devel gettext help2man systemd-units
|
|
|
47b19a3 |
BuildRequires: make
|
|
Roman Rakus |
dc6ab7c |
Requires(post): systemd-units
|
|
Roman Rakus |
dc6ab7c |
Requires(preun): systemd-units
|
|
Roman Rakus |
dc6ab7c |
Requires(postun): systemd-units
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
b5c4a46 |
%description
|
|
cvsdist |
b5c4a46 |
authd is a small and fast RFC 1413 ident protocol daemon
|
|
cvsdist |
b5c4a46 |
with both xinetd server and interactive modes that
|
|
cvsdist |
b5c4a46 |
supports IPv6 and IPv4 as well as the more popular features
|
|
cvsdist |
b5c4a46 |
of pidentd.
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
b5c4a46 |
%prep
|
|
|
3fc68d6 |
%autosetup
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
b5c4a46 |
%build
|
|
|
b60b35d |
make prefix=%{_prefix} CFLAGS="%{optflags}" \
|
|
|
b60b35d |
LDFLAGS="-lcrypto %{build_ldflags}"
|
|
|
b60b35d |
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
b5c4a46 |
%install
|
|
|
3fc68d6 |
%make_install datadir=%{buildroot}/%{_datadir} \
|
|
|
3fc68d6 |
sbindir=%{buildroot}/%{_sbindir}
|
|
cvsdist |
b5c4a46 |
|
|
|
3fc68d6 |
install -d %{buildroot}%{_unitdir}/
|
|
|
3fc68d6 |
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
|
|
3fc68d6 |
install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/
|
|
cvsdist |
2fd2569 |
|
|
|
3fc68d6 |
install -d %{buildroot}%{_sysconfdir}/
|
|
|
3fc68d6 |
touch %{buildroot}%{_sysconfdir}/ident.key
|
|
cvsdist |
2fd2569 |
|
|
|
3fc68d6 |
install -d %{buildroot}/%{_mandir}/man1/
|
|
|
3fc68d6 |
help2man -N -v -V %{buildroot}/%{_sbindir}/in.authd -o \
|
|
|
3fc68d6 |
%{buildroot}/%{_mandir}/man1/in.authd.1
|
|
Roman Rakus |
dcd2db3 |
|
|
cvsdist |
b5c4a46 |
%find_lang %{name}
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
2fd2569 |
%post
|
|
Roman Rakus |
6db5117 |
/usr/sbin/adduser -s /sbin/nologin -u 98 -r -d '/' ident 2>/dev/null || true
|
|
cvsdist |
fb52d2c |
/usr/bin/openssl rand -base64 -out %{_sysconfdir}/ident.key 32
|
|
cvsdist |
2fd2569 |
echo CHANGE THE LINE ABOVE TO A PASSPHRASE >> %{_sysconfdir}/ident.key
|
|
cvsdist |
2fd2569 |
/bin/chown ident:ident %{_sysconfdir}/ident.key
|
|
cvsdist |
2fd2569 |
chmod o-rw %{_sysconfdir}/ident.key
|
|
Roman Rakus |
dc6ab7c |
%systemd_post auth.socket
|
|
cvsdist |
b5c4a46 |
|
|
|
af40a86 |
%postun
|
|
Roman Rakus |
dc6ab7c |
%systemd_postun_with_restart auth.socket
|
|
Roman Rakus |
dc6ab7c |
|
|
Roman Rakus |
dc6ab7c |
%preun
|
|
Roman Rakus |
dc6ab7c |
%systemd_preun auth.socket
|
|
|
af40a86 |
|
|
cvsdist |
b5c4a46 |
%files -f authd.lang
|
|
|
3fc68d6 |
%license COPYING
|
|
Roman Rakus |
0d4f71d |
%verify(not md5 size mtime user group) %config(noreplace) %attr(640,root,root) %{_sysconfdir}/ident.key
|
|
cvsdist |
fb52d2c |
%doc COPYING README.html rfc1413.txt
|
|
cvsdist |
b5c4a46 |
%{_sbindir}/in.authd
|
|
Roman Rakus |
dcd2db3 |
%{_mandir}/*/*
|
|
Roman Rakus |
dc6ab7c |
%{_unitdir}/*
|
|
cvsdist |
b5c4a46 |
|
|
cvsdist |
b5c4a46 |
%changelog
|
|
|
920afd2 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-15
|
|
|
920afd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
920afd2 |
|
|
|
cc6e9e6 |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-14
|
|
|
cc6e9e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
cc6e9e6 |
|
|
|
fc79b10 |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-13
|
|
|
fc79b10 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
fc79b10 |
|
|
|
ee6a354 |
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-12
|
|
|
ee6a354 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
ee6a354 |
|
|
|
96bc55c |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-11
|
|
|
96bc55c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
96bc55c |
|
|
|
b85ce2c |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-10
|
|
|
b85ce2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
b85ce2c |
|
|
|
89eff59 |
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.4.4-9
|
|
|
89eff59 |
- Rebuilt with OpenSSL 3.0.0
|
|
|
89eff59 |
|
|
|
620ba13 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-8
|
|
|
620ba13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
620ba13 |
|
|
|
a39cb14 |
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.4-7
|
|
|
a39cb14 |
- Rebuilt for updated systemd-rpm-macros
|
|
|
a39cb14 |
See https://pagure.io/fesco/issue/2583.
|
|
|
a39cb14 |
|
|
|
0656da4 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-6
|
|
|
0656da4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
0656da4 |
|
|
|
84bb08c |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-5
|
|
|
84bb08c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
84bb08c |
|
|
|
d3fdfe6 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
d3fdfe6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d3fdfe6 |
|
|
|
e093281 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
|
|
|
e093281 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e093281 |
|
|
|
b60b35d |
* Mon Feb 18 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.4.4-2
|
|
|
b60b35d |
- hardened build with fedora specific flags
|
|
|
b60b35d |
|
|
|
3fc68d6 |
* Tue Feb 12 2019 Pavel Zhukov <pzhukov@redhat.com> - 1.4.4-1
|
|
|
3fc68d6 |
- New release (v1.4.4)
|
|
|
3fc68d6 |
- New upstream URL
|
|
|
3fc68d6 |
|