aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dist/debian/Release.testing5
-rw-r--r--dist/debian/Release.top7
-rwxr-xr-xdist/debian/mkrep13
3 files changed, 25 insertions, 0 deletions
diff --git a/dist/debian/Release.testing b/dist/debian/Release.testing
new file mode 100644
index 00000000..287e9b2c
--- /dev/null
+++ b/dist/debian/Release.testing
@@ -0,0 +1,5 @@
+Archive: testing
+Component: main
+Origin: swtch.com packages (Plan 9, Inferno)
+Label: swtch.com packages (Plan 9, Inferno)
+Architecture: i386
diff --git a/dist/debian/Release.top b/dist/debian/Release.top
new file mode 100644
index 00000000..f1b8dfd8
--- /dev/null
+++ b/dist/debian/Release.top
@@ -0,0 +1,7 @@
+Origin: swtch.com packages (Plan 9, Inferno)
+Label: swtch.com packages (Plan 9, Inferno)
+Suite: testing
+Codename: swtch
+Architectures: i386
+Components: main
+Description: This repository mostly holds Plan 9-related software.
diff --git a/dist/debian/mkrep b/dist/debian/mkrep
new file mode 100755
index 00000000..969614f0
--- /dev/null
+++ b/dist/debian/mkrep
@@ -0,0 +1,13 @@
+#!/usr/local/plan9/bin/rc
+
+rm -rf dists pool
+mkdir -p dists pool
+./mkpkg all
+d=dists/testing/main/binary-i386
+mkdir -p $d
+apt-ftparchive packages pool |tee $d/Packages |gzip >$d/Packages.gz
+cp Release.testing $d/Release
+{
+ cat Release.top
+ apt-ftparchive release dists/testing
+} >dists/testing/Release