Commit Graph

72 Commits

Author SHA1 Message Date
Jörg Thalheim
5490442319 rsync: fix regression with _FORTIFY_SOURCE=2
See https://github.com/WayneD/rsync/issues/511 for details.
Not using fetchpatch, because I didn't found a raw link for opensuse's repository
2023-11-07 13:59:47 +01:00
Ryan Lahfa
7790e79cb0 Revert "rsync: fix regression with _FORTIFY_SOURCE=2" (#265876)
This reverts commit ad38853459.

This change while correct causes a mass-rebuild and needs to be resubmitted for staging.
2023-11-07 13:59:47 +01:00
Jörg Thalheim
8f4707cd8d rsync: fix regression with _FORTIFY_SOURCE=2
See https://github.com/WayneD/rsync/issues/511 for details.
Not using fetchpatch, because I didn't found a raw link for opensuse's repository
2023-11-07 13:59:47 +01:00
Austin Horstman
c238f999e3
rsync: add meta.mainProgram 2023-08-10 16:17:32 -05:00
Fabian Möller
7c1096ab99 rsync: fix build with musl
The rsync build tries to use IFUNC for SIMD optimizations on x86_64,
which has to be disabled for musl.
2023-01-16 10:51:05 -06:00
toonn
82fe3d27fb rsync: 3.2.6 -> 3.2.7 2022-11-21 10:32:33 -06:00
R. Ryantm
32f520bc09 rsync: 3.2.5 -> 3.2.6 2022-09-30 22:27:01 -05:00
Ivan Kozik
457e267206 rsync: 3.2.4 -> 3.2.5
This release fixes CVE-2022-29154:
https://download.samba.org/pub/rsync/NEWS#3.2.5

Remove enableCopyDevicesPatch because --copy-devices was included in rsync 3.2.4:
https://download.samba.org/pub/rsync/NEWS#3.2.4:~:text=Added%20the%20%2D%2Dcopy%2Ddevices%20option
2022-08-20 09:12:37 -05:00
Alyssa Ross
bf0aa68088
Revert "rsync: Work around upstream cross-compilation issue"
This reverts commit 49edde0905.

Our packaged rsync version now contains the fix.
2022-07-29 20:00:04 +00:00
Alyssa Ross
6c93364cc2
rsync: enable parallel building
Tested at -j48.
2022-07-29 20:00:01 +00:00
Further
c19c7d96c5
rrsync: clean unused part 2022-07-12 18:17:39 +08:00
Further
9d7d8c11eb
rrsync: fixed python3 and add braceexpand module 2022-07-12 03:30:48 +08:00
Further
a91cea12b1
rrsync: change per script to python script 2022-07-12 01:08:40 +08:00
Sandro Jäckel
9e1c94057c rsync: adopt, greatly simplify package 2022-06-05 09:00:03 -05:00
Thomas Gerbet
3de6800173 rsync: 3.2.3 -> 3.2.4
https://download.samba.org/pub/rsync/NEWS#3.2.4
2022-05-27 07:36:29 -05:00
Peter Simons
476635afe1 Drop myself from meta.maintainers for most packages.
I'd like to reduce the number of Github notifications and
review requests I receive.
2021-10-14 11:01:27 +02:00
Sandro
dceb7e528c
rsync: format, remove ? null (#131005) 2021-07-22 10:22:59 +02:00
Sandro
cae8134ccb
Merge pull request #130545 from risicle/ris-rsync-CVE-2020-14387 2021-07-22 02:52:59 +02:00
Felix Buehler
e4e631ebb8 applications/networking: /s/name/pname&version/ 2021-07-19 14:55:48 +02:00
Robert Scott
a08ee2292c rsync: add patch for CVE-2020-14387 2021-07-18 14:18:28 +01:00
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