rpms/nss_db/devel nss_db.spec,1.40,1.41

Nalin Somabhai Dahyabhai (nalin) fedora-extras-commits at redhat.com
Thu Aug 7 16:52:48 UTC 2008


Author: nalin

Update of /cvs/pkgs/rpms/nss_db/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25036

Modified Files:
	nss_db.spec 
Log Message:
- turn of crypto, hash, queue, and replication support, which aren't used,
  reduces the package size, and sidesteps needing to patch anything for #347741



Index: nss_db.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nss_db/devel/nss_db.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- nss_db.spec	22 Jul 2008 16:00:41 -0000	1.40
+++ nss_db.spec	7 Aug 2008 16:52:18 -0000	1.41
@@ -2,7 +2,7 @@
 Summary: An NSS library for the Berkeley DB
 Name: nss_db
 Version: 2.2
-Release: 41%{?dist}
+Release: 42%{?dist}
 Source: ftp://sources.redhat.com/pub/glibc/releases/nss_db-%{version}.tar.gz
 Source1: http://download.oracle.com/berkeley-db/db-%{db_version}.tar.gz
 Source2: db-getent-Makefile
@@ -18,6 +18,7 @@
 Patch8: nss_db-2.2-order.patch
 Patch9: nss_db-2.2-lib64.patch
 Patch10: nss_db-2.2-glibc.patch
+Patch11: nss_db-2.2-makedb-atomic.patch
 Patch100: db-4.6.18-glibc.patch
 # DB is under the Sleepycat (Oracle) license.
 # nss_db is under the LGPLv2+ license.
@@ -52,6 +53,7 @@
 %patch8 -p1 -b .order
 %patch9 -p1 -b .lib64
 %patch10 -p1 -b .glibc
+%patch11 -p1 -b .makedb-atomic
 rm -f config.guess config.sub ltmain.sh
 autoreconf -i
 
@@ -69,10 +71,14 @@
 echo db_cv_mutex=UNIX/fcntl > config.cache
 ../db-%{db_version}/dist/configure -C \
 	--disable-compat185 \
+	--disable-cryptography \
 	--disable-cxx \
 	--disable-diagnostic \
 	--disable-dump185 \
+	--disable-hash \
 	--disable-java \
+	--disable-queue \
+	--disable-replication \
 	--disable-rpc \
 	--disable-tcl \
 	--disable-shared \
@@ -80,8 +86,7 @@
 	--with-uniquename=_nssdb \
 	--prefix=$dbdir \
 	--libdir=$dbdir/lib
-make
-make install
+make all install
 popd
 
 CPPFLAGS=-I${dbdir}/include ; export CPPFLAGS
@@ -116,6 +121,13 @@
 %config(noreplace) /var/db/Makefile
 
 %changelog
+* Thu Aug  7 2008 Nalin Dahyabhai <nalin at redhat.com> - 2.2-42%{?dist}
+- turn of crypto, hash, queue, and replication support, which aren't used,
+  reduces the package size, and sidesteps needing to patch anything for #347741
+- create and populate new db files, moving them in place afterward so that we
+  never have a partially-built db file "live" (patch from Kelsey Cummings,
+  CentOS #1987)
+
 * Tue Jul 22 2008 Nalin Dahyabhai <nalin at redhat.com> - 2.2-41%{?dist}
 - fix an error in the db-getent-Makefile which kept it from working at all
 




More information about the fedora-extras-commits mailing list