30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
|
(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
|