packages: nss_db/nss_db.spec, nss_db/nss_db-makedb-shared.patch (NEW) - lin...

glen glen at pld-linux.org
Tue Feb 23 12:18:34 CET 2010


Author: glen                         Date: Tue Feb 23 11:18:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link makedb with libnss_db.so.2, instead of linking again with libdb.a, seems working and baggins had nothing agains this change

---- Files affected:
packages/nss_db:
   nss_db.spec (1.42 -> 1.43) , nss_db-makedb-shared.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nss_db/nss_db.spec
diff -u packages/nss_db/nss_db.spec:1.42 packages/nss_db/nss_db.spec:1.43
--- packages/nss_db/nss_db.spec:1.42	Tue Feb 23 01:57:59 2010
+++ packages/nss_db/nss_db.spec	Tue Feb 23 12:18:28 2010
@@ -29,6 +29,7 @@
 Patch8:		%{name}-initialize.patch
 Patch9:		%{name}-selinux.patch
 Patch10:	%{name}-makedb-atomic.patch
+Patch11:	%{name}-makedb-shared.patch
 Patch101:	http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.1
 Patch102:	http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.2
 Patch103:	http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3
@@ -71,6 +72,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 mkdir db-build
 cd db-%{db_version}
@@ -187,6 +189,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2010/02/23 11:18:28  glen
+- link makedb with libnss_db.so.2, instead of linking again with libdb.a, seems working and baggins had nothing agains this change
+
 Revision 1.42  2010/02/23 00:57:59  sparky
 - BR: db-devel, gcc-c++ (because of broken configure)
 

================================================================
Index: packages/nss_db/nss_db-makedb-shared.patch
diff -u /dev/null packages/nss_db/nss_db-makedb-shared.patch:1.1
--- /dev/null	Tue Feb 23 12:18:34 2010
+++ packages/nss_db/nss_db-makedb-shared.patch	Tue Feb 23 12:18:28 2010
@@ -0,0 +1,24 @@
+--- nss_db-2.2.3pre1/src/libnss_db.map~	2010-02-23 13:09:05.000000000 +0200
++++ nss_db-2.2.3pre1/src/libnss_db.map	2010-02-23 13:09:08.098884892 +0200
+@@ -14,6 +14,8 @@
+     _nss_db_setaliasent; _nss_db_setetherent; _nss_db_setgrent;
+     _nss_db_setnetgrent; _nss_db_setprotoent; _nss_db_setpwent;
+     _nss_db_setrpcent; _nss_db_setservent; _nss_db_setspent;
+-  local:
+-    *;
++};
++NSSDB_PRIVATE {
++  global:
++    *_nssdb;
+ };
+--- nss_db-2.2.3pre1/src/Makefile.am~	2010-02-23 13:11:23.000000000 +0200
++++ nss_db-2.2.3pre1/src/Makefile.am	2010-02-23 13:11:32.562202953 +0200
+@@ -30,7 +30,7 @@
+ 
+ bin_PROGRAMS = makedb
+ makedb_SOURCES = makedb.c
+-makedb_LDADD = db-compat.lo @DB_LIBS@ @SELINUX_LIBS@ @INTLLIBS@
++makedb_LDADD = db-compat.lo libnss_db.la @SELINUX_LIBS@ @INTLLIBS@
+ 
+ # To mimmick the old glibc installation as closely as possible, we
+ # shuffle the installed library and the links to it around a bit,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nss_db/nss_db.spec?r1=1.42&r2=1.43&f=u



More information about the pld-cvs-commit mailing list