summaryrefslogtreecommitdiff
path: root/archivers/dar
AgeCommit message (Collapse)AuthorFilesLines
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-09-24USE_TOOLS+=gsed for -r support.jperkin1-2/+2
2014-06-26Treat FreeBSD as NetBSD, it uses NetBSD's libexecinfo.asau1-2/+2
This fixes the build on FreeBSD 10.
2014-05-14Forgot USE_TOOLS+=groff for OpenBSD.rodent1-2/+2
2014-05-14Updated to latest release, 2.4.13, as requested by doc/TODO. Removedrodent25-509/+58
patches which were applied upstream or deprecated. USE_TOOLS+=groff to fix generation of a few .html files on OpenBSD. Depends on libgcrypt instead of openssl now. From ChangeLog: from 2.4.12 to 2.4.13 - adding initialization value for two variables to avoid inappropriate warning when compiling with -Wall option - reducing UNIX_PATH_MAX by the system when not defined from 108 to 104 bytes to accommodate BSD systems - fixing assignment operator of class criterium that was not returning any value as it should - removing useless boolean expression that always succeeds in logical AND expression - adding support for back-slash of quoting characters in DCF files - fixed compilation issues with clang / FreeBSD, Thanks to Neil Darlow's server ;-) - fixed compilation warning due to deprecated symbols in libgcrypt header files - replaced gnu make specific rules by legacy ones to avoid automake warning about them - removed old unused stuff from misc sub-directory - adding warning at compilation time if libgcrypt used is older than 1.6.0 - adding warning at execution time if hash computation is requested with slices greater than 256 Gio and ligbcrypt dynamically or statically linked is older than 1.6.0 - adding alternative methods in list_entry API class to return dates as number of seconds - fixed bug in hour-shift (-H option) when comparing dates from an old extracted catalogue (archive format 7 or older). - fixed documentation bug about the meaning of the compression ratio - fixed a display bug about the "compression flag" wrongly displayed for uncompressed files - fixed unhandled exception when giving non number argument to -1 option from 2.4.11 to 2.4.12 - for correctness fixed delete vs delete[] on vector of char (not incidence reported) - fixed out of range access in routine used to read very old archive format - fixed error in logical expression leading a sanity test to be useless - removed duplicated variable assignment - updated FAQ - fixed typo and spelling errors - fixed bug (reported by Torsten Bronger) in the escape layer leading libdar to wrongly reporting a file as corrupted at reading time - fixed bug in the sparse file detection mechanism that lead the minimum size hole detection to become a multiple of the default value or specified one. This implied a less efficient reduction of sparse files because smaller holes in files were ignored - fixed and updated man page about --go-into option - updated full-from-diff target in /etc/darrc default file - added a debug option in hash_file class (option only used from testing tools) to troubleshoot sha1/md5 hash problem on slices larger than (2**38)+63 bytes, bug reported by Mike Lenzen and understood by Yuriy Kaminskiy at libgcrypt. Note: This bug is still open due to an integer overflow in libgcrypt. - backported from current development code an additional and more simple way to read an archive using the libdar API. This API extension is not used by dar command-line tools for now. - Fixing installation of libdar header files on Darwin, where "DARwin" macros were not filtered out from the generated libdar header files. - Fixing self reported bug 'generic_file.cpp line 309' met while comparing an archive with a filesystem - Update code in order to compile with gcc-4.8.2 in g++11 mode (partial implementation and adaptation of Fabian Stanke's patch) - Fixing bug met while performing a verbose archive listing in sequential read mode - Added Ryan Schmidt's Patch to properly display status at end of ./configure script under BSD systems (in particular Mac OS X) - Updating configure.ac script to fix warning reported by autoconf when generating the ./configure script - Addressed portability problem with BSD systems that do not provide a -d option to the 'cp' command, preventing proper installation of the Doxygen documentation. Fix based on patch provided by Jan Gosmann. from 2.4.10 to 2.4.11 - Modified behavior of 'dar -h' and 'dar -V', both now return 0 as exist status instead of 1 (which means syntax error). - Fixed bug: -Q is now available with -V under the collapsed form -QV or -VQ - fixed typo in documentation - fixed memory leakage met when dar fails a merging operation because the resulting archive is specified in an directory that does not exist. - fixed bug met when isolating a differential backup in sequential read mode - fixed bug about slice file permission not taking care about umask variable when the --hash feature is used. - fixed performance issue when reading an archive over a pair of piles using dar_slave (possibly over ssh) when the archive makes use of escape marks and when no encryption is used - added target "full-from-diff" in /etc/darrc default file - fixed bug avoiding reading an truncated archive in direct access mode with the help of an external catalogue. - new and better implementation of archive extraction in sequential read mode - fixing bug (segfault) met when hitting CTRL-C while reading an archive in sequential mode - fixing libdar.pc for pkg-config for the cflags given to external applications - fixed memory allocation/desallocation mismatches (delete vs delete [] ) concerning four vector of chars. - fixed error in logical expression leading a sanity test to be useless
2014-04-15Uses libexecinfo.asau1-2/+3
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-2/+2
2014-01-20Fix build with libc++ by doing the sorting explicitly. Bump revision.joerg4-18/+175
2013-06-28Update to 2.4.10ryoon9-83/+46
Changelog: from 2.4.9 to to 2.4.10 - fixing libdar about dar_manager database corruption that occurred when deleting the first archive of a base containing a plain file only existing in that first archive. - Added code to cleanup databases instead of aborting and reporting that previously described type of database corruption. - Added feature when comparing archive with filesystem in order to report the offset of the first difference found in a file. This was necessary to help solving the following bug: - fixed bug in sparse file detection mechanism that could lead in some very particular (and rare) situations to the loss of one byte from file being saved. In that case testing the archive reported a CRC error for that file. So if you keep testing achives in your backup process and have not detect any problem, you can then keep relying on your old backups. This bug also expressed when merging archives: dar aborted and reported that a merged file had a different CRC than the one stored in the archive of reference. from 2.4.8 to 2.4.9 - fixed bug: during differential backup dar saved unchanged hard linked inode when a hard link on that inode was out of the -R root directory. This also has the effect to always save files with long names on NTFS filesystems (!) - Adapted patch provided by Kevin Wormington (new messages displayed) - Fixed syntax error in configure script about execinfo detection - Removed unused AM_ICONV macro from configure script - fixed bug met under Cygwin when auxiliary test command failed to link when libgcrypt was not available. - updated mini-howto by Grzegorz Adam Hankiewicz - updating French message translations - restricted security warning for plain files and hard linked plain files - fixed display bug in dar_cp when manipulating files larger than 2 GB - fixed SEGFAULT met when adding to a dar_manager database an archive which base name is an empty string - improved error message, reporting the -B included file in which a syntax error has been met - modified dar_manager database to consider both ctime and mtime as timestamp value for data of saved files. This suppresses the warning about badly ordered archives in database when at some files have been restores from a old backup. from 2.4.7 to 2.4.8 - documentation fixes and updates - improved database listing efficiency - reduced memory usage of the caching layer in libdar - fixed self reported bug caused by memory allocation failure - fixed a SIGSEGV caused by double free in dar_xform when syntax error is met on command-line - dar_xform was not able to properly transform archive generated by dar older than release 2.4.0 - fixed bug that lead dar be unable to remove a directory at restoration time - replaced old remaining "bcopy" occurrence by a call to memcpy - fixed compilation warning under ArchLinux - fixed crash met while creating a backup with on-fly isolation - fixed libdar behavior when reading a strongly corrupted encrypted archive from 2.4.6 to 2.4.7 - fixing memory allocation bug in crc class, that lead glibc aborting dar - reviewed code and replaced some remaining occurences of bzero/bcopy by their recommended replacement version - fixed compilation problem under Solaris - fixed bug that could lead a file to be wrongly reported as different from the one on filesystem, when that file has been changed while it was saved, then saved a second time but has its size modified since the first time it was saved. from 2.4.5 to 2.4.6 - fixed bug met while interrupting compressed archive creation, the resulting archive was only readable in --sequential-read mode - fixed bug met while reading an interrupted archive in sequential reading mode. It lead dar to not release some objects from memory at the end of the operation, which displayed an ugly error message from libdar selfcheck routine. - fixed message reporting unknown system group when converting gid to name (was reporting unknow "user" instead of unknown "group") - removing the $Id:$ macro from file as we moved from CVS to GIT - updating package to distribute Patrick Nagel's scripts and documentation - updated URL pointing to Patrick Nagel's web site - updating documentation describing how to get source code from GIT (no more from CVS) - fixed typo in configure.ac - added info on how to build a brand-new dar tarball from source in GIT - modifies the end of messages shown by -h option to point to man page for more _options_ rather than _details_ - replaced − in the HTML generated documentation by a standard ASCII dash - fixed alignement bug in CRC calculation that lead libdar based application to crash on sparc-based systems. from 2.4.4 to 2.4.5 - updated sample scripts to be compatible with dar's --min-digit option - added missing included file to be able to compile with gcc-4.7.0 - removing an unused variable in filtre.cpp - fixed a display bug when comparing archive with filesystem, leading to a segmentation fault (%S in place of %i in mask) - fixed bug leading dar to not restore some directories from differential backups when they are absent in the filesystem - fixed bug that show a "uncaught exception" message at the end of archive listing for dar shared binaries only, compiled in infinint mode, under ArchLinux - updated the configure script to link with libexecinfo when available - added possibility to disable the use of execinfo in libdar thanks to the new --disable-execinfo option for the ./configure script - added Andreas Wolff patch to fix bug under Cygwin (segfault on program termination). from 2.4.3 to 2.4.4 - fixed man pages in the NAME section: added whatis entry - fixed segfault: in the internal error reporting code (delete[] in place of free()) - fixed bug: dar_manager was not able to read properly the latest generated databases version when having Extended Attributes recorded for some files - avoided reporting unreleased memory block when compilation optimization have been used (dar, dar_manager, dar_cp, dar_slave, dar_xform do all reported unreleased memory when gcc optimization was used in "infinint" mode) from 2.4.2 to 2.4.3 - fixed absurd compilation warning about possibly uninitialized variable - added -ai switch to dar_manager to disable warning about improper file order in database. - fixed bug met while changing order of archives in a dar_manager database - avoiding concurrent use of -p and -Q options, error message shown in that situation. - modified slice overwriting detection code to use a single atomic system call to create a new slice - replaced delete by delete[] for conversion routine of user/group to uid/gid - added the possibility to disable speed optimization for large directories - added memory troubleshooting option --enable-debug-memory - simplified class CRC implementation - fixed failed memory release upon exception thrown in class deci - modified tlv, tlv_list classes and ea_filesystem routines to not require any corresponding temporary objects in libdar (saves a few new/delete calls) - fixed silent bug in tlv class: due to the absence of copy constructor and destructor, some memory was not released and referred after the corresponding object's destruction - modified generic_file class to avoid temporary crc objects - fixed bug in header class that lead unreleased field (this class lacked a destructor), memory impact was however little: 10 bytes per slice - fixing bug in class tlv: unreleased memory - added protection code in class deci to properly release memory against exception thrown from called routines when user interrupts the operation. - replace previous internal stack report code by backtrace()/backtrace_symbols() - complete change of the implementation of the 'special-alloc' feature: the old code eat too much memory not to be adapted to new features added in release 2.4.0. This new implementation also bring some speed improvement from 2.4.1 to 2.4.2 - fixing bug met when reading an archive in sequential-read mode - fixing bug while filtering in sequential-read mode - fixing backward compatibility in dar_manager with old archives (wrong dates for deleted files). - fixing compilation problem on certain systems (missing #include statement) - fixing documentation syntax and spelling
2013-06-26deci and move are part of a C++11 STL implementation. Explicitly includejoerg16-1/+474
the namespace when using the former and rename the latter.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-1/+2
2012-11-23archivers/dar: #include <unistd.h>marino2-1/+14
Fixes out-of-scope errors seen on gcc 4.7.x
2012-09-11"user-destdir" is default these daysasau1-2/+1
2012-02-15REPLACE_BASH on all installed shell scripts.hans1-2/+2
2012-01-29Build a static binary with threads is currently broken with glibc.sbd1-1/+12
2011-08-20Update to 2.4.1. For a list of changes in this release,cheusov7-44/+85
see the documentation.
2011-04-22recursive bump from gettext-lib shlib bump.obache1-2/+2
2010-01-17Recursive PKGREVISION bump for jpeg update to 8.wiz1-1/+2
2009-06-14Remove @dirrm entries from PLISTsjoerg1-7/+1
2008-08-02Fix broken build on amd64.dholland2-1/+34
2008-06-22Update Dar to 2.3.8:dsainty3-15/+14
from 2.3.6 to 2.3.7 - fixed bug in dar_manager about the localization of the archive in which to fin d the latest EA - fixed bug in configure script to properly report full blowfish encryption supp ort - fixed a bug in the statistics calculus of dar_manager for most recent files pe r archive - removed inappropriate internal error check - added --disable-libdl-linking option - fixed mistake in API tutorial - updated Swedish translation by Peter Landgren - fixed bug in the file filtering based on listing file ( -[ option ) - fixed typo and spelling errors in documentation - updated code for clean compilation with gcc-4.2.3 - updated code for clean compilation with gcc-4.3 20080208 (experimental gcc) from 2.3.7 to 2.3.8 - fixed bug in libdar met when user supply an empty file as a list of file to include or exclude ( -[ and -] options ) - fixed bug concerning elastic buffers used beside strong encryption. No security issue here, just in some almost rare situations the generated archive was not readable (testing your archive prevents you loosing data in this situation) - added some speed optimizations - avoided warning to appear without -v option set, when an error is met while fetching value of nodump flag (flag not supported on filesystem for example).
2008-01-18Per the process outlined in revbump(1), perform a recursive revbumptnn1-1/+2
on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
2007-12-11Update to version 2.3.6:bjs2-28/+67
Changes within pkgsrc: (*) While here, add some logic to allow REPLACE_PERL and REPLACE_BASH to work without USE_TOOLS+="perl bash". Thus, the paths in share/dar/samples will now [usually] be correct. Simplify options handling. (*) Use PTHREAD_AUTO_VARS to ensure harmony with the rest of pkgsrc, add USE_FEATURES.openssl=threads when necessary. Threads are enabled if a built-in thread library is used. Changes in source (since version 2.3.5): (*) fixed: Makefile.am in src/dar_suite (removed "/" after $(DESTDIR)) (*) fixed: bug in regex mask building when not using ordered masks (*) fixed: bug that led dar_manager to report no error while some files failed to be restored due to command-line for dar being too large. (*) fixed: bug encountered when user aborts operation while dar is finalizing archive creation [SF #1800507] (*) fixed: problem with execvp when dar_manager launches dar
2007-10-23If OpenSSL is available, Dar will use it for crypto support. Buildlink this ↵dsainty1-1/+2
back under Pkgsrc control.
2007-09-16Update dar to version 2.3.5:dsainty4-18/+19
This is a minor release. Changes from 2.3.4 are: - changed displayed message when adding a hard link to an archive while performing a differential backup - added back the possibility to use old blowfish implementation (bfw cipher) - integrated optimization patch from Sonni Norlov - updated Swedish translation by Peter Landgren - updated French translation - fixed broken Native Language Support in 2.3.x (where x<5)
2007-08-31Fix spelling in comment in revision 1.27, no functional changedsainty1-2/+2
2007-08-30CHECK_INTERPRETER_SKIP expects a filename or pattern. Fix.joerg1-2/+2
2007-08-20Update dar to version 2.3.4:dsainty2-13/+17
Pkgsrc changes: - Use an option group for dar-int32 Vs dar-int64 Vs neither (infinint) - Default to dar-int64 (the infinint support is excessive, and hugely expensive) - REPLACE_FOO doesn't work if FOO isn't a dependency, and we don't want to pull in Bash and Perl just for a few samples! So, don't replace the interpreters in the samples, just leave them as is. ChangeLog from 2.3.3 to 2.3.4: - fixed behavior when differential backup is interrupted (no more store file that would have been read if no interruption had been done as "deleted" since thearchive of reference) [SF #1669091]. - added official method to access catalogue's statistics through the API (for kdar next version). - Fixed syntax error in dar_par_create.duc and dar_par_test.duc files (Parchive integration with dar). - minor spelling fix in error message (compressor.cpp) - added Wiebe Cazemier's two patches for dar man page - integrated patch from Dwayne C. Litzenberger to fix weakness in dar's implementation of the blowfish encryption. - improved the returned message when an invalid path is given as argument - updated doc/sample/sample1.txt script file
2007-07-24Skip example directory for the interpreter check.joerg1-1/+2
2007-04-13The perils of modifying patches by hand... The old patch files applieddsainty3-8/+10
via NetBSD's patch(1) just fine, but failed on a Debian Linux box. We need to provide three lines of context in the diff or else They complain about patching fuzz, even if 100% of the diff context matches the target.
2007-03-18Update to dar 2.3.3, and also fix PLIST for dar-int32 and dar-int64 Pkgsrcdsainty6-21/+58
options. Upgrading to 2.3.3 is strongly recommended if you use Dar to backup across multiple filesystems: http://article.gmane.org/gmane.comp.sysutils.backup.dar.announce/31 Changelog entry from 2.3.2 to 2.3.3: - avoid using getpwuid() and getgrgid() for static linking. - fixed typo in dar's man page - update FAQ - fixed bug: uncaught exception thrown when CTRC-C was hit while dar waits an answer from the user [SF #1612205] - fixed bug: unusable archive generated when CTRC-C was hit and blowfish encryption used [SF #1632273] - added a check to verify that the libdar used is compatible with the current dar suite programs [SF #1587643] - fixed bug: added workaround for the right arithmetic shift operator (the binary produced by gcc-3.4.2 produces computes "v>>s" equal to "v" when when v is a integer field composed of s exactly bits. It should rather compute it to zero...). this problem leads 32 bits generated archive incompatible with 64 bits generated archive only when blowfish is used. - fixed bug met when the inode space is exhausted, thanks to "Jo - Ex-Bart" for this new feedback. [SF #1632738] - replaced &, <, >, ' and " in XML listing by &...; corresponding sequence. [SF #1597403] - dar_manager can receive arguments after stick to -o options (it is an error in regard to documentation, but no warning was issued in that case, leading to confusion for some users) [SF #1598138] - updated Veysel Ozer's automatic_backup script - fixed hard link detection problem [SF #1667400] - verbose output did not displayed hard links information - merged patch on dar_cp by Andrea Palazzi to have it to return EXIT_DATA_ERROR when some data have been reported [SF #1622913]
2007-01-07Updated dar to 2.3.2.rillig2-6/+11
from 2.3.1 to 2.3.2 - fixed bug in Native Language Support when --enable-locale-dir was not set (Thomas Jacob's patch) - updated Swedish translation by Peter Landgren - --verbose=skipped was not available (only the short -vs form was available) - reviewed regex with ordered mask for the feature to better fits user's need (Dave Vasilevsky's feedback) - fixed bug where compression algorithm was changed to maximum (fixed with Richard Fish's adequate patch) - fixed tutorial with command line evolution (dar's -g option in particular) - latest version of Grzegorz Adam Hankiewicz's mini-howto - fixed bug concerning restoration of only more recent files
2006-10-08Fixed "test ==".rillig2-1/+41
2006-10-07Update dar to 2.3.1.obache2-6/+6
Patch provided by Martin Wilke via PR 34430. - Changelog from 2.3.0 to 2.3.1 - set back Nick Alcock's patch which has been dropped from 2.2.x to 2.3.x (patch name is "Do not moan about every single file on a non-ext2 filesystem") - fixed compilation problem when thread-safe code is disabled - integrated Wiebe Cazemier's patch for dar's man page - fixed bug in listing: -as option also listed files that had EA even when theses were not saved in the archive - file permission of installed sample scripts lacked the executable bit - fixed a bug that appeared when a file is removed while at the time it is saved by dar - avoid having an unnecessary warning appearing when restoring a file in a directory that has default EA set - Cygwin has changed and does not support anymore the path in the form "c:/some/where", you have to use "/cygdrive/c/some/where" instead. Documentation has been updated in consequence.
2006-09-07Added a missing directory.rillig1-1/+2
2006-08-30Added a patch for Solaris.rillig2-1/+19
2006-08-30Added a patch for Solaris to the configure script.rillig2-1/+22
2006-07-08Add support for dar-int32 and dar-int64 package options.dsainty1-1/+18
Dar is built by default with an arbitrary-size-integer library for managing all file length/timestamp details. If 32-bit or 64-bit integers (with overflow protection) are sufficient for requirements, the dar-int32 and dar-int64 options can significantly reduce the run-time memory and CPU overheads of Dar. Leave the default unchanged (thus no package version bump).
2006-05-26Changes 2.3.0:adam4-45/+63
- added user_interaction::pause2() method - added the snapshot feature - added the Cache Directory Tagging detection feature - adapted Wesley's patch for a pkgconfig for libdar - more...
2006-05-07Do not convert char* to int, which may cause an error on 64-bit platforms.minskim3-9/+18
Bump PKGREVISION.
2006-04-17Strip ${PKGLOCALEDIR} from PLISTs of packages that already obeyjlam1-3/+3
PKGLOCALEDIR and which install their locale files directly under ${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries. From now on, pkgsrc/mk/plist/plist-locale.awk will automatically handle transforming the PLIST to refer to the correct locale directory.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05SunPro on Solaris needs -D__EXTENSIONS__ for getopt().rillig1-1/+4
2005-09-09Added CVS Id tag to patch-ac.rillig2-2/+4
2005-09-07Add patch to check the gettext implementation correctly --reed3-2/+16
so it doesn't build with its own libintl. The error was: error: too many arguments to function `const char* _nl_expand_alias()' Include devel/gettext-lib/buildlink3.mk. Bump PKGREVISION. This is for PR 30993.
2005-07-14Reset maintainer, mail bounced.wiz1-2/+2
2005-06-30USE_PKGLOCALEDIR=yesminskim1-1/+2