g-b-s patch: upstream patch list

Eric Blake ebb9@byu.net
Mon Jan 30 14:18:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I finally made my upstream patching generic, following Igor's suggestion
of providing foo-ver-rel.patch.tar.bz2 if there is more than one patch
file being applied to foo-ver.tar.*.  I used this patch on readline-5.1-2,
and have been testing it on my (soon-to-be-released) bash-3.1-2.  The idea
is that you create a single file, CYGWIN-PATCHES/upstream_patches.lst,
which is a listing of pathnames relative to ${srcdir} containing upstream
patches.  Then g-b-s can use the contents of that file to manipulate a
.patches directory to create/unpack the patch tarball.

2006-01-30  Eric Blake  <ebb9@byu.net>

	* templates/generic-build-script: Add ability to apply upstream
	patches, listed in CYGWIN-PATCHES/upstream_patches.lst.
	(mkdirs): Use new .patches directory.
	(fixup): New function.
	(prep): Unpack patch tarball.
	(mkpatch): Apply upstream patches before doing diff.
	(spkg): Make patch tarball if needed.
	(checksig): Look at patch tarball sig.
	(install): manifest.lst is not executable.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD3iAY84KuGfSFAYARArKCAJ9THVYXlUa7rfKrSOZN/JYacbGNPQCbBilw
fI79URGOOQqxE0OwvOYTgqk=
=jX/A
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gbs.patch
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20060130/bda236e8/attachment.ksh>


More information about the Cygwin-apps mailing list