blob: 16c175285609e960791eaf9e1f5f087ae7f40bb9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
(define-module (sigils packages security)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module ((guix licenses)
#:prefix license:)
;; wazuh
#:use-module (gnu packages benchmark)
;; opensnitch
#:use-module (gnu packages linux)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages prometheus)
;; libomemo-c
#:use-module (guix build-system cmake)
#:use-module (guix git-download)
#:use-module (gnu packages check)
#:use-module (gnu packages tls)
#:use-module (gnu packages pkg-config)
;; seclists
#:use-module (guix build-system copy)
;; torbrowser-remote-desktop-file
#:use-module (guix build-system trivial)
#:use-module (gnu packages tor-browsers))
(define-public torbrowser-remote-desktop-file
(package
(name "torbrowser-remote-desktop-file")
(version "0.0")
(source #f)
(build-system trivial-build-system)
(propagated-inputs (list torbrowser))
(arguments
'(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(install-file
(string-append (assoc-ref %build-inputs "torbrowser")
"/share/applications/torbrowser.desktop")
(string-append %output "/share/applications/"))
(substitute* (string-append %output
"/share/applications/torbrowser.desktop")
(("%u\n$") "--allow-remote %u\n")
(("^Name=Tor Browser\n$") "Name=Tor Browser (Remote)\n")))))
(home-page #f)
(synopsis "Desktop file allowing opening links with xdg-open for Tor Browser.")
(description #f)
(license license:wtfpl2)))
(define-public libomemo-c
(package
(name "libomemo-c")
(version "0.5.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dino/libomemo-c")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1knsxsxr0rw9cz9msn2n3kbsa5s8f7rjj8dkc1dhm82n86kwrw8s"))))
(arguments
`(;; Required for proper linking and for tests to run.
#:configure-flags '("-DBUILD_SHARED_LIBS=on" "-DBUILD_TESTING=1")))
(build-system cmake-build-system)
(inputs (list ;; Required for tests:
check openssl))
(native-inputs (list pkg-config))
(home-page "https://github.com/dino/libomemo-c")
(synopsis "Fork of libsignal-protocol-c adding support for OMEMO XEP-0384 0.5.0+")
(description "This is a fork of libsignal-protocol-c, an implementation
of Signal's ratcheting forward secrecy protocol that works in synchronous
and asynchronous messaging. The fork adds support for OMEMO as defined in
XEP-0384 versions 0.3.0 and later.")
(license license:gpl3+)))
;; (define-public opensnitch
;; (package
;; (name "opensnitch")
;; (version "1.6.6")
;; (source
;; (origin
;; (method url-fetch)
;; (uri (string-append
;; "https://github.com/evilsocket/opensnitch/archive/refs/tags/v"
;; version ".tar.gz"))
;; (sha256
;; (base32 "0l0kzpgxrscwmlrdmax22hhwakwqcs8ibzvpzxcnp3j16azmsaky"))))
;; (build-system go-build-system)
;; (native-inputs (list go-golang-org-x-sys go-github-com-varlink-go))
;; (arguments
;; '(#:import-path "github.com/evilsocket/opensnitch/daemon"
;; #:unpack-path "github.com/evilsocket/opensnitch"))
;; (home-page "https://github.com/evilsocket/opensnitch")
;; (synopsis "A GNU/Linux application firewall.")
;; (description #f)
;; (license license:agpl3)))
;; (define-public wazuh-agent
;; (package
;; (name "wazuh-agent")
;; (version "5.0.0")
;; (source
;; (origin
;; (method git-fetch)
;; (uri (git-reference
;; (recursive? #t)
;; (url "https://github.com/wazuh/wazuh-agent")
;; (commit "1de5e8dc3cd27cc0aefc1bd7090db49e7c2aea8f")))
;; (file-name (git-file-name name version))
;; (sha256
;; (base32 "0di92aiimxwc6kvi1hm4q7naa7vhpc915hla84l4v09qbqs5bq5c"))))
;; (build-system cmake-build-system)
;; (native-inputs (list nlohmann-json
;; googletest
;; benchmark
;; cpp-httplib
;; curl))
;; (arguments
;; (list
;; #:configure-flags #~'("-DBUILD_TESTS=1" "-DTARGET=agent")
;; #:phases
;; #~(modify-phases %standard-phases
;; (add-before 'configure 'chdir-to-src
;; (lambda _ (chdir "src")))
;; (add-after 'chdir-to-src 'link-nlohman
;; (lambda _
;; (copy-recursively #$(this-package-native-input "nlohmann-json")
;; "external/nlohmann")
;; (copy-recursively #$(this-package-native-input "googletest")
;; "external/googletest")
;; (copy-recursively #$(this-package-native-input "benchmark")
;; "external/benchmark")
;; (copy-recursively #$(this-package-native-input "cpp-httplib")
;; "external/cpp-httplib")
;; (copy-recursively #$(this-package-native-input "curl")
;; "external/curl"))))))
;; (home-page "https://wazuh.com/")
;; (synopsis "Wazuh agent, the Wazuh agent for endpoints.")
;; (description "Wazuh is a free and open source platform used for threat prevention,
;; detection, and response. It is capable of protecting workloads across
;; on-premises, virtualized, containerized, and cloud-based environments.")
;; (license license:agpl3)))
|