apt-repository: Remove apt-ftparchive stuff.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 27 Jan 2010 16:44:59 +0000 (17:44 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 27 Jan 2010 16:44:59 +0000 (17:44 +0100)
This removes the apt-ftparchive configuration and regen script we
created around it. We will be using reprepro for generating the archice
instead (in a subsequent commit).

ftparchive.conf [deleted file]
regen [deleted file]

diff --git a/ftparchive.conf b/ftparchive.conf
deleted file mode 100644 (file)
index 98756ff..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-Dir { 
-       ArchiveDir "public";
-       CacheDir "cache";
-}
-
-Tree "dists/stderr" { 
-       Sections "main";
-       Architectures "i386 all";
-       Directory "packages";
-}
-
-APT::FTPArchive {
-    Release {
-        Origin          "http://www.stderr.nl";
-        Label           "stderr.nl";
-        Suite           "stderr";
-        Version         "1";
-        Codename        "stderr";
-        Architectures   "i386 all";
-        Components      "main";
-        Description     "Packaged by Matthijs Kooijman.";
-    };
-};
diff --git a/regen b/regen
deleted file mode 100755 (executable)
index cc14511..0000000
--- a/regen
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-# This stuff is based on
-# http://www.nighton.net/archives/express-guide-to-secure-apt-repositories-07-30-2006-164
-# and
-# http://blogs.cae.tntech.edu/mwr/2007/05/28/my-own-private-debian-repository/
-
-DISTS="public/dists/stderr"
-SECTIONS="main"
-ARCHS="i386 all"
-CACHE="cache"
-# This dir should contain a private keyring with an appropriate key
-GPG_HOME="gnupg"
-
-# Create cache directory
-mkdir -p $CACHE
-
-# Create target directories
-for DIST in $DISTS; do
-       for SECTION in $SECTIONS; do
-               for ARCH in $ARCHS; do
-                       mkdir -p $DIST/$SECTION/binary-$ARCH
-               done
-               mkdir -p $DIST/$SECTION/source
-       done
-done
-
-# Generate Contents and Packages files.
-apt-ftparchive generate ftparchive.conf
-
-# Create Release files
-for DIST in $DISTS; do
-       apt-ftparchive -c ftparchive.conf release $DIST > $DIST/Release
-       rm $DIST/Release.gpg
-       gpg --homedir $GPG_HOME --sign --detach-sign --armor -o $DIST/Release.gpg $DIST/Release
-done