Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add patch to remove timestamps from nss, reducing rebuilds severely.
Signed-off-by: Carsten Munk <carsten.munk@gmail.com>
  • Loading branch information
stskeeps committed Nov 25, 2011
1 parent 5bede3f commit beb1dcb
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 1 deletion.
127 changes: 127 additions & 0 deletions nss-3.12.10-notimestamps.patch
@@ -0,0 +1,127 @@
diff -ru nss-3.12.10/mozilla/security/nss/lib/ckfw/builtins/ckbiver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/builtins/ckbiver.c
--- nss-3.12.10/mozilla/security/nss/lib/ckfw/builtins/ckbiver.c 2004-08-31 19:28:50.000000000 +0200
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/builtins/ckbiver.c 2011-11-25 20:35:27.536298403 +0100
@@ -52,7 +52,7 @@
*/
const char __nss_builtins_rcsid[] = "$Header: NSS Builtin Trusted Root CAs "
NSS_BUILTINS_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_builtins_sccsid[] = "@(#)NSS Builtin Trusted Root CAs "
NSS_BUILTINS_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/ckfw/capi/ckcapiver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/capi/ckcapiver.c
--- nss-3.12.10/mozilla/security/nss/lib/ckfw/capi/ckcapiver.c 2005-11-04 03:05:04.000000000 +0100
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/capi/ckcapiver.c 2011-11-25 20:35:27.543298349 +0100
@@ -53,7 +53,7 @@
*/
const char __nss_ckcapi_rcsid[] = "$Header: NSS Access to Microsoft Certificate Store "
NSS_CKCAPI_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_ckcapi_sccsid[] = "@(#)NSS Access to Microsoft Certificate Store "
NSS_CKCAPI_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/ckfw/nssmkey/ckmkver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/nssmkey/ckmkver.c
--- nss-3.12.10/mozilla/security/nss/lib/ckfw/nssmkey/ckmkver.c 2005-11-24 00:04:08.000000000 +0100
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/nssmkey/ckmkver.c 2011-11-25 20:35:27.584298033 +0100
@@ -53,7 +53,7 @@
*/
const char __nss_ckmk_rcsid[] = "$Header: NSS Access to the MAC OS X Key Ring "
NSS_CKMK_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_ckmk_sccsid[] = "@(#)NSS Access to the MAC OS X Key Ring "
NSS_CKMK_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/ckfw/pem/ckpemver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/pem/ckpemver.c
--- nss-3.12.10/mozilla/security/nss/lib/ckfw/pem/ckpemver.c 2010-11-25 19:49:27.000000000 +0100
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/ckfw/pem/ckpemver.c 2011-11-25 20:35:27.611297824 +0100
@@ -53,7 +53,7 @@
*/
const char __nss_ckpem_rcsid[] = "$Header: NSS Access to Flat Files in PEM format"
NSS_CKPEM_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_ckcapi_sccsid[] = "@(#)NSS Access to Flag Files in PEM format "
NSS_CKPEM_LIBRARY_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/freebl/freeblver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/freebl/freeblver.c
--- nss-3.12.10/mozilla/security/nss/lib/freebl/freeblver.c 2006-12-05 00:31:35.000000000 +0100
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/freebl/freeblver.c 2011-11-25 20:35:12.541413873 +0100
@@ -51,6 +51,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_freebl_rcsid[] = "$Header: NSS " SOFTOKEN_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_freebl_sccsid[] = "@(#)NSS " SOFTOKEN_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/nss/nssver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/nss/nssver.c
--- nss-3.12.10/mozilla/security/nss/lib/nss/nssver.c 2004-04-25 17:03:12.000000000 +0200
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/nss/nssver.c 2011-11-25 20:35:12.660412957 +0100
@@ -51,6 +51,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_base_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_base_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/smime/smimever.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/smime/smimever.c
--- nss-3.12.10/mozilla/security/nss/lib/smime/smimever.c 2004-04-25 17:03:16.000000000 +0200
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/smime/smimever.c 2011-11-25 20:35:13.069409807 +0100
@@ -51,6 +51,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_smime_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_smime_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/softoken/softkver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/softoken/softkver.c
--- nss-3.12.10/mozilla/security/nss/lib/softoken/softkver.c 2006-12-05 00:31:35.000000000 +0100
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/softoken/softkver.c 2011-11-25 20:35:13.248408430 +0100
@@ -51,6 +51,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_softokn_rcsid[] = "$Header: NSS " SOFTOKEN_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_softokn_sccsid[] = "@(#)NSS " SOFTOKEN_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/ssl/sslver.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/ssl/sslver.c
--- nss-3.12.10/mozilla/security/nss/lib/ssl/sslver.c 2004-04-25 17:03:17.000000000 +0200
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/ssl/sslver.c 2011-11-25 20:35:14.066402131 +0100
@@ -51,6 +51,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_ssl_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_ssl_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";
diff -ru nss-3.12.10/mozilla/security/nss/lib/util/secoid.c nss-3.12.10-notimestamps/mozilla/security/nss/lib/util/secoid.c
--- nss-3.12.10/mozilla/security/nss/lib/util/secoid.c 2010-08-16 20:28:39.000000000 +0200
+++ nss-3.12.10-notimestamps/mozilla/security/nss/lib/util/secoid.c 2011-11-25 20:35:14.162401391 +0100
@@ -59,9 +59,9 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_util_rcsid[] = "$Header: NSS " NSSUTIL_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " "Built in OBS" " " "see rpm -q --info nss for more information" " $";
const char __nss_util_sccsid[] = "@(#)NSS " NSSUTIL_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " "Built in OBS" " " "see rpm -q --info nss for more information";

/* MISSI Mosaic Object ID space */
#define USGOV 0x60, 0x86, 0x48, 0x01, 0x65
3 changes: 3 additions & 0 deletions nss.changes
@@ -1,3 +1,6 @@
* Fri Nov 25 2011 Carsten Munk <carsten@maemo.org> - 3.12.10
- Add patch to remove timestamps from nss, reducing rebuilds severely.

* Fri Jul 15 2011 Elena Reshetova <elena.reshetova@linux.intel.com> - 3.12.10
- Upgrade to 3.12.10
- patch nss-sysinit-fix-trustorder.patch removed
Expand Down
3 changes: 2 additions & 1 deletion nss.spec
Expand Up @@ -37,7 +37,7 @@ Patch2: nss-nolocalsql.patch
Patch3: nss-3.12.8-char.patch
Patch6: nss-enable-pem.patch
Patch8: nss-sysinit-userdb-first.patch

Patch9: nss-3.12.10-notimestamps.patch
%description
Network Security Services (NSS) is a set of libraries designed to
support cross-platform development of security-enabled client and
Expand Down Expand Up @@ -122,6 +122,7 @@ low level services.
%patch3 -p1
%patch6 -p0 -b .libpem
%patch8 -p0 -b .rh603313
%patch9 -p1 -b .timestamping

%build

Expand Down

0 comments on commit beb1dcb

Please sign in to comment.