Accepting request 639406 from home:SchoolGuy:branches:Base:System

- Removed make target "install-perlmod" and filecheck from packaging process.
- Update to 2.21
- Bug Fixes
  * The noexec stack markers are set directly
  * We no longer lie to glibc about shrinking the heap by less than HPAGE_SIZE
- Test Suite
  * No existent tests are no longer marked Killed By Signal
  * Disable malloc per-thread cache for heap shrinking tests
- Remove patch "ignore-perl-modules.diff"

OBS-URL: https://build.opensuse.org/request/show/639406
OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=53
This commit is contained in:
Thomas Renninger 2018-10-02 09:41:43 +00:00 committed by Git OBS Bridge
parent db3ed4394c
commit c7794b8183
9 changed files with 46 additions and 28 deletions

View File

@ -3,8 +3,8 @@
<param name="url">git://github.com/libhugetlbfs/libhugetlbfs.git</param>
<param name="scm">git</param>
<param name="filename">libhugetlbfs</param>
<param name="version">2.20</param>
<param name="revision">2.20</param>
<param name="version">2.21</param>
<param name="revision">2.21</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,6 +1,8 @@
--- tests/Makefile
Index: tests/Makefile
===================================================================
--- tests/Makefile.orig
+++ tests/Makefile
@@ -46,7 +46,7 @@
@@ -48,7 +48,7 @@ ifeq ($(CUSTOM_LDSCRIPTS),yes)
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
$(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS)
else
@ -9,9 +11,9 @@
endif
else
@@ -55,7 +55,7 @@
@@ -57,7 +57,7 @@ ifeq ($(CUSTOM_LDSCRIPTS),yes)
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
$(HUGELINK_TESTS:%=xBDT.%)
$(HUGELINK_TESTS:%=xBDT.%) $(HUGELINK_RW_TESTS)
else
-TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS)
+TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f01aeb7986baa59a11fc8767952458c786d11b4aeec167ec5257eca38bbf00ad
size 145408

3
libhugetlbfs-2.21.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2aa61ed78c8debdcff17918d171f1cba9b738f8c1b1125539b68fea1b4e0a05a
size 134376

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Oct 1 13:52:36 UTC 2018 - egotthold@suse.com
- Removed make target "install-perlmod" and filecheck from packaging process.
-------------------------------------------------------------------
Fri Sep 28 11:30:08 UTC 2018 - egotthold@suse.com
- Update to 2.21
- Bug Fixes
* The noexec stack markers are set directly
* We no longer lie to glibc about shrinking the heap by less than HPAGE_SIZE
- Test Suite
* No existent tests are no longer marked Killed By Signal
* Disable malloc per-thread cache for heap shrinking tests
- Remove patch "ignore-perl-modules.diff"
-------------------------------------------------------------------
Mon Sep 11 07:47:31 UTC 2017 - jengelh@inai.de

View File

@ -2,11 +2,11 @@
Makefile | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Index: libhugetlbfs-2.17/Makefile
Index: libhugetlbfs-2.21/Makefile
===================================================================
--- libhugetlbfs-2.17.orig/Makefile
+++ libhugetlbfs-2.17/Makefile
@@ -82,12 +82,12 @@ else
--- libhugetlbfs-2.21.orig/Makefile
+++ libhugetlbfs-2.21/Makefile
@@ -87,12 +87,12 @@ else
ifeq ($(ARCH),ia64)
CC64 = $(CC)
TMPLIB64 = lib64
@ -21,7 +21,7 @@ Index: libhugetlbfs-2.17/Makefile
else
ifeq ($(ARCH),s390x)
CC64 = $(CC) -m64
@@ -98,10 +98,15 @@ TMPLIB64 = lib64
@@ -111,10 +111,15 @@ ELF32 = elf_s390
TMPLIB32 = lib
CUSTOM_LDSCRIPTS = no
else

View File

@ -1,7 +1,7 @@
#
# spec file for package libhugetlbfs
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,10 +18,10 @@
%define my_make_flags V=1 CFLAGS="%{optflags} -fPIC" BUILDTYPE=NATIVEONLY PREFIX=%{_prefix} LIBDIR32=%{_libdir} DESTDIR=%{buildroot}
Name: libhugetlbfs
Version: 2.20
Version: 2.21
Release: 0
Summary: Helper library for the Huge Translation Lookaside Buffer Filesystem
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Libraries
Url: https://github.com/libhugetlbfs/libhugetlbfs
Source0: %{name}-%{version}.tar.xz
@ -30,7 +30,6 @@ Patch2: libhugetlbfs.s390.patch
Patch4: libhugetlbfs.tests-malloc.patch
Patch7: libhugetlbfs_ia64_fix_missing_test.patch
Patch8: libhugetlbfs_fix_tests.patch
Patch13: ignore-perl-modules.diff
Patch14: disable-rw-on-non-ldscripts.diff
Patch15: zero_filesize_segment.patch
BuildRequires: doxygen
@ -67,7 +66,6 @@ The testsuite for libhugetlbfs. Binaries can be found in
%patch4 -p1
%patch7 -p1
%patch8 -p1
%patch13
%patch14
%patch15 -p1
@ -77,7 +75,7 @@ make %{my_make_flags}
%install
make %{my_make_flags} PMDIR="%{perl_vendorlib}/TLBC" \
install install-perlmod install-tests
install install-tests
mkdir -p %{buildroot}%{_prefix}/include
cp -avL hugetlbfs.h %{buildroot}%{_prefix}/include
chmod 644 %{buildroot}%{_libdir}/*.a
@ -93,7 +91,6 @@ fi
%{_mandir}/man[178]/*%{?ext_man}
%{_libdir}/libhugetlbfs_privutils.so
%{_libdir}/libhugetlbfs.so
%{perl_vendorlib}/TLBC/
%files devel
%defattr(-, root, root)

View File

@ -2,9 +2,11 @@ References: bnc#706891
Signed-off-by: Thomas Renninger <trenn@suse.de>
--- libhugetlbfs-2.12/tests/run_tests.py.org 2011-07-20 00:00:46.000000000 -0400
+++ libhugetlbfs-2.12/tests/run_tests.py 2011-07-20 00:01:55.000000000 -0400
@@ -234,7 +234,7 @@ def get_pagesizes():
Index: libhugetlbfs-2.21/tests/run_tests.py
===================================================================
--- libhugetlbfs-2.21.orig/tests/run_tests.py
+++ libhugetlbfs-2.21/tests/run_tests.py
@@ -236,7 +236,7 @@ def get_pagesizes():
"""
sizes = set()
out = ""

View File

@ -10,11 +10,11 @@ Signed-off-by: Thomas Renninger <trenn@suse.de>
tests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libhugetlbfs-2.15/tests/Makefile
Index: libhugetlbfs-2.21/tests/Makefile
===================================================================
--- libhugetlbfs-2.15.orig/tests/Makefile
+++ libhugetlbfs-2.15/tests/Makefile
@@ -292,7 +292,7 @@ obj64/install:
--- libhugetlbfs-2.21.orig/tests/Makefile
+++ libhugetlbfs-2.21/tests/Makefile
@@ -295,7 +295,7 @@ obj64/install:
$(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
$(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64
$(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64