nixpkgs/pkgs/applications/networking/remote
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
..
anydesk treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
aws-workspaces
citrix-workspace treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
freerdp freerdp: 2.6.0 -> 2.6.1 2022-03-08 18:23:09 +08:00
nice-dcv-client nice-dcv-client: 2020.2.1737-1 -> 2021.2.3797-1 2021-12-12 10:09:44 -05:00
putty
rdesktop
remmina remmina: 1.4.24 -> 1.4.25 2022-03-15 06:49:42 +00:00
rustdesk rustdesk: init at 1.1.8 2022-03-03 15:49:40 +01:00
teamviewer teamviewer: 15.25.5 -> 15.26.4 2022-01-31 09:06:51 -08:00
vmware-horizon-client treewide: rename name to pname&version 2022-03-23 22:55:50 +01:00
waypipe waypipe: fix cross compilation, set strictDeps 2022-01-21 10:45:53 +08:00
wayvnc wayvnc: 0.4.0 -> 0.4.1 2021-12-19 11:07:12 +01:00
x2goclient x2goclient: fix #163122 crash after connection 2022-03-07 16:10:41 +01:00
x2goserver
xrdp