public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/certwatch] epel9: Initial revision
@ 2026-08-06  6:41 Joe Orton
  0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-08-06  6:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/certwatch
            Branch : epel9
            Commit : 7302e8f0aa8cc3e03035b067070ec8d2bccd624e
            Author : Joe Orton <jorton@redhat.com>
            Date   : 2020-07-01T14:18:03+01:00
            Stats  : +57/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/certwatch/c/7302e8f0aa8cc3e03035b067070ec8d2bccd624e?branch=epel9

            Log:
            Initial revision
Resolves: rhbz#1848404

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..57609cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/certwatch-1.2.tar.gz

diff --git a/certwatch.spec b/certwatch.spec
new file mode 100644
index 0000000..b2e2678
--- /dev/null
+++ b/certwatch.spec
@@ -0,0 +1,55 @@
+Name:           certwatch
+Version:        1.2
+Release:        1%{?dist}
+Summary:        SSL/TLS certificate expiry warning generator
+License:        GPLv2+
+URL:            https://github.com/notroj/certwatch
+Source0:        https://github.com/notroj/certwatch/archive/v%{version}.tar.gz#/certwatch-%{version}.tar.gz
+BuildRequires:  gcc, openssl-devel, xmlto, autoconf, automake
+BuildRequires:  perl(Test), perl(Test::Harness), perl(Test::Output), /usr/bin/openssl
+Obsoletes:      crypto-utils < 2.5-7
+
+%description
+This package provides a utility for generating warnings when SSL/TLS
+certificates are soon to expire. 
+
+%package mod_ssl
+Summary: SSL/TLS certificate expiry warnings for mod_ssl
+Requires: crontabs, mod_ssl, certwatch = %{version}-%{release}, /usr/sbin/sendmail
+
+%description mod_ssl
+The certwatch-mod_ssl package contains a cron script which runs a
+daily check for any expired or soon-to-expire certificates listed in
+the mod_ssl configuration.
+
+%prep
+%setup -q
+autoreconf -i
+
+%build
+%configure
+%make_build
+
+%install
+%make_install
+install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
+install -m 755 -p certwatch.cron $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/certwatch
+
+%check
+export TZ=UTC
+make check
+
+%files
+%{_bindir}/certwatch
+%license LICENSE
+%{_mandir}/man1/*
+
+%files -n certwatch-mod_ssl
+%ghost %{_sysconfdir}/sysconfig/certwatch
+%config(noreplace) %{_sysconfdir}/cron.daily/certwatch
+%{_mandir}/man5/*
+
+%changelog
+* Thu Jun 18 2020 Joe Orton <jorton@redhat.com> - 1.2-1
+- Initial revision
+

diff --git a/sources b/sources
new file mode 100644
index 0000000..08fa206
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (certwatch-1.2.tar.gz) = cc6e3a4759f6d9611da5b0716b33601de5e391305ef2f0041ab86aaa34e1d09c096ae20c179b16051b85757d7f4a4e0bfb3772dd45b326ed22f26ca0662e1db6

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

only message in thread, other threads:[~2026-08-06  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06  6:41 [rpms/certwatch] epel9: Initial revision Joe Orton

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