From 73085dd25f0eee2ef4d2caa593c20e6ef66d02f2 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 26 Aug 2009 19:55:16 +0000 Subject: expat: adding patches/expat git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@505 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- patches/expat/Manifest | 24 ++++++ patches/expat/expat-2.0.1.diff | 24 ++++++ patches/expat/expat.mkbuild | 185 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 233 insertions(+) create mode 100644 patches/expat/Manifest create mode 100644 patches/expat/expat-2.0.1.diff create mode 100644 patches/expat/expat.mkbuild (limited to 'patches') diff --git a/patches/expat/Manifest b/patches/expat/Manifest new file mode 100644 index 0000000..83837cd --- /dev/null +++ b/patches/expat/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST expat-2.0.1.tar.gz 446456 MD5 ee8b492592568805593f81f8cdf2a04c RMD160 d31bcb152adaff9e358968be1ea901e1b4ed3b2f SHA1 663548c37b996082db1f2f2c32af060d7aa15c2d SHA256 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93 SHA512 934a2999923eda9296f838a4846daac4bdd47929ec6e81f8104d5a54adc0dae348c8fc38f07eb61ad30fa27fc8b76e2549550b94fb90ea14851492eab9a332e2 +MKBUILD expat.mkbuild 4927 MD5 e05c42c414258a8dcc7c03189eb39069 RMD160 ce7927aa6fe6728faa7f5481ae59c29e66a19de8 SHA1 6a1c6a0d0ca1384f95b7a816624b420237c71d45 SHA256 2c05c2c609fa1bf607198f1ec8b3dc45d779e424c215083b2531e69b9326cacc SHA512 5bf1027f8f65fa733f471334fc410958118806ecc49579108e744068885700187c15d4c62434a80d2d803d5690c28e61a80fc34b224197074bfefcfb4cfa9e76 +PATCH expat-2.0.1.diff 970 MD5 42f03f74d9c0e67e4706b41cc76aed75 RMD160 a3e17e3b5c848295603f667d4bbb4050bc079c26 SHA1 248389819f88175b6da3f40a7982e0f96d5a7d51 SHA256 e6502ac6f178f71f497cfd8f55be70e161ab820b4a4fa5ee8786307c332806dd SHA512 25416e3bbd2b94236cbc5831b8aaa98575d236a19874e708a3770bfbad5f50ca34976c413e7d4bedc3a265c76d3d20398477bfa9f4828983ea75a93561b0591b +SLACKBUILD expat.SlackBuild 7850 MD5 84fd346687e8da149175a23a119ca536 RMD160 03541ed7e12a24e2a17d6a2e49e2bd128f2e2125 SHA1 d9548dca28cee2f357d4d6f938f7cdf6933a3033 SHA256 de25c9ee7c97c36c076f9a7d3c92cab212aeadbf1f07042c90137d85f7dd2078 SHA512 3141ddd5fdd2c75e1fba172a5a8c9fbe09193cb7e9d0c8c3e50d80cdb8e6405eab31df6b3c5d2f69f50d4e0c6be3f6ece254d33cbe0d93433356396e214a709d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBCAAGBQJKlZLgAAoJEEHL93ESzgeigzgP/RYqSFw04KdemWI+A0yela6j +fCJO7+uHWEt8BIeX3tF++TwNk61aum5i+1oIKCP27aalIwDJZIWSXcnZWPalfOYC +jQEV9HNZt75RxJ7aCB79yK9m3u1iFBUEBAE3BwJUjcd9xqw8uFhaM3FRzkis2zPd +QYZc0fEZsxj/ubsBi82fYhbr7V9GyUXqK3yx3jMRQ01XZD8V5YFtMgKMxlikiS7I +XtbPzEjkn8yuqNCQ68/J+ifdNdbf0C+AmDghzsa5zncq15n+3Eo/MfMGP0gX0mGZ +RYTgIeRXupUzpvp3CBv/WMkPqccTAYyDvGfb/ujLlsc6UEVPVom4wtlS3v+Bn7QU +MDXLPFcFlDr7HiJNcUNDhBPPwpC1UKbTbHor5JGYxtREwhsf1SSE7m3ldo2MEwgY +gWjJWBU9AIrwSxdD2vmiYf4tLggoqYRpSwDsvfIGq/JuIdK8YI2ktZ2MQIMyDphB +HABTOY9QHcOXTZoX90+UjseM50qB08hwX2hBP7r/5dTLbipHrlW8k0Tdu8h79PI2 +/IsbhEzHNqj3q5DNqC0Zswizb353hiOYEqBvUkCeBcIEr6QaMcxZTP4kjIdr8kUW +riHapm2xN8v61t7g9cNivf8BVveQBEHFCSwyECKcK/IsF1YbzaU7wqG7iKwn5kck +/2tMYPHTHh4E7n86qZlZ +=zNj9 +-----END PGP SIGNATURE----- diff --git a/patches/expat/expat-2.0.1.diff b/patches/expat/expat-2.0.1.diff new file mode 100644 index 0000000..bb40f0a --- /dev/null +++ b/patches/expat/expat-2.0.1.diff @@ -0,0 +1,24 @@ +diff -Naur expat-2.0.1.orig/lib/xmlparse.c expat-2.0.1/lib/xmlparse.c +--- expat-2.0.1.orig/lib/xmlparse.c 2007-05-07 23:25:35.000000000 -0300 ++++ expat-2.0.1/lib/xmlparse.c 2009-08-26 16:50:55.000000000 -0300 +@@ -2563,6 +2563,8 @@ + (int)(dataPtr - (ICHAR *)dataBuf)); + if (s == next) + break; ++ if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED) ++ break; + *eventPP = s; + } + } +diff -Naur expat-2.0.1.orig/lib/xmltok_impl.c expat-2.0.1/lib/xmltok_impl.c +--- expat-2.0.1.orig/lib/xmltok_impl.c 2006-11-26 15:34:46.000000000 -0200 ++++ expat-2.0.1/lib/xmltok_impl.c 2009-08-26 16:50:57.000000000 -0300 +@@ -1744,7 +1744,7 @@ + const char *end, + POSITION *pos) + { +- while (ptr != end) { ++ while (ptr < end) { + switch (BYTE_TYPE(enc, ptr)) { + #define LEAD_CASE(n) \ + case BT_LEAD ## n: \ diff --git a/patches/expat/expat.mkbuild b/patches/expat/expat.mkbuild new file mode 100644 index 0000000..b71e605 --- /dev/null +++ b/patches/expat/expat.mkbuild @@ -0,0 +1,185 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="COPYING Changes README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/$PKG_NAME" +[[SLACKBUILD PATH]]="patches/expat" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +expat: expat +expat: +expat: This is Expat, a C library for parsing XML, written by James Clark. +expat: Expat is a stream-oriented XML parser used by Python, GNOME, Xft2, +expat: and other things. +expat: +expat: +expat: +expat: +expat: +expat: +#