[Bug 667] New: <patch> element support for download and uncompression

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Fri Sep 19 08:02:07 PDT 2003


http://bugs.linuxfromscratch.org/show_bug.cgi?id=667

           Summary: <patch> element support for download and uncompression
           Product: Automated Linux From Scratch
           Version: CVS
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P5
         Component: Back End (XML Handlers)
        AssignedTo: kpfleming at backtobasicsmgmt.com
        ReportedBy: kpfleming at backtobasicsmgmt.com
         QAContact: alfs-log at linuxfromscratch.org


<patch> element should be extended to support the following:

<patch>
    <file>path-to-patch-file</file>
    <digest>md5-or-other-sum-of-file</digest>
    <reference>URL-to-get-patch-file</reference>
</patch>

The element will then download the file if necessary, checks its digest, and
issue the patch command as follows:

patch -N -p1 path-to-patch-file

in the current or specified <base>, of course. If the file is compressed, it
will be decompressed as it is passed to the patch command (just as the <unpack>
element does). Should support a <mode> attribute, of "forward" (the default) or
"reverse", and also a <strip> attribute (default of 1). Any other patch options
can be specified by using <param> attributes, which will be appended to the
constructed command line.

Issues:

- should this be syntax version 3.2?

- should this be a new element name, or is changing the existing element acceptable?



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the alfs-log mailing list