/usr/share/doc/svn-buildpackage/html/ch03.html is in svn-buildpackage 0.8.6.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 3. Importing Debian packages</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="svn-buildpackage - maintaining Debian packages with Subversion"><link rel="up" href="index.html" title="svn-buildpackage - maintaining Debian packages with Subversion"><link rel="prev" href="ch02s06.html" title="Anonymous access"><link rel="next" href="ch03s02.html" title="On-Build-Time merging"></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">Chapter 3. Importing Debian packages</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s06.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="import"></a>Chapter 3. Importing Debian packages</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="ch03.html#existing">Importing from existing source package files</a></span></dt><dt><span class="sect1"><a href="ch03s02.html">On-Build-Time merging</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch03s02.html#idm282"><span class="command"><strong>dpkg-source</strong></span> format 3.0 support</a></span></dt><dt><span class="sect2"><a href="ch03s02.html#idm306">Preparing patches in <span class="command"><strong>dpkg-source</strong></span> 3.0 packages</a></span></dt></dl></dd><dt><span class="sect1"><a href="ch03s03.html">Using <span class="command"><strong>svn-buildpackage</strong></span> with native packages</a></span></dt><dd><dl><dt><span class="sect2"><a href="ch03s03.html#idm336">Compiled native packages</a></span></dt><dt><span class="sect2"><a href="ch03s03.html#idm375">Native packages not using autotools</a></span></dt></dl></dd></dl></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="existing"></a>Importing from existing source package files</h2></div></div></div><p>
The <span class="command"><strong>svn-inject</strong></span> utility is intended to import already
packaged source packages into a new subdirectory of the repository,
creating the repository layout as needed. Normally, it takes two
arguments: the <code class="filename">.dsc</code> file of your package and the base URL of the
Subversion repository.
</p><div class="example"><a name="idm245"></a><p class="title"><b>Example 3.1. svn-inject example</b></p><div class="example-contents"><pre class="programlisting">
svn-inject translucency_*dsc file:///tmp/z
cp /tmp/translucency_0.6.0.orig.tar.gz /tmp/tarballs || true
mkdir -p translucency/branches/upstream
tar -z -x -f /tmp/translucency_0.6.0.orig.tar.gz
mv * current
svn -q import -m"Installing original source version" translucency file:///tmp/z/translucency
svn -m Tagging upstream source version copy file:///tmp/z/translucency/branches/
upstream/current file:///tmp/z/translucency/branches/upstream/0.6.0 -q
svn -m Forking to Trunk copy file:///tmp/z/translucency/branches/upstream/current file:///tmp/z/translucency/trunk -q
dpkg-source -x /tmp/translucency_0.6.0-1.dsc
dpkg-source: extracting translucency in translucency-0.6.0
svn_load_dirs file:///tmp/z/translucency/trunk . *
...
Running /usr/bin/svn propset svn:executable initscript
Running /usr/bin/svn propset svn:executable debian/rules
Running /usr/bin/svn propset svn:executable mounttest.sh
Running /usr/bin/svn propset svn:executable mount.translucency
Running /usr/bin/svn propget svn:eol-style base.h
Running /usr/bin/svn propget svn:eol-style Makefile
Running /usr/bin/svn propget svn:eol-style translucency.8
Running /usr/bin/svn commit -m Load translucency-0.6.0 into translucency/trunk.
Running /usr/bin/svn update
Cleaning up /tmp/svn_load_dirs_jD7OenzVjI
Storing trunk copy in /tmp/translucency.
svn co file:///tmp/z/translucency/trunk /tmp/translucency -q
svn propset svn:executable 1 debian/rules -q
svn -m"Fixing debian/rules permissions" commit debian -q
Done! Removing tempdir.
Your working directory is /tmp/translucency - have fun!
</pre></div></div><br class="example-break"><p>
If you omit the URL, <span class="command"><strong>svn-inject</strong></span> will try to use the
URL of the current directory as base URL. I would not rely on this, however.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s06.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch03s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Anonymous access </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> On-Build-Time merging</td></tr></table></div></body></html>
|