bin/rpi
branchrsync
changeset 6 b25f163eaecc
parent 4 c17d14b6ff1f
child 14 efac4db3fa3f
--- a/bin/rpi	Thu Jul 16 14:11:14 2009 +0200
+++ b/bin/rpi	Thu Jul 16 14:19:15 2009 +0200
@@ -21,36 +21,8 @@
 field if present) or the maintainer (from the B<Maintainer> field). Depending
 on the type of message suggestions for problem resolution may be added. To
 enable us to determine which message relates to which .changes file we need a
-patched B<reprepro>:
+patched B<reprepro>: L<https://keller.schlittermann.de/hg/ius/diffs/raw-file/8d32753c0599/reprepro/3.5.2/changes-file-process-messages.patch>.
 
-  --- incoming.c.orig	2009-06-11 10:48:27.000000000 +0200
-  +++ reprepro-3.5.2/incoming.c	2009-06-11 14:29:28.000000000 +0200
-  @@ -1854,6 +1854,8 @@
-	  for( j = 0 ; j < i->files.count ; j ++ ) {
-		  const char *basename = i->files.values[j];
-		  size_t l = strlen(basename);
-  +		char *fullfilename;
-  +
-   #define C_SUFFIX ".changes"
-   #define C_LEN strlen(C_SUFFIX)
-		  if( l <= C_LEN || strcmp(basename+(l-C_LEN),C_SUFFIX) != 0 )
-  @@ -1861,7 +1863,16 @@
-		  if( changesfilename != NULL && strcmp(basename, 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, dereferenced, i, j);
-  +		printf("changesfile '%s' done\n", fullfilename);
-  +		fprintf(stderr, "changesfile '%s' done\n", fullfilename);
-		  RET_UPDATE(result, r);
-	  }
- 
 To avoid possibly bothering random people we can limit possible recipients with
 a regular expression in C<$valid_receivers>. Any output matching the
 C<$unimportant> regular expression will not be sent to anyone. If we cant