nixpkgs/pkgs/applications/version-management
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
..
arch
bcompare bcompare: 4.4.0.25886 -> 4.4.2.26348 2022-03-21 13:03:10 +01:00
bitkeeper
blackbox
bumpver
commit-formatter commit-formatter: init at 0.2.1 2022-01-09 22:17:45 +08:00
commitizen commitizen: fix src hash 2022-03-11 21:43:07 -08:00
cvs pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
cvs2svn cvs2svn: update homepage 2022-02-06 15:10:21 +01:00
cvs-fast-export cvs-fast-export: 1.58 -> 1.59 2021-12-11 07:49:26 +00:00
cvsps
cvsq
cz-cli commitizen: rename to cz-cli to follow upstream 2022-01-03 14:37:33 -03:00
danger-gitlab
dvc dvc: 0.24.3 -> 2.9.3 2022-01-15 17:34:43 +01:00
fossil fossil: 2.17 -> 2.18 2022-02-24 23:02:32 +05:30
gerrit
git-and-tools treewide: remove meta.repositories 2022-03-24 23:56:14 +02:00
git-backup
git-crecord git-crecord: 20161216.0 -> 20201025.0 2022-01-16 02:36:23 +01:00
git-lfs git-lfs: 3.1.1 -> 3.1.2 2022-02-18 08:55:03 +00:00
git-repo gitRepo: 2.21 -> 2.22 2022-03-12 04:42:14 +00:00
git-review gitUpdater: init 2022-02-21 13:01:49 -03:00
git-sizer
git-up
gitea gitea: 1.16.4 -> 1.16.5 2022-03-23 22:32:56 -04:00
github-desktop github-desktop: 2.9.6 -> 2.9.9 2022-03-06 11:19:48 +07:00
gitkraken gitkraken: 8.3.0 -> 8.3.3 (#162753) 2022-03-23 04:12:46 +01:00
gitlab gitlab: 14.8.2 -> 14.8.4 (#164564) 2022-03-20 13:08:09 +01:00
gitlab-triage
gitless gitless: relax pygit2 constraint and limit to Python 3 2022-01-24 23:15:31 +01:00
gitolite
gitoxide
gitqlient gitqlient: init at 1.4.3 2022-03-10 10:18:06 -03:00
gitstats gitstats: switch to fetchFromGitHub 2021-11-02 19:49:30 +01:00
gogs gogs: 0.12.4 -> 0.12.5 2022-03-12 09:40:25 +00:00
gomp
got got: 0.66 -> 0.67 2022-02-21 15:11:24 +00:00
gource
jujutsu jujutsu: init at 0.3.1 (#161421) 2022-03-14 20:34:02 +01:00
meld meld: pull upstream fix for meson-0.60 2022-03-20 08:58:13 +00:00
mercurial mercurial: add patch to fix the libc buffer type for aarch64-linux 2022-03-14 14:20:46 +00:00
monotone treewide: remove *.upstream files from updateWalker 2022-01-26 21:46:07 +01:00
monotone-viz pkgs/applications: rename name to pname&version part 2 2021-11-07 14:53:06 +01:00
mr
nbstripout
nitpick
p4 treewide: replace http://web.archive.org with https://web.archive.org 2022-01-07 09:58:36 +07:00
p4v
peru
pijul pijul: 1.0.0-alpha.57 -> 1.0.0-beta 2022-01-19 11:43:58 +02:00
rabbitvcs
rapidsvn python,pythonPackages: make aliases 2022-01-16 18:39:59 +00:00
rcs rcs: 5.10.0 -> 5.10.1 2022-02-05 12:08:06 +00:00
redmine redmine: 4.2.3 -> 4.2.4 2022-02-25 18:05:05 -05:00
reposurgeon buildGoModule packages: remove unnecessary runVend 2022-01-01 15:55:33 +10:00
sit
smartgithg treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
sourcehut sourcehut.todosrht: 0.66.1 -> 0.67.2 2022-02-12 02:11:35 +01:00
sparkleshare
src src: switch to Python3 2022-01-22 17:02:33 -03:00
srcml python,pythonPackages: make aliases 2022-01-16 18:39:59 +00:00
sublime-merge sublime-merge: 2063 -> 2068, sublime-merge-dev: 2062 -> 2067 2021-12-22 12:46:48 +09:00
subversion treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
tailor tailor: switch to pypy2 2022-01-12 13:18:48 +01:00
tkrev tkrev: tkcvs 8.2.1 -> tkrev 9.4.1 2022-03-14 12:57:22 +00:00
tortoisehg tortoisehg: 6.0 -> 6.1 2022-03-12 00:02:37 -05:00
vcprompt
vcsh vcsh: 2.0.2 -> 2.0.4 2021-10-28 08:05:01 +00:00
verco
yadm yadm: use resholvePackage (#154190) 2022-01-29 11:03:20 +09:00