File: README

package info (click to toggle)
debarchiver 0.0.18
  • links: PTS
  • area: main
  • in suites: woody
  • size: 160 kB
  • ctags: 31
  • sloc: perl: 710; sh: 68; makefile: 51
file content (89 lines) | stat: -rw-r--r-- 3,573 bytes parent folder | download
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
DocumentId	$Id: README,v 1.5 2002/01/23 21:50:09 ola Exp $
Author		$Author: ola $
Date		$Date: 2002/01/23 21:50:09 $
Version		$Revision: 1.5 $
Summary
	Read this file to get some basic information about the debian archiver.


Introduction:
-------------

The debian archiver is a tool that installs debian packages into a file
structure suitable for apt-get, dselect and similar tools to use for updating
the installed debian system. It is ment to be used bu local administrators that
needs special packages, or tweaked versions to ease administration.

The file structure is based on the potato file structure and does not support
package pools. This may be implemented later, but is not high priority.


Function:
---------

The basic functionality of this package is simple. It takes packages
from the incoming directory (default /var/lib/debarchiver/incoming), looks
at the *.changes files, sorts the packages into the right place in
the destination (default /var/lib/debarchiver/dists).

It also sort packages (and does not look at the .changes file) in directories with
the same name as the distr version, see %distinputdirs. So it will sort
packages in /var/lib/debarchiver/incoming/stable to the stable version.


Cronjob:
--------

Debarchiver is very easy to run from a cronjob. In fact you only have to copy
the example cronfile to /etc/cron.d. You may edit it if you have some special
setup like multiple archives, see below.


Multiple archives:
------------------

It is possible to hand multiple archives at the same time. Set the common
settings in /etc/debarchiver.conf and then create a input.conf file in
the incoming directory of each incoming directory. If you use different
users for sorting the archives you can use the ~/.debarchiver.conf file
of that user instead.

Now edit /etc/cron.d/debarchiver and change it to something like this:
0 * * * *       debarchiver    test -x /usr/bin/debarchiver && /usr/bin/debarchiver --autoscan --addoverride --input /var/lib/debarchiver/incoming
0 * * * *       debarchiver    test -x /usr/bin/debarchiver && /usr/bin/debarchiver --autoscan --addoverride --input /home/debarchive-internal/incoming

or like this if you have separate users.
0 * * * *       debarchiver    test -x /usr/bin/debarchiver && /usr/bin/debarchiver --autoscan --addoverride
0 * * * *       debarchiver2    test -x /usr/bin/debarchiver && /usr/bin/debarchiver --autoscan --addoverride


non-US:
-------

Packages uploaded to non-US will have only a non-US section. This is not
a problem because it will create a non-US section in main. If the section
is non-free/non-US the same will be done, except that the non-US section
is in non-free instead. So there is no special non-US major section, just
a minor one.


Copyright:
----------

Copyright (C) 2001 Ola Lundqvist systemkonsult

This is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.

This is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License with
your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with
the debarchiver source package as the file COPYING.  If not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.