Merge branch 'qby-master-patch-anonsurf-parrot' into 'master'

Adding Parrot's AnonSurf

See merge request nonguix/nonguix!439
This commit is contained in:
qby 2025-02-15 07:38:17 +00:00
commit 55a931e1d4

View File

@ -0,0 +1,29 @@
(define-module (my-packages anonsurf)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu))
(define-public anonsurf
(package
(name "anonsurf")
(version version) ;; Insert the appropriate version number
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ParrotSec/anonsurf")
(commit version)))
(file-name (string-append name "-" version))
(sha256
(base32
hash)))) ;; Update SHA256 hash
(build-system gnu-build-system)
(arguments `(#:phases
(modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda _
(invoke "make")
#t)))))
(home-page "https://github.com/ParrotSec/anonsurf")
(synopsis "Parrot AnonSurf Module")
(description "AnonSurf is a script designed to start TOR and set the iptables properly to prevent traffic from passing outside the TOR network.")
(license license:license))) ;; Update the license if different