GNU bug report logs - #78551
[PATCH] gnu: Add microsocks.

Previous Next

Package: guix-patches;

Reported by: Junker <dk <at> junkeria.club>

Date: Thu, 22 May 2025 15:03:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Junker <dk <at> junkeria.club>
To: 78551 <at> debbugs.gnu.org
Subject: [bug#78551] [PATCH] gnu: Add microsocks.
Date: Thu, 22 May 2025 22:02:04 +0700
* gnu/packages/web.scm (microsocks): New variable.

Change-Id: I93fb88842851c883460953e9a361f28a927996ce
---
 gnu/packages/web.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b43b90ac33..5da232de8f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -70,6 +70,7 @@
 ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
 ;;; Copyright © 2025 Raven Hallsby <karl <at> hallsby.com>
+;;; Copyright © 2025 Junker <dk <at> junkeria.club>"
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2198,6 +2199,35 @@ (define-public websockify
 directions.")
     (license license:lgpl3)))
 
+(define-public microsocks
+  (package
+    (name "microsocks")
+    (version "1.0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rofl0r/microsocks")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ffiwlkaylkm2ih7d96qvdy9s9ydqgypczs5k8iwkf5yv617dm74"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #f ;no tests
+      #:make-flags #~(list "prefix=/"
+                           "CC=gcc"
+                           (string-append "DESTDIR=" #$output))
+      #:phases
+      '(modify-phases %standard-phases
+         (delete 'configure))))
+    (home-page "https://github.com/rofl0r/microsocks")
+    (synopsis "Tiny and lightweight SOCKS5 server")
+    (description "Microsocks is a small, efficient SOCKS5 server.")
+    (license license:expat)))
+
 ;; This is a variant of esbuild that builds and installs the nodejs API.
 ;; Eventually, this should probably be merged with the esbuild package.
 (define-public esbuild-node

base-commit: 11bc17c409d77cd1af91e30b5b9f6a73f873a152
-- 
2.49.0





This bug report was last modified 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.