170 Commits

Author SHA1 Message Date
Angel J 18bc687d87 subversionClient: fix Perl bindings with SWIG 4.4
Regenerate the Perl XS wrappers instead of mixing SWIG 4.4 runtime support
with release-tarball wrappers generated by an older SWIG. This fixes
SVN::Core and git-svn segfaults.
2026-05-13 21:03:40 -07:00
Stefan Frijters a254e9fff3 subversion: use finalAttrs 2026-05-01 14:24:49 +02:00
Stefan Frijters 0244c00c63 subversion: enable strictDeps 2026-05-01 14:24:47 +02:00
Sergei Trofimovich 6bef404954 subversionClient: fix swig-4.4 build
Without the change the build fails as https://hydra.nixos.org/build/326115854:

```
subversion/bindings/swig/python/svn_client.c:4259:7: error: implicit declaration of function 'SWIG_Python_TypeError'; did you mean 'SWIG_Python_TypeQuery'? [-Wimplicit-function-declaration]
 4259 |       SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj2);
      |       ^~~~~~~~~~~~~~~~~~~~~
      |       SWIG_Python_TypeQuery
```
2026-04-07 20:56:36 +01:00
Marcin Serwin 99e6d1bfbb maintainers: drop lovek323
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-24 23:43:50 +01:00
Stefan Frijters 7cc1f8c1ef subversion: fix formatting 2026-02-19 19:36:21 +01:00
Stefan Frijters 11a95310d1 subversion*: move env variables into env for structuredAttrs 2026-02-19 19:31:30 +01:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
h7x4 635fa3d7ee nixos/tests/svnserve: init 2025-10-17 23:41:50 +09:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Emily dbd31d478b subversion: remove obsolete Darwin cruft
It builds fine without any of this.
2025-02-10 23:24:10 +00:00
Reno Dakota 295c403f20 subversionClient: remove vendored swig 3.0 files; fix build 2024-12-29 18:25:19 -08:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sergei Trofimovich eaae2eaec7 subversion: 1.14.4 -> 1.14.5 (#363461)
Changes: https://svn.apache.org/repos/asf/subversion/trunk/CHANGES
2024-12-10 03:51:28 -05:00
Sergei Trofimovich 058eeb73aa subversion: 1.14.3 -> 1.14.4
Changes: https://lists.apache.org/thread/glvmq598wv71thrd9vmbm0q5w6n3124w
2024-10-10 06:19:16 +01:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Austin Horstman a0778fea14 subversion: fix darwin 2024-09-11 15:39:26 -05:00
Jade Lovelace 5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm e7aa35317e apacheHttpdPackages.subversion: 1.14.2 -> 1.14.3 2023-12-29 06:04:57 +00:00
arcnmx 833ccca4c1 subversion: add meta.mainProgram 2023-11-09 23:49:48 +01:00
Colin d9d13d8981 subversion: support cross compilation 2023-04-13 07:12:32 +00:00
Sergei Trofimovich ea80b3925f subversion: disable parallel installs
Without the change parallel install fails as:

    $ install flags: -j16 ...
    ...
    collect2: error: ld returned 1 exit status
    libtool:   error: error: relink 'libsvn_ra_serf-1.la' with the above command before installing it
    make: *** [build-outputs.mk:1316: install-serf-lib] Error 1
    make: *** Waiting for unfinished jobs....
    /nix/store/1qasgqvab0xh2jcy00x9b1zh39dw7m8f-bin
2023-03-02 21:52:26 +00:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
hyqhyq_3 99fcf0ee74 subversion: enable darwin keychain support (#176730)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-06-10 01:02:28 +02:00
Armeen Mahdian b83fb8a29d subversion_1_10: remove 2022-04-26 11:54:30 -05:00
Martin Weinelt c6eee6386d subversion_1_10: 1.10.7 -> 1.10.8
https://svn.apache.org/repos/asf/subversion/tags/1.10.8/CHANGES
https://subversion.apache.org/security/CVE-2021-28544-advisory.txt
https://subversion.apache.org/security/CVE-2022-24070-advisory.txt

Fixes: CVE-2021-28544, CVE-2022-24070
2022-04-13 03:45:18 +02:00
Martin Weinelt 8f43f3dc40 subversion: 1.14.1 -> 1.14.2
https://svn.apache.org/repos/asf/subversion/tags/1.14.2/CHANGES
https://subversion.apache.org/security/CVE-2021-28544-advisory.txt
https://subversion.apache.org/security/CVE-2022-24070-advisory.txt

Fixes: CVE-2021-28544, CVE-2022-24070
2022-04-13 03:32:59 +02:00
Felix Buehler 7eb1a32324 subversion-client: remove appendToName to have a consistent package name for repology 2022-04-06 17:40:39 +02:00
Alyssa Ross fd78240ac8 treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Renaud 944a2dc835 Treewide: fix some permanent redirects on homepages
(#153213)
Issue #60004
2022-01-03 16:53:12 +01:00
Andrew Childs 364e6e634b subversion: update libtool to fix build on aarch64-darwin 2021-05-27 14:01:54 +09:00
ajs124 1e7720531a subversion: 1.12.2 -> 1.14.1 2021-04-29 18:41:18 +02:00
Robert Scott c94fa93440 subversion: add patch for CVE-2020-17525 2021-04-24 20:31:07 +01:00
Rouven Czerwinski d18df82226 subversion: remove extraBuildInputs
No longer required since all subversion versions now share the same
buildInputs.
2021-04-19 16:54:11 +02:00
Thomas Gerbet b660a15ba8 subversion_1_10: 1.10.6 -> 1.10.7
Fixes CVE-2020-17525.

Release announcement:
https://lists.apache.org/thread.html/r86eb93bd4e12c126203f61e9bd42f9a3905117842b481d20e15fd61f%40%3Cannounce.subversion.apache.org%3E
2021-04-17 11:58:21 +02:00
Thomas Gerbet 550e69b745 subversion19: drop
Subversion 1.9 is EoL [0] and is affected by CVE-2020-17525.

[0] https://subversion.apache.org/roadmap.html#release-planning
2021-03-31 08:38:03 +02: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
Aaron Andersen ccf0499170 subversion: 1.9.10 -> 1.9.12, 1.10.4 -> 1.10.6 2019-08-10 09:23:48 -04:00
R. RyanTM affde0f5a9 subversionClient: 1.12.0 -> 1.12.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/subversion-client/versions
2019-08-05 23:51:12 -07:00
Renaud ac63101188 subversion: fix configure missing APR_INT64_T_FMT
configurePhase fails when building Python bindings or subversionClient
> configure: error: failed to recognize APR_INT64_T_FMT on this platform

Adding "-P" CPPFLAG solves the issue.
See also: https://issues.apache.org/jira/browse/SVN-4813
2019-05-09 15:59:18 +02:00
c0bw3b 4f99ea8128 subversion: 1.11.1 -> 1.12.0
v1.12 is a regular release replacing v1.11
https://subversion.apache.org/docs/release-notes/1.12.html
https://subversion.apache.org/roadmap.html#release-planning
2019-05-08 12:19:34 +02:00
c0bw3b 78c545fe83 subversion19: 1.9.9 -> 1.9.10
https://subversion.apache.org/docs/release-notes/1.9
2019-05-08 12:09:54 +02:00
c0bw3b 1685f80b97 subversion18: remove because EOL
Subversion 1.8 is EOL since the publication of 1.10 in April 2018
https://subversion.apache.org/docs/release-notes/1.10.html#svn-1.8-deprecation
2019-05-08 11:56:22 +02:00
Andreas Rammhold a6bb05be45 subversion_1_10: 1.10.3 -> 1.10.4
bugfix release for CVE-2018-11803 [0].

[0] https://subversion.apache.org/security/CVE-2018-11803-advisory.txt
2019-03-20 13:37:03 +01:00
Jan Malakhovski 1b784e5f6f subversion: move defaults to package file 2019-02-03 15:30:36 +00:00
R. RyanTM cd055b2f58 subversionClient: 1.11.0 -> 1.11.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/subversion-client/versions
2019-01-16 04:00:13 -08:00