forked from pool/postsrsd
Accepting request 1058284 from server:mail
- Update to release 2.0.2 OBS-URL: https://build.opensuse.org/request/show/1058284 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postsrsd?expand=0&rev=5
This commit is contained in:
commit
e94e86a28f
@ -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
3
2.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2734d8d42670664263cd995526494372af23b87eb892d9e22bc98c67b9798a5f
|
||||
size 59487
|
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: postsrsd
|
||||
Version: 1.12
|
||||
Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: Sender Rewriting Support for postfix
|
||||
License: GPL-2.0-only
|
||||
@ -25,8 +25,11 @@ Group: Productivity/Networking/Email/Servers
|
||||
URL: https://github.com/roehling/postsrsd
|
||||
|
||||
Source: https://github.com/roehling/postsrsd/archive/%version.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake >= 3.24
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: pkgconfig(libconfuse)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
|
||||
%description
|
||||
PostSRSd provides the Sender Rewriting Scheme (SRS) via TCP-based
|
||||
@ -37,18 +40,18 @@ as forwarder.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake -DGENERATE_SRS_SECRET=0 -DCHROOT_DIR=/var/lib/empty \
|
||||
-DUSE_APPARMOR=1 -DINIT_FLAVOR=systemd
|
||||
%cmake -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS \
|
||||
-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
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
b="%buildroot"
|
||||
mkdir -p "$b/%_prefix/lib/systemd/system" "$b/%_defaultdocdir"
|
||||
mv "$b/%_sysconfdir/systemd/system"/* "$b/%_prefix/lib/systemd/system/"
|
||||
mkdir -p "$b/%_defaultdocdir"
|
||||
mv "$b/%_datadir/doc/%name" "$b/%_defaultdocdir/"
|
||||
cp README.md "$b/%_defaultdocdir/%name/"
|
||||
ln -s service "$b/%_sbindir/rcpostsrsd"
|
||||
cp README.rst "$b/%_defaultdocdir/%name/"
|
||||
|
||||
%pre
|
||||
%service_add_pre postsrsd.service
|
||||
@ -68,15 +71,9 @@ fi
|
||||
%service_del_postun postsrsd.service
|
||||
|
||||
%files
|
||||
%dir %_sysconfdir/apparmor.d
|
||||
%config %_sysconfdir/apparmor.d/*
|
||||
%config(noreplace) %_sysconfdir/default/postsrsd
|
||||
%ghost %_sysconfdir/postsrsd.secret
|
||||
%_sbindir/postsrsd
|
||||
%_sbindir/rcpostsrsd
|
||||
%_prefix/lib/systemd/system/*.service
|
||||
%_unitdir/*
|
||||
%_docdir/%name/
|
||||
%_datadir/postsrsd/
|
||||
%license LICENSE
|
||||
%license LICENSES/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user