This file is indexed.

/usr/share/doc/lire/dev-manual/ch19s04.html is in lire-devel-doc 2:2.1.1-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Building The Debian Package</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire Developer's Manual"><link rel="up" href="ch19.html" title="Chapter 19. Making a Release"><link rel="prev" href="ch19s03.html" title="Building The Tarball"><link rel="next" href="ch19s05.html" title="Building The RPM Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Building The Debian Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch19s03.html">Prev</a> </td><th width="60%" align="center">Chapter 19. Making a Release</th><td width="20%" align="right"> <a accesskey="n" href="ch19s05.html">Next</a></td></tr></table><hr></div><div class="section" title="Building The Debian Package"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect:deb"></a>Building The Debian Package</h2></div></div></div><p>This is a raw unformatted dump of what we did to build
	  and upload the <span class="application">Lire</span> .deb.

	  </p><pre class="programlisting">
              <code class="prompt">$ </code>cd ~/cvs-sourceforge/logreport/package/debian
              <code class="prompt">$ </code>vi changelog 

:r !date --rfc

              <code class="prompt">$ </code>cd /usr/local/src/debian/lire/debian/20010219
	  </pre><p>

          Run something like 'DIB_V=20020214 DIB_P=lire DIB_TARDIR=../archive/
./debian-install-build'. This does:

	  </p><pre class="programlisting">
              <code class="prompt">$ </code>cd /usr/local/src/debian/lire/debian/20010219
              <code class="prompt">$ </code>cp \
  ~/cvs-sourceforge/logreport/service/lire-20010219.tar.gz .

              <code class="prompt">$ </code>tar zxf lire-20010219.tar.gz 
              <code class="prompt">$ </code>cd lire/20010418
              <code class="prompt">$ </code>mv lire-20010418 lire-20010418.orig
              <code class="prompt">$ </code>tar zxf lire-20010418.tar.gz
              <code class="prompt">$ </code>cd lire-20010418
              <code class="prompt">$ </code>mkdir debian
              <code class="prompt">$ </code>cp \
   ~/cvs-sourceforge/logreport/package/debian/[^C]* debian/
	  </pre><p>

	  Export the shell environment variable EMAIL, it should hold
	  your email address, as it is to appear in the
	  maintainers field of the package. (One could use 'dh_make --copyright gpl
	  -s' on first time debianizing.) Build the .deb by running:

	  </p><pre class="programlisting">
<code class="prompt">$ </code>debuild 2&gt;&amp;1 | tee /tmp/build
	  </pre><p>

	  Check the .deb:

	  </p><pre class="programlisting">
<code class="prompt">$ </code>debc | less
	  </pre><p>

          You might also want to test wether the Debianized sources build
          fine on other machines: copy diff.gz, orig.tar.gz and .dsc.  Then
          do
          </p><pre class="programlisting">
<code class="prompt">$ </code>dpkg-source -x lire_*.dsc
<code class="prompt">$ </code>cd lire-version
<code class="prompt">$ </code>dpkg-buildpackage -rfakeroot
          </pre><p>

	  After having <span class="emphasis"><em>really</em></span> tested it (dpkg -i,
	  purge, etc.), optionally install it on any local apt-able websites
          you might have (Joost has one on http://mdcc.cx/debian/) and
	  upload it to hibou's apt-able archive:

	  </p><pre class="programlisting">
<code class="prompt">$ </code>scp lire_20010418-1_all.deb \
 hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/binary-all/admin/

<code class="prompt">$ </code>scp lire_20010418*.gz \
 hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/source/admin/
<code class="prompt">$ </code>scp lire_20010418*.*s* \
 hibou.logreport.org:/var/www/logreport.org/pub/debian/dists/local/contrib/source/admin/
	  </pre><p>

          Move the old debian stuff on hibou to hibou:/pub/archive/debian/ .
Update the Packages file by running

	  </p><pre class="programlisting">
<code class="prompt">$ </code>cd /var/www/logreport.org/pub/debian
<code class="prompt">$ </code>make
	  </pre><p>
	</p><p>To upload it to the official debian mirrors:

	  </p><pre class="programlisting">
vanbaal@gelfand:/usr...src/debian/lire/20010418% date; \
  dupload lire_20010418-1_i386.changes 
Thu Apr 19 14:27:38 CEST 2001
Uploading (ftp) to ftp.uk.debian.org:debian/UploadQueue/
[ job lire_20010418-1_i386 from lire_20010418-1_i386.changes New dpkg-dev, announcement will NOT be sent
 lire_20010418.orig.tar.gz, md5sum ok
 lire_20010418-1.diff.gz, md5sum ok
 lire_20010418-1_all.deb, md5sum ok
 lire_20010418-1.dsc, md5sum ok
 lire_20010418-1_i386.changes ok ]
Uploading (ftp) to uk (ftp.uk.debian.org)
 lire_20010418.orig.tar.gz 163.1 kB , ok (12 s, 13.59 kB/s)
 lire_20010418-1.diff.gz 32.6 kB , ok (3 s, 10.88 kB/s)
 lire_20010418-1_all.deb 222.4 kB , ok (16 s, 13.90 kB/s)
 lire_20010418-1.dsc 0.6 kB , ok (0 s, 0.60 kB/s)
 lire_20010418-1_i386.changes 1.2 kB , ok (1 s, 1.22 kB/s) ]
	  </pre><p>
	  
	  check ftp://ftp.uk.debian.org/debian/UploadQueue/
	</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch19s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch19.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch19s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Building The Tarball </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Building The RPM Package</td></tr></table></div></body></html>