From patchwork Tue Apr 14 19:03:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 21252 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9FFD627BBE4; Tue, 14 Apr 2020 20:05:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 25CEC27BBE1 for ; Tue, 14 Apr 2020 20:05:16 +0100 (BST) Received: from localhost ([::1]:37586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOQrz-0006uk-L1 for patchwork@mira.cbaines.net; Tue, 14 Apr 2020 15:05:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37231) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOQro-0006uW-Nt for guix-patches@gnu.org; Tue, 14 Apr 2020 15:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOQrm-0003QC-Jn for guix-patches@gnu.org; Tue, 14 Apr 2020 15:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOQrm-0003PZ-G1 for guix-patches@gnu.org; Tue, 14 Apr 2020 15:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jOQrl-0002ox-U9 for guix-patches@gnu.org; Tue, 14 Apr 2020 15:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40630] gnu: Add udevil. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Apr 2020 19:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40630 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40630@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158689104610774 (code B ref -1); Tue, 14 Apr 2020 19:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Apr 2020 19:04:06 +0000 Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOQqs-0002nh-3J for submit@debbugs.gnu.org; Tue, 14 Apr 2020 15:04:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:36387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jOQqp-0002nZ-SM for submit@debbugs.gnu.org; Tue, 14 Apr 2020 15:04:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37121) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOQqo-0006pK-8T for guix-patches@gnu.org; Tue, 14 Apr 2020 15:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOQqm-0001WX-KE for guix-patches@gnu.org; Tue, 14 Apr 2020 15:04:01 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57640) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOQql-0001Qz-VE for guix-patches@gnu.org; Tue, 14 Apr 2020 15:04:00 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 32A1923F1E for ; Tue, 14 Apr 2020 21:03:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Adm-r2LARR-A for ; Tue, 14 Apr 2020 21:03:55 +0200 (CEST) Date: Tue, 14 Apr 2020 15:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1586891035; bh=g8SbJ08DRjmKeyjdPJr7iqb5n3DjTTGjKTJXEZrJZHU=; h=Date:From:To:Subject; b=iXbCS0ApeVSdxpTgPauSaC5WTTeIYgljeZ6LRm0J1GgfAsrcEiXRSl1FIrB4qhomh RI1yp8i03PYWnykmKM9sLU0osovAqOeaYD1Z5fltqprq6bfcgp2BeP8U26T/LWErEg lGdFNt1GEDQHH5/jsYn+TtO9FE5eyTkrcZrcphoqqP2ry0Rb2Qafo4N6pgXnrcnIdS J/sqFsd18mESqT6NgOAXb3fKjCN+gdWZxSlv83vz+QjAKG8e7MXEbJ8VKSQO0l79nl pWv9DO05goieSfhTZcuae4IIz6M/E1ooGeFnyhz0+3Wa0FLEsIe7hecPYNwP/CEjNv lcujkg4hxZxWw== From: Raghav Gururajan Message-ID: <20200414150346.0b070ff8.raghavgururajan@disroot.org> Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Guix! Please find the attached patch to add 'udevil' package into guix. Regards, RG. From ef9619d878482d4be25cfb97720ef8e616b5487d Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 14 Apr 2020 15:01:43 -0400 Subject: [PATCH] gnu: Add udevil. * gnu/packages/disk.scm (udevil): New variable. --- gnu/packages/disk.scm | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index fb35799e65..27fcf7bb77 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -47,6 +47,7 @@ #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) + #:use-module (gnu packages file-systems) #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -64,6 +65,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) + #:use-module (gnu packages samba) #:use-module (gnu packages sphinx) #:use-module (gnu packages sqlite) #:use-module (gnu packages swig) @@ -84,6 +86,54 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) +(define-public udevil + (package + (name "udevil") + (version "0.4.4") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/IgnorantGuru/udevil.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x9mjr9abvbxzfa9mrip5264iz1qxvsl01k3ybz95q4a7xl4jcb3")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list + "--disable-systemd" + (string-append "--sysconfdir=" + (assoc-ref %outputs "out") + "/etc")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + (substitute* "src/Makefile.in" + (("-o root -g root") + "")) + #t))))) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("cifs-utils" ,cifs-utils) + ("curlftpfs" ,curlftpfs) + ("eudev" ,eudev) + ("fakeroot" ,fakeroot) + ("glib" ,glib) + ("sshfs" ,sshfs))) + (synopsis "Device and File System Manager") + (description "udevil is a command line program which mounts and unmounts +removable devices without a password, shows device info, and monitors device +changes. It can also mount ISO files, nfs://, smb://, ftp://, ssh:// and WebDAV +URLs, and tmpfs/ramfs filesystems.") + (home-page "https://ignorantguru.github.io/udevil/") + (license license:gpl3+))) + (define-public parted (package (name "parted") -- 2.26.0