]> git.pld-linux.org Git - packages/postfix.git/blame - postfix-link.patch
- 2.8.3 fixes CVE-2011-1720
[packages/postfix.git] / postfix-link.patch
CommitLineData
1df88c62
JR
1diff -ur postfix-2.7.1/src/dns/Makefile.in postfix-2.7.1-libs/src/dns/Makefile.in
2--- postfix-2.7.1/src/dns/Makefile.in 2010-11-08 20:14:18.394139054 +0100
3+++ postfix-2.7.1-libs/src/dns/Makefile.in 2010-11-08 20:12:39.300139053 +0100
4@@ -31,7 +31,7 @@
5 root_tests:
6
7 $(LIB): $(OBJS)
8- gcc -shared -Wl,-soname,libpostfix-dns.so.1 -o $(LIB) $(OBJS)
9+ gcc -shared -Wl,-soname,libpostfix-dns.so.1 -o $(LIB) $(OBJS) $(LIBS) -lresolv
10
11 $(LIB_DIR)/$(LIB): $(LIB)
12 cp $(LIB) $(LIB_DIR)
13diff -ur postfix-2.7.1/src/global/Makefile.in postfix-2.7.1-libs/src/global/Makefile.in
14--- postfix-2.7.1/src/global/Makefile.in 2010-11-08 20:14:18.424139054 +0100
15+++ postfix-2.7.1-libs/src/global/Makefile.in 2010-11-08 20:10:05.004139060 +0100
16@@ -120,7 +120,7 @@
17 test: $(TESTPROG)
18
19 $(LIB): $(OBJS)
20- gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS)
21+ gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS) $(LIBS)
22
23 $(LDAPSO): dict_ldap.o $(LIB)
24 gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lldap -llber -L../../lib -lutil -L. -lglobal
25diff -ur postfix-2.7.1/src/master/Makefile.in postfix-2.7.1-libs/src/master/Makefile.in
26--- postfix-2.7.1/src/master/Makefile.in 2010-11-08 20:14:18.400139054 +0100
27+++ postfix-2.7.1-libs/src/master/Makefile.in 2010-11-08 20:10:24.072139054 +0100
28@@ -39,7 +39,7 @@
29 root_tests:
30
31 $(LIB): $(LIB_OBJ)
32- gcc -shared -Wl,-soname,libpostfix-master.so.1 -o $(LIB) $(LIB_OBJ)
33+ gcc -shared -Wl,-soname,libpostfix-master.so.1 -o $(LIB) $(LIB_OBJ) $(LIBS)
34
35 $(LIB_DIR)/$(LIB): $(LIB)
36 cp $(LIB) $(LIB_DIR)/$(LIB)
37diff -ur postfix-2.7.1/src/util/Makefile.in postfix-2.7.1-libs/src/util/Makefile.in
38--- postfix-2.7.1/src/util/Makefile.in 2010-11-08 20:14:18.465139054 +0100
39+++ postfix-2.7.1-libs/src/util/Makefile.in 2010-11-08 20:12:49.982139058 +0100
40@@ -126,7 +126,7 @@
41 gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
42
43 $(LIB): $(OBJS)
44- gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl
45+ gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl -lcdb -lnsl -ldb
46
47 $(LIB_DIR)/$(LIB): $(LIB)
48 cp $(LIB) $(LIB_DIR)
This page took 0.043378 seconds and 4 git commands to generate.