Re: Proposal: New source format (was Re: [Fwd: Re: dpkg question])
On 11 May 1997, Kai Henningsen wrote:
> > Not really. You could handle it just like redhat does in the srpm files: you
> > have a shell script that is responsible for unpacking the package into a
> > specific directory and applying all patches to it.
> Remember: no shell scripts in the source packages that are needed for
> unpacking. It's just too dangerous.
> Ian convinced me of this one.
Maybe this could be solved with a new field:
or for archives which unpack in ./
There would then be a standard source unpacker script which did something
mkdir -p $UnpackDir
case $srcformat in
tar.gz) ... ;;
tar) ... ;;
shar) ... ;;
zip) ... ;;
arj) ... ;;
Alternatively, for packages which have multiple original source
archives, the line specifying the archive name could have an optional
second field specifying the target directory. if blank, then unpack in
/usr/src/debian/, otherwise unpack in /usr/src/debian/$field2
"/usr/src/debian" mentioned for example purposes only. your preferences
networking consultant Available for casual or contract
temporary autonomous zone system administration tasks.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .