[lvm2/f14/master] remove explicit Base version from libs
Alasdair Kergon
agk at fedoraproject.org
Sat Jul 31 14:24:43 UTC 2010
commit b5acf2d4b5119f226c97983d7af40fd0b922c86d
Author: Alasdair G Kergon <agk at redhat.com>
Date: Sat Jul 31 15:22:29 2010 +0100
remove explicit Base version from libs
lvm2-2_02_73-fix-exported-syms.patch | 21 +++++++++++++++++++++
lvm2.spec | 4 +++-
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/lvm2-2_02_73-fix-exported-syms.patch b/lvm2-2_02_73-fix-exported-syms.patch
new file mode 100644
index 0000000..6801dcb
--- /dev/null
+++ b/lvm2-2_02_73-fix-exported-syms.patch
@@ -0,0 +1,21 @@
+--- LVM2.2.02.72/make.tmpl.in 2010-07-20 15:38:44.000000000 +0100
++++ LVM2.2.02.72-fix/make.tmpl.in 2010-07-31 15:16:55.000000000 +0100
+@@ -366,7 +366,7 @@
+ ) > $@
+
+ .export.sym: .exported_symbols_generated
+- set -e; (echo "Base {"; echo " global:"; \
++ set -e; (echo "{"; echo " global:"; \
+ sed "s/^/ /;s/$$/;/" < $<; \
+ echo " local:"; echo " *;"; echo "};") > $@
+
+--- LVM2.2.02.72/WHATS_NEW 2010-07-31 15:18:09.000000000 +0100
++++ LVM2.2.02.72-fix/WHATS_NEW 2010-07-31 15:20:22.000000000 +0100
+@@ -1,3 +1,7 @@
++Version 2.02.73 -
++================================
++ Drop explicit 'Base' version from exported symbols.
++
+ Version 2.02.72 - 28th July 2010 [CVE-2010-2526]
+ =================================================
+ Change clvmd to communicate with lvm2 via a socket in /var/run/lvm.
diff --git a/lvm2.spec b/lvm2.spec
index 3c88eca..38492bd 100644
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -22,6 +22,7 @@ Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
Source0: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz
Patch0: lvm2-set-default-preferred_names.patch
+Patch1: lvm2-2_02_73-fix-exported-syms.patch
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
BuildRequires: ncurses-devel
@@ -50,6 +51,7 @@ or more physical volumes and creating one or more logical volumes
%prep
%setup -q -n LVM2.%{version}
%patch0 -p1 -b preferred_names
+%patch1 -p1 -b exported_syms
%build
%define _exec_prefix ""
@@ -439,11 +441,11 @@ the device-mapper event library.
%changelog
* Sat Jul 31 2010 Alasdair Kergon <agk at redhat.com> - 2.02.72-2
+- Drop explicit Base version from exported symbols.
- Address lvm2-cluster security flaw CVE-2010-2526.
https://bugzilla.redhat.com/CVE-2010-2526
- Change clvmd to communicate with lvm2 via a socket in /var/run/lvm.
- Return controlled error if clvmd is run by non-root user.
-- Add configure --default-run-dir for /var/run/lvm.
- Never use clvmd singlenode unless explicitly requested with -Isinglenode.
* Wed Jul 28 2010 Alasdair Kergon <agk at redhat.com> - 2.02.71-1
More information about the scm-commits
mailing list