nALFS - autopatch

Mihail Zenkov kreator at tut.by
Mon Mar 27 05:00:15 PST 2006


I create new handler for nALFS - autopatch. It useful for me, maybe it will useful for others users nALFS.

Example

with patch:

<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-rtld-search-dirs-patch;</param>
</patch>
<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-fix-testsuite-patch;</param>
</patch>
<patch>
        <param>-N</param>
        <param>-p1</param>
        <param>-i &packages_dir;/&glibc-tls-assert-patch;</param>
</patch>


with autopath:

<autopatch>
	<path>&packages_dir;</path>
	<pattern>glibc-&glibc-version;-*patch*</pattern>
</autopatch>

This apply all patch that match a wildcard pattern. Also supported bz2 and gz patches.
You can add/remove patches without edit profile.

Compile with nALFS-SVN:
./bootstrap
patch -p1 -i nALFS-autopatch.patch
./bootstrap
./configure
make
make install

Compile with nALFS-1.2.6:
Need all bootstrap* and M4 directory from SVN.
patch -p1 -i nALFS-autopatch.patch
./bootstrap
./configure
make
make install


P.S. Sorry my english :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nALFS-autopatch.patch
Type: application/octet-stream
Size: 6521 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20060327/2115f6b5/attachment.obj>


More information about the alfs-discuss mailing list