pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/akonadi



Module Name:    pkgsrc
Committed By:   nikita
Date:           Sun May  7 19:50:48 UTC 2023

Modified Files:
        pkgsrc/mail/akonadi: Makefile
Added Files:
        pkgsrc/mail/akonadi/patches: patch-server_src_storage_dbconfigmysql.cpp

Log Message:
akonadi: add reproducibility patch.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 pkgsrc/mail/akonadi/Makefile
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/akonadi/patches/patch-server_src_storage_dbconfigmysql.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/akonadi/Makefile
diff -u pkgsrc/mail/akonadi/Makefile:1.115 pkgsrc/mail/akonadi/Makefile:1.116
--- pkgsrc/mail/akonadi/Makefile:1.115  Sun Apr 23 14:26:25 2023
+++ pkgsrc/mail/akonadi/Makefile        Sun May  7 19:50:48 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.115 2023/04/23 14:26:25 adam Exp $
+# $NetBSD: Makefile,v 1.116 2023/05/07 19:50:48 nikita Exp $
 
 DISTNAME=      akonadi-1.13.0
-PKGREVISION=   48
+PKGREVISION=   49
 CATEGORIES=    mail
 MASTER_SITES=  ftp://kde.mirror.anlx.net/stable/akonadi/src/
 EXTRACT_SUFX=  .tar.bz2

Added files:

Index: pkgsrc/mail/akonadi/patches/patch-server_src_storage_dbconfigmysql.cpp
diff -u /dev/null pkgsrc/mail/akonadi/patches/patch-server_src_storage_dbconfigmysql.cpp:1.1
--- /dev/null   Sun May  7 19:50:48 2023
+++ pkgsrc/mail/akonadi/patches/patch-server_src_storage_dbconfigmysql.cpp      Sun May  7 19:50:48 2023
@@ -0,0 +1,16 @@
+$NetBSD: patch-server_src_storage_dbconfigmysql.cpp,v 1.1 2023/05/07 19:50:48 nikita Exp $
+
+reproducible builds patch (timestamps).
+
+--- server/src/storage/dbconfigmysql.cpp.orig  2023-05-07 21:40:51.011950361 +0200
++++ server/src/storage/dbconfigmysql.cpp       2023-05-07 21:42:10.577027826 +0200
+@@ -210,8 +210,7 @@
+   bool confUpdate = false;
+   QFile actualFile ( actualConfig );
+   // update conf only if either global (or local) is newer than actual
+-  if ( ( QFileInfo( globalConfig ).lastModified() > QFileInfo( actualFile ).lastModified() ) ||
+-       ( QFileInfo( localConfig ).lastModified()  > QFileInfo( actualFile ).lastModified() ) ) {
++  if (true) {
+     QFile globalFile( globalConfig );
+     QFile localFile ( localConfig );
+     if ( globalFile.open( QFile::ReadOnly ) && actualFile.open( QFile::WriteOnly ) ) {



Home | Main Index | Thread Index | Old Index