summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-laptop>2006-11-25 09:55:04 +0100
committerSebastian Heinlein <sebi@sebi-laptop>2006-11-25 09:55:04 +0100
commitd21a4328a369e521c49a7ba21834b3e5e950ca97 (patch)
tree08f192dfcf3480101cc7e7f923d0fb05876dbde8 /data/templates
parentee8317343ad726571d5f6ad863ee0b27d58251e5 (diff)
downloadpython-apt-d21a4328a369e521c49a7ba21834b3e5e950ca97.tar.gz
* Fork a pyton-aptsources source tree from update-manager
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/Debian.info57
-rw-r--r--data/templates/Debian.info.in57
-rw-r--r--data/templates/Makefile14
-rw-r--r--data/templates/Makefile.am11
-rw-r--r--data/templates/README.channels46
-rw-r--r--data/templates/Ubuntu.info228
-rw-r--r--data/templates/Ubuntu.info.in228
7 files changed, 641 insertions, 0 deletions
diff --git a/data/templates/Debian.info b/data/templates/Debian.info
new file mode 100644
index 00000000..3958607a
--- /dev/null
+++ b/data/templates/Debian.info
@@ -0,0 +1,57 @@
+ChangelogURI: http://packages.debian.org/changelogs/pool/%s/%s/%s/%s_%s/changelog
+
+Suite: sarge
+RepositoryType: deb
+BaseURI: http://http.us.debian.org/debian/
+Description: Debian 3.1 "Sarge"
+Component: main
+Enabled: 1
+CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+CompDescription: Non-DFSG-compatible Software
+
+Suite: sarge/updates
+RepositoryType: deb
+BaseURI: http://security.debian.org/
+Description: Debian 3.1 "Sarge" Security Updates
+Component: main
+Enabled: 1
+CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+CompDescription: Non-DFSG-compatible Software
+
+Suite: etch
+RepositoryType: deb
+BaseURI: http://http.us.debian.org/debian/
+Description: Debian "Etch" (testing)
+Component: main
+Enabled: 1
+CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+CompDescription: Non-DFSG-compatible Software
+
+Suite: sid
+RepositoryType: deb
+BaseURI: http://http.us.debian.org/debian/
+Description: Debian "Sid" (unstable)
+Component: main
+Enabled: 1
+CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+CompDescription: Non-DFSG-compatible Software
diff --git a/data/templates/Debian.info.in b/data/templates/Debian.info.in
new file mode 100644
index 00000000..ea2d1e53
--- /dev/null
+++ b/data/templates/Debian.info.in
@@ -0,0 +1,57 @@
+_ChangelogURI: http://packages.debian.org/changelogs/pool/%s/%s/%s/%s_%s/changelog
+
+Suite: sarge
+RepositoryType: deb
+_BaseURI: http://http.us.debian.org/debian/
+_Description: Debian 3.1 "Sarge"
+Component: main
+Enabled: 1
+_CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+_CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+_CompDescription: Non-DFSG-compatible Software
+
+Suite: sarge/updates
+RepositoryType: deb
+_BaseURI: http://security.debian.org/
+_Description: Debian 3.1 "Sarge" Security Updates
+Component: main
+Enabled: 1
+_CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+_CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+_CompDescription: Non-DFSG-compatible Software
+
+Suite: etch
+RepositoryType: deb
+_BaseURI: http://http.us.debian.org/debian/
+_Description: Debian "Etch" (testing)
+Component: main
+Enabled: 1
+_CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+_CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+_CompDescription: Non-DFSG-compatible Software
+
+Suite: sid
+RepositoryType: deb
+_BaseURI: http://http.us.debian.org/debian/
+_Description: Debian "Sid" (unstable)
+Component: main
+Enabled: 1
+_CompDescription: Officially supported
+Component: contrib
+Enabled: 0
+_CompDescription: DFSG-compatible Software with Non-Free Dependencies
+Component: non-free
+Enabled: 0
+_CompDescription: Non-DFSG-compatible Software
diff --git a/data/templates/Makefile b/data/templates/Makefile
new file mode 100644
index 00000000..49cc13e1
--- /dev/null
+++ b/data/templates/Makefile
@@ -0,0 +1,14 @@
+
+DOMAIN=update-manager
+INFO_IN_FILES := $(wildcard *.info.in)
+INFO_FILES := $(patsubst %.info.in,%.info,$(wildcard *.info.in))
+
+all: $(INFO_FILES)
+
+%.info: %.info.in
+ sed 's/^_//g' < $< > $@
+ intltool-extract --type=gettext/rfc822deb $<
+ #intltool-merge -d ../po $< $@
+
+clean:
+ rm -f $(wildcard *.h)
diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am
new file mode 100644
index 00000000..c9d63742
--- /dev/null
+++ b/data/templates/Makefile.am
@@ -0,0 +1,11 @@
+%.info: %.info.in
+ sed 's/^_//g' < $< > $@
+ $(INTLTOOL_EXTRACT) --type=gettext/rfc822deb $<
+
+datadir=$(prefix)/share/update-manager
+dinfodir = $(datadir)/dists
+dinfo_DATA = Debian.info Ubuntu.info
+
+EXTRA_DIST= $(dinfo_DATA)
+
+CLEANFILES = $(dinfo_DATA) $(dinfo_DATA:.info=.info.in.h)
diff --git a/data/templates/README.channels b/data/templates/README.channels
new file mode 100644
index 00000000..414148ed
--- /dev/null
+++ b/data/templates/README.channels
@@ -0,0 +1,46 @@
+Channel Definition
+------------------
+
+The .info files allow to specify a set of default channels that is available
+in the dialog "add channel". The .info file whose name corresponds to the
+LSB release name is used, e.g. 'Ubuntu.info' on a Ubuntu system.
+
+Furthermore all .info files are used to render the channels presented in the
+sources list more user friendly.
+
+
+Tags
+----
+
+Suite: the name of the dist used in the repository
+
+MatchSuite: mainly used for cdroms. defaults to Suite
+
+ParentSuite: the channel only appears as a component of the parent suite in
+ the add dialog
+ the components/sections of the suite correspond to the ones of
+ the parent suite. specified components of the suite itself
+ are ignored
+
+Available: determs the availabilty of the suite in the add dialog.
+ defaults to False
+
+RepositoryType: does the repository contain binary or source packages
+
+BaseURI: the base URI of the repository
+
+MatchURI: used for identifing mirrors
+
+Description: description of the suite. the translation is done through
+ gettext at runtime
+
+Component: a component/section of the suite (ignored if ParentSuite is
+ set)
+
+CompDescription: humand readable description of the component/section
+ (ignored if ParentSuite is set). the translation is done
+ through gettext at runtime
+
+ValidMirros: A file that contains a list of mirrors
+
+
diff --git a/data/templates/Ubuntu.info b/data/templates/Ubuntu.info
new file mode 100644
index 00000000..2908e85b
--- /dev/null
+++ b/data/templates/Ubuntu.info
@@ -0,0 +1,228 @@
+ChangelogURI: http://changelogs.ubuntu.com/changelogs/pool/%s/%s/%s/%s_%s/changelog
+
+Suite: edgy
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+Description: Ubuntu 6.10 'Edgy Eft'
+Component: main
+CompDescription: Officially supported
+CompDescriptionLong: Canonical supported Open Source software
+Component: universe
+CompDescription: Community maintained
+CompDescriptionLong: Community maintained Open Source software
+Component: restricted
+CompDescription: Non-free drivers
+CompDescriptionLong: Proprietary drivers for devices
+Component: multiverse
+CompDescription: Restricted software
+CompDescriptionLong: Software restricted by copyright or legal issues
+
+Suite: edgy
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*6.10
+Description: Cdrom with Ubuntu 6.10 'Edgy Eft'
+Available: False
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+
+Suite: edgy-security
+ParentSuite: edgy
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+Description: Important security updates
+
+Suite: edgy-updates
+ParentSuite: edgy
+RepositoryType: deb
+Description: Recommended updates
+
+Suite: edgy-proposed
+ParentSuite: edgy
+RepositoryType: deb
+Description: Proposed updates
+
+Suite: edgy-backports
+ParentSuite: edgy
+RepositoryType: deb
+Description: Backported updates
+
+Suite: dapper
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+Description: Ubuntu 6.06 LTS 'Dapper Drake'
+Component: main
+CompDescription: Officially supported
+CompDescriptionLong: Canonical supported Open Source software
+Component: universe
+CompDescription: Community maintained (universe)
+CompDescriptionLong: Community maintained Open Source software
+Component: restricted
+CompDescription: Non-free drivers
+CompDescriptionLong: Proprietary drivers for devices
+Component: multiverse
+CompDescription: Restricted software (Multiverse)
+CompDescriptionLong: Software restricted by copyright or legal issues
+
+Suite: dapper
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*6.06
+Description: Cdrom with Ubuntu 6.06 LTS 'Dapper Drake'
+Available: False
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+
+Suite: dapper-security
+ParentSuite: dapper
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+Description: Important security updates
+
+Suite: dapper-updates
+ParentSuite: dapper
+RepositoryType: deb
+Description: Recommended updates
+
+Suite: dapper-proposed
+ParentSuite: dapper
+RepositoryType: deb
+Description: Proposed updates
+
+Suite: dapper-backports
+ParentSuite: dapper
+RepositoryType: deb
+Description: Backported updates
+
+Suite: breezy
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+Description: Ubuntu 5.10 'Breezy Badger'
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+Component: universe
+CompDescription: Community maintained (Universe)
+Component: multiverse
+CompDescription: Non-free (Multiverse)
+
+Suite: breezy
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*5.10
+Description: Cdrom with Ubuntu 5.10 'Breezy Badger'
+Available: False
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+
+Suite: breezy-security
+ParentSuite: breezy
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+Description: Ubuntu 5.10 Security Updates
+
+Suite: breezy-updates
+ParentSuite: breezy
+RepositoryType: deb
+Description: Ubuntu 5.10 Updates
+
+Suite: breezy-backports
+ParentSuite: breezy
+RepositoryType: deb
+Description: Ubuntu 5.10 Backports
+
+Suite: hoary
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+Description: Ubuntu 5.04 'Hoary Hedgehog'
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+Component: universe
+CompDescription: Community maintained (Universe)
+Component: multiverse
+CompDescription: Non-free (Multiverse)
+
+Suite: hoary
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*5.04
+Description: Cdrom with Ubuntu 5.04 'Hoary Hedgehog'
+Available: False
+Component: main
+CompDescription: Officially supported
+Component: restricted
+CompDescription: Restricted copyright
+
+Suite: hoary-security
+ParentSuite: hoary
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+Description: Ubuntu 5.04 Security Updates
+
+Suite: hoary-updates
+ParentSuite: hoary
+RepositoryType: deb
+Description: Ubuntu 5.04 Updates
+
+Suite: hoary-backports
+ParentSuite: hoary
+RepositoryType: deb
+Description: Ubuntu 5.04 Backports
+
+Suite: warty
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+Description: Ubuntu 4.10 'Warty Warthog'
+Component: main
+CompDescription: No longer officially supported
+Component: restricted
+CompDescription: Restricted copyright
+Component: universe
+CompDescription: Community maintained (Universe)
+Component: multiverse
+CompDescription: Non-free (Multiverse)
+
+Suite: warty
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*4.10
+Description: Cdrom with Ubuntu 4.10 'Warty Warthog'
+Available: False
+Component: main
+CompDescription: No longer officially supported
+Component: restricted
+CompDescription: Restricted copyright
+
+Suite: warty-security
+ParentSuite: warty
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+Description: Ubuntu 4.10 Security Updates
+
+Suite: warty-updates
+ParentSuite: warty
+RepositoryType: deb
+Description: Ubuntu 4.10 Updates
+
+Suite: warty-backports
+ParentSuite: warty
+RepositoryType: deb
+Description: Ubuntu 4.10 Backports
diff --git a/data/templates/Ubuntu.info.in b/data/templates/Ubuntu.info.in
new file mode 100644
index 00000000..f3cce4f7
--- /dev/null
+++ b/data/templates/Ubuntu.info.in
@@ -0,0 +1,228 @@
+_ChangelogURI: http://changelogs.ubuntu.com/changelogs/pool/%s/%s/%s/%s_%s/changelog
+
+Suite: edgy
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+_Description: Ubuntu 6.10 'Edgy Eft'
+Component: main
+_CompDescription: Officially supported
+_CompDescriptionLong: Canonical supported Open Source software
+Component: universe
+_CompDescription: Community maintained
+_CompDescriptionLong: Community maintained Open Source software
+Component: restricted
+_CompDescription: Non-free drivers
+_CompDescriptionLong: Proprietary drivers for devices
+Component: multiverse
+_CompDescription: Restricted software
+_CompDescriptionLong: Software restricted by copyright or legal issues
+
+Suite: edgy
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*6.10
+_Description: Cdrom with Ubuntu 6.10 'Edgy Eft'
+Available: False
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+
+Suite: edgy-security
+ParentSuite: edgy
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+_Description: Important security updates
+
+Suite: edgy-updates
+ParentSuite: edgy
+RepositoryType: deb
+_Description: Recommended updates
+
+Suite: edgy-proposed
+ParentSuite: edgy
+RepositoryType: deb
+_Description: Proposed updates
+
+Suite: edgy-backports
+ParentSuite: edgy
+RepositoryType: deb
+_Description: Backported updates
+
+Suite: dapper
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+_Description: Ubuntu 6.06 LTS 'Dapper Drake'
+Component: main
+_CompDescription: Officially supported
+_CompDescriptionLong: Canonical supported Open Source software
+Component: universe
+_CompDescription: Community maintained (universe)
+_CompDescriptionLong: Community maintained Open Source software
+Component: restricted
+_CompDescription: Non-free drivers
+_CompDescriptionLong: Proprietary drivers for devices
+Component: multiverse
+_CompDescription: Restricted software (Multiverse)
+_CompDescriptionLong: Software restricted by copyright or legal issues
+
+Suite: dapper
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*6.06
+_Description: Cdrom with Ubuntu 6.06 LTS 'Dapper Drake'
+Available: False
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+
+Suite: dapper-security
+ParentSuite: dapper
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+_Description: Important security updates
+
+Suite: dapper-updates
+ParentSuite: dapper
+RepositoryType: deb
+_Description: Recommended updates
+
+Suite: dapper-proposed
+ParentSuite: dapper
+RepositoryType: deb
+_Description: Proposed updates
+
+Suite: dapper-backports
+ParentSuite: dapper
+RepositoryType: deb
+_Description: Backported updates
+
+Suite: breezy
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+_Description: Ubuntu 5.10 'Breezy Badger'
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+Component: universe
+_CompDescription: Community maintained (Universe)
+Component: multiverse
+_CompDescription: Non-free (Multiverse)
+
+Suite: breezy
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*5.10
+_Description: Cdrom with Ubuntu 5.10 'Breezy Badger'
+Available: False
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+
+Suite: breezy-security
+ParentSuite: breezy
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+_Description: Ubuntu 5.10 Security Updates
+
+Suite: breezy-updates
+ParentSuite: breezy
+RepositoryType: deb
+_Description: Ubuntu 5.10 Updates
+
+Suite: breezy-backports
+ParentSuite: breezy
+RepositoryType: deb
+_Description: Ubuntu 5.10 Backports
+
+Suite: hoary
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+MirrorsFile: /usr/share/update-manager/mirrors.cfg
+_Description: Ubuntu 5.04 'Hoary Hedgehog'
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+Component: universe
+_CompDescription: Community maintained (Universe)
+Component: multiverse
+_CompDescription: Non-free (Multiverse)
+
+Suite: hoary
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*5.04
+_Description: Cdrom with Ubuntu 5.04 'Hoary Hedgehog'
+Available: False
+Component: main
+_CompDescription: Officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+
+Suite: hoary-security
+ParentSuite: hoary
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+_Description: Ubuntu 5.04 Security Updates
+
+Suite: hoary-updates
+ParentSuite: hoary
+RepositoryType: deb
+_Description: Ubuntu 5.04 Updates
+
+Suite: hoary-backports
+ParentSuite: hoary
+RepositoryType: deb
+_Description: Ubuntu 5.04 Backports
+
+Suite: warty
+RepositoryType: deb
+BaseURI: http://archive.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu
+_Description: Ubuntu 4.10 'Warty Warthog'
+Component: main
+_CompDescription: No longer officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+Component: universe
+_CompDescription: Community maintained (Universe)
+Component: multiverse
+_CompDescription: Non-free (Multiverse)
+
+Suite: warty
+MatchName: .*
+BaseURI: cdrom:\[Ubuntu.*4.10
+_Description: Cdrom with Ubuntu 4.10 'Warty Warthog'
+Available: False
+Component: main
+_CompDescription: No longer officially supported
+Component: restricted
+_CompDescription: Restricted copyright
+
+Suite: warty-security
+ParentSuite: warty
+RepositoryType: deb
+BaseURI: http://security.ubuntu.com/ubuntu/
+MatchURI: archive.ubuntu.com/ubuntu|security.ubuntu.com
+_Description: Ubuntu 4.10 Security Updates
+
+Suite: warty-updates
+ParentSuite: warty
+RepositoryType: deb
+_Description: Ubuntu 4.10 Updates
+
+Suite: warty-backports
+ParentSuite: warty
+RepositoryType: deb
+_Description: Ubuntu 4.10 Backports