public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/postsrsd] epel10: Merge branch 'epel9' into rawhide
@ 2026-06-14 1:27 David Beveridge
0 siblings, 0 replies; only message in thread
From: David Beveridge @ 2026-06-14 1:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/postsrsd
Branch : epel10
Commit : f106d7f0ccd5e515798d321d1c151431cc323aa0
Author : David Beveridge <dave@bevhost.com>
Date : 2026-06-04T19:41:06+10:00
Stats : +1/-202 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/postsrsd/c/f106d7f0ccd5e515798d321d1c151431cc323aa0?branch=epel10
Log:
Merge branch 'epel9' into rawhide
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7773a4c..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/postsrsd-*.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..ab7426e
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Retired: Long term failure to build
diff --git a/postsrsd.spec b/postsrsd.spec
deleted file mode 100644
index 25e5335..0000000
--- a/postsrsd.spec
+++ /dev/null
@@ -1,200 +0,0 @@
-%global build_options -DGENERATE_SRS_SECRET=OFF -DUSE_SELINUX=ON -DINIT_FLAVOR=systemd
-
-%undefine __cmake_in_source_build
-
-Name: postsrsd
-Version: 1.12
-Release: 3%{?dist}
-Summary: Sender Rewriting Scheme (SRS) provider
-
-License: GPLv2+
-URL: https://github.com/roehling/postsrsd
-Source0: https://github.com/roehling/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
-
-BuildRequires: make
-BuildRequires: cmake
-BuildRequires: gcc
-BuildRequires: help2man
-BuildRequires: selinux-policy-devel
-%{?systemd_requires}
-BuildRequires: systemd
-Requires(post): policycoreutils
-Requires(preun): policycoreutils
-Requires(postun): policycoreutils
-
-
-%description
-PostSRSd provides the Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix.
-SRS is needed if your mail server acts as forwarder.
-
-
-%prep
-%autosetup -n %{name}-%{version}
-%if (0%{?rhel} && 0%{?rhel} < 8)
-mkdir build
-cd build && %cmake .. %build_options
-%else
-%cmake %build_options
-%endif
-
-
-%build
-%if (0%{?rhel} && 0%{?rhel} < 8)
-%make_build -C build
-%else
-%cmake_build
-%endif
-
-
-%install
-%if (0%{?rhel} && 0%{?rhel} < 8)
-%make_install -C build
-%else
-%cmake_install
-%endif
-
-# %%ghost file requires it is present in the build root
-touch %{buildroot}/%{_sysconfdir}/postsrsd.secret
-
-# proper location for systemd config
-mkdir -p %{buildroot}/%{_unitdir}
-mv %{buildroot}/%{_sysconfdir}/systemd/system/postsrsd.service %{buildroot}/%{_unitdir}/postsrsd.service
-rm -rf %{buildroot}/%{_sysconfdir}/systemd
-
-# chroot directory
-# (also move default config which is in the way)
-sed -i 's/^CHROOT=.*/CHROOT=\/run\/postsrsd/' %{buildroot}/%{_sysconfdir}/default/%{name}
-sed -ri -e 's/postsrsd\/default/postsrsd.default/' \
- -e "s/(\[Install\])/RuntimeDirectory=postsrsd\nRuntimeDirectoryMode=0750\n\n\1/" %{buildroot}/%{_unitdir}/postsrsd.service
-
-
-%files
-%license LICENSE
-%ghost %{_sysconfdir}/postsrsd.secret
-%config(noreplace) %{_sysconfdir}/default/%{name}
-%{_unitdir}/postsrsd.service
-%{_sbindir}/postsrsd
-%{_docdir}/%{name}
-%{_mandir}/man8/postsrsd.8.gz
-%{_datadir}/selinux/packages/%{name}/postsrsd.pp
-%{_datadir}/postsrsd/postsrsd-systemd-launcher
-
-
-%post
-if [ "$1" -le "1" ] ; then # first install
-semodule -i %{_datadir}/selinux/packages/%{name}/postsrsd.pp || true
-fixfiles -R %{name} restore || true
-fi
-[ -f %{_sysconfdir}/postsrsd.secret ] || dd if=/dev/urandom bs=18 count=1 2>/dev/null | base64 >%{_sysconfdir}/postsrsd.secret
-# the admin may modify / restore from a backup, so better restore SELinux permissions unconditionally
-restorecon %{_sysconfdir}/postsrsd.secret
-%systemd_post %{name}.service
-
-
-%preun
-%systemd_preun %{name}.service
-if [ "$1" -lt "1" ] ; then # final removal
-semodule -r postsrsd 2>/dev/null || true
-fi
-
-
-%postun
-if [ "$1" -ge "1" ] ; then # upgrade
-semodule -i %{_datadir}/selinux/packages/%{name}/postsrsd.pp || true
-fixfiles -R %{name} restore || true
-fi
-%systemd_postun_with_restart %{name}.service
-#if [ "$1" -eq "0" ] ; then # final removal
-#fi
-
-
-%changelog
-* Tue Nov 29 2022 Marc Dequènes (Duck) <duck@redhat.com> - 1.12-3
-- fix changelog entry
-
-* Tue Nov 29 2022 Marc Dequènes (Duck) <duck@redhat.com> - 1.12-2
-- mark /etc/default/postsrsd as conffile
-
-* Wed Oct 26 2022 Marc Dequènes (Duck) <duck@redhat.com> - 1.12-1
-- NUR
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Mar 23 2021 Marc Dequènes (Duck) <duck@redhat.com> - 1.11-1
-- NUR
-
-* Fri Mar 19 2021 Alexander Boström <abo@root.snowtree.se> - 1.10-0.1
-- Update to 1.10
-- adds postsrsd-systemd-launcher wrapper script
-
-* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.6-3
-- Rebuilt for updated systemd-rpm-macros
- See https://pagure.io/fesco/issue/2583.
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Tue Oct 06 2020 Marc Dequènes (Duck) <duck@redhat.com> - 1.6-1
-- NUR
-- define INIT_FLAVOR as detection does not work in build environment
-- ensure build in not done in-source
-- add gcc to BuildRequires (removing it was a mistake)
-- add compat for EL7 around cmake_* macros
-
-* Thu Aug 13 2020 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-10.20170118gita77bf99
-- migrate to new cmake macros for out-of-source builds
-
-* Thu Oct 05 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-9.20170118gita77bf99
-- use the %%ghost feature to ensure the secret file is owned by the package
-- it is then not necessary to handle its removal in %%postun
-
-* Thu Sep 28 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-8.20170118gita77bf99
-- Thanks Matthias Runge Mauchin for the review
-- break description line too long
-- build dependency on gcc is not needed
-
-* Wed Sep 27 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-7.20170118gita77bf99
-- make the changelog more readable
-- stop recreating buildroot, it is made clean already
-
-* Wed Aug 23 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-6.20170118gita77bf99
-- remove unnecessary Requires on make
-- use _sysconfdir macro
-- use name macro when it makes sense
-- remove unnecessary %%doc as the buildsys already populates docdir
-
-* Tue Aug 22 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-5.20170118gita77bf99
-- remove %%clean section, not needed in Fedora
-
-* Tue Aug 22 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-4.20170118gita77bf99
-- don't remove secret file during upgrade
-- start service at the end of post scriptlet
-- improve SELinux rules handling (now requires a running SELinux)
-
-* Tue Aug 22 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-3.20170118gita77bf99
-- Thanks Robert-André Mauchin for the review
-- snapshot is packaged to get this necessary fix: https://github.com/roehling/postsrsd/pull/65
-- fixed version
-- fixed source URL
-- use macros for standard paths and build steps
-- add missing systemd scriptlets
-- specify doc and license files
-- remove unnecessary Requires on base64
-- remove Group information unsupported in Fedora
-
-* Fri Apr 14 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-2
-- create /etc/postsrsd.secret if missing
-- move systemd config into directory for packages
-- move chroot directory into /run
-- autocreate chroot directory
-
-* Thu Mar 30 2017 Marc Dequènes (Duck) <duck@redhat.com> - 1.4-1
-- initial packaging
-
diff --git a/sources b/sources
deleted file mode 100644
index 5aac219..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (postsrsd-1.12.tar.gz) = 9b83d89f8ac26ba0477998c495b0566295e16ae62a661a9edaef430cbc2eea592fe178b3686d0ad0578a808d13c13d526ac44a2360fd6e715d701887086fa51a
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-14 1:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 1:27 [rpms/postsrsd] epel10: Merge branch 'epel9' into rawhide David Beveridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox