summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2015-08-19 12:00:22 +0200
committerGiovanni Santini2015-08-19 12:00:22 +0200
commit9c07a61f5f11b7b44e28d8b307503d8b8fa61ae9 (patch)
tree8cf6c1297b0985837e4a1b8b3f516fc542c55c83
parentfa15efb3ebc76855c4f70e8bacf7016dad866fa3 (diff)
downloadaur-9c07a61f5f11b7b44e28d8b307503d8b8fa61ae9.tar.gz
Updated version to 0.19.5
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD16
-rw-r--r--fix_buggy_msgunfmt3.patch76
3 files changed, 11 insertions, 95 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d442e9f94311..a4d95ea7836a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gettext-java
pkgdesc = GNU internationalization library - Java libraries
- pkgver = 0.19.4
- pkgrel = 3
+ pkgver = 0.19.5
+ pkgrel = 1
url = http://www.gnu.org/software/gettext/
install = gettext.install
arch = i686
@@ -15,15 +15,13 @@ pkgbase = gettext-java
depends = sh
depends = glib2
depends = libunistring
- depends = gettext>=0.19.4
+ depends = gettext>=0.19.5
optdepends = git: for autopoint infrastructure updates
options = !docs
- source = ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz
- source = ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz.sig
- source = fix_buggy_msgunfmt3.patch
- md5sums = d3511af1e604a3478900d2c2b4a4a48e
+ source = ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.5.tar.gz
+ source = ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.5.tar.gz.sig
+ md5sums = 0f3c108d64e8dcd9e6fbdff4ca722feb
md5sums = SKIP
- md5sums = d80847a08b5c6566a3ef940c52347d37
pkgname = gettext-java
diff --git a/PKGBUILD b/PKGBUILD
index 347766b73fb4..83c85dac4200 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=gettext-java
_pkgbase=gettext
-pkgver=0.19.4
-pkgrel=3
+pkgver=0.19.5
+pkgrel=1
pkgdesc="GNU internationalization library - Java libraries"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gettext/"
@@ -15,18 +15,12 @@ makedepends=('java-environment')
optdepends=('git: for autopoint infrastructure updates')
options=(!docs)
install=gettext.install
-source=(ftp://ftp.gnu.org/pub/gnu/gettext/${_pkgbase}-${pkgver}.tar.gz{,.sig}
- fix_buggy_msgunfmt3.patch)
-md5sums=('d3511af1e604a3478900d2c2b4a4a48e'
- 'SKIP'
- 'd80847a08b5c6566a3ef940c52347d37')
+source=(ftp://ftp.gnu.org/pub/gnu/gettext/${_pkgbase}-${pkgver}.tar.gz{,.sig})
+md5sums=('0f3c108d64e8dcd9e6fbdff4ca722feb'
+ 'SKIP')
validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871') # Daiki Ueno
prepare() {
- # Fixing an error in 'make check', see patch headers
- cd "${srcdir}/${_pkgbase}-${pkgver}"
- patch -Np1 -i "$srcdir/fix_buggy_msgunfmt3.patch"
-
# Do a dirty installation: install files in a temporary
# directory and install them there, then package just new stuff
mkdir -p "${srcdir}/temp"
diff --git a/fix_buggy_msgunfmt3.patch b/fix_buggy_msgunfmt3.patch
deleted file mode 100644
index 2aea9a5ee0b8..000000000000
--- a/fix_buggy_msgunfmt3.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From: Giovanni Santini <giovannisantini93@yahoo.it>
-Just fixed the patch for building against official PKGBUILD.
-See below for original patch infos.
-
-From 5d3eeaa0d3b7f4f6932bd29d859925a940b69459 Mon Sep 17 00:00:00 2001
-From: Daiki Ueno <ueno@gnu.org>
-Date: Wed, 11 Mar 2015 07:18:26 +0000
-Subject: msgunfmt: Check allocated size for static segment
-
-Reported by Max Lin in:
-http://lists.gnu.org/archive/html/bug-gettext/2015-03/msg00005.html
-* read-mo.c (get_sysdep_string): Check if the embedded segment
-size is valid, before adding it to the string length.
----
-diff -ur a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
---- a/gettext-tools/src/ChangeLog 2014-12-24 07:32:59.000000000 +0100
-+++ b/gettext-tools/src/ChangeLog 2015-07-15 11:10:47.253402348 +0200
-@@ -1,3 +1,11 @@
-+2015-03-11 Daiki Ueno <ueno@gnu.org>
-+
-+ msgunfmt: Check allocated size for static segment
-+ Reported by Max Lin in:
-+ http://lists.gnu.org/archive/html/bug-gettext/2015-03/msg00005.html
-+ * read-mo.c (get_sysdep_string): Check if the embedded segment
-+ size is valid, before adding it to the string length.
-+
- 2014-12-24 Daiki Ueno <ueno@gnu.org>
-
- * gettext 0.19.4 released.
-diff -ur a/gettext-tools/src/read-mo.c b/gettext-tools/src/read-mo.c
---- a/gettext-tools/src/read-mo.c 2014-12-09 09:43:46.000000000 +0100
-+++ b/gettext-tools/src/read-mo.c 2015-07-15 11:15:24.563676393 +0200
-@@ -149,6 +149,7 @@
- nls_uint32 s_offset;
-
- /* Compute the length. */
-+ s_offset = get_uint32 (bfp, offset);
- length = 0;
- for (i = 4; ; i += 8)
- {
-@@ -158,9 +159,14 @@
- nls_uint32 ss_length;
- nls_uint32 ss_offset;
- size_t ss_end;
-+ size_t s_end;
- size_t n;
-
-+ s_end = xsum (s_offset, segsize);
-+ if (size_overflow_p (s_end) || s_end > bfp->size)
-+ error (EXIT_FAILURE, 0, _("file \"%s\" is truncated"), bfp->filename);
- length += segsize;
-+ s_offset += segsize;
-
- if (sysdepref == SEGMENTS_END)
- break;
-@@ -175,7 +181,7 @@
- ss_end = xsum (ss_offset, ss_length);
- if (size_overflow_p (ss_end) || ss_end > bfp->size)
- error (EXIT_FAILURE, 0, _("file \"%s\" is truncated"), bfp->filename);
-- if (!(ss_length > 0 && bfp->data[ss_offset + ss_length - 1] == '\0'))
-+ if (!(ss_length > 0 && bfp->data[ss_end - 1] == '\0'))
- {
- char location[30];
- sprintf (location, "sysdep_segment[%u]", (unsigned int) sysdepref);
-@@ -198,11 +204,8 @@
- nls_uint32 sysdep_segment_offset;
- nls_uint32 ss_length;
- nls_uint32 ss_offset;
-- size_t s_end = xsum (s_offset, segsize);
- size_t n;
-
-- if (size_overflow_p (s_end) || s_end > bfp->size)
-- error (EXIT_FAILURE, 0, _("file \"%s\" is truncated"), bfp->filename);
- memcpy (p, bfp->data + s_offset, segsize);
- p += segsize;
- s_offset += segsize;