From e137418438266f592f94e18cf193eb761ab0541d Mon Sep 17 00:00:00 2001
From: Ryan Murray <rmurray@debian.org>
Date: Wed, 29 Jan 2003 08:55:39 +0000
Subject: [PATCH] fix to have the correct section used in the generated Sources
 file

---
 apt.conf.buildd | 4 +++-
 cron.buildd     | 7 ++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/apt.conf.buildd b/apt.conf.buildd
index e5a95f1d..74322d4a 100644
--- a/apt.conf.buildd
+++ b/apt.conf.buildd
@@ -7,7 +7,7 @@ Dir
 
 Default
 {
-   Packages::Compress ". gzip";
+   Packages::Compress ". gzip"; // both created for quinn-diff ease
    Sources::Compress ". gzip";
    DeLinkLimit 0;
    FileMode 0664;
@@ -20,7 +20,9 @@ bindirectory "incoming"
    Contents " ";
 
    BinOverride "override.sid.all3";
+   SrcOverride "override.sid.all3.src";
    BinCacheDB "packages-accepted.db";
+   
    PathPrefix "";
    Packages::Extensions ".deb .udeb";
 };
diff --git a/cron.buildd b/cron.buildd
index b248e8f5..3327dd6c 100644
--- a/cron.buildd
+++ b/cron.buildd
@@ -19,7 +19,12 @@ if [ ! -e "$ftpdir/Archive_Maintenance_In_Progress" ]; then
         cd $overridedir
         denise &>/dev/null
         rm -f override.sid.all3
-        for i in main contrib non-free main.debian-installer; do cat override.sid.$i >> override.sid.all3; done
+        for i in main contrib non-free main.debian-installer; do
+		cat override.sid.$i >> override.sid.all3
+		if [ "$i" != "main.debian-installer" ]; then
+			cat override.sid.$i.src >> override.sid.all3.src
+		fi
+	done
 	cd $masterdir
 	apt-ftparchive -qq generate apt.conf.buildd
 	cd /org/incoming.debian.org/buildd
-- 
2.39.5