![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package star
checked in at Mon Apr 28 16:32:14 CEST 2008.
--------
--- star/star.changes 2007-08-31 15:00:33.000000000 +0200
+++ /mounts/work_src_done/STABLE/star/star.changes 2008-04-28 16:21:15.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Apr 28 16:17:51 CEST 2008 - skh@suse.de
+
+- update to version 1.5 final (see Changelog in package documentation
+ for all changes)
+- remove patch star-CVE-2007-4134.patch (is upstream now)
+- don't build with -D_GNU_SOURCE
+
+-------------------------------------------------------------------
Old:
----
star-1.5a70.tar.bz2
star-CVE-2007-4134.patch
New:
----
star-1.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ star.spec ++++++
--- /var/tmp/diff_new_pack.E31155/_old 2008-04-28 16:31:18.000000000 +0200
+++ /var/tmp/diff_new_pack.E31155/_new 2008-04-28 16:31:18.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package star (Version 1.5a70)
+# spec file for package star (Version 1.5)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,22 +10,22 @@
# norootforbuild
+
Name: star
BuildRequires: e2fsprogs-devel libacl-devel
-License: Common Development and Distribution License 1.0
+License: SUN Common Development and Distribution License 1.0
Group: Productivity/Archiving/Backup
-Autoreqprov: on
+AutoReqProv: on
Provides: rmt
-Version: 1.5a70
-Release: 77
+Version: 1.5
+Release: 1
Source: ftp://ftp.berlios.de/pub/star/alpha/star-%{version}.tar.bz2
Source1: README-FIRST
Source2: tests.tar.bz2
Patch0: star-configuration.diff
Patch2: star-no_fsync.diff
Patch5: rmt-move.diff
-Patch6: star-CVE-2007-4134.patch
-URL: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/...
+Url: http://cdrecord.berlios.de/old/private/star.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: POSIX.1-2001-Compliant Tar Implementation
@@ -64,11 +64,11 @@
%patch0 -p1
%patch2 -p1
%patch5 -p1
-%patch6
%build
-# bugzilla#134113: incompatible license and unused:
-rm include/unls.h
+# bugzilla#134113: incompatible license and unused: SKH: removed
+# upstream
+# rm include/unls.h
# Autoconf does not handle inline comments correctly: Split comments and
# variables into separate lines.
mv conf/xconfig.h.in conf/xconfig.h.in.orig
@@ -87,16 +87,22 @@
autoconf
%define star_cflags $RPM_OPT_FLAGS -g -W -Wall -Wpointer-arith -Wformat-security
cp %{SOURCE1} .
-make all MAKEPROG=gmake MANDIR=share/man COPTX="%{star_cflags}" CPPOPTX="-D_GNU_SOURCE -DNO_FSYNC"
+make all MAKEPROG=gmake MANDIR=share/man COPTX="%{star_cflags}" CPPOPTX="-DNO_FSYNC"
%install
make install MAKEPROG=gmake INS_BASE=$RPM_BUILD_ROOT/usr MANDIR=share/man \
- COPTX="%{star_cflags}" CPPOPTX="-D_GNU_SOURCE -DNO_FSYNC"
+ COPTX="%{star_cflags}" CPPOPTX="-DNO_FSYNC"
mkdir -p $RPM_BUILD_ROOT/etc/default
mkdir $RPM_BUILD_ROOT/sbin
install -m 644 rmt/rmt.dfl $RPM_BUILD_ROOT/etc/default/rmt
mv $RPM_BUILD_ROOT/usr/etc/default/{rmt,star} $RPM_BUILD_ROOT/etc/default
-mv $RPM_BUILD_ROOT/usr/bin/star_fat $RPM_BUILD_ROOT/usr/bin/star
+#mv $RPM_BUILD_ROOT/usr/bin/star_fat $RPM_BUILD_ROOT/usr/bin/star
+mkdir -p $RPM_BUILD_ROOT/%{_docdir}/{star,rmt}
+mv $RPM_BUILD_ROOT/usr/share/doc/star/* $RPM_BUILD_ROOT/%{_docdir}/star
+mv $RPM_BUILD_ROOT/usr/share/doc/rmt/* $RPM_BUILD_ROOT/%{_docdir}/rmt
+# if we put these as files-to-install in %doc in the filelist, docdir is
+# deleted and recreated. it's either all in %install or all in %files
+install AN* BUILD COMPILE INSTALL PORTING README Changelog CDDL.Schily.txt CDDL.Sun.txt README.* TODO $RPM_BUILD_ROOT/%{_docdir}/star/
rm -f $RPM_BUILD_ROOT/usr/bin/ustar
rm -f $RPM_BUILD_ROOT/usr/bin/tar
ln -sf ./star $RPM_BUILD_ROOT/usr/bin/ustar
@@ -128,7 +134,12 @@
%files
%defattr(-, root, root)
-%doc AN* BUILD COMPILE INSTALL PORTING README Changelog CDDL.Schily.txt CDDL.Sun.txt README.* STARvsGNUTAR TODO
+%dir %{_docdir}/star
+%docdir %{_docdir}/star
+%attr(644,root,root) %{_docdir}/star/*
+%dir %{_docdir}/rmt
+%docdir %{_docdir}/rmt
+%attr(644,root,root) %{_docdir}/rmt/*
%config(noreplace) %attr(644, root, root) /etc/default/rmt
%config(noreplace) %attr(644, root, root) /etc/default/star
/usr/bin/smt
@@ -143,101 +154,106 @@
/usr/share/man/man1/tartest.1.gz
%changelog
-* Fri Aug 31 2007 - mkoenig@suse.de
+* Mon Apr 28 2008 skh@suse.de
+- update to version 1.5 final (see Changelog in package documentation
+ for all changes)
+- remove patch star-CVE-2007-4134.patch (is upstream now)
+- don't build with -D_GNU_SOURCE
+* Fri Aug 31 2007 mkoenig@suse.de
- fix directory traversal vulnerability CVE-2007-4134 [#302489]
-* Mon Sep 11 2006 - jw@suse.de
+* Mon Sep 11 2006 jw@suse.de
- remove unused GPL code. Fixing #134113
-* Wed May 10 2006 - mmj@suse.de
+* Wed May 10 2006 mmj@suse.de
- compile with RPM_OPT_FLAGS [#170464]
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Tue Dec 20 2005 - mmj@suse.de
+* Tue Dec 20 2005 mmj@suse.de
- update to 1.5a70
o null.diff is upstream
-* Fri Dec 09 2005 - ro@suse.de
+* Fri Dec 09 2005 ro@suse.de
- disable selinux
-* Tue Nov 22 2005 - mmj@suse.de
+* Tue Nov 22 2005 mmj@suse.de
- ustar should link to star [#134107]
-* Tue Nov 15 2005 - uli@suse.de
+* Tue Nov 15 2005 uli@suse.de
- link armv4l build rules to armv5tel (aka QEMU)
-* Mon Jul 25 2005 - nadvornik@suse.cz
+* Mon Jul 25 2005 nadvornik@suse.cz
- install symlink /etc/rmt -> /sbin/rmt
- provide rmt
-* Thu Jul 21 2005 - mmj@suse.de
+* Thu Jul 21 2005 mmj@suse.de
- Disable fsync again [#97500]
- Enable null.diff
-* Wed Jul 20 2005 - mmj@suse.de
+* Wed Jul 20 2005 mmj@suse.de
- Move rmt to /sbin [#97266]
-* Tue Jun 28 2005 - agruen@suse.de
+* Tue Jun 28 2005 agruen@suse.de
- null.diff: Add -null option to star (patch from Bj�rn Jacke).
-* Fri Feb 18 2005 - agruen@suse.de
+* Fri Feb 18 2005 agruen@suse.de
- The new version also needs e2fsprogs-devel for some defines.
-* Wed Feb 16 2005 - agruen@suse.de
+* Thu Feb 17 2005 agruen@suse.de
- star-acl-fix.diff: Drop this patch: it contains a bug (#50874)
and nothing else that would be useful.
-* Wed Feb 16 2005 - agruen@suse.de
+* Wed Feb 16 2005 agruen@suse.de
- Update to version 1.5a58-pre2.
-* Wed Feb 16 2005 - agruen@suse.de
+* Wed Feb 16 2005 agruen@suse.de
- Add support for the ext3 'j' flag (per-file data journaling).
-* Wed Aug 11 2004 - mmj@suse.de
+* Wed Aug 11 2004 mmj@suse.de
- Update to star-1.5a44
-* Fri Jul 09 2004 - mmj@suse.de
+* Fri Jul 09 2004 mmj@suse.de
- Update to star-1.5a41 and move stuff from %%prep to %%build
-* Mon Mar 15 2004 - kukuk@suse.de
+* Mon Mar 15 2004 kukuk@suse.de
- Add SELinux support
-* Fri Mar 05 2004 - mmj@suse.de
+* Fri Mar 05 2004 mmj@suse.de
- Fix testsuite
-* Thu Mar 04 2004 - mmj@suse.de
+* Thu Mar 04 2004 mmj@suse.de
- Update to 1.5a38
-* Sat Jan 10 2004 - adrian@suse.de
+* Sat Jan 10 2004 adrian@suse.de
- fix user build
-* Mon Oct 13 2003 - agruen@suse.de
+* Mon Oct 13 2003 agruen@suse.de
- Upgrade to version 1.5a30.
-* Mon Sep 15 2003 - agruen@suse.de
+* Mon Sep 15 2003 agruen@suse.de
- Upgrade to version 1.5a25.
- Another fix in star-acl-fix.diff.
- Rename star-alpha (ver. 1.5a25) to star, and drop star 1.4.3.
-* Wed Sep 10 2003 - agruen@suse.de
+* Wed Sep 10 2003 agruen@suse.de
- Upgrade to version 1.5a24.
- Fix restoring of archives that contain broken acls.
-* Thu Aug 21 2003 - agruen@suse.de
+* Thu Aug 21 2003 agruen@suse.de
- Fix bug in xattr patch that causes star to crash.
-* Sun Jul 27 2003 - agruen@suse.de
+* Sun Jul 27 2003 agruen@suse.de
- Update to version 1.5a17.
- Don't do fsync for extracted files.
- Remove files that won't be packaged.
- Include tartest binary and manpage.
- Add test suite for acls and extended atributes.
-* Tue Mar 04 2003 - agruen@suse.de
+* Tue Mar 04 2003 agruen@suse.de
- Split star-1.5 package from from star. Upgrade to latest alpha
version.
-* Tue Feb 25 2003 - agruen@suse.de
+* Tue Feb 25 2003 agruen@suse.de
- Fix several shortcomings and some bugs in the EA handling patch.
(EA support in star on 8.2 beta 2 is broken -- which doesn't
matter so much, since it's a new feature, anyway.)
-* Mon Feb 24 2003 - agruen@suse.de
+* Mon Feb 24 2003 agruen@suse.de
- Add Extended Attributes handling patch. (Still needs to be
discussed much forther with J�rg Schilling, so it is quite
likely to change again soon.)
-* Wed Jan 22 2003 - agruen@suse.de
+* Wed Jan 22 2003 agruen@suse.de
- Update to 1.4.2, which includes the fix from Oct 29.
- names-with-spaces.diff fixes a bug with spaces in user/group
names of ACL entries.
- Update the Source tag in the spec file to the new FTP server (was:
ftp://ftp.fokus.gmd.de/pub/unix/star/%%{name}-%%{version}.tar.bz2)
-* Fri Dec 13 2002 - ro@suse.de
+* Fri Dec 13 2002 ro@suse.de
- updated neededforbuild
-* Tue Oct 29 2002 - pthomas@suse.de
+* Tue Oct 29 2002 pthomas@suse.de
- Apply patch from agruen@suse.de to fix archive corruption.
-* Fri Aug 16 2002 - pthomas@suse.de
+* Fri Aug 16 2002 pthomas@suse.de
- Fix typo in README.SuSE
- Add acl,acl-devel, and attr to neededforbuild to make
star support ACLs
-* Tue Jun 25 2002 - pthomas@suse.de
+* Tue Jun 25 2002 pthomas@suse.de
- Update to bugfix release 1.4.1
-* Mon Jun 03 2002 - pthomas@suse.de
+* Mon Jun 03 2002 pthomas@suse.de
- Add rules for ppc64-linux as symlinks to i586-linux.
-* Wed May 29 2002 - pthomas@suse.de
+* Wed May 29 2002 pthomas@suse.de
- Install /etc/default/rmt as %%config(noreplace)
- Add README.SuSE explaining configuration and setup for
using rmt.
@@ -246,9 +262,9 @@
- Don't install makefiles.5 and makerules.5
- Define _GNU_SOURCE unconditionally and modify sources so
that declarations for fexecve and getline don't clash.
-* Tue May 28 2002 - sf@suse.de
+* Tue May 28 2002 sf@suse.de
- %%_lib fixes
-* Tue May 28 2002 - ro@suse.de
+* Tue May 28 2002 ro@suse.de
- fixed typo in specfile
-* Mon May 27 2002 - pthomas@suse.de
+* Mon May 27 2002 pthomas@suse.de
- Initial package creation.
++++++ rmt-move.diff ++++++
--- /var/tmp/diff_new_pack.E31155/_old 2008-04-28 16:31:18.000000000 +0200
+++ /var/tmp/diff_new_pack.E31155/_new 2008-04-28 16:31:18.000000000 +0200
@@ -1,9 +1,10 @@
---- star-1.5/rmt/rmt.1
-+++ star-1.5/rmt/rmt.1
-@@ -17,7 +17,7 @@
- .SH NAME
- rmt \- remote magnetic tape protocol server
- .SH SYNOPSIS
+diff -Naur star-1.5.orig/rmt/rmt.1 star-1.5/rmt/rmt.1
+--- star-1.5.orig/rmt/rmt.1 2008-04-28 15:53:41.000000000 +0200
++++ star-1.5/rmt/rmt.1 2008-04-28 15:55:03.000000000 +0200
+@@ -20,7 +20,7 @@
+ .B /opt/schily/sbin/rmt
+ .br
+ .B /etc/rmt
-.B /usr/sbin/rmt
+.B /sbin/rmt
++++++ star-1.5a70.tar.bz2 -> star-1.5.tar.bz2 ++++++
++++ 107952 lines of diff (skipped)
++++++ star-configuration.diff ++++++
--- /var/tmp/diff_new_pack.E31155/_old 2008-04-28 16:31:24.000000000 +0200
+++ /var/tmp/diff_new_pack.E31155/_new 2008-04-28 16:31:24.000000000 +0200
@@ -1,7 +1,6 @@
-Index: star-1.5/conf/configure.in
-================================================================================
---- star-1.5/conf/configure.in
-+++ star-1.5/conf/configure.in
+diff -Naur star-1.5.orig/conf/configure.in star-1.5/conf/configure.in
+--- star-1.5.orig/conf/configure.in 2008-03-27 19:58:16.000000000 +0100
++++ star-1.5/conf/configure.in 2008-04-28 13:54:36.000000000 +0200
@@ -6,6 +6,8 @@
AC_CONFIG_HEADER(xconfig.h)
AC_CANONICAL_HOST
@@ -9,32 +8,38 @@
+AC_DEFINE(_GNU_SOURCE,,[Use GNU extensions on systems that provide them])
+
dnl Checks for programs.
+ AC_SHELL_BASH
dnl CC=${CC-cc}
- dnl AC_PROG_CC
---- star-1.5/DEFAULTS/Defaults.linux
-+++ star-1.5/DEFAULTS/Defaults.linux
-@@ -8,31 +8,31 @@
+diff -Naur star-1.5.orig/DEFAULTS/Defaults.linux star-1.5/DEFAULTS/Defaults.linux
+--- star-1.5.orig/DEFAULTS/Defaults.linux 2007-05-08 16:56:55.000000000 +0200
++++ star-1.5/DEFAULTS/Defaults.linux 2008-04-28 13:54:36.000000000 +0200
+@@ -8,8 +8,7 @@
# Compiler stuff
#
###########################################################################
-DEFCCOM= cc
-#DEFCCOM= gcc
+DEFCCOM= gcc
+
###########################################################################
#
- # If the next line is commented out, compilation is done with max warn level
+@@ -26,7 +25,7 @@
# If the next line is uncommented, compilation is done with minimal warnings
#
###########################################################################
-CWARNOPTS=
+#CWARNOPTS=
- DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include
+ ###########################################################################
+ #
+@@ -40,20 +39,20 @@
+ LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%)
+
+ DEFINCDIRS= $(SRCROOT)/include
-LDPATH= -L/opt/schily/lib
--RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR)
+-RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR)
+LDPATH= -L/usr/lib
+RUNPATH=
-+
###########################################################################
#
@@ -52,61 +57,32 @@
DEFINSMODEX= 755
DEFINSUSR= bin
DEFINSGRP= bin
---- star-1.5/include/schily.h
-+++ star-1.5/include/schily.h
-@@ -89,6 +89,11 @@
- # define _openfd _openfd64
+diff -Naur star-1.5.orig/include/schily/schily.h star-1.5/include/schily/schily.h
+--- star-1.5.orig/include/schily/schily.h 2008-02-16 16:32:01.000000000 +0100
++++ star-1.5/include/schily/schily.h 2008-04-28 14:13:10.000000000 +0200
+@@ -238,7 +238,7 @@
#endif
-+#ifdef _GNU_SOURCE
-+# define fexecve sfexecve
-+# define getline get_line
-+#endif
-+
- #ifdef EOF /* stdio.h has been included */
- extern int _cvmod __PR((const char *, int *, int *));
- extern FILE *_fcons __PR((FILE *, int, int));
-@@ -175,7 +180,7 @@
- extern void comexit __PR((int));
- extern char *errmsgstr __PR((int));
/*PRINTFLIKE1*/
-extern int error __PR((const char *, ...)) __printflike__(1, 2);
+extern int error __PR((const char *, ...));
extern char *fillbytes __PR((void *, int, char));
extern char *findbytes __PR((const void *, int, char));
extern int findline __PR((const char *, char, const char *,
---- star-1.5/lib/fexec.c
-+++ star-1.5/lib/fexec.c
-@@ -16,6 +16,7 @@
- #include
participants (1)
-
root@Hilbert.suse.de