rpms/aide/devel aide-0.13.1-libgrypt-init.patch, 1.1, 1.2 aide.spec, 1.35, 1.36

Steve Grubb sgrubb at fedoraproject.org
Wed Dec 9 18:10:05 UTC 2009


Author: sgrubb

Update of /cvs/pkgs/rpms/aide/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18448

Modified Files:
	aide-0.13.1-libgrypt-init.patch aide.spec 
Log Message:
* Wed Dec 09 2009 Steve Grubb <sgrubb at redhat.com> - 0.13.1-14
- Revise patch for Initialize libgcrypt correctly (#530485)


aide-0.13.1-libgrypt-init.patch:
 doc/aide.1.in    |    1 +
 include/report.h |    1 +
 src/md.c         |    9 +++++++++
 3 files changed, 11 insertions(+)

Index: aide-0.13.1-libgrypt-init.patch
===================================================================
RCS file: /cvs/pkgs/rpms/aide/devel/aide-0.13.1-libgrypt-init.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- aide-0.13.1-libgrypt-init.patch	7 Nov 2009 14:22:40 -0000	1.1
+++ aide-0.13.1-libgrypt-init.patch	9 Dec 2009 18:10:04 -0000	1.2
@@ -1,6 +1,28 @@
-diff -up aide-0.13.1/src/md.c.gcryptinit aide-0.13.1/src/md.c
---- aide-0.13.1/src/md.c.gcryptinit	2009-10-23 04:48:19.000000000 +0200
-+++ aide-0.13.1/src/md.c	2009-10-23 04:53:09.000000000 +0200
+diff -urp aide-0.13.1.orig/doc/aide.1.in aide-0.13.1/doc/aide.1.in
+--- aide-0.13.1.orig/doc/aide.1.in	2009-12-01 12:23:10.000000000 -0500
++++ aide-0.13.1/doc/aide.1.in	2009-12-01 12:28:14.000000000 -0500
+@@ -67,6 +67,7 @@ conditions:
+ .IP "16 Unimplemented function error"
+ .IP "17 Invalid configureline error"
+ .IP "18 IO error"
++.IP "19 Version mismatch error"
+ .PP
+ .SH NOTES
+ Please note that due to mmap issues, aide cannot be terminated with
+diff -urp aide-0.13.1.orig/include/report.h aide-0.13.1/include/report.h
+--- aide-0.13.1.orig/include/report.h	2009-12-01 12:23:10.000000000 -0500
++++ aide-0.13.1/include/report.h	2009-12-01 12:27:43.000000000 -0500
+@@ -31,6 +31,7 @@
+ #define UNIMPLEMENTED_FUNCTION_ERROR 16
+ #define INVALID_CONFIGURELINE_ERROR 17
+ #define IO_ERROR 18
++#define VERSION_MISMATCH_ERROR 19
+ 
+ /* Errorcodes */
+ #define HASH_ALGO_ERROR 30
+diff -urp aide-0.13.1.orig/src/md.c aide-0.13.1/src/md.c
+--- aide-0.13.1.orig/src/md.c	2009-12-01 12:23:10.000000000 -0500
++++ aide-0.13.1/src/md.c	2009-12-01 12:27:04.000000000 -0500
 @@ -201,6 +201,15 @@ int init_md(struct md_container* md) {
  #endif 
  #ifdef WITH_GCRYPT
@@ -11,7 +33,7 @@ diff -up aide-0.13.1/src/md.c.gcryptinit
 +  	 */
 +  	if(!gcry_check_version(GCRYPT_VERSION)) {
 +		error(0,"libgcrypt version mismatch\n");
-+		exit(1);
++		exit(VERSION_MISMATCH_ERROR);
 +	}
 +	gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
  	if(gcry_md_open(&md->mdh,0,0)!=GPG_ERR_NO_ERROR){


Index: aide.spec
===================================================================
RCS file: /cvs/pkgs/rpms/aide/devel/aide.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- aide.spec	9 Nov 2009 18:07:06 -0000	1.35
+++ aide.spec	9 Dec 2009 18:10:04 -0000	1.36
@@ -7,7 +7,7 @@
 Summary: Intrusion detection environment
 Name: aide
 Version: 0.13.1
-Release: 13%{?dist}
+Release: 14%{?dist}
 URL: http://sourceforge.net/projects/aide
 License: GPLv2+
 Group: Applications/System
@@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Dec 09 2009 Steve Grubb <sgrubb at redhat.com> - 0.13.1-14
+- Revise patch for Initialize libgcrypt correctly (#530485)
+
 * Sat Nov 07 2009 Steve Grubb <sgrubb at redhat.com> - 0.13.1-13
 - Initialize libgcrypt correctly (#530485)
 




More information about the fedora-extras-commits mailing list