Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zimbra
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
zimbra
Commits
189aafbb
Commit
189aafbb
authored
May 22, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postfix: patch to skip setsid()
parent
d81096b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ThirdParty/postfix/Makefile
ThirdParty/postfix/Makefile
+2
-0
ThirdParty/postfix/patches/session.patch
ThirdParty/postfix/patches/session.patch
+13
-0
No files found.
ThirdParty/postfix/Makefile
View file @
189aafbb
...
...
@@ -20,6 +20,7 @@ POSTFIX_TGZ_TARGET := \
$(P4_ROOT)
/ThirdPartyBuilds/
$(BUILD_PLATFORM)
/postfix/postfix-
$(POSTFIX_VERSION)
.tgz
BDB_PATCH
:=
patch
-g0
-p1
< ../patches/postfix-zimbra-bdb.patch
;
NOROOT_PATCH
:=
patch
-g0
-p1
< ../patches/noroot.patch
;
SESSION_PATCH
:=
patch
-g0
-p1
< ../patches/session.patch
;
PCRE_DEF
:=
-DHAS_PCRE
PCRE_INCLUDE
:=
-I
$(PCRE_PREFIX)
/include
...
...
@@ -50,6 +51,7 @@ build:
cd
postfix-
$(POSTFIX_VERSION)
;
\
$(BDB_PATCH)
\
$(NOROOT_PATCH)
\
$(SESSION_PATCH)
\
$(PATCH)
\
patch
-g0
-p1
< ../patches/postfix-main-cf-zimbra.patch
;
\
$(MAKE)
$(MAKEARGS)
makefiles
\
...
...
ThirdParty/postfix/patches/session.patch
0 → 100644
View file @
189aafbb
--- a/src/master/master.c
+++ b/src/master/master.c
@@ -392,8 +392,10 @@
int main(int argc, char **argv)
* all MTA processes cleanly. Give up if we can't separate from our
* parent process. We're not supposed to blow away the parent.
*/
+ /*
if (debug_me == 0 && master_detach != 0 && setsid() == -1 && getsid(0) != getpid())
msg_fatal("unable to set session and process group ID: %m");
+ */
/*
* Make some room for plumbing with file descriptors. XXX This breaks
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment