Package Details: postsrsd-git 1:2.0.11+3.r221.20250920.gdbf5999-1

Git Clone URL: https://aur.archlinux.org/postsrsd-git.git (read-only, click to copy)
Package Base: postsrsd-git
Description: Provides the Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix
Upstream URL: https://github.com/roehling/postsrsd
Licenses: GPL2
Conflicts: postsrsd
Provides: postsrsd
Submitter: gothmog.todi
Maintainer: dreieck
Last Packager: dreieck
Votes: 2
Popularity: 0.000000
First Submitted: 2014-04-17 12:24 (UTC)
Last Updated: 2025-10-19 18:27 (UTC)

Latest Comments

1 2 Next › Last »

anne commented on 2026-06-10 01:55 (UTC) (edited on 2026-06-10 01:57 (UTC) by anne)

This version (postsrsd-git 1:2.0.12+10.r243.20260609.gb0984f8-1) failed to install; it looks as though several files have been renamed or removed in the upstream package. The below is a minimal fix to get it installed; I have not yet tried to actually run it.

--- PKGBUILD.original   2026-06-09 21:51:40.496798505 -0300
+++ PKGBUILD    2026-06-09 22:46:07.837019238 -0300
@@ -38,12 +38,10 @@
   "tmpfiles.d-postsrsd.conf"
   "${install}"
 )
-sha256sums=(
-  'SKIP'
-  'f3d61362ed64e9ad33427b23b471c028b613b7eedd51dc01a203c8ba1c0e3427'
-  '8613b3c1a6eec65d0137d97781c8919a84879c49be137b48f8bd29ee3b96cd08'
-  '996ab88e39abbe2ef870c69624be1f404945545b42c7826b36a25aff8abcb62c'
-)
+sha256sums=('SKIP'
+            'f3d61362ed64e9ad33427b23b471c028b613b7eedd51dc01a203c8ba1c0e3427'
+            '8613b3c1a6eec65d0137d97781c8919a84879c49be137b48f8bd29ee3b96cd08'
+            '996ab88e39abbe2ef870c69624be1f404945545b42c7826b36a25aff8abcb62c')
 #options=('emptydirs')

 pkgver() {
@@ -85,17 +83,17 @@

   #rm -rf ${pkgdir}/usr/lib
   mv -v "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"
-  sed -e 's/^\(RUN_AS=\)nobody/#\1postsrsd/;s/\(\/etc\/postsrsd\)\(\.secret\)/\1\/postsrsd\2/' \
-      -e 's/^\(# is \).*$/\1localhost\.localdomain/' < postsrsd.default > postsrsd.conf
+# sed -e 's/^\(RUN_AS=\)nobody/#\1postsrsd/;s/\(\/etc\/postsrsd\)\(\.secret\)/\1\/postsrsd\2/' \
+#     -e 's/^\(# is \).*$/\1localhost\.localdomain/' < postsrsd.default > postsrsd.conf
   install -D -v -m644 "postsrsd.conf" "${pkgdir}/etc/postsrsd/postsrsd.conf"
-  install -D -v -m644 "postsrsd.systemd" "${pkgdir}/usr/lib/systemd/system/postsrsd.service"
+  install -D -v -m644 "postsrsd.service" "${pkgdir}/usr/lib/systemd/system/postsrsd.service"
   install -D -v -m644 "${srcdir}/sysusers.d-postsrsd.conf" "${pkgdir}/usr/lib/sysusers.d/postsrsd.conf"
   install -D -v -m644 "${srcdir}/tmpfiles.d-postsrsd.conf" "${pkgdir}/usr/lib/tmpfiles.d/postsrsd.conf"

-  for _docfile in README.md README.exim.md README_UPGRADE.md CODE_OF_CONDUCT.md; do
+  for _docfile in CHANGELOG.rst README.rst ; do
     install -D -v -m644 "${srcdir}/postsrsd/${_docfile}" "${pkgdir}/usr/share/doc/${_docfile}"
   done
-  for _exampleexecutable in run_postsrsd_tests.bats ; do
-    install -D -v -m755 "${srcdir}/postsrsd/${_exampleexecutable}" "${pkgdir}/usr/share/doc/${_exampleexecutable}"
-  done
+# for _exampleexecutable in run_postsrsd_tests.bats ; do
+#   install -D -v -m755 "${srcdir}/postsrsd/${_exampleexecutable}" "${pkgdir}/usr/share/doc/${_exampleexecutable}"
+# done
 }

jonhoo commented on 2019-02-13 17:43 (UTC)

@dreieck feel free to adopt and change :)

dreieck commented on 2019-02-13 17:39 (UTC)

@jonhoo: Now it installs, the error I reported on 2018-07-02 is gone.

dreieck commented on 2019-02-13 17:37 (UTC)

Can provides=(postsrsd) be changed to provides=("postsrsd=${pkgver}"), please?

jonhoo commented on 2019-02-05 20:03 (UTC)

Yup, the package now works again!

jonhoo commented on 2019-02-05 19:29 (UTC)

Pushed a fix! I'm also not relying on this commonly enough to maintain, so will disown once I've tested it :)

rpodgorny commented on 2019-02-05 19:20 (UTC)

ah! the fix is wrong. :-( please be sure to rename .systemd to .service in the install phase...

rpodgorny commented on 2019-02-05 19:18 (UTC)

fixed and orphaning as i don't use this anymore...

jonhoo commented on 2019-02-05 19:09 (UTC)

Still seems to fail with the error @dreieck reported?

dreieck commented on 2018-07-02 14:02 (UTC) (edited on 2018-07-02 14:06 (UTC) by dreieck)

Fails in package():

==> Starting package()...
[100%] Built target postsrsd
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/postsrsd/pkg/postsrsd/usr/share/man/man8/postsrsd.8
-- Installing: /tmp/postsrsd/pkg/postsrsd/usr/sbin/postsrsd
-- Installing: /tmp/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/README.md
-- Installing: /tmp/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/README_UPGRADE.md
-- Installing: /tmp/postsrsd/pkg/postsrsd/usr/share/doc/postsrsd/main.cf.ex
-- Chroot jail: /tmp/postsrsd/pkg/postsrsd//usr/lib/postsrsd
/tmp/postsrsd/PKGBUILD: line 35: /tmp/postsrsd/pkg/postsrsd/etc/postsrsd/postsrsd: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...