guix-glicid/glicid/packages/networking.scm

104 lines
6 KiB
Scheme
Raw Permalink Normal View History

(define-module (glicid packages networking)
2023-06-06 09:21:54 +02:00
#:use-module ((gnu packages networking) #:prefix gnu:)
2025-02-10 10:15:28 +00:00
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
2023-05-11 09:53:58 +02:00
#:use-module (guix build-system gnu)
#:use-module (guix download)
2023-06-06 09:21:54 +02:00
#:use-module ((guix licenses) #:prefix license:)
2023-05-11 09:53:58 +02:00
#:use-module (guix packages))
2022-05-13 10:06:41 +02:00
(define-public libecap
2023-05-11 09:53:58 +02:00
(package
(name "libecap")
2024-11-19 14:01:56 +01:00
(version "1.0.1")
2023-05-11 09:53:58 +02:00
(source (origin
(method url-fetch)
(uri (string-append "https://www.e-cap.org/archive/libecap-" version ".tar.gz"))
2024-11-19 14:01:56 +01:00
(sha256 (base32 "1x685sv8pxxvh7x8dfdwn843rmxlf3mq36syqpf11487gacns5kw"))))
2023-05-11 09:53:58 +02:00
(build-system gnu-build-system)
(synopsis
"eCAP is a software interface that allows a network application, such as an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module.")
(description
"eCAP is a software interface that allows a network application, such as an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module.")
(home-page "https://www.e-cap.org/")
(license license:gpl3+)))
2022-05-13 10:06:41 +02:00
2023-05-11 09:53:58 +02:00
(define-public squid-6
(package
(inherit gnu:squid)
(name "squid")
2025-02-10 10:15:28 +00:00
(version "6.13")
2023-05-11 09:53:58 +02:00
(source (origin
(method url-fetch)
2025-02-10 10:15:28 +00:00
(uri (string-append "https://github.com/squid-cache/squid/archive/refs/tags/SQUID_6_13.tar.gz"))
(sha256 (base32 "057g3grvf2fx7v3njq3rc77j2wbqmx458vfkdgin4vraxbvf5a43"))))
2023-05-11 09:53:58 +02:00
(inputs `(("libecap" ,libecap)
2025-02-10 10:15:28 +00:00
("automake" ,automake)
("autoconf" ,autoconf)
("libtool" ,libtool)
("which" ,which)
2023-05-11 09:53:58 +02:00
,@(package-inputs gnu:squid)))
(arguments
'(#:configure-flags (list "--disable-arch-native"
"--enable-icmp"
"--enable-delay-pools"
"--enable-ecap"
"--enable-follow-x-forwarded-for"
"--enable-auth"
"--enable-auth-basic"
"--enable-auth-negotiate"
"--enable-auth-ntlm"
"--with-cap"
"--with-xml2"
"--with-ldap"
"--enable-log-daemon-helpers")
#:phases (modify-phases %standard-phases
(add-before 'build 'fix-true-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "test-suite/testheaders.sh"
(("/bin/true")
(search-input-file inputs "/bin/true"))))))))))
2023-10-01 11:35:20 +02:00
(define-public squid-7
(package
(inherit gnu:squid)
(name "squid")
(version "7.0.0-20230901-r3e50f1af7")
(source (origin
(method url-fetch)
2024-11-19 14:23:50 +01:00
(uri (string-append "https://www.squid-cache.org/Versions/v7/squid-" version ".tar.gz"))
2023-10-01 11:35:20 +02:00
(sha256 (base32 "0d761ykgd2ck0g0vbcw8pf57my13l41wfq4p248vcz9kvw19gjmn"))))
(inputs `(("libecap" ,libecap)
,@(package-inputs gnu:squid)))
(arguments
'(#:configure-flags (list "--disable-arch-native"
"--enable-icmp"
"--enable-delay-pools"
"--enable-ecap"
"--enable-follow-x-forwarded-for"
"--enable-auth"
"--enable-auth-basic"
"--enable-auth-negotiate"
"--enable-auth-ntlm"
"--with-cap"
"--with-xml2"
"--with-ldap"
"--enable-log-daemon-helpers")
#:phases (modify-phases %standard-phases
(add-before 'build 'fix-true-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "test-suite/testheaders.sh"
(("/bin/true")
(search-input-file inputs "/bin/true"))))))))))
(define-public squid squid-6)
2022-09-30 18:25:06 +02:00
(define-public openvswitch-2.17
2023-05-11 09:53:58 +02:00
(package
(inherit gnu:openvswitch)
(name "openvswitch")
(version "2.17.2")
(source (origin
(method url-fetch)
(uri (string-append "https://www.openvswitch.org/releases/openvswitch-" version ".tar.gz"))
(sha256 (base32 "0sada2a9x9x7x6a45l7iklqh29wsbrdvvgpkyz5cpf5d5fs0sbka"))))))