Merge branch 'qby-master-patch-36243' into 'master'
Draft: Docker-OSX See merge request nonguix/nonguix!401
This commit is contained in:
commit
44a0490a19
29
nongnu/packages/anonsurf-parrot.scm
Normal file
29
nongnu/packages/anonsurf-parrot.scm
Normal 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
|
35
nongnu/packages/docker-osx-ventura.scm
Normal file
35
nongnu/packages/docker-osx-ventura.scm
Normal file
|
@ -0,0 +1,35 @@
|
|||
(define-module (my-packages dockerosx)
|
||||
#:use-module (guix)
|
||||
#:use-module (guix build-system trivial))
|
||||
|
||||
(define-public example
|
||||
(package
|
||||
(name "Docker-OSX")
|
||||
(version "1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri "github")
|
||||
(sha256 (base32
|
||||
hash))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:builder
|
||||
(begin
|
||||
(use-modules (guix build utils))
|
||||
|
||||
(let* ((out (assoc-ref %outputs "out")))
|
||||
(system* "bash" "-c" "podman run -it \
|
||||
--device /dev/kvm \
|
||||
-p 50922:10022 \
|
||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||
-e GENERATE_UNIQUE=true \
|
||||
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
|
||||
sickcodes/docker-osx:ventura")
|
||||
(system* "bash" "-c" "podman build -t docker-osx --build-arg SHORTNAME=ventura .")
|
||||
|
||||
;; The trivial builder must create the output directory
|
||||
(mkdir out))))))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user