nixpkgs/pkgs/servers
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
..
adguardhome adguardhome: 0.107.4 - 0.107.5 2022-03-05 01:30:42 +01:00
adminer
alps alps: update vendorSha256 2022-01-31 13:41:40 +10:00
althttpd
amqp treewide: remove meta.repositories 2022-03-24 23:56:14 +02:00
ankisyncd
apache-kafka
apcupsd
asterisk
atlassian atlassian-jira: 8.21.0 -> 8.22.0 2022-03-20 02:16:19 +00:00
bazarr bazarr: 1.0.2 -> 1.0.3 2022-02-27 01:29:23 +00:00
beanstalkd
bird bird: add patch for babel iface reconfiguration 2022-02-27 14:54:10 +08:00
blockbook blockbook: update vendorSha256 2022-01-31 06:31:22 +10:00
brickd brickd: switch to fetchFromGitHub 2022-03-14 19:32:49 +01:00
caddy
calibre-web calibre-web: 0.6.15 -> 0.6.16 2022-02-10 11:42:56 -08:00
cayley
clickhouse
code-server
computing slurm: 21.08.5.1 -> 21.08.6.1 2022-03-12 15:16:35 +01:00
confluent-platform
consul consul: 1.11.3 -> 1.11.4 2022-02-28 16:47:15 -05:00
corosync nixos/tests/pacemaker: init 2022-03-09 01:19:10 +01:00
coturn
dante
dcnnt
demoit
dendrite dendrite: 0.5.1 -> 0.6.5 2022-03-05 11:41:31 -05:00
dex dex-oidc: 2.30.0 -> 2.31.0 2022-03-10 00:14:26 -05:00
dgraph
dico
dict
diod
dns treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
documize-community
domoticz domoticz: 2021.1 -> 2022.1 2022-02-12 21:39:51 -08:00
duckling-proxy
echoip
elasticmq-server-bin
endlessh
endlessh-go endlessh-go: clarify license 2022-03-12 11:01:28 +01:00
etcd
etebase
exhibitor
fcgiwrap fcgiwrap: update homepage 2022-02-06 15:10:36 +01:00
fedigroups
felix
fiche
fileshare
filtron
firebird firebird: 3.0.7 -> 3.0.8; 4.0.0 -> 4.0.1 2022-01-24 18:18:41 -03:00
fishnet fishnet: 2.4.0 -> 2.5.1 2022-02-20 11:57:28 +01:00
foundationdb foundationdb61: pin Boost dep to boost168 (#157967) 2022-02-07 23:01:47 -05:00
freeradius freeradius: rename finger_bsd to bsd-finger 2022-03-14 14:39:32 -03:00
frr
ftp vsftpd: enable seccomp (#158974) 2022-03-01 11:03:47 +08:00
gemini agate: 3.2.2 -> 3.2.3 2022-03-01 14:18:09 +00:00
gerbera nixos/tests: link tests to their packages 2022-01-23 21:08:10 +01:00
go-libp2p-daemon
gobetween
gonic
gopher/gofish
gortr
gotify
gotty
gpm
gpsd
grocy grocy: 3.1.3 -> 3.2.0 2022-02-12 09:41:46 +00:00
h2 h2: 1.4.199 -> 2.1.210 (#155436) 2022-02-02 12:43:55 +01:00
hashi-ui
hasura
hbase
headphones headphones: 0.6.0-alpha.1 -> 0.6.0-beta.5 2022-02-22 20:19:56 +05:30
headscale headscale: 0.14.0 -> 0.15.0 2022-03-21 16:24:19 +00:00
heisenbridge heisenbridge: 1.10.0 -> 1.10.1 2022-02-05 19:04:53 +00:00
hitch
hockeypuck
holochain-go
home-assistant Merge branch 'master' into staging-next 2022-03-15 18:08:32 +01:00
hqplayerd hqplayerd: 4.29.1-80 -> 4.30.3-87 2022-03-11 10:31:33 -08:00
http lwan: fix build w/musl, disable PIE 2022-03-21 11:24:51 -05:00
hydron hydron: update vendorSha256 2022-01-31 06:31:22 +10:00
hylafaxplus Merge pull request #158259 from Yarny0/hylafax 2022-02-18 22:17:08 +01:00
icecast
icecream
icingaweb2 Merge pull request #165439 from helsinki-systems/upd/icingaweb2 2022-03-23 17:25:36 +01:00
identd
imgproxy imgproxy: 3.3.2 -> 3.3.3 2022-03-22 07:58:41 +00:00
interlock
invidious Merge pull request #150898 from schnusch/invidious 2022-03-17 23:50:00 +01:00
irc treewide: drop unnecessary go_1_17, buildGo117{Module,Package} 2022-02-08 08:09:33 +10:00
irker
isso isso: 0.12.5 -> 0.12.6.1 2022-03-22 16:04:49 +01:00
jackett jackett: 0.20.671 -> 0.20.709 2022-03-16 02:45:51 +00:00
janus-gateway janus-gateway: 0.11.8 -> 1.0.0 2022-03-12 17:39:03 +00:00
jellyfin treewide: don't unnecessary set dotnet-related env vars 2022-03-04 14:41:18 +01:00
jetbrains
jibri jibri: 8.0-114-g20e233e -> 8.0-93-g51fe7a2 2022-02-12 22:23:25 -08:00
jicofo
jitsi-videobridge
kapowbang
keycloak keycloak: wrap all the shell scripts (#165316) 2022-03-23 13:40:08 -04:00
klipper klipper: Copy config examples and docs to output 2022-03-22 15:35:38 -07:00
krill
kubemq-community kubemq-community: init at 2.2.12 2022-03-14 09:14:50 +00:00
kwakd
ldap/389
libreddit libreddit: 0.21.7 -> 0.22.1 2022-03-14 09:23:17 +01:00
lidarr
limesurvey limesurvey: 3.23.7+201006 -> 3.27.33+220125 2022-02-02 11:26:16 +01:00
livepeer livepeer: update vendorSha256 2022-01-31 06:31:22 +10:00
ma1sd
maddy maddy: 0.5.3 -> 0.5.4 2022-03-07 10:10:05 +00:00
mail mailman-web: fix django version check removal 2022-03-21 19:35:12 +00:00
mapcache mapcache: 1.10.0 -> 1.12.0 2022-02-26 23:40:49 +00:00
mapserver python,pythonPackages: make aliases 2022-01-16 18:39:59 +00:00
martin
mastodon mastodon: build nodejs modules with fetchYarnDeps 2022-03-21 12:38:34 +01:00
matrix-appservice-discord
matrix-conduit matrix-conduit: use rustPlatform.bindgenHook 2022-02-22 19:41:32 +01:00
matrix-corporal
matrix-synapse Merge pull request #165296 from sumnerevans/matrix-synapse-1.55 2022-03-22 19:46:10 +01:00
matterbridge
mattermost mattermost: 6.3.2 -> 6.3.3 2022-02-07 22:29:49 -07:00
mautrix-facebook mautrix-facebook: 2022-01-10 -> 0.3.3 2022-01-30 10:06:12 -05:00
mautrix-signal
mautrix-telegram mautrix-telegram: 0.11.1 -> 0.11.2 2022-03-04 15:25:54 +08:00
mautrix-whatsapp mautrix-whatsapp: 0.2.4 -> 0.3.0 2022-03-16 22:46:03 +01:00
mbtileserver mbtileserver: 0.8.1 → 0.8.2 2022-02-18 07:40:07 +03:00
memcached treewide: remove meta.repositories 2022-03-24 23:56:14 +02:00
mesos-dns
metabase metabase: 0.41.5 -> 0.42.1 2022-02-17 23:11:09 +01:00
meteor
microserver
miniflux miniflux: 2.0.35 → 2.0.36 2022-03-09 10:10:03 +03:00
minio minio: 2022-03-17T06-34-49Z -> 2022-03-22T02-05-10Z 2022-03-23 20:55:09 +00:00
mirrorbits
misc virtiofsd: 1.0.0 -> 1.1.0 2022-03-19 16:55:20 -04:00
mjolnir mjolnir: 1.3.2 -> 1.4.1 2022-03-22 09:24:16 +01:00
mlflow-server
monitoring treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
moonraker nixos/tests/moonraker: init 2022-03-22 15:35:39 -07:00
mpd mpd: 0.23.5 -> 0.23.6 2022-03-18 12:17:15 +00:00
mqtt/mosquitto
mtprotoproxy
mx-puppet-discord mx-puppet-discord: 2021-01-21 -> 2021-08-01 2022-01-29 15:11:33 -08:00
mxisd
mycorrhiza mycorrhiza: 1.8.1 -> 1.8.2 2022-02-20 18:24:10 +00:00
nas
nats-server nats-server: 2.7.2 -> 2.7.4 2022-03-12 19:44:48 +01:00
nats-streaming-server nats-streaming-server: 0.23.0 -> 0.24.0 2022-03-12 20:02:55 +01:00
neard
networkaudiod
news/leafnode
nextcloud nextcloud: 22.2.5 -> 22.2.6, 23.0.2 -> 23.0.3 2022-03-23 09:32:58 +00:00
nfd
nfs-ganesha
nginx-sso
nitter nitter: unstable-2022-01-32 -> unstable-2022-02-11 2022-02-19 07:59:39 -06:00
nosql treewide: don't unnecessary set dotnet-related env vars 2022-03-04 14:41:18 +01:00
nsq
nzbhydra2
oauth2-proxy oauth2-proxy: update vendorSha256 2022-02-01 12:34:38 +10:00
ombi ombi: 4.3.3 -> 4.10.2 2022-02-18 00:46:07 +02:00
openafs linuxPackages.openafs: mark broken on Linux 5.17 2022-03-21 13:22:59 +00:00
openbgpd
openvscode-server
openxpki treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
osrm-backend
owncast owncast: 0.0.10 -> 0.0.11 2022-03-06 14:06:44 +00:00
p910nd
peach
peertube peertube: 4.1.0 -> 4.1.1 2022-03-09 23:43:42 +03:00
pg_featureserv
pg_tileserv
pies
pim6sd pim6sd: mark as broken on darwin 2022-02-23 17:11:46 -05:00
pinnwand
piping-server-rust piping-server-rust: 0.12.0 -> 0.12.1 2022-03-13 18:34:15 +00:00
pleroma pleroma: Potentially wrap binaries with RELEASE_COOKIE 2022-03-17 15:21:52 +01:00
plex plex: 1.25.7.5604-980a13e02 -> 1.25.8.5663-e071c3d62 2022-03-24 21:06:45 +01:00
plik plik,plikd: 1.3.1 -> 1.3.4 2022-01-22 00:46:38 +01:00
polipo
postfixadmin
pounce
pr-tracker pr-tracker: 1.1.0 -> 1.2.0 2022-03-22 15:38:40 +00:00
prayer
prowlarr prowlarr: 0.1.10.1375 -> 0.2.0.1448 2022-02-04 14:04:48 +01:00
ps3netsrv ps3netsrv: switch to fetchFromGitHub 2022-03-14 19:32:49 +01:00
psitransfer
pufferpanel pufferpanel: mark as broken on darwin 2022-02-25 01:26:58 -05:00
pulseaudio treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00
radarr radarr: 4.0.4.5922 -> 4.0.5.5981 2022-03-06 16:02:02 +00:00
radicale radicale: 3.1.4 -> 3.1.5 2022-02-10 01:19:11 +01:00
rainloop
reproxy
rippled rippled: switch to fetchFromGitHub 2022-03-14 19:32:49 +01:00
rmfakecloud rmfakecloud: init at 0.0.7 2022-02-11 11:36:23 +01:00
roon-bridge roon-bridge: 1.8-814 -> 1.8-880 2022-01-31 17:43:47 -08:00
roon-server roon-server: 1.8-898 -> 1.8-903 2022-02-25 15:35:53 -08:00
roundcube
routinator routinator: 0.10.2 -> 0.11.0 2022-02-28 16:40:06 +01:00
rpcbind
rpiplay
rt
rtrtr
rtsp-simple-server rtsp-simple-server: 0.17.8 -> 0.17.17 2022-02-27 10:41:25 +08:00
sabnzbd sabnzbd: 3.5.2 -> 3.5.3 2022-03-20 14:44:13 +01:00
samba samba: 4.15.3 -> 4.15.5 2022-02-01 19:17:29 +01:00
scylladb scylladb: switch to fetchFromGitHub 2022-03-14 19:32:49 +01:00
seafile-server seafile-server: add passthru.tests 2022-01-30 22:00:33 +00:00
search
ser2net ser2net: 4.3.4 -> 4.3.5 2022-02-11 15:01:37 +01:00
serf
serviio serviio: 2.1 -> 2.2.1 2022-01-31 10:04:57 -08:00
shairplay
shairport-sync
shishi
sickbeard sickgear: 0.25.26 -> 0.25.28 2022-03-05 17:02:00 +05:30
silc-server
simple-http-server
simplehttp2server
sip
sks
skydns
slimserver
smcroute
soft-serve soft-serve: 0.2.2 -> 0.2.3 2022-02-24 20:56:44 +00:00
softether softether: 4.29 -> 4.38 2022-02-03 01:04:27 +08:00
sonarr sonarr: 3.0.6.1342 -> 3.0.7.1477 2022-03-07 14:12:53 +01:00
sozu
sql patroni: 2.0.2 -> 2.1.3 2022-03-21 14:53:04 +00:00
squid
sshportal sshportal: 1.18.5 -> 1.19.3 2022-02-13 06:58:06 +00:00
sslh
stayrtr
swego swego: 0.97 -> 0.98 2022-02-22 16:32:59 +00:00
t-rex t-rex: 0.14.3-beta4 → 0.14.3 2022-01-30 00:33:54 +03:00
tacacsplus
tailscale tailscale: 1.22.1 -> 1.22.2 2022-03-19 02:59:54 +02:00
tang
tarssh
tautulli tautulli: 2.9.3 -> 2.9.4 2022-02-23 10:54:17 +01:00
tegola tegola: 0.13.0 -> 0.14.0 2022-02-13 09:37:22 +00:00
teleport treewide: drop unnecessary go_1_17, buildGo117{Module,Package} 2022-02-08 08:09:33 +10:00
tile38 tile38: init at 1.27.1 2022-01-23 09:22:51 +03:00
timetagger
tmate-ssh-server
tracing
traefik traefik: 2.6.0 -> 2.6.1 2022-02-16 00:15:36 +00:00
trezord
trickster
tt-rss tt-rss-theme-feedly: 2.8.2 -> 2.9.1 2022-02-13 11:05:13 +00:00
ttyd
tvheadend python,pythonPackages: make aliases 2022-01-16 18:39:59 +00:00
u9fs u9fs: unstable-2020-11-21 -> unstable-2021-25 2022-03-22 15:20:05 +01:00
ucarp
udpt udpt: 3.1.0 -> 3.1.1 2022-01-20 22:16:21 +01:00
uftp
uhub
ums
unfs3
unifi unifi7: 7.0.20-894288bd9b -> 7.0.23 2022-03-18 10:28:53 +01:00
unifi-video
unifiedpush-common-proxies
unpackerr unpackerr: 0.9.8 -> 0.9.9 2022-02-05 19:03:11 +01:00
unpfs
ursadb
urserver
uwsgi
varnish varnish: 7.0.2 -> 7.1.0 2022-03-19 21:01:27 +01:00
vouch-proxy vouch-proxy: 0.35.1 -> 0.36.0 2022-02-21 14:22:09 +01:00
web-apps treewide: use lib.getLib for OpenSSL libraries 2022-03-30 15:10:00 +00:00
webdav
webdav-server-rs
webmetro
wsdd
x11 xorg.xorgserver: remove abi 1.17 2022-02-02 10:54:12 +11:00
xandikos xandikos: 0.2.6 -> 0.2.8 2022-01-19 00:19:05 +01:00
xinetd
xmpp nixos/tests/prosody: return prosody-mysql test 2022-02-18 22:23:13 +03:00
zigbee2mqtt zigbee2mqtt: 1.23.0 -> 1.24.0 2022-03-01 19:18:29 +01:00
zoneminder
zookeeper