Accepting request 287585 from home:pluskalm:branches:Archiving
- Cleanup spec file with spec-cleaner - Update urls - Add patch dump-buildfix.patch - Update to 0.4b44 OBS-URL: https://build.opensuse.org/request/show/287585 OBS-URL: https://build.opensuse.org/package/show/Archiving/dump?expand=0&rev=13
This commit is contained in:
parent
ee1285bc29
commit
a123928783
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5e0567723c0a6ba2bc9a8bb93d94bfab2504947e49fd9d40d4a9e486c4c092fe
|
|
||||||
size 247463
|
|
3
dump-0.4b44.tar.gz
Normal file
3
dump-0.4b44.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:78cb75632ac5e99dca38af3a2574303eee3c5a7af464011d279421d8b0e64f96
|
||||||
|
size 296691
|
27
dump-buildfix.patch
Normal file
27
dump-buildfix.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff -up dump-0.4b44/configure.in.buildfix dump-0.4b44/configure.in
|
||||||
|
--- dump-0.4b44/configure.in.buildfix 2011-06-14 14:37:49.659652746 +0200
|
||||||
|
+++ dump-0.4b44/configure.in 2011-06-14 14:40:47.361349814 +0200
|
||||||
|
@@ -415,6 +415,11 @@ if test "$ext2fs_h" = no -o "x$EXT2FS_LI
|
||||||
|
AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs)
|
||||||
|
fi
|
||||||
|
|
||||||
|
+PKG_CHECK_MODULES(COM_ERR, [com_err])
|
||||||
|
+if test -n "$STATIC" ; then
|
||||||
|
+ COM_ERR_LIBS=`$PKG_CONFIG --libs --static com_err`
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
dnl
|
||||||
|
dnl Check for ext2fs_read_inode_full
|
||||||
|
dnl
|
||||||
|
diff -up dump-0.4b44/MCONFIG.in.buildfix dump-0.4b44/MCONFIG.in
|
||||||
|
--- dump-0.4b44/MCONFIG.in.buildfix 2011-06-14 14:41:00.869323616 +0200
|
||||||
|
+++ dump-0.4b44/MCONFIG.in 2011-06-14 14:41:12.947300187 +0200
|
||||||
|
@@ -40,7 +40,7 @@ GINC+= @EXT2FS_CFLAGS@
|
||||||
|
# indicate where the ext2fs library can be found (this is not needed if you
|
||||||
|
# have run `make install-libs' in the e2fsprogs source directory).
|
||||||
|
#GLIBDIR= -L/usr/src/e2fsprogs-0.5c/lib
|
||||||
|
-GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@
|
||||||
|
+GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@ @COM_ERR_LIBS@
|
||||||
|
|
||||||
|
#
|
||||||
|
# Definitions (don't change them unless you know what you are doing)
|
24
dump.changes
24
dump.changes
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 24 18:37:52 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Update urls
|
||||||
|
- Add patch dump-buildfix.patch
|
||||||
|
- Update to 0.4b44
|
||||||
|
* Recognize ext4 partitions in dump -w commands (Sourceforge bug
|
||||||
|
#3125587, RedHat bug #658890).
|
||||||
|
* Fix an issue with multi volume backups, which breaks restoring
|
||||||
|
of files which are splitted on two or more volumes and are
|
||||||
|
starting on 2nd tape or later (RedHat bug #507948).
|
||||||
|
* Fix a bug in dump when dumping files with holes. This bug was
|
||||||
|
introduced in 0.4b42 while adding ext4 support. (Sourceforge
|
||||||
|
bug #3133762).
|
||||||
|
* Fix a bug in restore -P where useless index files for
|
||||||
|
compressed dumps were created (Debian bug #583093).
|
||||||
|
* Fix SYS_clone invocation on s390 architectures (Sourceforge
|
||||||
|
bug #3303235).
|
||||||
|
* Fix static builds.
|
||||||
|
* Add quick regression script from Bear Giles.
|
||||||
|
* Fix a bug introduced in 0.4b43 causing restore to crash when
|
||||||
|
asking for a new volume when doing multi-volume restores.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 16 21:32:00 UTC 2014 - Led <ledest@gmail.com>
|
Sun Nov 16 21:32:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
82
dump.spec
82
dump.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dump
|
# spec file for package dump
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,71 +17,71 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: dump
|
Name: dump
|
||||||
BuildRequires: automake
|
Version: 0.4b44
|
||||||
BuildRequires: e2fsprogs-devel
|
|
||||||
BuildRequires: libselinux-devel
|
|
||||||
BuildRequires: readline-devel
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
Version: 0.4b43
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: %{name}-%{version}.tar.bz2
|
|
||||||
Patch0: %{name}-%{version}-pathnames.patch
|
|
||||||
Patch1: %{name}-%{version}-destdir.patch
|
|
||||||
Patch2: %{name}-%{version}-configure.patch
|
|
||||||
Patch3: %{name}-%{version}-include.patch
|
|
||||||
Patch4: %{name}-0.4b43-fix-bashisms.patch
|
|
||||||
Url: http://dump.sourceforge.net/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Summary: A Backup Program
|
Summary: A Backup Program
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Productivity/Archiving/Backup
|
Group: Productivity/Archiving/Backup
|
||||||
|
Url: http://dump.sourceforge.net
|
||||||
|
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: %{name}-0.4b43-pathnames.patch
|
||||||
|
Patch1: %{name}-0.4b43-destdir.patch
|
||||||
|
Patch2: %{name}-0.4b43-configure.patch
|
||||||
|
Patch3: %{name}-0.4b43-include.patch
|
||||||
|
Patch4: %{name}-0.4b43-fix-bashisms.patch
|
||||||
|
Patch5: %{name}-buildfix.patch
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: e2fsprogs-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
Requires: rmt
|
Requires: rmt
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The dump package contains both dump and restore. Dump examines files
|
The dump package contains both dump and restore. Dump examines files
|
||||||
in a file system, determines which ones need to be backed up, and
|
in a file system, determines which ones need to be backed up, and
|
||||||
copies those files to a specified disk, tape, or other storage medium.
|
copies those files to a specified disk, tape, or other storage medium.
|
||||||
The restore command performs the inverse function of dump. It can
|
The restore command performs the inverse function of dump. It can
|
||||||
restore a full backup of a file system.
|
restore a full backup of a file system.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
#mkdir ext2fs
|
|
||||||
#sed -e "s|ino_t|__ino_t|g" /usr/include/ext2fs/ext2fs.h >ext2fs/ext2fs.h
|
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define prefix /usr
|
autoreconf -fi
|
||||||
%define sysconfdir /etc
|
%configure \
|
||||||
aclocal
|
--sbindir=/sbin \
|
||||||
autoconf
|
--enable-rmt \
|
||||||
%configure --sbindir=/sbin \
|
--with-ldopts= \
|
||||||
--enable-rmt \
|
--with-ccopts="-I$PWD -Wall" \
|
||||||
--with-ldopts= \
|
--with-binowner=root \
|
||||||
--with-ccopts="-I$PWD -Wall" \
|
--with-bingrp=root \
|
||||||
--with-binowner=root \
|
--with-binmode=0755 \
|
||||||
--with-bingrp=root \
|
--with-manowner=root \
|
||||||
--with-binmode=0755 \
|
--with-mangrp=root \
|
||||||
--with-manowner=root \
|
--with-manmode=0644 \
|
||||||
--with-mangrp=root \
|
--enable-readline \
|
||||||
--with-manmode=0644 \
|
--enable-largefile
|
||||||
--enable-readline \
|
|
||||||
--enable-largefile
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d $RPM_BUILD_ROOT/etc \
|
install -d %{buildroot}/etc \
|
||||||
$RPM_BUILD_ROOT/sbin \
|
%{buildroot}/sbin \
|
||||||
$RPM_BUILD_ROOT/%{_mandir}/man8
|
%{buildroot}/%{_mandir}/man8
|
||||||
make DESTDIR=$RPM_BUILD_ROOT/ install
|
make DESTDIR=%{buildroot}/ install
|
||||||
#do not install rmt
|
#do not install rmt
|
||||||
#ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
|
#ln -sf ../sbin/rmt $RPM_BUILD_ROOT/etc/rmt
|
||||||
rm $RPM_BUILD_ROOT/sbin/rmt
|
rm %{buildroot}/sbin/rmt
|
||||||
rm $RPM_BUILD_ROOT/%{_mandir}/man8/rmt.*
|
rm %{buildroot}/%{_mandir}/man8/rmt.*
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user