Compare commits

..

12 commits

Author SHA1 Message Date
Stuart D. Gathman
63da791110 Add missing dependency on python3 2022-05-17 23:10:44 -04:00
Stuart D. Gathman
c586b00cf3 Merge branch 'main' into epel7 2021-10-28 19:50:29 -04:00
Stuart D. Gathman
1731066a26 Merge branch 'main' into epel7 2021-09-08 09:30:19 -04:00
Stuart D. Gathman
463fc8e1fd Merge branch 'main' into epel7 2021-09-08 00:07:40 -04:00
Stuart D. Gathman
c7bc830665 Merge branch 'main' into epel7 2021-09-07 22:01:26 -04:00
Stuart D. Gathman
0231e1b9b5 Set default days before expiration in /etc/sysconfig/acme-tiny 2021-09-07 21:59:37 -04:00
Stuart D. Gathman
8d397631d2 Merge branch 'main' into epel7 2021-09-07 21:57:03 -04:00
Stuart D. Gathman
5c1698c70e Set default days before expiration in /etc/sysconfig/acme-tiny 2021-09-07 21:49:26 -04:00
Stuart D. Gathman
28b015c71e Merge branch 'main' into epel7 2021-09-07 21:45:56 -04:00
Stuart D. Gathman
d6b2f7032e Set default days before expiration in /etc/sysconfig/acme-tiny 2021-09-07 21:45:22 -04:00
Stuart D. Gathman
a249b559ca Merge branch 'main' into epel7 2021-09-07 14:44:53 -04:00
Stuart D. Gathman
74f80d5569 Merge branch 'main' into epel7 2021-06-19 18:31:09 -04:00
2 changed files with 8 additions and 45 deletions

View file

@ -9,7 +9,7 @@
Name: acme-tiny
Version: 5.0.1
Release: 13%{?dist}
Release: 2%{?dist}
Summary: Tiny auditable script to issue, renew Let's Encrypt certificates
License: MIT
@ -27,7 +27,8 @@ Source10: acme-tiny-notify.service
Source11: acme-tiny.conf
Requires(pre): shadow-utils
BuildRequires: systemd-rpm-macros
# systemd macros are not defined unless systemd is present
BuildRequires: systemd
%{?systemd_requires}
Requires: %{name}-core = %{version}-%{release}
BuildArch: noarch
@ -49,7 +50,7 @@ acme_tiny on installed CSRs as the acme user for privilege separation.
%package core
Summary: Core python module of acme-tiny
Requires: openssl
Requires: openssl python3
%if 0%{?rhel} >= 5 && 0%{?rhel} < 7
# EL6 uses python2.6, which does not include argparse
Requires: python-argparse
@ -69,8 +70,6 @@ sed -i.orig -e '1,1 s,^.*python$,#!/usr/bin/python,' acme_tiny.py
sed -i.old -e '1,1 s/python$/python3/' *.py
%endif
echo 'u acme - "Tiny Auditable ACME Client" %{_sharedstatedir}/acme' >acme.sysusers.conf
%build
%install
@ -96,7 +95,6 @@ install -pm 644 %{SOURCE6} %{buildroot}%{_unitdir}
install -pm 644 %{SOURCE7} %{buildroot}%{_unitdir}
install -pm 644 %{SOURCE10} %{buildroot}%{_unitdir}
install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
install -m 0644 -D acme.sysusers.conf %{buildroot}%{_sysusersdir}/acme.conf
%pre
getent group acme > /dev/null || groupadd -r acme
@ -128,7 +126,6 @@ exit 0
%{_sbindir}/cert-check
%{_sbindir}/%{name}
%{_sysconfdir}/%{name}
%{_sysusersdir}/acme.conf
%files core
%license LICENSE
@ -136,46 +133,13 @@ exit 0
%{_sbindir}/acme_tiny
%changelog
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.0.1-11
- Add sysusers.d config file
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Mar 28 2023 Stuart D. Gathman <stuart@gathman.org> - 5.0.1-5
- Verified SPDX license
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue May 17 2022 Stuart D. Gathman <stuart@gathman.org> 5.0.1-2
- Add missing python3 dependency for new version
* Thu Oct 28 2021 Stuart D. Gathman <stuart@gathman.org> 5.0.1-1
- New upstream release
* Wed Sep 8 2021 Stuart D. Gathman <stuart@gathman.org> 4.1.1-2
* Tue Sep 8 2021 Stuart D. Gathman <stuart@gathman.org> 4.1.1-2
- Remove CLI override in acme-tiny.service (uses /etc/sysconfig/acme-tiny now)
* Tue Sep 7 2021 Stuart D. Gathman <stuart@gathman.org> 4.1.1-1

View file

@ -52,7 +52,6 @@ for cert in "$@"; do
# run any dropin extension
if test -x "$script"; then
[ "$verbose" = "y" ] && echo "Running $script $cert"
ACMEDIR="$acmedir" NOTIFY="$notify" VERBOSE="$verbose" "$script" "$cert"
"$script" "$cert"
fi
done