]> git.pld-linux.org Git - packages/apr.git/commitdiff
- up to 1.4.5; fixes CVE-2011-1928 auto/th/apr-1_4_5-1 auto/ti/apr-1_4_5-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 22 May 2011 17:50:41 +0000 (17:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apr-1.4.4-fnmatch.patch -> 1.2
    apr.spec -> 1.97

apr-1.4.4-fnmatch.patch [deleted file]
apr.spec

diff --git a/apr-1.4.4-fnmatch.patch b/apr-1.4.4-fnmatch.patch
deleted file mode 100644 (file)
index c4db558..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -ur apr-1.4.4-orig/strings/apr_fnmatch.c apr-1.4.4/strings/apr_fnmatch.c
---- apr-1.4.4-orig/strings/apr_fnmatch.c       2011-05-03 06:51:24.000000000 +0200
-+++ apr-1.4.4/strings/apr_fnmatch.c    2011-05-19 20:50:52.042450131 +0200
-@@ -196,8 +196,11 @@
-     const char *mismatch = NULL;
-     int matchlen = 0;
--    while (*pattern)
--    {
-+    if (*pattern == '*')
-+                      goto firstsegment;
-+
-+      while (*pattern && *string)
-+      {
-         /* Match balanced slashes, starting a new segment pattern
-          */
-         if (slash && escape && (*pattern == '\\') && (pattern[1] == '/'))
-@@ -207,6 +210,7 @@
-             ++string;
-         }            
-+firstsegment:
-         /* At the beginning of each segment, validate leading period behavior.
-          */
-         if ((flags & APR_FNM_PERIOD) && (*string == '.'))
-@@ -361,9 +365,9 @@
-             return APR_FNM_NOMATCH;
-     }
--    /* pattern is at EOS; if string is also, declare success
-+    /* Where both pattern and string are at EOS, declare success
-      */
--    if (!*string)
-+    if (!*string && !*pattern)
-         return 0;
-     /* pattern didn't match to the end of string */
-Tylko w apr-1.4.4/strings: apr_fnmatch.c~
index e83709f47b90650ad2998b918a964a0c74d6d178..c8d6d03c091670e9cfa4092b7a6c1f0beaa8dd0a 100644 (file)
--- a/apr.spec
+++ b/apr.spec
@@ -5,18 +5,17 @@
 Summary:       Apache Portable Runtime
 Summary(pl.UTF-8):     Apache Portable Runtime - przenośna biblioteka uruchomieniowa
 Name:          apr
-Version:       1.4.4
-Release:       3
+Version:       1.4.5
+Release:       1
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
 Source0:       http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
-# Source0-md5: daf5487c82dd7bec9c005c96f8cb01b1
+# Source0-md5: 8b53f5a5669d0597f2da889a2f576eb6
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-libtool.patch
 # disable some things that require recent kernel
 Patch2:                %{name}-disable-features.patch
-Patch3:     %{name}-1.4.4-fnmatch.patch
 URL:           http://apr.apache.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -102,7 +101,6 @@ Statyczna biblioteka apr.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 cat >> config.layout <<'EOF'
 <Layout PLD>
This page took 0.103455 seconds and 4 git commands to generate.