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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
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.
The official site of this software can be found at
http://inguza.com/software/debarchiver/
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-dir (default /var/lib/debarchiver/dists). The destination
distribution is determined by the 'Distribution:' field in .changes.
It also sorts packages in directories with the same name as the distribution
version (see %distinputdirs). So it will sort packages in
/var/lib/debarchiver/incoming/stable to the stable branch. Packages
in these directories do not need a .changes file, but can have one. Packages
with a .changes file will be sorted before any other .deb package.
So you will be able to add binary-only packages, but also "move" (or actually
copy) packages from sid to woody, sarge, etch, lenny or squeeze.
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.
Signature verification:
-----------------------
Dependent on your decision (see $verifysignatures, $verifysignaturesdistinput,
$vrfycmd) debarchiver checks the signature of uploaded packages. Unsigned
packages (except binary-only packages without a .changes file) will be rejected
if verification is enabled. See README.gnupg for how to enable signature verification.
Archive signing:
----------------
See README.gnupg for infos on how to enable the creation of a signed Release
files.
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
Email:
------
It is possible to configure debarchiver to send email on successfully or
rejected packages. Make sure not to activate that if you add packages from
different sources because you will easily harass the maintainers of these
packages.
Simply add Maintainer, Uploaders, @domain and/or user@domain as recipient
of the information in the configuration file. More exact information is
available there.
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) 2000-2008 Ola Lundqvist <ola@inguza.com>
Copyright (C) 2007 Turbo Fredriksson <turbo@bayour.com>
Copyright (C) 2004-2005 Russ Allbery <rra@stanford.edu>
Copyright (C) 2005 Joel Baker <lucifer@lightbearer.com>
Copyright (C) 2005 Daniel Leidert <daniel.leidert@wgdd.de>
Copyright (C) 2005 Bob Proulx <bob@proulx.com>
Copyright (C) 2005-2006 Valry Perrin <valery.perrin@free.fr>
Copyright (C) 2006 Yaroslav Halchenko <debian@onerussian.com>
Copyright (C) 2006 Jrmy Bobbio <jeremy.bobbio@etu.upmc.fr>
Copyright (C) 2006 Michael Hanke <michael.hanke@gmail.com>
Copyright (C) 2006 Martin F Krafft <madduck@debian.org>
Copyright (C) 2006 Hkon Stordahl <haastord@online.no>
See the AUTHORS file for information on what the individual copyright
holder has contributed with.
License:
--------
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
the debarchiver source package as the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
|