Markus Hoenicka <markus.hoenicka@xxxxxxxxxxxx> writes:
[...]
> I think it is possible to provide Debian packages for consumption by apt-get
> even before the packages are an official part of Debian. On the client side
> all
> you need is an appropriate entry in your apt config file. I'll try to find out
> what I have to provide on the server side in order to make this work.
I would be glad to help with that if you want. Please let me know.
I could set it up for you at http://refdb.sourceforge.net/debian/
(or whatever other subdirectory), and it wouldn't take long.
I have a Debianized repository at http://docbook.sf.net/debian/
now (at /home/groups/d/do/docbook/htdocs/debian/ from the shell),
so feel free to take a look at that.
Basically, all you need are the following files in the same
directory as your *.deb package(s):
Release
Packages.gz
If you want to make source versions of the package apt-gettable,
you also need a Sources.gz file and the *.diff.gz, *.dsc, and
*.orig.tar.gz that form the source "package".
The Packages.gz and Sources.gz files are generated using the
Debian dpkg-scanpackages and dpkg-scansources commands. It is best
to generate them on the server side, but it's also possible (if
you have to) to generate them on the client side and upload them
with the debs and source bits.
But you shouldn't have to do that, because I already have copies of
dpkg-scanpackages dpkg-scansources in /home/groups/d/do/docbook/bin.
And we can come up with an easy way to have the Packages.gz and
Sources.gz regenerated on the server side. Either automatically
each time a new package version is uploaded, by using a client-
side Makefile or script to handle both the upload and *.gz
regeneration (that's the way I do it) or maybe through some simple
Web form with a push button for generating them on demand.
Anyway, let me know if you'd like for me to help with this.
--Mike
--
Michael Smith
http://logopoeia.com/ http://www.oreillynet.com/pub/au/890
smime.p7s
Description: S/MIME cryptographic signature
|