Re: 1.2 source archive and packaging issues
Bruce Perens wrote:
> Subsequent to that, if you upload a package please make sure it generates
> the files with underscores.
>
> With ports on the horizon, we should be making sure that an automatic build
> of Debian in its entirety is more than a _theoretical_ possibility. This means
> that every package must have a .tar.gz file, and an .diff file if the package
> is derived from upstream source. It should be possible to build the package
> automaticaly by something like:
>
> tar xvlzf package_version.tar.gz
> cd package*
> ./debian.rules binary
> cd ..
> dchanges <flags> package_version.${ARCHITECTURE}.deb
>
> Currently, the above procedure might not work for packages like netbase and
> netstd, which are extracted into the archive as directories full of
> sub-package tar files. Probably those packages should go into the archive as
> tar files like other packages.
Ian M. and I discussed that about 1-2 years ago. He said that it
shouldn't be necessary to download the netstd package (>1.5MB) if
the user just wants the sources for fping. I think is a good idea to
have at least the sources for netstd extracted in a separate
directory.
You could change the script to something like that:
if [ ! -d package*]; then
tar xvlzf package_version.tar.gz
fi
cd package*
./debian.rules binary
cd ..
dchanges <flags> package_version.${ARCHITECTURE}.deb
That would work with netstd and it would also work if the
other packages are already extracted.
Thanks,
Peter
--
Peter Tobias EMail:
Fachhochschule Ostfriesland tobias@et-inf.fho-emden.de
Fachbereich Elektrotechnik und Informatik tobias@debian.org
Constantiaplatz 4, 26723 Emden, Germany tobias@linux.de
Reply to: