]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- "ls -S": match "security" case insensitively auto/th/poldek-0_30-1_rc3_4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 26 Jan 2012 12:12:31 +0000 (12:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ls-security.patch -> 1.1
    poldek.spec -> 1.434

ls-security.patch [new file with mode: 0644]
poldek.spec

diff --git a/ls-security.patch b/ls-security.patch
new file mode 100644 (file)
index 0000000..6a44297
--- /dev/null
@@ -0,0 +1,15 @@
+improve matching security updates from changelogs:
+- match "security" case insensitively
+- match CVE-20xx, I doubt poldek exists in 2100, or I simply don't care :D
+
+--- poldek-0.30/pkgu.c~        2011-11-26 01:45:15.000000000 +0200
++++ poldek-0.30/pkgu.c 2012-01-26 11:15:24.628984938 +0200
+@@ -508,7 +508,7 @@
+         struct changelog_ent *ent = n_array_nth(entries, i);
+         const char *m = ent->message;
+         
+-        if (strstr(m, "CVE-2") || strstr(m, "CVE-19") || strstr(m, "ecurity")) {
++        if (strstr(m, "CVE-20") || strstr(m, "CVE-19") || strcasestr(m, "security")) {
+             yes = 1;
+             break;
+         }
index 2a07599e0337e0ae88661a944b46abdb723317e3..3609e7d833a94ec07ddb5298c29af43ae4981d54 100644 (file)
@@ -17,7 +17,7 @@
 %define        ver_rpm 4.5-49
 
 %define                snap    rc3
-%define                rel     3
+%define                rel     4
 Summary:       RPM packages management helper tool
 Summary(hu.UTF-8):     RPM csomagkezelést segítő eszköz
 Summary(pl.UTF-8):     Pomocnicze narzędzie do zarządzania pakietami RPM
@@ -45,6 +45,7 @@ Patch1:               %{name}-config.patch
 Patch2:                %{name}-size-type.patch
 Patch3:                %{name}-Os-fail-workaround.patch
 Patch4:                am-pkglib.patch
+Patch5:                ls-security.patch
 URL:           http://poldek.pld-linux.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -206,6 +207,7 @@ Moduły języka Python dla poldka.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 rm -f m4/libtool.m4 m4/lt*.m4
 
This page took 0.130401 seconds and 4 git commands to generate.