aboutsummaryrefslogtreecommitdiffstats
path: root/community/postsrsd/10-fix-defaults.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-02-23 22:22:22 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-02-23 22:27:08 +0000
commit058c7c9774e326ce2a3e919327213bb7819c7780 (patch)
treed41eba275ea2a1dc7c01be34cbe2cdb1883cdef6 /community/postsrsd/10-fix-defaults.patch
parenta2ab0cba170ba0962e9338d4ebef5be2e17221ba (diff)
downloadaports-058c7c9774e326ce2a3e919327213bb7819c7780.tar.gz
aports-058c7c9774e326ce2a3e919327213bb7819c7780.tar.bz2
aports-058c7c9774e326ce2a3e919327213bb7819c7780.tar.xz
community/postsrsd: update to 1.6
- set-socket-listen-address.patch is now applied upstream - run actual test suite in check()
Diffstat (limited to 'community/postsrsd/10-fix-defaults.patch')
-rw-r--r--community/postsrsd/10-fix-defaults.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/community/postsrsd/10-fix-defaults.patch b/community/postsrsd/10-fix-defaults.patch
index f234a3d4f2..7f488e0067 100644
--- a/community/postsrsd/10-fix-defaults.patch
+++ b/community/postsrsd/10-fix-defaults.patch
@@ -1,5 +1,5 @@
diff --git a/init/postsrsd.default.in b/init/postsrsd.default.in
-index 7cf2b941db..5f7ad5b916 100644
+index 50049f2105..9302b6dbfa 100644
--- a/init/postsrsd.default.in
+++ b/init/postsrsd.default.in
@@ -21,7 +21,7 @@ SRS_SEPARATOR==
@@ -9,14 +9,14 @@ index 7cf2b941db..5f7ad5b916 100644
-SRS_SECRET=@SYSCONF_DIR@/@PROJECT_NAME@.secret
+SRS_SECRET=@SYSCONF_DIR@/@PROJECT_NAME@/@PROJECT_NAME@.secret
- # Local ports for TCP list.
- # These ports are used to bind the TCP list for postfix. If you change
-@@ -35,7 +35,7 @@ SRS_REVERSE_PORT=10002
+ # Length of hash to be used in rewritten addresses
+ SRS_HASHLENGTH=4
+@@ -44,7 +44,7 @@ SRS_REVERSE_PORT=10002
# Drop root privileges and run as another user after initialization.
# This is highly recommended as postsrsd handles untrusted input.
#
-RUN_AS=nobody
+RUN_AS=@PROJECT_NAME@
- # Jail daemon in chroot environment
- CHROOT=@CHROOT_DIR@
+ # Bind to this address
+ #