gnu: openconnect: Fix indentation, remove input labels and use gexps.
* gnu/packages/vpn.scm (openconnect): Fix indentation. [native-inputs, inputs, propagated-inputs]: Remove input labels. [arguments]: Use gexps.
This commit is contained in:
		
							parent
							
								
									ec9f15b158
								
							
						
					
					
						commit
						b775c39b2c
					
				
					 1 changed files with 26 additions and 30 deletions
				
			
		|  | @ -20,7 +20,7 @@ | ||||||
| ;;; Copyright © 2021 jgart <jgart@dismail.de> | ;;; Copyright © 2021 jgart <jgart@dismail.de> | ||||||
| ;;; Copyright © 2022 Josselin Poiret <josselin.poiret@protonmail.ch> | ;;; Copyright © 2022 Josselin Poiret <josselin.poiret@protonmail.ch> | ||||||
| ;;; Copyright © 2022 Lu hui <luhux76@gmail.com> | ;;; Copyright © 2022 Lu hui <luhux76@gmail.com> | ||||||
| ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> | ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> | ||||||
| ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> | ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> | ||||||
| ;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> | ;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> | ||||||
| ;;; | ;;; | ||||||
|  | @ -677,35 +677,31 @@ the user specifically asks to proxy, so the @dfn{VPN} interface no longer | ||||||
| 
 | 
 | ||||||
| (define-public openconnect | (define-public openconnect | ||||||
|   (package |   (package | ||||||
|    (name "openconnect") |     (name "openconnect") | ||||||
|    (version "9.01") |     (version "9.01") | ||||||
|    (source (origin |     (source (origin | ||||||
|             (method url-fetch) |               (method url-fetch) | ||||||
|             (uri (string-append "ftp://ftp.infradead.org/pub/openconnect/" |               (uri (string-append "ftp://ftp.infradead.org/pub/openconnect/" | ||||||
|                                 "openconnect-" version ".tar.gz")) |                                   "openconnect-" version ".tar.gz")) | ||||||
|             (sha256 |               (sha256 | ||||||
|              (base32 "1iz4j00031a5ircrx30lkiwf58yl9kc827m4ssck4yg963wgmmxk")))) |                (base32 "1iz4j00031a5ircrx30lkiwf58yl9kc827m4ssck4yg963wgmmxk")))) | ||||||
|    (build-system gnu-build-system) |     (build-system gnu-build-system) | ||||||
|    (propagated-inputs |     (arguments | ||||||
|     (list libxml2 gnutls zlib)) |      (list #:configure-flags | ||||||
|    (inputs |            #~(list (string-append "--with-vpnc-script=" | ||||||
|     (list lz4 vpnc-scripts)) |                                   (search-input-file %build-inputs | ||||||
|    (native-inputs |                                                      "etc/vpnc/vpnc-script"))))) | ||||||
|     `(("gettext" ,gettext-minimal) |     (native-inputs (list gettext-minimal pkg-config)) | ||||||
|       ("pkg-config" ,pkg-config))) |     (inputs (list lz4 vpnc-scripts)) | ||||||
|    (arguments |     (propagated-inputs (list libxml2 gnutls zlib)) | ||||||
|     `(#:configure-flags |     (synopsis "Client for Cisco VPN") | ||||||
|       `(,(string-append "--with-vpnc-script=" |     (description | ||||||
|                         (assoc-ref %build-inputs "vpnc-scripts") |      "OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is | ||||||
|                         "/etc/vpnc/vpnc-script")))) | supported by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco SR500, 870, | ||||||
|    (synopsis "Client for Cisco VPN") | 880, 1800, 2800, 3800, 7200 Series and Cisco 7301 Routers, and probably | ||||||
|    (description | others.") | ||||||
|     "OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is |     (license license:lgpl2.1) | ||||||
| supported by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco SR500, |     (home-page "https://www.infradead.org/openconnect/"))) | ||||||
| 870, 880, 1800, 2800, 3800, 7200 Series and Cisco 7301 Routers, |  | ||||||
| and probably others.") |  | ||||||
|    (license license:lgpl2.1) |  | ||||||
|    (home-page "https://www.infradead.org/openconnect/"))) |  | ||||||
| 
 | 
 | ||||||
| (define-public openconnect-sso | (define-public openconnect-sso | ||||||
|   (package |   (package | ||||||
|  |  | ||||||
		Reference in a new issue