From: Justin Veilleux <justun1011@gmail.com>
To: 69197@debbugs.gnu.org
Subject: [bug#69197] [PATCH] gnu: Add diod.
Date: Fri, 16 Feb 2024 20:39:45 -0500 [thread overview]
Message-ID: <CAJppLC-XoLkrD5SX1h3VXe+Bbm1XRpp2Y0x1WspfUT0sR9nE-Q@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 62 bytes --]
Hi. This is a patch for Diod, a 9p filesystem server.
Cheers.
[-- Attachment #1.2: Type: text/html, Size: 93 bytes --]
[-- Attachment #2: 0001-gnu-Add-diod.patch --]
[-- Type: text/x-patch, Size: 3613 bytes --]
From a88e118700509d0db95f533fecd700976145718c Mon Sep 17 00:00:00 2001
Message-ID: <a88e118700509d0db95f533fecd700976145718c.1708054729.git.terramorpha@cock.li>
From: terramorpha <terramorpha@cock.li>
Date: Thu, 15 Feb 2024 22:36:39 -0500
Subject: [PATCH] gnu: Add diod.
* gnu/packages/plan9.scm (diod): New variable.
Change-Id: If8b8eea856376573c20141981cecd40723143737
---
gnu/packages/patches/diod-version.patch | 15 ++++++++
gnu/packages/plan9.scm | 47 ++++++++++++++++++++++++-
2 files changed, 61 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/diod-version.patch
diff --git a/gnu/packages/patches/diod-version.patch b/gnu/packages/patches/diod-version.patch
new file mode 100644
index 0000000000..0c7e5baae6
--- /dev/null
+++ b/gnu/packages/patches/diod-version.patch
@@ -0,0 +1,15 @@
+This patch fixes the version.
+
+diff --git a/configure.ac b/configure.ac
+index 419056e..a160d6d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@
+ # Prologue
+ ##
+ AC_INIT([diod],
+- m4_esyscmd([git describe --always | awk '/.*/ {sub(/^v/, ""); printf "%s",$1; exit}']))
++ [master])
+ AC_CONFIG_AUX_DIR([config])
+ AC_CONFIG_MACRO_DIR([config])
+ AC_CONFIG_SRCDIR([NEWS])
diff --git a/gnu/packages/plan9.scm b/gnu/packages/plan9.scm
index f78c26e215..b5abbb628b 100644
--- a/gnu/packages/plan9.scm
+++ b/gnu/packages/plan9.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 宋文武 <iyzsong@member.fsf.org>
;;; Copyright © 2023 Antero Mejr <antero@mailbox.org>
+;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,12 +25,19 @@ (define-module (gnu packages plan9)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages commencement)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages perl)
- #:use-module (gnu packages xorg))
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages ncurses)
+ #:use-module (gnu packages lua)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages admin))
(define-public drawterm
(let ((revision "1")
@@ -176,3 +184,40 @@ (define-public plan9port
(license (list license:expat ;modifications
license:lpl1.02 ;original Plan9 code
license:zlib))))) ;src/cmd/bzip2
+
+(define-public diod
+ (package
+ (name "diod")
+ (version "1.0.24")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/chaos/diod")
+ ;; The last release was in 2014
+ (commit "9da28f911978957dbec251c653200db7a4dcad6e")))
+ (sha256
+ (base32 "1kf981m615w9x2l8km360ap80mlds7pgd44jgrblh87cq1aq8pms"))
+ (patches
+ (search-patches "diod-version.patch"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list
+ ncurses
+ lua
+ libcap
+ munge))
+ (native-inputs
+ (list
+ autoconf
+ automake
+ pkg-config))
+(home-page "https://github.com/chaos/diod")
+ (synopsis
+ "Distributed I/O Daemon - a 9P file server")
+ (description
+ "Diod is a multi-threaded, user space file server that speaks 9P2000.L
+protocol.")
+ (license license:gpl2+)))
+
+
base-commit: a8196632647b343f8e03c8f12fbdc0cc84ff90f6
--
2.41.0
next reply other threads:[~2024-02-18 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 1:39 Justin Veilleux [this message]
2024-02-18 18:58 ` bug#69197: [PATCH] gnu: Add diod Justin Veilleux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJppLC-XoLkrD5SX1h3VXe+Bbm1XRpp2Y0x1WspfUT0sR9nE-Q@mail.gmail.com \
--to=justun1011@gmail.com \
--cc=69197@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.