Commit Graph

52 Commits

Author SHA1 Message Date
Alyssa Ross
cdcc058b27
rsync: use availableOn to determine acl support
We don't want to be adding every non-Linux platform to this list one
at a time.
2021-06-10 21:46:51 +00:00
Ben Siraphob
7d97e284e8 treewide: remove redundant stdenv 2021-03-26 12:18:16 +07:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Andreas Rammhold
5219a3ade1 rsync: disable the bundled zlib explicitly
We've been providing zlib as a buildInput for some time now but rsync
still builds (& links) it's own copy of zlib unless we disable it
explicitly. This cuts down on compilation time but otherwise shouldn't
have any side effects.
2020-11-01 12:51:02 +01:00
Samuel Dionne-Riel
49edde0905 rsync: Work around upstream cross-compilation issue
It should be fixed by the next release:

 * b7fab6f285

Already a part of the updates for 3.2.4

 * https://download.samba.org/pub/rsync/NEWS#3.2.4
2020-10-20 14:28:27 -04:00
Frederik Rietdijk
692d219a93 Merge staging-next into staging 2020-10-06 10:25:58 +02:00
Andrew Dunham
79c01c835e rsync: 3.1.3 -> 3.2.3
Add zstd, lz4, openssl and xxHash as optional dependencies, to support
more compression formats.
2020-10-02 16:46:10 +03:00
Emery Hemingway
e7d0500cb3 nixos/rsyncd: convert module to an INI generator 2020-09-29 08:07:53 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ryanfitzsimon
f203d50d09 rrsync: Make perl a run-time dependency (#71344)
perl is a run-time dependency, so it should be in buildInputs rather
than nativeBuildInputs.

This has been preventing patchShebangsAuto() in fixupOutputHooks from
patching the /usr/bin/perl interpreter shebang in $out/bin/rrsync since
61bc03c017.

Resolves #71198
2019-10-19 11:33:28 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
worldofpeace
cab7c6cbd9 treewide: use dontConfigure 2019-07-01 04:23:51 -04:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Jan Malakhovski
5da88a18c9 rsync: move defaults to package file 2019-02-03 15:30:18 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Franz Pletz
57ecb3a8f0
rsync: 3.1.2 -> 3.1.3
The CVE patches weren't previously applied because they depend on the
enableCopyDevicesPatch parameter. The naming of the patches attribute in
base.nix was misleading.

The new rsync release now really fixes:

  * CVE-2017-15994
  * CVE-2017-16548
  * CVE-2017-17433
  * CVE-2017-17434
2018-01-29 13:54:47 +01:00
adisbladis
5e85657ba5
rsync: Fix CVE-2017-17433 and CVE-2017-17434 2018-01-06 16:57:58 +08:00
Andreas Rammhold
3d2df41a8f
rsync: fix CVE-2017-16548 2017-12-09 13:10:47 +01:00
Wout Mertens
6b628d7c03 rsync: build with own zlib again
Rsync has its own patched compress function, and to be able to use the `-z` flag, it needs to use that one.

With `-zz` rsync can use an external zlib, but then it can't talk to older rsync versions.

More details at https://bugs.mageia.org/show_bug.cgi?id=13669
2017-07-19 14:18:51 +02:00
Franz Pletz
3156263876
rsync: build with iconv, zlib & popt from nixpkgs
The rsync binary was previously built without iconv support which is needed
for utf-8 conversions on darwin. Fixes #26864.

Additionally rsync used to be built with bundled versions of zlib and popt
that were outdated. This decreases the size of the rsync binary by ~82KB.
2017-06-26 03:48:41 +02:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Joachim Fasting
68691d31b1
rsync: fix version typo
Typo introduced at c3b4dd920b50d6fd7625ada250d042b47fbd0217; went
undetected because the checksum was not changed.

Reported by m4t__ on IRC
2016-04-24 20:48:27 +02:00
Vladimír Čunát
b4ac8fb39b (r)rsync: simplify and don't copy maintainers
Let's keep the original rsync maintainers only on rsync,
as I haven't noticed them wanting to maintain rrsync as well.
2016-02-21 09:59:49 +01:00
Arnold Krille
c3b4dd920b rsync/rrsync: less code duplication
- refactor the common parts all into the base.nix
- add myself as maintainer
2016-02-20 11:59:50 +01:00
Arnold Krille
243c336022 rsync: Add rrsync as individual app
Extract the rsync source fetching into its own expression and use that
expression to fetch the same source for rsync and rrsync.

rrsync is just copied from the support folder of rsync, no configure or build
needed. Also none of the rsync patches are needed. Only the path to rsync needs
to be patched into rrsync.
2016-02-13 17:52:54 +01:00
Vladimír Čunát
468f698f60 rsync: security update 3.1.1 -> 3.1.2
This should fix CVE-2014-9512.
https://download.samba.org/pub/rsync/src/rsync-3.1.2-NEWS
2015-12-30 12:06:00 +01:00
Emery Hemingway
2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
Edward Tjörnhammar
33a8a51657 fetchurl: collate samba project urls into a mirror 2015-02-08 22:29:27 +01:00
Emery Hemingway
96adde8f6a rsync: update 3.1.0 to 3.1.1
fix http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2855
2014-09-05 10:43:06 -04:00
Vladimir Kirillov
2dfb036a30 rsync: sha256 for the patch was updated 2014-06-16 23:20:24 +03:00
Emery Hemingway
265c489391 rsyncd: default read/write permissions should be nobody:nogroup 2014-05-09 13:31:52 +02:00
Vladimír Čunát
8c918bdc2c rsync: fix CVE-2014-2855 by upstream patch 2014-05-03 11:31:28 +02:00
Emery Hemingway
93e9154805 rsync updated 3.0.9 to 3.1.0, rsyncd service module 2014-04-13 23:25:28 -04:00
Peter Simons
b08ba87b36 rsync: add meta.license attribute 2013-03-25 12:44:22 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Peter Simons
1e4a7842d2 rsync: optional feature (disabled by default) to sync devices
I use this feature for doing snapshot backups, which is way faster
than copying a huge files tree.

The patch is semi-official, rsync-patches is maintained by rsync
upstream itself.
The patch doesn't affect any behaviour, it only adds 1 option
so it shouldn't affect you if you don't use it.

svn path=/nixpkgs/trunk/; revision=31659
2012-01-18 20:38:24 +00:00
Peter Simons
72e5c8176e rsync: stripped trailing whitespace
svn path=/nixpkgs/trunk/; revision=30715
2011-12-03 16:11:57 +00:00
Peter Simons
74d6145917 rsync: added meta.maintainers section
svn path=/nixpkgs/trunk/; revision=30714
2011-12-03 16:11:54 +00:00
Lluís Batlle i Rossell
b330b79160 Updating rsync.
svn path=/nixpkgs/trunk/; revision=30707
2011-12-02 23:14:09 +00:00
Lluís Batlle i Rossell
c289ea7c4f Making rsync cross build.
svn path=/nixpkgs/trunk/; revision=29408
2011-09-21 07:04:22 +00:00
Armijn Hemel
ae80a8ed48 update to 3.0.7, requires perl now
svn path=/nixpkgs/trunk/; revision=19231
2010-01-05 12:29:58 +00:00
Armijn Hemel
c066f11f80 update to 3.0.6
svn path=/nixpkgs/trunk/; revision=19120
2009-12-25 18:33:44 +00:00
Eelco Dolstra
b54251026a * Enable ACL support in rsync.
svn path=/nixpkgs/trunk/; revision=13976
2009-02-03 22:13:35 +00:00
Armijn Hemel
12c64bf562 update to 3.0.5
svn path=/nixpkgs/trunk/; revision=13894
2009-01-28 14:52:57 +00:00
Armijn Hemel
263b3d8f1e 3.0.0 -> 3.0.4
svn path=/nixpkgs/trunk/; revision=12858
2008-09-13 10:11:39 +00:00
Armijn Hemel
7c39433e7b 2.6.9 -> 3.0.0
svn path=/nixpkgs/trunk/; revision=11020
2008-03-08 16:36:27 +00:00
Armijn Hemel
7e4289df47 2.6.8 -> 2.6.9
svn path=/nixpkgs/trunk/; revision=8680
2007-05-14 00:18:13 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
f7faaf75f7 upgrade to 2.6.8 (security fixes, other bugfixes)
svn path=/nixpkgs/trunk/; revision=5610
2006-07-06 15:48:34 +00:00