SHA256
1
0
forked from pool/postsrsd

- Update to release 2.0.2

OBS-URL: https://build.opensuse.org/package/show/server:mail/postsrsd?expand=0&rev=9
This commit is contained in:
Jan Engelhardt 2023-01-07 15:14:54 +00:00 committed by Git OBS Bridge
parent d12a93b11e
commit d31e92463a
4 changed files with 30 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d9e66db879ae04e1332078867ae9b29718824fa5aec02d6015dccd1bd76585d
size 36860

3
2.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2734d8d42670664263cd995526494372af23b87eb892d9e22bc98c67b9798a5f
size 59487

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jan 7 15:14:25 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.2
* Everything thrown over the fence, this is a complete rewrite
of PostSRSd.
* Configuration file, no more fiddling with environment variables.
* Support for socketmap table (Postfix 2.10 or newer required).
* Unix socket support
* Rewrite mode with database backend, supports unlimited email
address length.
* Experimental Milter support.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 17 08:37:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Wed Aug 17 08:37:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package postsrsd # spec file for package postsrsd
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: postsrsd Name: postsrsd
Version: 1.12 Version: 2.0.2
Release: 0 Release: 0
Summary: Sender Rewriting Support for postfix Summary: Sender Rewriting Support for postfix
License: GPL-2.0-only License: GPL-2.0-only
@ -25,8 +25,11 @@ Group: Productivity/Networking/Email/Servers
URL: https://github.com/roehling/postsrsd URL: https://github.com/roehling/postsrsd
Source: https://github.com/roehling/postsrsd/archive/%version.tar.gz Source: https://github.com/roehling/postsrsd/archive/%version.tar.gz
BuildRequires: cmake BuildRequires: cmake >= 3.14
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(libconfuse)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(systemd)
%description %description
PostSRSd provides the Sender Rewriting Scheme (SRS) via TCP-based PostSRSd provides the Sender Rewriting Scheme (SRS) via TCP-based
@ -37,18 +40,18 @@ as forwarder.
%autosetup -p1 %autosetup -p1
%build %build
%cmake -DGENERATE_SRS_SECRET=0 -DCHROOT_DIR=/var/lib/empty \ %cmake -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS \
-DUSE_APPARMOR=1 -DINIT_FLAVOR=systemd -DGENERATE_SRS_SECRET=0 -DCHROOT_DIR=/var/lib/empty \
-DUSE_APPARMOR=1 -DINIT_FLAVOR=systemd \
-DWITH_SQLITE=BOOL:ON -DBUILD_TESTING:BOOL=OFF
%make_jobs %make_jobs
%install %install
%cmake_install %cmake_install
b="%buildroot" b="%buildroot"
mkdir -p "$b/%_prefix/lib/systemd/system" "$b/%_defaultdocdir" mkdir -p "$b/%_defaultdocdir"
mv "$b/%_sysconfdir/systemd/system"/* "$b/%_prefix/lib/systemd/system/"
mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/" mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/"
cp README.md "$b/%_defaultdocdir/%name/" cp README.rst "$b/%_defaultdocdir/%name/"
ln -s service "$b/%_sbindir/rcpostsrsd"
%pre %pre
%service_add_pre postsrsd.service %service_add_pre postsrsd.service
@ -68,15 +71,9 @@ fi
%service_del_postun postsrsd.service %service_del_postun postsrsd.service
%files %files
%dir %_sysconfdir/apparmor.d
%config %_sysconfdir/apparmor.d/*
%config(noreplace) %_sysconfdir/default/postsrsd
%ghost %_sysconfdir/postsrsd.secret
%_sbindir/postsrsd %_sbindir/postsrsd
%_sbindir/rcpostsrsd %_unitdir/*
%_prefix/lib/systemd/system/*.service
%_docdir/%name/ %_docdir/%name/
%_datadir/postsrsd/ %license LICENSES/*
%license LICENSE
%changelog %changelog