public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/acme-tiny] rawhide: Merge #4 `update existing crt in case csr is newer`
@ 2026-08-22 16:02 FAS Stuart D Gathman
  0 siblings, 0 replies; only message in thread
From: FAS Stuart D Gathman @ 2026-08-22 16:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/acme-tiny
Branch : rawhide
Commit : 5067c3b85a2c694de821d2df8b3c52c516b3ba41
Author : FAS Stuart D Gathman <sdgathman@fedoraproject.org>
Date   : 2026-08-22T16:02:55+00:00
Stats  : +37/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/acme-tiny/c/5067c3b85a2c694de821d2df8b3c52c516b3ba41?branch=rawhide

Log:
Merge #4 `update existing crt in case csr is newer`

---
diff --git a/acme-tiny-sign.sh b/acme-tiny-sign.sh
index 9999005..20a2c26 100755
--- a/acme-tiny-sign.sh
+++ b/acme-tiny-sign.sh
@@ -32,7 +32,7 @@ for csr in csr/*.csr; do
   tmp="certs/${crt##csr/}.tmp"
   crt="certs/${crt##csr/}.crt"
   if test -s "$crt" && openssl x509 -in "$crt" -noout -checkend "$secs"; then
-    continue
+    [ $csr -nt $crt ] || continue
   fi
   if test -w "$crt" || test ! -e "$crt"; then
     echo acme_tiny --account-key private/account.key --csr "$csr" \

diff --git a/acme-tiny.spec b/acme-tiny.spec
index 5a554b9..2f2312a 100644
--- a/acme-tiny.spec
+++ b/acme-tiny.spec
@@ -9,7 +9,7 @@
 
 Name:		acme-tiny
 Version:	5.0.1
-Release:	6%{?dist}
+Release:	16%{?dist}
 Summary:	Tiny auditable script to issue, renew Let's Encrypt certificates
 
 License:	MIT
@@ -27,8 +27,7 @@ Source10:	acme-tiny-notify.service
 Source11:	acme-tiny.conf
 
 Requires(pre): shadow-utils
-# systemd macros are not defined unless systemd is present
-BuildRequires: systemd
+BuildRequires: systemd-rpm-macros
 %{?systemd_requires}
 Requires: %{name}-core = %{version}-%{release}
 BuildArch:	noarch
@@ -70,6 +69,8 @@ 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
@@ -95,6 +96,7 @@ 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
@@ -126,6 +128,7 @@ exit 0
 %{_sbindir}/cert-check
 %{_sbindir}/%{name}
 %{_sysconfdir}/%{name}
+%{_sysusersdir}/acme.conf
 
 %files core
 %license LICENSE
@@ -133,6 +136,36 @@ exit 0
 %{_sbindir}/acme_tiny
 
 %changelog
+* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 5.0.1-15
+- Rebuilt for openssl 4.0
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* 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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-22 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-22 16:02 [rpms/acme-tiny] rawhide: Merge #4 `update existing crt in case csr is newer` FAS Stuart D Gathman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox