nixpkgs-suyu/pkgs/applications/networking
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
..
3proxy
aether treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
apache-directory-studio treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
appgate-sdp
bee
blocky blocky: 0.17 -> 0.18 2022-02-25 11:35:50 -08:00
breitbandmessung
brig
browsers Merge pull request #165735 from squalus/librewolf 2022-03-25 05:12:05 +01:00
c14
calls
cawbird cawbird: 1.4.2 -> 1.5 2022-03-20 09:13:35 +00:00
charles treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
cisco-packet-tracer treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
cloudflared cloudflared: 2022.2.1 -> 2022.3.1 2022-03-11 17:16:23 -05:00
cluster Merge pull request #165711 from fabius/popeye-darwin 2022-03-24 22:21:07 -05:00
compactor
cozy-drive cozy-drive: 3.30.1 -> 3.32.0 2022-03-06 22:13:45 +08:00
datovka
davmail
dnscontrol dnscontrol: 3.14.0 -> 3.15.0 2022-03-08 04:49:34 +00:00
drive
droopy
dropbox treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
dsvpn
dyndns
enhanced-ctorrent
errbot
feedreaders
firehol
flent
flexget flexget: 3.3.3 -> 3.3.4 2022-03-25 04:58:49 +00:00
ftp
gdrive
giara
gmailctl
gnome-network-displays
gns3
google-drive-ocamlfuse
gopher
hpmyroom
hydroxide
hyprspace
icemon
ids
ike
instant-messengers Merge pull request #165565 from bobby285271/fractal 2022-03-24 16:13:27 +08:00
insync
ipfs nixos/ipfs: add systemd hardening 2022-03-22 11:12:14 +01:00
ipfs-cluster ipfs-cluster: 0.14.4 -> 0.14.5 2022-03-01 14:30:23 +01:00
ipfs-migrator ipfs-migrator: 1.7.1 -> 2.0.2 2022-02-25 11:12:19 -08:00
ipget
iptraf
iptraf-ng
irc treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
jmeter
jnetmap
juju juju: 2.9.26 -> 2.9.27 2022-03-22 08:47:33 +00:00
libcoap
lieer treewide: remove meta.repositories 2022-03-24 23:56:14 +02:00
linssid
listadmin
maestral-qt maestral-gui: 1.5.2 -> 1.5.3 2022-02-28 19:26:41 +08:00
mailreaders treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
mhost
misc/zammad zammad: 5.0.1 -> 5.1.0 2022-03-21 10:35:42 +01:00
mkchromecast
modem-manager-gui
mpop
msmtp
mullvad-vpn mullvad-vpn: 2021.6 -> 2022.1 2022-03-01 21:51:56 +03:00
mumble mumble,murmur: 1.3.4 -> 1.4.231 2022-02-26 22:08:22 +01:00
n8n n8n: 0.168.1 → 0.169.0 (#165066) 2022-03-23 08:19:10 +01:00
nali
ncgopher
ndppd
netperf
newsreaders
nextcloud-client nextcloud-client: 3.4.3 -> 3.4.4 2022-03-19 19:23:53 +00:00
nextdns nextdns: 1.37.7 -> 1.37.10 2022-03-08 14:55:46 +00:00
ngadmin
nload
nntp-proxy
novnc
nym
offrss
omping
onionshare
opsdroid opsdroid: 0.24.1 -> 0.25.0 2022-02-24 14:27:42 +01:00
ostinato treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
owamp
owncloud-client
p2p treewide: rename name to pname&version 2022-03-23 22:55:50 +01:00
pcloud
ping
pjsip pjsip: 2.11.1 -> 2.12 2022-02-25 16:28:48 +00:00
powerdns-admin
protocol
protonmail-bridge
protonvpn-cli
protonvpn-gui protonvpn-gui: activate strictDeps 2022-02-25 15:55:29 -06:00
ps2client
qv2ray
remote treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
resilio-sync
rofi-vpn
scaleft
seafile-client seafile-client: 8.0.5 -> 8.0.6 2022-02-28 07:12:44 +00:00
seahub
seaweedfs seaweedfs: 2.89 -> 2.90 2022-02-25 10:31:12 -08:00
shellhub-agent gitUpdater: init 2022-02-21 13:01:49 -03:00
sieve-connect
siproxd
sniffers sngrep: 1.4.9 -> 1.4.10 2022-03-12 22:25:14 +01:00
sniproxy
soapui
soju
soulseek/nicotine-plus
spideroak
ssb-patchwork treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
station
Sylk
sync desync: 0.9.0 -> 0.9.2 2022-03-21 12:49:30 -05:00
syncplay
syncthing syncthing: 1.19.0 -> 1.19.1 2022-03-03 09:39:33 +08:00
syncthing-gtk
synology-drive-client
taler
tcpkali
termius Merge pull request #161265 from dxops/patch-1 2022-03-05 10:38:10 +01:00
testssl testssl: 3.0.6 -> 3.0.7 2022-02-23 04:20:50 +00:00
tetrd
tmpmail
tsung
twtxt
umurmur
utahfs
versus
vnstat
wayback_machine_downloader
weather/meteo
websocketd
wg-bond
zerobin
znc