From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBP6l-0005JD-26 for guix-patches@gnu.org; Tue, 02 Apr 2019 15:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBP6i-00052G-NT for guix-patches@gnu.org; Tue, 02 Apr 2019 15:30:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBP6i-00051w-CN for guix-patches@gnu.org; Tue, 02 Apr 2019 15:30:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBP6i-0003FL-72 for guix-patches@gnu.org; Tue, 02 Apr 2019 15:30:04 -0400 Subject: [bug#35110] [PATCH 2/3] gnu: Add vhba-module-linux-libre. Resent-Message-ID: From: Danny Milosavljevic Date: Tue, 2 Apr 2019 21:28:54 +0200 Message-Id: <20190402192855.5314-2-dannym@scratchpost.org> In-Reply-To: <20190402192855.5314-1-dannym@scratchpost.org> References: <20190402192729.5262-1-dannym@scratchpost.org> <20190402192855.5314-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35110@debbugs.gnu.org Cc: Pierre Neidhardt From: Pierre Neidhardt * gnu/packages/linux.scm (vhba-module): New variable. (vhba-module-linux-libre): New variable. Export it. Signed-off-by: Danny Milosavljevic --- gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 55a314258f..a2adb9b13d 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -495,6 +495,34 @@ It has been modified to remove all non-free binary blobs.") #:patches %linux-libre-5.0-patches #:configuration-file kernel-config)) +(define vhba-module + (package + (name "vhba-module") + (version "20170610") + (source (origin + (method url-fetch) + (uri (string-append + "http://downloads.sourceforge.net/cdemu/vhba-module-" + version ".tar.bz2")) + (sha256 + (base32 + "1v6r0bgx0a65vlh36b1l2965xybngbpga6rp54k4z74xk0zwjw3r")))) + (build-system gnu-build-system) + (arguments + ;; TODO: No tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://cdemu.sourceforge.io/") + (synopsis "Kernel module that emulates SCSI devices") + (description "VHBA module provides a Virtual (SCSI) HBA, which is the link +between the CDemu userspace daemon and linux kernel.") + (license license:gpl2+))) + +(define-public vhba-module-linux-libre + (make-linux-module linux-libre vhba-module)) + (define %linux-libre-4.19-version "4.19.32") (define %linux-libre-4.19-hash "19bryl8nmnnnrfh91pc8q9yiayh5ca2nb6b32qyx6riahc5dy0i9")