packages: poldek/poldek.spec, poldek/ls-security.patch (NEW) - "ls -S": mat...

glen glen at pld-linux.org
Thu Jan 26 13:12:37 CET 2012


Author: glen                         Date: Thu Jan 26 12:12:37 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- "ls -S": match "security" case insensitively

---- Files affected:
packages/poldek:
   poldek.spec (1.433 -> 1.434) , ls-security.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/poldek/poldek.spec
diff -u packages/poldek/poldek.spec:1.433 packages/poldek/poldek.spec:1.434
--- packages/poldek/poldek.spec:1.433	Thu Jan 26 13:11:12 2012
+++ packages/poldek/poldek.spec	Thu Jan 26 13:12:31 2012
@@ -18,7 +18,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
@@ -46,6 +46,7 @@
 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
@@ -207,6 +208,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 rm -f m4/libtool.m4 m4/lt*.m4
 
@@ -496,6 +498,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.434  2012/01/26 12:12:31  glen
+- "ls -S": match "security" case insensitively
+
 Revision 1.433  2012/01/26 12:11:12  glen
 - fix build with automake 1.11.2
 

================================================================
Index: packages/poldek/ls-security.patch
diff -u /dev/null packages/poldek/ls-security.patch:1.1
--- /dev/null	Thu Jan 26 13:12:37 2012
+++ packages/poldek/ls-security.patch	Thu Jan 26 13:12:31 2012
@@ -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;
+         }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/poldek/poldek.spec?r1=1.433&r2=1.434&f=u



More information about the pld-cvs-commit mailing list