Author: baggins                      Date: Mon Nov  8 19:18:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- fix linking issues (inter-library deps for internal libs)

---- Files affected:
packages/postfix:
   postfix.spec (1.350 -> 1.351) , postfix-link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/postfix/postfix.spec
diff -u packages/postfix/postfix.spec:1.350 packages/postfix/postfix.spec:1.351
--- packages/postfix/postfix.spec:1.350 Fri Oct 29 19:12:14 2010
+++ packages/postfix/postfix.spec       Mon Nov  8 20:18:13 2010
@@ -34,7 +34,7 @@
 Summary(sk.UTF-8):     Agent prenosu pošty Postfix
 Name:          postfix
 Version:       2.7.1
-Release:       2
+Release:       3
 Epoch:         2
 License:       distributable
 Group:         Networking/Daemons/SMTP
@@ -66,6 +66,7 @@
 Patch7:                %{name}-conf.patch
 Patch8:                %{name}-dictname.patch
 Patch9:                %{name}-make-jN.patch
+Patch10:       %{name}-link.patch
 URL:           http://www.postfix.org/
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
@@ -274,6 +275,7 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %if %{with tcp}
 sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
@@ -528,6 +530,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.351  2010/11/08 19:18:13  baggins
+- rel 3
+- fix linking issues (inter-library deps for internal libs)
+
 Revision 1.350  2010/10/29 17:12:14  hawk
 - release 2
 

================================================================
Index: packages/postfix/postfix-link.patch
diff -u /dev/null packages/postfix/postfix-link.patch:1.1
--- /dev/null   Mon Nov  8 20:18:18 2010
+++ packages/postfix/postfix-link.patch Mon Nov  8 20:18:13 2010
@@ -0,0 +1,48 @@
+diff -ur postfix-2.7.1/src/dns/Makefile.in 
postfix-2.7.1-libs/src/dns/Makefile.in
+--- postfix-2.7.1/src/dns/Makefile.in  2010-11-08 20:14:18.394139054 +0100
++++ postfix-2.7.1-libs/src/dns/Makefile.in     2010-11-08 20:12:39.300139053 
+0100
+@@ -31,7 +31,7 @@
+ root_tests:
+ 
+ $(LIB):       $(OBJS)
+-      gcc -shared -Wl,-soname,libpostfix-dns.so.1 -o $(LIB) $(OBJS)
++      gcc -shared -Wl,-soname,libpostfix-dns.so.1 -o $(LIB) $(OBJS) $(LIBS) 
-lresolv
+ 
+ $(LIB_DIR)/$(LIB): $(LIB)
+       cp $(LIB) $(LIB_DIR)
+diff -ur postfix-2.7.1/src/global/Makefile.in 
postfix-2.7.1-libs/src/global/Makefile.in
+--- postfix-2.7.1/src/global/Makefile.in       2010-11-08 20:14:18.424139054 
+0100
++++ postfix-2.7.1-libs/src/global/Makefile.in  2010-11-08 20:10:05.004139060 
+0100
+@@ -120,7 +120,7 @@
+ test: $(TESTPROG)
+ 
+ $(LIB):       $(OBJS)
+-      gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS)
++      gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS) $(LIBS)
+ 
+ $(LDAPSO): dict_ldap.o $(LIB)
+       gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lldap -llber -L../../lib 
-lutil -L. -lglobal
+diff -ur postfix-2.7.1/src/master/Makefile.in 
postfix-2.7.1-libs/src/master/Makefile.in
+--- postfix-2.7.1/src/master/Makefile.in       2010-11-08 20:14:18.400139054 
+0100
++++ postfix-2.7.1-libs/src/master/Makefile.in  2010-11-08 20:10:24.072139054 
+0100
+@@ -39,7 +39,7 @@
+ root_tests:
+ 
+ $(LIB):       $(LIB_OBJ)
+-      gcc -shared -Wl,-soname,libpostfix-master.so.1 -o $(LIB) $(LIB_OBJ)
++      gcc -shared -Wl,-soname,libpostfix-master.so.1 -o $(LIB) $(LIB_OBJ) 
$(LIBS)
+ 
+ $(LIB_DIR)/$(LIB): $(LIB)
+       cp $(LIB) $(LIB_DIR)/$(LIB)
+diff -ur postfix-2.7.1/src/util/Makefile.in 
postfix-2.7.1-libs/src/util/Makefile.in
+--- postfix-2.7.1/src/util/Makefile.in 2010-11-08 20:14:18.465139054 +0100
++++ postfix-2.7.1-libs/src/util/Makefile.in    2010-11-08 20:12:49.982139058 
+0100
+@@ -126,7 +126,7 @@
+       gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
+ 
+ $(LIB):       $(OBJS)
+-      gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl
++      gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl 
-lcdb -lnsl -ldb
+ 
+ $(LIB_DIR)/$(LIB): $(LIB)
+       cp $(LIB) $(LIB_DIR)
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/postfix/postfix.spec?r1=1.350&r2=1.351&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to