Package Details: postsrsd 2.0.10-1

Git Clone URL: https://aur.archlinux.org/postsrsd.git (read-only, click to copy)
Package Base: postsrsd
Description: Provides the Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix
Upstream URL: https://github.com/roehling/postsrsd
Licenses: GPL2
Submitter: fordprefect
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 3
Popularity: 0.013926
First Submitted: 2016-03-30 16:15 (UTC)
Last Updated: 2024-07-23 08:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

fordprefect commented on 2023-01-18 13:49 (UTC)

@peippo: thanks for testing and feedback, I implemented the requested changes.

peippo commented on 2023-01-18 09:49 (UTC)

A slight correction: it seems /var/spool/postfix/srs should not be created at all, if postfix is installed as well (it should be, as communication between postfix and postsrsd is now exclusively over unix sockets)

peippo commented on 2023-01-18 08:42 (UTC)

Hi! @fordprefect, I found a couple minor changes required to build in a chroot and on systems that do not have postsrsd installed, already:

1) postsrsd needs systemd as a dependency, and 2) creating /var/spool/postfix/srs should happen in the tmpfiles.d (at build/packaging time, the user does not exist)

Other than that, works like a charm, thank you so much!

fordprefect commented on 2023-01-06 21:42 (UTC)

The package major version has been updated, for migration hints see Readme. Please report any bugs.

fordprefect commented on 2022-10-24 09:46 (UTC)

@jkl: thanks for looking into this, and providing explanation and fix. Implemented.

jkl commented on 2022-10-22 17:28 (UTC) (edited on 2022-10-22 17:29 (UTC) by jkl)

@fordprefect The package is broken with the error reported by @dreieck when building in a clean environment such as a chroot because systemd and systemctl are not dependencies of base-devel. Therefore INIT_FLAVOR is not set and the config files are never installed. Fixed by changing the cmake line:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGENERATE_SRS_SECRET=OFF -DCONFIG_DIR=/etc/postsrsd -DINIT_FLAVOR=systemd

fordprefect commented on 2022-04-11 07:37 (UTC)

@dreieck: Sorry, cannot reproduce. Make sure to build in a clean environment. If that doesn't help report back with more detail please.

dreieck commented on 2022-04-10 19:07 (UTC)

I get the following error in package():

==> Starting package()...
Consolidate compiler generated dependencies of target postsrsd_tests
Consolidate compiler generated dependencies of target postsrsd
[100%] Built target postsrsd_tests
[100%] Built target postsrsd
Install the project...
-- Install configuration: "Release"
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/share/man/man8/postsrsd.8
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/sbin/postsrsd
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/share/postsrsd/postsrsd-systemd-launcher
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/README.md
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/README_UPGRADE.md
-- Installing: /home/[...]/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/main.cf.ex
-- Chroot jail: /home/[...]/postsrsd/pkg/postsrsd//usr/lib/postsrsd
sed: can't read /home/[...]/postsrsd/pkg/postsrsd/etc/postsrsd/postsrsd: No such file or directory
==> ERROR: A failure occurred in package().

fordprefect commented on 2022-03-14 08:10 (UTC)

@peippo: Sorry cant reproduce that issue. For me the file exists from 'make install'. Try cleaning up your build dir and make sure you didn't break the PKGBUILD yourself. Also: pushed a minor streamlining of line 44.

peippo commented on 2022-03-13 13:11 (UTC)

The PKGBUILD started to fail with the following error:

PKGBUILD: line 44: /build/postsrsd/pkg/postsrsd/etc/postsrsd/postsrsd: No such file or directory

I guess a simple mkdir would do the job :) Thanks!