summaryrefslogtreecommitdiff
path: root/templates/index.html.erb
blob: ddc42bc925123291c42acd63d37aceccdf0dd35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
<title><%= domain %> Debian package repository</title>
</head>
<body>
<h1>Introduction</h1>

<p>This is the Debian package repository of <%= @origin %>. 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.

<h1>How to use</h1>

<p>In your /etc/apt/sources.list:

<pre>
deb http://debian.<%= scope.lookupvar('::domain') %>/debian squeeze main
deb-src http://debian.<%= scope.lookupvar('::domain') %>/debian squeeze main
</pre>

"squeeze", of course, can be replaced by your distribution.
</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.<%= scope.lookupvar('::domain') %>/debian/key.asc
apt-key add key.asc
apt-get update
</pre>