Hello community,
here is the log from the commit of package dar for openSUSE:Factory
checked in at Wed Feb 2 02:14:27 CET 2011.
--------
--- dar/dar.changes 2009-01-14 00:11:27.000000000 +0100
+++ /mounts/work_src_done/STABLE/dar/dar.changes 2011-02-02 02:11:40.670761000 +0100
@@ -1,0 +2,27 @@
+Fri Sep 3 00:00:00 MST 2010 - tkedwards@fastmail.com.au
+
+- Build for dar 2.3.10
+
+-from 2.3.6 to 2.3.7:
+- fixed bug in dar_manager
+- fixed a bug in the statistics calculus of dar_manager
+- fixed mistake in API tutorial
+- fixed bug in the file filtering based on listing file ( -[ option )
+- fixed typo and spelling errors in documentation
+
+- from 2.3.7 to 2.3.8:
+- fixed bug concerning elastic buffers used beside strong encryption
+- added some speed optimizations
+
+- from 2.3.8 to 2.3.9:
+- very little optimization of the reading process of EA
+- added -q option to dar
+- added licensing exception to allow distribution of dar beside OpenSSL library
+- Bug fix: during archive diff (only), dar restore atime of file in the backup
+ instead of file in the system before opening it for reading.
+
+- from 2.3.9 to 2.3.10:
+- fixed bug in displaying dates [SF 2922417]
+- enhanced pseudo-random number generation used in dar
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
dar-2.3.6.tar.bz2
New:
----
dar-2.3.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dar.spec ++++++
--- /var/tmp/diff_new_pack.aelBG2/_old 2011-02-02 02:12:43.000000000 +0100
+++ /var/tmp/diff_new_pack.aelBG2/_new 2011-02-02 02:12:43.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package dar (Version 2.3.6)
+# spec file for package dar
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products 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,13 +18,13 @@
Name: dar
-BuildRequires: e2fsprogs-devel gcc-c++ libattr-devel libbz2-devel openssl-devel zlib-devel
+BuildRequires: e2fsprogs-devel gcc-c++ gettext-tools libattr-devel libbz2-devel libtool openssl-devel pkg-config zlib-devel
Url: http://dar.linux.free.fr/
-License: GPL v2 or later
+License: GPLv2+
Group: System/Filesystems
Summary: Backup and Restore Application
-Version: 2.3.6
-Release: 76
+Version: 2.3.10
+Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Patch: %name.diff
@@ -45,11 +45,11 @@
Denis Corbin
%package -n libdar-4
-License: GPL v2 or later
+License: GPLv2+
Summary: Backup and Restore Application
Group: System/Filesystems
-Provides: libdar = 2.3.3
-Obsoletes: libdar <= 2.3.3
+Provides: libdar = 2.3.10
+Obsoletes: libdar < 2.3.10
%description -n libdar-4
Dar stands for Disk ARchive and is a hardware independent backup
@@ -69,10 +69,10 @@
Denis Corbin
%package -n libdar-devel
-License: GPL v2 or later
+License: GPLv2+
Summary: Backup and Restore Application
-Group: System/Filesystems
-Requires: libdar-4 = %{version}
+Group: Development/Languages/C and C++
+Requires: libdar-4 = %{version} libdar = %{version}
Requires: glibc-devel openssl-devel libbz2-devel libattr-devel zlib-devel
%description -n libdar-devel
@@ -98,8 +98,7 @@
%build
autoreconf -f -i -v
-%configure --disable-static --with-pic --datadir=%_defaultdocdir \
- --enable-examples \
+%configure --with-pic --datadir=%_defaultdocdir \
--enable-largefile \
--disable-dar-static
%{__make} %{?jobs:-j%jobs}
@@ -112,6 +111,12 @@
rm $RPM_BUILD_ROOT/%_defaultdocdir/%name/dar-differential-backup-mini-howto.*.html
# Remove la files
rm $RPM_BUILD_ROOT/%_libdir/libdar*.la
+# Remove .a files
+rm $RPM_BUILD_ROOT/%_libdir/libdar*.a
+
+# Move the sample scripts to the correct location (otherwise rpmlint will error due to these scripts having execute perms)
+mkdir $RPM_BUILD_ROOT/%_defaultdocdir/%name/examples/
+mv $RPM_BUILD_ROOT/%_defaultdocdir/%name/samples/* $RPM_BUILD_ROOT/%_defaultdocdir/%name/examples
%find_lang %name
%clean
@@ -129,7 +134,7 @@
%files -n libdar-4 -f %name.lang
%defattr(-,root,root)
-%dir /usr/share/doc/packages/locale
+%dir /usr/share/locale/*/LC_MESSAGES/*dar*
%_libdir/libdar*.so.*
%files -n libdar-devel
++++++ dar-2.3.6.tar.bz2 -> dar-2.3.10.tar.bz2 ++++++
++++ 25237 lines of diff (skipped)
++++++ dar.diff ++++++
--- /var/tmp/diff_new_pack.aelBG2/_old 2011-02-02 02:12:44.000000000 +0100
+++ /var/tmp/diff_new_pack.aelBG2/_new 2011-02-02 02:12:44.000000000 +0100
@@ -1,369 +1,11 @@
--- configure.ac
+++ configure.ac
@@ -8,7 +8,7 @@
-
+
AM_INIT_AUTOMAKE
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION
-+AM_GNU_GETTEXT_VERSION(0.14.3)
++AM_GNU_GETTEXT_VERSION(0.17)
AM_ICONV
-
+
# Checks for programs.
---- src/dar_suite/command_line.cpp
-+++ src/dar_suite/command_line.cpp
-@@ -828,7 +828,7 @@
- throw Erange("get_args", tools_printf(gettext(MISSING_ARG), char(lu)));
- if(filename != "" || sauv_root != NULL)
- throw Erange("get_args", gettext(" Only one option of -c -d -t -l -C -x or -+ is allowed"));
-- if(optarg != "")
-+ if(strlen(optarg))
- tools_split_path_basename(optarg, sauv_root, filename);
- else
- throw Erange("get_args", tools_printf(gettext(INVALID_ARG), char(lu)));
---- src/dar_suite/dar_cp.cpp
-+++ src/dar_suite/dar_cp.cpp
-@@ -50,6 +50,8 @@
- #endif
- }
-
-+#include <cstring>
-+#include <cstdlib>
- #include <iostream>
-
- #include "dar_suite.hpp"
-@@ -92,7 +94,7 @@
- ret = EXIT_OK;
- }
- else
-- if(argc != 3 || argv[1] == "-h")
-+ if(argc != 3 || !strcmp(argv[1],"-h"))
- {
- show_usage(dialog, argv[0]);
- ret = EXIT_SYNTAX;
---- src/dar_suite/dar_manager.cpp
-+++ src/dar_suite/dar_manager.cpp
-@@ -29,6 +29,7 @@
- #include "getopt_decision.h"
- } // end extern "C"
-
-+#include <cstring>
- #include <vector>
- #include <string>
- #include "dar_suite.hpp"
---- src/dar_suite/dar_suite.cpp
-+++ src/dar_suite/dar_suite.cpp
-@@ -45,6 +45,7 @@
-
- }
-
-+#include <cstring>
- #include <iostream>
- #include <new>
-
-@@ -96,7 +97,7 @@
- // gettext settings
- try
- {
-- if(DAR_LOCALEDIR != "")
-+ if(strlen(DAR_LOCALEDIR))
- if(bindtextdomain(PACKAGE, DAR_LOCALEDIR) == NULL)
- throw Erange("", "Cannot open the translated messages directory, native language support will not work");
- if(setlocale(LC_MESSAGES, "") == NULL || setlocale(LC_CTYPE, "") == NULL)
---- src/dar_suite/dar_xform.cpp
-+++ src/dar_suite/dar_xform.cpp
-@@ -33,6 +33,7 @@
- #include "getopt_decision.h"
- } // end extern "C"
-
-+#include <cstring>
- #include <iostream>
- #include "sar.hpp"
- #include "sar_tools.hpp"
-@@ -356,7 +357,7 @@
- dialog.warning(gettext("Too many argument on command line, see -h option for help"));
- return false;
- }
-- if(argv[optind] != "")
-+ if(strlen(argv[optind]))
- {
- tools_split_path_basename(argv[optind], src_dir, src);
- tools_check_basename(dialog, *src_dir, src, EXTENSION);
-@@ -366,7 +367,7 @@
- dialog.warning(gettext("Invalid argument as source archive"));
- return false;
- }
-- if(argv[optind+1] != "")
-+ if(strlen(argv[optind+1]))
- tools_split_path_basename(argv[optind+1], dst_dir, dst);
- else
- {
---- src/examples/factoriel.cpp
-+++ src/examples/factoriel.cpp
-@@ -48,6 +48,7 @@
- #endif
- } // end extern "C"
-
-+#include <cstring>
- #include <string>
- #include <iostream>
-
---- src/examples/prime.cpp
-+++ src/examples/prime.cpp
-@@ -25,6 +25,7 @@
-
- #include "../my_config.h"
- #include <iostream>
-+#include <cstdlib>
-
- #include "infinint.hpp"
- #include "deci.hpp"
---- src/libdar/database_header.cpp
-+++ src/libdar/database_header.cpp
-@@ -47,6 +47,7 @@
- #endif
- } // end extern "C"
-
-+#include <cstring>
- #include "database_header.hpp"
- #include "compressor.hpp"
- #include "tools.hpp"
---- src/libdar/erreurs.cpp
-+++ src/libdar/erreurs.cpp
-@@ -25,6 +25,7 @@
- #include "../my_config.h"
-
- #include <iostream>
-+#include <cstdlib>
- #include "erreurs.hpp"
- #include "infinint.hpp"
- #include "deci.hpp"
---- src/libdar/header_version.cpp
-+++ src/libdar/header_version.cpp
-@@ -25,6 +25,7 @@
-
- #include "../my_config.h"
-
-+#include <cstring>
- #include "header_version.hpp"
- #include "integers.hpp"
-
---- src/libdar/libdar.cpp
-+++ src/libdar/libdar.cpp
-@@ -55,6 +55,7 @@
- #endif
-
- #include <list>
-+#include
-
- using namespace std;
-
-@@ -525,7 +526,7 @@
- thread_safe_initialized = true;
- thread_cancellation::init();
- #endif
-- if(DAR_LOCALEDIR != "")
-+ if(strlen(DAR_LOCALEDIR))
- if(bindtextdomain(PACKAGE, DAR_LOCALEDIR) == NULL)
- throw Erange("", "Cannot open the translated messages directory, native language support will not work");
- #ifdef __DYNAMIC__
---- src/libdar/mask.cpp
-+++ src/libdar/mask.cpp
-@@ -31,6 +31,7 @@
- #endif
- } // end extern "C"
-
-+#include <cstring>
- #include "mask.hpp"
- #include "tools.hpp"
- #include "erreurs.hpp"
---- src/libdar/mask_list.cpp
-+++ src/libdar/mask_list.cpp
-@@ -23,6 +23,7 @@
- /*********************************************************************/
-
- #include "../my_config.h"
-+#include <cstring>
-
- extern "C"
- {
---- src/libdar/special_alloc.cpp
-+++ src/libdar/special_alloc.cpp
-@@ -28,6 +28,7 @@
- #include "user_interaction.hpp"
- #include "tools.hpp"
-
-+#include <cstring>
- #include <list>
- #include <iostream>
- #include
---- src/libdar/statistics.cpp
-+++ src/libdar/statistics.cpp
-@@ -33,6 +33,7 @@
- }
-
- #include <string>
-+#include <cstring>
-
- #include "statistics.hpp"
-
---- src/libdar/storage.cpp
-+++ src/libdar/storage.cpp
-@@ -23,6 +23,7 @@
- /*********************************************************************/
-
- #include "../my_config.h"
-+#include <cstring>
- #include "storage.hpp"
- #include "infinint.hpp"
- #include "generic_file.hpp"
---- src/libdar/storage.hpp
-+++ src/libdar/storage.hpp
-@@ -215,6 +215,7 @@
- {
- E_BEGIN;
- if(cell != NULL)
-+ {
- if(offset > 0)
- --offset;
- else
-@@ -225,6 +226,7 @@
- else
- offset = OFF_BEGIN;
- }
-+ }
- E_END("storage::iterator::slik_plus_one", "");
- }
-
---- src/libdar/string_file.cpp
-+++ src/libdar/string_file.cpp
-@@ -26,6 +26,7 @@
- #include "../my_config.h"
-
- #include "string_file.hpp"
-+#include <cstring>
-
- using namespace std;
-
---- src/libdar/thread_cancellation.cpp
-+++ src/libdar/thread_cancellation.cpp
-@@ -23,6 +23,7 @@
- /*********************************************************************/
-
- #include "../my_config.h"
-+#include <cstring>
-
- extern "C"
- {
---- src/libdar/tools.cpp
-+++ src/libdar/tools.cpp
-@@ -41,6 +41,8 @@
- # endif
- #endif
-
-+#include <cstdlib>
-+
- #if HAVE_SYS_TYPES_H
- #include
- #endif
---- src/libdar/tronconneuse.cpp
-+++ src/libdar/tronconneuse.cpp
-@@ -24,6 +24,7 @@
-
- #include "../my_config.h"
-
-+#include <cstring>
- #include "tronconneuse.hpp"
- #include "tools.hpp"
-
---- src/libdar/user_group_bases.cpp
-+++ src/libdar/user_group_bases.cpp
-@@ -45,6 +45,7 @@
- #endif
- }
-
-+#include <cstring>
- #include "erreurs.hpp"
- #include "user_group_bases.hpp"
- #include "tools.hpp"
---- src/testing/Makefile.am
-+++ src/testing/Makefile.am
-@@ -14,7 +14,7 @@
- endif
-
- noinst_PROGRAMS = test_hide_file test_terminateur test_catalogue test_infinint test_tronc test_compressor test_mask test_tuyau test_deci test_path test_erreurs test_sar test_filesystem test_scrambler test_generic_file test_storage test_special_alloc test_limitint test_libdar test_cache test_tronconneuse test_elastic test_blowfish test_mask_list test_string_file
--AM_LDFLAGS = -all-static @LTLIBINTL@
-+AM_LDFLAGS = @LTLIBINTL@
-
- LDADD = -L../libdar -l$(MYLIB)
- noinst_HEADERS = testtools.hpp
---- src/testing/Makefile.in
-+++ src/testing/Makefile.in
-@@ -332,7 +332,7 @@
- @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@AM_CPPFLAGS = -I../libdar -I../dar_suite -DDAR_LOCALEDIR=\"$(localedir)\"
- @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@AM_CPPFLAGS = -DLIBDAR_MODE=64 -I../libdar -I../dar_suite -DDAR_LOCALEDIR=\"$(localedir)\"
- @BUILD_MODE32_TRUE@AM_CPPFLAGS = -DLIBDAR_MODE=32 -I../libdar -I../dar_suite -DDAR_LOCALEDIR=\"$(localedir)\"
--AM_LDFLAGS = -all-static @LTLIBINTL@
-+AM_LDFLAGS = @LTLIBINTL@
- LDADD = -L../libdar -l$(MYLIB)
- noinst_HEADERS = testtools.hpp
- test_hide_file_SOURCES = test_hide_file.cpp ../dar_suite/no_comment.cpp ../dar_suite/hide_file.cpp ../dar_suite/config_file.cpp ../dar_suite/shell_interaction.cpp
---- src/testing/test_blowfish.cpp
-+++ src/testing/test_blowfish.cpp
-@@ -40,6 +40,7 @@
- #endif
- }
-
-+#include <cstring>
- #include <iostream>
-
- #include "libdar.hpp"
---- src/testing/test_generic_file.cpp
-+++ src/testing/test_generic_file.cpp
-@@ -71,7 +71,7 @@
- }
-
- fichier f1 = fichier(*ui, argv[1], gf_read_only);
-- S_I fd = ::open(argv[2], O_WRONLY|O_CREAT|O_TRUNC|O_BINARY);
-+ S_I fd = ::open(argv[2], O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0600);
- if(fd < 0)
- {
- cout << "cannot open "<< argv[2] << endl;
---- src/testing/test_libdar.cpp
-+++ src/testing/test_libdar.cpp
-@@ -89,7 +89,7 @@
-
- void warning(const string &x, void *context)
- {
-- printf("[%d]%s\n", (U_I)context, x.c_str());
-+ printf("[%d]%s\n", (unsigned long)context, x.c_str());
- }
-
- bool question(const string & x, void *context)
-@@ -97,7 +97,7 @@
- bool rep = false;
- char r;
-
-- printf("[%d]%s\n", (U_I)context, x.c_str());
-+ printf("[%d]%s\n", (unsigned long)context, x.c_str());
- scanf("%c", &r);
- rep = r == 'y';
-
-@@ -120,7 +120,7 @@
- bool has_children,
- void *context)
- {
-- ui.printf("[[%d]][%S][%S][%S][%S][%S][%S][%S][%s][%s]\n", (U_I)context, &flag, &perm, &uid, &gid, &size, &date, &filename, is_dir ? "dir" : "not_dir", has_children ? "has children" : "no children");
-+ ui.printf("[[%d]][%S][%S][%S][%S][%S][%S][%S][%s][%s]\n", (long)context, &flag, &perm, &uid, &gid, &size, &date, &filename, is_dir ? "dir" : "not_dir", has_children ? "has children" : "no children");
- }
-
- void f2()
---- src/testing/test_tronc.cpp
-+++ src/testing/test_tronc.cpp
-@@ -44,6 +44,7 @@
- } // end extern "C"
-
- #include <iostream>
-+#include <cstring>
-
- #include "libdar.hpp"
- #include "tronc.hpp"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org