summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xvendor/getinfo2
-rw-r--r--vendor/steamos/apt-vendor.ent8
-rw-r--r--vendor/steamos/makefile11
-rw-r--r--vendor/steamos/sources.list.in7
5 files changed, 29 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 3e6e6f131..151be3bec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ apt (0.9.14.2) UNRELEASED; urgency=low
[ Michael Vogt ]
* vendor/getinfo:
- fix ubuntu-codename
+ * vendor/steamos/*:
+ - add steamos support
-- Christian Perrier <bubulle@debian.org> Sun, 15 Dec 2013 08:43:06 +0100
diff --git a/vendor/getinfo b/vendor/getinfo
index 992b30cf4..861fd3d17 100755
--- a/vendor/getinfo
+++ b/vendor/getinfo
@@ -26,7 +26,7 @@ debian-stable-codename)
ubuntu-codename)
getrawfield 'ubuntu-codename' "${BASEDIR}/../doc/apt-verbatim.ent"
;;
-keyring-package|keyring-filename|keyring-master-filename|keyring-removed-filename|keyring-uri)
+keyring-package|keyring-filename|keyring-master-filename|keyring-removed-filename|keyring-uri|current-distro-codename)
getfield "$1"
;;
*)
diff --git a/vendor/steamos/apt-vendor.ent b/vendor/steamos/apt-vendor.ent
new file mode 100644
index 000000000..69bb254ef
--- /dev/null
+++ b/vendor/steamos/apt-vendor.ent
@@ -0,0 +1,8 @@
+<!-- details about the keys used by the distribution -->
+<!ENTITY keyring-distro "SteamOS">
+<!ENTITY keyring-package "<package>valve-archive-keyring</package>">
+<!ENTITY keyring-filename "<filename>/usr/share/keyrings/valve-archive-keyring.gpg</filename>">
+<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/valve-archive-removed-keys.gpg</filename>">
+<!ENTITY current-distro-codename "alchemist">
+<!ENTITY keyring-master-filename "">
+<!ENTITY keyring-uri "">
diff --git a/vendor/steamos/makefile b/vendor/steamos/makefile
new file mode 100644
index 000000000..c27494587
--- /dev/null
+++ b/vendor/steamos/makefile
@@ -0,0 +1,11 @@
+# -*- make -*-
+BASE=../..
+SUBDIR=vendor/steamos
+
+# Bring in the default rules
+include ../../buildlib/defaults.mak
+
+doc binary manpages: sources.list
+
+sources.list: sources.list.in ../../doc/apt-verbatim.ent
+ sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< | sed -e 's#&steamos-codename;#$(shell ../getinfo current-distro-codename)#g' > $@
diff --git a/vendor/steamos/sources.list.in b/vendor/steamos/sources.list.in
new file mode 100644
index 000000000..f3790c550
--- /dev/null
+++ b/vendor/steamos/sources.list.in
@@ -0,0 +1,7 @@
+# See sources.list(5) manpage for more information
+# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
+
+deb http://repo.steampowered.com/steamos &steamos-codename; main contrib non-free
+deb-src http://repo.steampowered.com/steamos &steamos-codename; main contrib non-free
+
+deb http://cdn.debian.net/debian &stable-codename; main