From patchwork Mon Jun 1 13:19:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 22505 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 6D22B27BBE3; Mon, 1 Jun 2020 14:20:09 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 CD30A27BBE1 for ; Mon, 1 Jun 2020 14:20:08 +0100 (BST) Received: from localhost ([::1]:57772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfkMK-0002uc-BP for patchwork@mira.cbaines.net; Mon, 01 Jun 2020 09:20:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfkME-0002uG-K2 for guix-patches@gnu.org; Mon, 01 Jun 2020 09:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfkME-0004KJ-9n for guix-patches@gnu.org; Mon, 01 Jun 2020 09:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfkME-0004OY-1c for guix-patches@gnu.org; Mon, 01 Jun 2020 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41644] [WIP] gnu: Add aufs-standalone. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jun 2020 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41644 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 41644@debbugs.gnu.org Cc: Danny Milosavljevic X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159101755216823 (code B ref -1); Mon, 01 Jun 2020 13:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2020 13:19:12 +0000 Received: from localhost ([127.0.0.1]:34802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfkLQ-0004NG-2N for submit@debbugs.gnu.org; Mon, 01 Jun 2020 09:19:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:60086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfkLO-0004N6-Pq for submit@debbugs.gnu.org; Mon, 01 Jun 2020 09:19:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfkLO-0002rW-KQ for guix-patches@gnu.org; Mon, 01 Jun 2020 09:19:10 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:34460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfkLM-0004Fz-M4 for guix-patches@gnu.org; Mon, 01 Jun 2020 09:19:10 -0400 Received: from dayas.fritz.box (128-244-187.fonira.net [185.128.244.187]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 93D893368211; Mon, 1 Jun 2020 15:19:05 +0200 (CEST) From: Danny Milosavljevic Date: Mon, 1 Jun 2020 15:19:03 +0200 Message-Id: <20200601131903.19100-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Tags: patch Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/01 08:59:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/linux.scm (aufs-standalone): New variable. --- gnu/packages/linux.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) This package would need a patched Linux kernel (see aufs5-base.patch, aufs5-mmap.patch and aufs5-standalone.patch)--that's using a definition of "standalone" I wasn't previously aware of. So I will not try to develop this package further for the time being. diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0a154fd6cc..771fba4593 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -986,6 +986,40 @@ It grants direct and undocumented access to your hardware that may cause damage and should be used with caution, especially on untested models.") (license license:gpl3+)))) ; see README.md (no licence headers) +(define-public aufs-standalone + (let ((commit "230a4e746cb37dc760530233521f732bb932212c") ; branch 5.4 + (revision "0")) + (package + (name "aufs-standalone") + (version (git-version "5.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sfjro/aufs5-standalone.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0wq40m8acqqhr2p0sh81wzcdrcabzmvjd15x0y7mdkhwmhyhas9h")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f ; No tests exist + #:make-flags + (list "CONFIG_AUFS_FS=m" + ;; See config.mk + "EXTRA_CFLAGS=-DCONFIG_AUFS_BRANCH_MAX_127=y -DCONFIG_AUFS_SBILIST=y -DCONFIG_AUFS_DEBUG=y") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "fs/aufs") + #t))))) + (home-page "https://github.com/sfjro/aufs5-standalone/tree/aufs5.4") + (synopsis "Linux kernel module aufs") + (description "This package provides the Linux kernel module +@code{aufs}.") + (license license:gpl2+)))) + (define-public rtl8812au-aircrack-ng-linux-module (let ((commit "945d6ed6505c32f0993b1dba576388e92e78101b") (revision "0"))