diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/distributions.erb | 41 | ||||
-rw-r--r-- | templates/index.html.erb | 38 | ||||
-rw-r--r-- | templates/uploaders.erb | 4 |
3 files changed, 83 insertions, 0 deletions
diff --git a/templates/distributions.erb b/templates/distributions.erb new file mode 100644 index 0000000..c295245 --- /dev/null +++ b/templates/distributions.erb @@ -0,0 +1,41 @@ +Origin: <%= domain %> +Label: <%= domain %> +Suite: oldstable +Codename: etch +Version: 4.0 +Architectures: i386 amd64 source +Components: main non-free contrib +Description: <%= domain %> specific (or backported) packages +SignWith: yes +Uploaders: uploaders + +Origin: <%= domain %> +Label: <%= domain %> +Suite: stable +Codename: lenny +Version: 5.0 +Architectures: i386 amd64 source +Components: main non-free contrib +Description: <%= domain %> specific (or backported) packages +SignWith: yes +Uploaders: uploaders + +Origin: <%= domain %> +Label: <%= domain %> +Suite: testing +Codename: squeeze +Architectures: i386 amd64 source +Components: main non-free contrib +Description: <%= domain %> specific (or backported) packages +SignWith: yes +Uploaders: uploaders + +Origin: <%= domain %> +Label: <%= domain %> +Suite: unstable +Codename: sid +Architectures: i386 amd64 source +Components: main non-free contrib +Description: <%= domain %> specific (or backported) packages +SignWith: yes +Uploaders: uploaders diff --git a/templates/index.html.erb b/templates/index.html.erb new file mode 100644 index 0000000..719460e --- /dev/null +++ b/templates/index.html.erb @@ -0,0 +1,38 @@ +<html> +<head> +<title><%= domain %> Debian package repository</title> +</head> +<body> +<h1>Introduction</h1> + +<p>This is the Debian package repository of <%= domain %>. It is used for internal +distribution of locally built packages not yet part of Debian. Feel free to use +it for yourself, but it comes at no warranty, see <a +href="https://wiki.<%= domain %>/Beta">the Beta page</a> for more information.</p> + +<h1>How to use</h1> + +<p>In your /etc/apt/source.list: + +<pre> +deb http://debian.<%= domain %>/debian lenny main +deb-src http://debian.<%= domain %>/debian lenny main +</pre> + +"lenny", of course, can be replaced by your distribution. Know that we usually +package straight for etch or lenny. Packages will likely not be available in +squeeze or sid.</p> + +<h2>Adding the archive key to your keyring</h2> + +<p>This archive self-signs packages uploaded to it (and packages uploaded are +verified against a whitelist of trusted uploaders) using OpenPGP (GnuPG, to be +more precise).</p> + +<p>The key of the archive is in the <a href="/key.asc">key.asc file</a>. You should add the key using something like this:</p> + +<pre> +wget http://debian.<%= domain %>/debian/key.asc +apt-key add key.asc +apt-get update +</pre> diff --git a/templates/uploaders.erb b/templates/uploaders.erb new file mode 100644 index 0000000..560e3ce --- /dev/null +++ b/templates/uploaders.erb @@ -0,0 +1,4 @@ +# reprepro uploaders, file managed by puppet +<% reprepro_upladers.each do |uploader| -%> +allow * by key <%= uploader %> +<% end -%> |