Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0 |
|
#
5ca0a96d |
| 28-Dec-2020 |
Sascha Wildner <saw@online.de> |
Remove last remains of FSMID support from userland.
The kernel side was added in 2005 (7d15906a7a159575b1983f7c1fadde4b) and removed again in 2009 (d98152a8b8a4b368ca0e08b84302f2f2).
Approved-by: d
Remove last remains of FSMID support from userland.
The kernel side was added in 2005 (7d15906a7a159575b1983f7c1fadde4b) and removed again in 2009 (d98152a8b8a4b368ca0e08b84302f2f2).
Approved-by: dillon
show more ...
|
#
c9c5aa9e |
| 18-Dec-2020 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add support for lchmod(), lutimes(), and lchflags() (2)
* Fix bug in xlink, lchflags() was being called with the wrong path after a link failure and so could not unlock schg files to lin
cpdup - Add support for lchmod(), lutimes(), and lchflags() (2)
* Fix bug in xlink, lchflags() was being called with the wrong path after a link failure and so could not unlock schg files to link to them.
show more ...
|
#
2b7dbe20 |
| 30-Oct-2020 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add support for lchmod(), lutimes(), and lchflags()
* Add support for these functions, allowing symlinks to be fully replicated.
* Fix issues when the destination of a rename is chflagged
cpdup - Add support for lchmod(), lutimes(), and lchflags()
* Add support for these functions, allowing symlinks to be fully replicated.
* Fix issues when the destination of a rename is chflagged in a way that causes the rename to fail.
* Delete temporary files when a rename files.
* Set SrcHost/DstHost.version for local sources or targets to make version tests easier.
Reported-by: Oliver Fromme
show more ...
|
Revision tags: v5.8.3, v5.8.2, v5.8.1 |
|
#
1a05b9d1 |
| 05-Apr-2020 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Use POSIX-defined timespec fields to be more portable
While we defines 'st_atimespec', 'st_mtimespec' and 'st_ctimespec' macros in 'struct stat', they are not defined on Linux and maybe ot
cpdup(1): Use POSIX-defined timespec fields to be more portable
While we defines 'st_atimespec', 'st_mtimespec' and 'st_ctimespec' macros in 'struct stat', they are not defined on Linux and maybe other platforms or C libraries. Change to check the definitions of 'st_atime', 'st_mtime' and 'st_ctime' macros to check whether we're on a modern POSIX (>= 2008) platform.
See also: https://github.com/DragonFlyBSD/cpdup/commit/7a715bd5cc6853c3973ce84a5df3c779e47082d1 Credit: https://github.com/ninja-build/ninja/pull/1513
show more ...
|
Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
#
0212bfce |
| 06-Jan-2020 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Bump version, add usec timestamp precision
* cpdup will now run utimes() with microsecond precision (the most it can handle), if possible. It previously only used seconds precision.
*
cpdup - Bump version, add usec timestamp precision
* cpdup will now run utimes() with microsecond precision (the most it can handle), if possible. It previously only used seconds precision.
* Compatibilty with older cpdup's is maintained for remote copies (though it will warn you of the version mismatch). Older cpdup's only transfer the seconds field.
* cpdup still only uses the seconds field when comparing files, in order to maintain maximum compatibility between operating systems and filesystems.
show more ...
|
#
60374ee7 |
| 29-Oct-2019 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Check the return value of asprintf() and exit if fails
See also: https://github.com/DragonFlyBSD/cpdup/commit/90aee43e060104e974f623924c3dfc0a4359ceb5
Reported by GCC 9.x on Arch Linux.
|
#
7651dbc3 |
| 29-Oct-2019 |
Aaron LI <aly@aaronly.me> |
cpdup(1): Add '-h' option and sort options in help and code
* Add the '-h' option to show the help text * Sort options in both code and help text * Remove the redundant '-p' option from the source f
cpdup(1): Add '-h' option and sort options in help and code
* Add the '-h' option to show the help text * Sort options in both code and help text * Remove the redundant '-p' option from the source file * The '-n' and '-S' options are missing from the help text, so add them.
See also: https://github.com/DragonFlyBSD/cpdup/commit/d87b2a60a95d0382135609bb17a014c8a0b61031
show more ...
|
Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2 |
|
#
de78d61c |
| 17-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
cpdup(1): Convert to LibreSSL MD5 hash API.
While there, simplify crunchgen by excluding md5 functionality in rescue tools as in btools.
|
Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc |
|
#
16802529 |
| 21-Jan-2018 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Additional fixes for -X absolute_path
* When an absolute path is specified the file is connsidered to be local to the machine and is not opened on a remote source.
|
#
560e4370 |
| 21-Jan-2018 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Enhance -X operation
* Enhance -X operation. When the cpignore file is specified as an absolute path, it may contain wildcards which match against the concatenated source path and direc
cpdup - Enhance -X operation
* Enhance -X operation. When the cpignore file is specified as an absolute path, it may contain wildcards which match against the concatenated source path and directory element (as specified in the source), instead of just match against directory elements.
* Thus an absolute cpignore file may contain full paths and wildcards. For example, if you:
cpdup -X $cwd/mycpignore /tmp /fubar
And $cwd/mycpignore (specified with an absolute path) contains:
/tmp/xyz/swap*
Then cpdup will not copy files that match against /tmp/xyz/swap*.
If you specify a relative path for the cpignore file, or use the -x option (instead of -X cpignorefile), operation remains as before and only matches against the directory element.
show more ...
|
Revision tags: v5.0.2 |
|
#
d0a6ae34 |
| 14-Nov-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
cpdup(1): Whitespace cleanup.
No functional change.
|
Revision tags: v5.0.1, v5.0.0 |
|
#
9d626b29 |
| 14-Oct-2017 |
Sascha Wildner <saw@online.de> |
cpdup(1): Some improvements.
* Make cpdup retry failed rmdirs after chflags. It already does this for remove().
* When deciding whether to copy a file, cpdup should ignore the UF_ARCHIVE file f
cpdup(1): Some improvements.
* Make cpdup retry failed rmdirs after chflags. It already does this for remove().
* When deciding whether to copy a file, cpdup should ignore the UF_ARCHIVE file flag. If that flag is supported by the destination file system but it's cleared on a source file, then multiple invocations of cpdup would all copy the source file because its flags wouldn't match. OTOH, if the destination filesystem doesn't support UF_ARCHIVE, then there's no point in cpdup setting it.
Submitted-by: Will Andrews <will@firepipe.net> Dragonfly-bug: https://bugs.dragonflybsd.org/issues/2987 https://bugs.dragonflybsd.org/issues/2988 https://bugs.dragonflybsd.org/issues/3067
show more ...
|
Revision tags: v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc |
|
#
ae24b5e0 |
| 18-Jan-2017 |
Sascha Wildner <saw@online.de> |
cpdup: When verbose, also log the successful creation of a directory.
|
Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0 |
|
#
d72200ed |
| 14-Nov-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add another way to prevent host:path misintepretation
* Allow a local file or directory name to be prefixed with localhost: to prevent colons in the filename from being misinterpreted as a
cpdup - Add another way to prevent host:path misintepretation
* Allow a local file or directory name to be prefixed with localhost: to prevent colons in the filename from being misinterpreted as a remote-host specification.
This is in addition to the nominal absolute-path method to prevent misinterpretation (a '/' occuring before any ':' prevents misinterpretation of the ':' as a remote-host specification)
show more ...
|
Revision tags: v3.7.1, v3.6.0rc, v3.7.0, v3.4.3 |
|
#
75bd842a |
| 30-May-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - roll 1.18 for ports consumers
* Add the -n option. This is the not-for-real option. cpdup will go through the motions but not actually take any action. Useful for validating a topolog
cpdup - roll 1.18 for ports consumers
* Add the -n option. This is the not-for-real option. cpdup will go through the motions but not actually take any action. Useful for validating a topology without modifying it, e.g. 'cpdup -n -v -VV source target'.
* Fix clang static/global and alignment warnings
* Bump rev to 1.18
* Porters please note that this release has added an __aligned(n) directive to two structures. BSDs and linux's should be able to handle this no-problem but just like __printflike() it is a bit of a departure from standard.
* Ports URL: fetch http://apollo.backplane.com/FreeBSDPorts/cpdup-1.18.tar.gz
Submitted-by: (static/global fixes) "Eitan Adler" <lists@eitanadler.com> Submitted-by: (n-option & alignment fixes) dillon Testing-by: "Eitan Adler" <lists@eitanadler.com>
show more ...
|
Revision tags: v3.4.2 |
|
#
698d0b11 |
| 05-May-2013 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - add -n (not-for-real) option
* Add cpdup -n, which causes cpdup to go through the motions but not actually make any modifications.
|
Revision tags: v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0 |
|
#
8f0e7bc1 |
| 24-Nov-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch
* Add -F<ssh-opt>, allow arbitrary options to be passed to ssh.
* Ignore UFS2 snapshots (FreeBSD)
* Add missing #include (F
cpdup - Add -F<ssh-opt>, add code to remove need for FreeBSD ports patch
* Add -F<ssh-opt>, allow arbitrary options to be passed to ssh.
* Ignore UFS2 snapshots (FreeBSD)
* Add missing #include (FreeBSD)
Submitted-by: Oliver Fromme <olli@fromme.com>
show more ...
|
#
1475db85 |
| 24-Oct-2009 |
Sascha Wildner <saw@online.de> |
cpdup(1): Remove dead initialization.
|
Revision tags: v2.5.1, v2.4.1, v2.5.0, v2.4.0 |
|
#
7cde0c8b |
| 25-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AMD64 - Fix dev_t tests in cpdup
* cpdup was traversing mount points when it shouldn't have been, due to badly written st_dev tests.
|
Revision tags: v2.3.2 |
|
#
0e9fad5e |
| 21-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup - Do not create a .tmp file and rename if the target does not exist.
* When copying if the target does not exist use the target's actual name instead of the name of a temporary file.
This
cpdup - Do not create a .tmp file and rename if the target does not exist.
* When copying if the target does not exist use the target's actual name instead of the name of a temporary file.
This helps filesystems (aka HAMMER) which use hashed directories. Inode numbers can be selected by the FS on the basis of the file-name in order to maintain directory-order linearity. If the copy program creates the target file with one name and then renames it to the real name, however, the feature is lost and we get one big scramble again.
show more ...
|
Revision tags: v2.3.1, v2.2.1 |
|
#
c065129d |
| 25-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no lon
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no longer force a copy if they differ but the mtime and size are the same. Generate a single warning instead.
Reorder the call to setutimes to occur after chown/chmod instead of before, and to occur after a chflags call if IMMUTABLE is not set.
show more ...
|
#
17e9c4cc |
| 25-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no lon
Add cpdup feature - allow uid/gid/flags changes to fail if running as user
If running as a user instead of root uid, gid, and flags changes are allowed to fail and also, if running as a user, no longer force a copy if they differ but the mtime and size are the same. Generate a single warning instead.
Reorder the call to setutimes to occur after chown/chmod instead of before, and to occur after a chflags call if IMMUTABLE is not set.
show more ...
|
#
74fa57e3 |
| 17-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
CPDUP - Fix lack of error reporting if created target directory cannot stat.
Fix a lack of error reporting if a just-created target directory cannot be stat()'ed or chown()'d.
|
#
c2609432 |
| 01-Apr-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
cpdup: '#' in cpignore files is no longer interpreted as a comment.
A '#' as the first character on a line in a cpignore file used to be interpreted as a comment. It is no just considered another v
cpdup: '#' in cpignore files is no longer interpreted as a comment.
A '#' as the first character on a line in a cpignore file used to be interpreted as a comment. It is no just considered another valid character in a filename. Comments may no longer be represented in cpignore files.
show more ...
|