From f3b043ade606e1a033ce9747eef016287e80d57ea640baa5be64f1b285ef0a5c Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 29 Jun 2012 08:22:54 +0000 Subject: [PATCH 1/3] - move scripts malloc check scripts to separate subpackage for easier handling of the feature via patterns OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=370 --- aaa_base.changes | 6 ++++++ aaa_base.spec | 14 ++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/aaa_base.changes b/aaa_base.changes index e6f55a9..9a589c5 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 29 08:20:45 UTC 2012 - lnussel@suse.de + +- move scripts malloc check scripts to separate subpackage for easier handling + of the feature via patterns + ------------------------------------------------------------------- Mon Jun 25 09:03:20 CEST 2012 - vuntz@opensuse.org diff --git a/aaa_base.spec b/aaa_base.spec index e1732c8..974ea5a 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -16,8 +16,6 @@ # -%bcond_with aaa_base_malloc_debug - Name: aaa_base Version: 12.2 Release: 0 @@ -84,10 +82,6 @@ make DESTDIR=$RPM_BUILD_ROOT install # make sure it does not creep in again test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1 # -# for the release -%if !%{with aaa_base_malloc_debug} -rm $RPM_BUILD_ROOT/etc/profile.d/malloc-debug.* -%endif # # mark these as ghost for i in passwd group shadow gshadow ; do @@ -127,10 +121,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save %config /etc/profile.d/csh.utf8 %config /etc/profile.d/lang.csh %config /etc/profile.d/lang.sh -%if %{with aaa_base_malloc_debug} -%config /etc/profile.d/malloc-debug.sh -%config /etc/profile.d/malloc-debug.csh -%endif %config /etc/profile.d/profile.csh %config /etc/profile.d/profile.sh %config /etc/profile.d/sh.ssh @@ -250,4 +240,8 @@ rm -f /root/.gnupg/secring.gpg.aaa_save /usr/share/man/man8/resolv+.8* /usr/share/man/man8/quick_halt.8* +%files malloccheck +%config /etc/profile.d/malloc-debug.sh +%config /etc/profile.d/malloc-debug.csh + %changelog From b57425e76c057854356dce68cea1bb89723b9b60b027283e87f0555d04921f0f Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 29 Jun 2012 08:28:36 +0000 Subject: [PATCH 2/3] fix OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=371 --- aaa_base.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/aaa_base.spec b/aaa_base.spec index 974ea5a..229ea9a 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -61,6 +61,16 @@ The parts of aaa_base that should be installed by default but are not strictly required to run a system. (Shell aliases, bash completions and convenience hacks). +%package malloccheck +Summary: SUSE Linux Base Package (malloc checking) +Group: System/Fhs +Requires: %{name} = %{version} + +%description malloccheck +This package sets environment variables that enable stricter +malloc checks to catch potential heap corruptions. It's not +installed by default as it may abort programs. + %prep %setup -n aaa_base From 5ae4028711fa3e521d1b48ff46964a7c1dd56a89c4d6ecb963b3fbf25c0c95ee Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Fri, 29 Jun 2012 09:03:06 +0000 Subject: [PATCH 3/3] reword OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=372 --- aaa_base.changes | 4 ++-- aaa_base.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aaa_base.changes b/aaa_base.changes index 9a589c5..3098db2 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,8 +1,8 @@ ------------------------------------------------------------------- Fri Jun 29 08:20:45 UTC 2012 - lnussel@suse.de -- move scripts malloc check scripts to separate subpackage for easier handling - of the feature via patterns +- move environment settings for malloc checking to separate + subpackage for easier handling of the feature via patterns ------------------------------------------------------------------- Mon Jun 25 09:03:20 CEST 2012 - vuntz@opensuse.org diff --git a/aaa_base.spec b/aaa_base.spec index 229ea9a..58f96e7 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -69,7 +69,7 @@ Requires: %{name} = %{version} %description malloccheck This package sets environment variables that enable stricter malloc checks to catch potential heap corruptions. It's not -installed by default as it may abort programs. +installed by default as it may degrade performance. %prep %setup -n aaa_base