--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/reprepro/4.2.0-2/README Tue Aug 02 16:28:43 2011 +0200
@@ -0,0 +1,2 @@
+Please copy the patch to debian/patches and edit debian/patches/series inside
+unpacked package sources.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/reprepro/4.2.0-2/debian/patches/0006-changes-file-process-messages.patch Tue Aug 02 16:28:43 2011 +0200
@@ -0,0 +1,28 @@
+--- incoming.c.orig
++++ incoming.c
+@@ -1854,6 +1854,8 @@
+ for( j = 0 ; j < i->files.count ; j ++ ) {
+ const char *basefilename = i->files.values[j];
+ size_t l = strlen(basefilename);
++ char *fullfilename;
++
+ #define C_SUFFIX ".changes"
+ #define C_LEN strlen(C_SUFFIX)
+ if( l <= C_LEN ||
+@@ -1861,7 +1863,16 @@
+ if( changesfilename != NULL && strcmp(basefilename, changesfilename) != 0 )
+ continue;
+ /* a .changes file, check it */
++ fullfilename = calc_dirconcat(i->directory, i->files.values[j]);
++ if( fullfilename == NULL ) {
++ result = RET_ERROR_OOM;
++ continue;
++ }
++ printf("processing changesfile '%s'\n", fullfilename);
++ fprintf(stderr, "processing changesfile '%s'\n", fullfilename);
+ r = process_changes(database, i, j);
++ printf("changesfile '%s' done\n", fullfilename);
++ fprintf(stderr, "changesfile '%s' done\n", fullfilename);
+ RET_UPDATE(result, r);
+ }
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/reprepro/4.2.0-2squeeze1/README Tue Aug 02 16:28:43 2011 +0200
@@ -0,0 +1,2 @@
+Please copy the patch to debian/patches and edit debian/patches/series inside
+unpacked package sources.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/reprepro/4.2.0-2squeeze1/debian/patches/0099-changes-file-process-messages.patch Tue Aug 02 16:28:43 2011 +0200
@@ -0,0 +1,28 @@
+--- a/incoming.c
++++ b/incoming.c
+@@ -1854,6 +1854,8 @@
+ for( j = 0 ; j < i->files.count ; j ++ ) {
+ const char *basefilename = i->files.values[j];
+ size_t l = strlen(basefilename);
++ char *fullfilename;
++
+ #define C_SUFFIX ".changes"
+ #define C_LEN strlen(C_SUFFIX)
+ if( l <= C_LEN ||
+@@ -1861,7 +1863,16 @@
+ if( changesfilename != NULL && strcmp(basefilename, changesfilename) != 0 )
+ continue;
+ /* a .changes file, check it */
++ fullfilename = calc_dirconcat(i->directory, i->files.values[j]);
++ if( fullfilename == NULL ) {
++ result = RET_ERROR_OOM;
++ continue;
++ }
++ printf("processing changesfile '%s'\n", fullfilename);
++ fprintf(stderr, "processing changesfile '%s'\n", fullfilename);
+ r = process_changes(database, i, j);
++ printf("changesfile '%s' done\n", fullfilename);
++ fprintf(stderr, "changesfile '%s' done\n", fullfilename);
+ RET_UPDATE(result, r);
+ }
+
--- a/reprepro/4.2.0/README Thu May 12 11:03:31 2011 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-Please copy the patch to debian/patches and edit debian/patches/series inside
-unpacked package sources.
--- a/reprepro/4.2.0/debian/patches/0006-changes-file-process-messages.patch Thu May 12 11:03:31 2011 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
---- incoming.c.orig
-+++ incoming.c
-@@ -1854,6 +1854,8 @@
- for( j = 0 ; j < i->files.count ; j ++ ) {
- const char *basefilename = i->files.values[j];
- size_t l = strlen(basefilename);
-+ char *fullfilename;
-+
- #define C_SUFFIX ".changes"
- #define C_LEN strlen(C_SUFFIX)
- if( l <= C_LEN ||
-@@ -1861,7 +1863,16 @@
- if( changesfilename != NULL && strcmp(basefilename, changesfilename) != 0 )
- continue;
- /* a .changes file, check it */
-+ fullfilename = calc_dirconcat(i->directory, i->files.values[j]);
-+ if( fullfilename == NULL ) {
-+ result = RET_ERROR_OOM;
-+ continue;
-+ }
-+ printf("processing changesfile '%s'\n", fullfilename);
-+ fprintf(stderr, "processing changesfile '%s'\n", fullfilename);
- r = process_changes(database, i, j);
-+ printf("changesfile '%s' done\n", fullfilename);
-+ fprintf(stderr, "changesfile '%s' done\n", fullfilename);
- RET_UPDATE(result, r);
- }
-