From 403dda2e66dc5c8f23bf66086815133546df1ba0 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Mon, 7 Dec 2020 21:28:18 +0100 Subject: gnu: shadowsocks: Build against openssl. This patch allows shadowsocks to be used without supplying libopenssl in its configuration. See also https://unix.stackexchange.com/questions/623324/. * gnu/packages/networking.scm (shadowsocks)[inputs]: Add openssl. [#:phases]: Add patch-crypto-paths. Signed-off-by: Marius Bakke --- gnu/packages/networking.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 8a84c8476a..1226b8606f 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -3024,6 +3024,19 @@ asynchronous model using a modern C++ approach.") (base32 "1idd9b4f2pnhcpk1bh030hqg5zq25gkwxd53xi3c0cj242w7sp2j")) (file-name (git-file-name name version)))) + (inputs + `(("openssl" ,openssl))) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-crypto-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "shadowsocks/shell.py" + (("config\\.get\\('libopenssl', None\\)") + (format #f "config.get('libopenssl', ~s)" + (string-append + (assoc-ref inputs "openssl") + "/lib/libssl.so"))))))))) (build-system python-build-system) (synopsis "Fast tunnel proxy that helps you bypass firewalls") (description -- cgit v1.2.3 ' name='id' value='f194fbf50eecc9f38045520db0d1a719175172ae'/>
AgeCommit message (Expand)Author
2021-02-01tests: Optimize 'fold-available-packages' test....Ludovic Courtès
2020-10-20packages: Better preserve object identity when rewriting....Ludovic Courtès
2020-10-12packages: Add 'package-with-c-toolchain'....Ludovic Courtès
2020-10-02guix package: Re-apply package transformation when upgrading....Ludovic Courtès
2020-09-27packages: 'package-input-rewriting' has a #:deep? parameter....Ludovic Courtès
2020-09-27packages: 'package-mapping' correctly recurses into 'replacement'....Ludovic Courtès
2020-09-27packages: 'package-input-rewriting/spec' can rewrite implicit dependencies....Ludovic Courtès
2020-09-27packages: 'package-mapping' can recurse on implicit inputs....Ludovic Courtès
2020-08-24tests: Add a debug output to "fold-available-packages with/without cache"....Mathieu Othacehe
2020-07-25Use 'formatted-message' instead of '&message' where appropriate....Ludovic Courtès
2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....Ludovic Courtès
2020-07-13packages: Ensure bags are insensitive to '%current-system'....Ludovic Courtès
2020-06-27packages: Recognize SHA3 and BLAKE2s for 'content-hash'....Ludovic Courtès
2020-06-11packages: 'package-grafts' returns grafts for all the relevant outputs....Ludovic Courtès
2020-06-06packages: Make 'bag-grafts' insensitive to '%current-target-system'....Ludovic Courtès
2020-05-23tests: Use a #:prefix for (gcrypt hash)....Ludovic Courtès
2020-05-22packages: Introduce <content-hash> and use it in <origin>....Ludovic Courtès
2020-05-14packages: Ensure bags are insensitive to '%current-target-system'....Ludovic Courtès
2020-03-31guix package: Do not misdiagnose upgrades when there are propagated inputs....Ludovic Courtès
2020-03-31guix package: Add 'transaction-upgrade-entry' test....Ludovic Courtès
2020-03-31guix package: 'transaction-upgrade-entry' swallows build requests....Ludovic Courtès
2020-01-16guix package: Export 'transaction-upgrade-entry'....Ludovic Courtès
2019-09-06packages: 'supported-package?' binds '%current-system' for graph traversal....Ludovic Courtès
2019-06-27Merge branch 'master' into core-updatesLudovic Courtès
2019-06-27packages: 'specification->package+output' distinguishes "no output specified"....Ludovic Courtès
2019-06-14tests: Make builds less expensive....Ludovic Courtès