From 72760968e12906e5078d13f95b4ab5eb0999cc64 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 27 2015 09:19:39 +0000 Subject: import star-1.5.2-13.el7 --- diff --git a/SOURCES/star-1.5.2-pax-X-option.patch b/SOURCES/star-1.5.2-pax-X-option.patch new file mode 100644 index 0000000..d059499 --- /dev/null +++ b/SOURCES/star-1.5.2-pax-X-option.patch @@ -0,0 +1,26 @@ +From 68f6e16d7d2c8a6c91cd430b12a1a0c7b15672b4 Mon Sep 17 00:00:00 2001 +From: Pavel Raiskup +Date: Wed, 17 Dec 2014 12:57:37 +0100 +Subject: [PATCH] pax: don't segfault with -X option + +Pass a valid address of nomount variable into getallargs(). +--- + star/pax.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/star/pax.c b/star/pax.c +index 9abe3f8..c627a46 100644 +--- a/star/pax.c ++++ b/star/pax.c +@@ -166,7 +166,7 @@ gargs(ac, av) + gethdr, &chdrtype, /* -x */ + gethdr, &chdrtype, /* artype= */ + #endif /* __old__lint */ +- nomount) < 0) { ++ &nomount) < 0) { + errmsgno(EX_BAD, "Bad Option: %s.\n", av[0]); + susage(EX_BAD); + } +-- +2.1.0 + diff --git a/SPECS/star.spec b/SPECS/star.spec index 4015d01..d9e8024 100644 --- a/SPECS/star.spec +++ b/SPECS/star.spec @@ -7,7 +7,7 @@ Summary: An archiving tool with ACL support Name: star Version: 1.5.2 -Release: 11%{?dist} +Release: 13%{?dist} URL: http://cdrecord.berlios.de/old/private/star.html Source: ftp://ftp.berlios.de/pub/star/%{name}-%{version}.tar.bz2 @@ -51,6 +51,9 @@ Patch11: star-1.5.2-use-ssh-by-default.patch # FIXME: profiling isn't currently supported on aarch64 (should be in glibc-2.18) Patch12: star-disable-profiling.patch +# Fix segfault for 'pax -X' (rhbz#1175613) +Patch13: star-1.5.2-pax-X-option.patch + Requires(post): %{ALTERNATIVES} Requires(preun): %{ALTERNATIVES} @@ -133,6 +136,7 @@ restoring files from a backup), and tar (an archiving program). %ifarch aarch64 %patch12 -p1 -b .aarch64 %endif +%patch13 -p1 -b .option-X-segfault cp -a star/all.mk star/Makefile @@ -148,7 +152,7 @@ star_recode AN-1.5 AN-1.5.2 star/star.4 cp -a READMEs/README.linux . -for PLAT in %{arm} x86_64 ppc64 s390 s390x sh3 sh4 sh4a sparcv9 aarch64; do +for PLAT in %{arm} %{power64} aarch64 x86_64 s390 s390x sh3 sh4 sh4a sparcv9; do for AFILE in gcc cc; do [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \ && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul @@ -249,6 +253,12 @@ fi %{_sysconfdir}/rmt %changelog +* Mon May 18 2015 Pavel Raiskup - 1.5.2-13 +- fix segfault for pax -X (rhbz#1175613) + +* Mon Aug 11 2014 Pavel Raiskup - 1.5.2-12 +- enable build for ppc64le (#1125688) + * Fri Jan 24 2014 Daniel Mach - 1.5.2-11 - Mass rebuild 2014-01-24