From patchwork Tue Feb 21 11:12:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6577 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PLc8f3yvjz3x1t for ; Tue, 21 Feb 2023 11:13:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PLc8c56GYzkm; Tue, 21 Feb 2023 11:13:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PLc8c402Pz2xfN; Tue, 21 Feb 2023 11:13:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PLc8b59K5z2xCy for ; Tue, 21 Feb 2023 11:13:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PLc8b0cPKzkT; Tue, 21 Feb 2023 11:13:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676977983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RtMNjNYwC1CqGm6r4JK9PPYL0xaUZNxwa3Gf3pc5c9Y=; b=guBJDf91+uWg5htCXwe6rSKsksNFy95LbdvgRsURl0JHm3nzaVbzk4wSemaK67avPLFbzx NF4hiPYrIIq8vUAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676977983; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RtMNjNYwC1CqGm6r4JK9PPYL0xaUZNxwa3Gf3pc5c9Y=; b=dPWkTbhmYSfx6EmDMH2r1F5/Ec2L5ShD+w49jOa/bHUXvx4hjudkrWQlqdsX+NRTGS3wiO VHFjzRuXsZqp6HAOC7T81jbthqTycs8yVGadWiCOOFFfWlZZwbtuTTu3t+1HSI9lXRY3TF x4JQfj5aOYqh2YxpVdOlddyW+N4TiiTqcm3mUPY+BfDfeCj/CkZ7NEOauJjeIsnnSDvH5l giObfGlljIk7uT9lgNkjb+xzUfgrEqqkcEjoCWvvqZH/eo7TdmR1v47P2T62zT6CvOf5lR U/LL4Pm+9enkpHr/f5LU7bNUxtFG99sxWbF2hdtrbaSog3OykxO4l+Yp6A+8PA== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] mdadm: Update to 4.2 Date: Tue, 21 Feb 2023 12:12:57 +0100 Message-Id: <20230221111257.604861-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" * Depends on libudev-devel * Install systemd files. Signed-off-by: Stefan Schantl --- mdadm/mdadm.nm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/mdadm/mdadm.nm b/mdadm/mdadm.nm index 533795dd2..733f8ec7f 100644 --- a/mdadm/mdadm.nm +++ b/mdadm/mdadm.nm @@ -4,7 +4,7 @@ ############################################################################### name = mdadm -version = 3.4 +version = 4.2 release = 1 groups = System/Base @@ -25,6 +25,7 @@ sources = %{thisapp}.tar.xz build requires + libudev-devel groff end @@ -35,10 +36,19 @@ build end build - make %{PARALLELISMFLAGS} CXFLAGS="%{CFLAGS}" \ - CWFLAGS= SYSCONFDIR="%{sysconfdir}" MDASSEMBLE_AUTO=1 + make %{PARALLELISMFLAGS} \ + CXFLAGS="%{CFLAGS}" \ + CWFLAGS= \ + SYSCONFDIR="%{sysconfdir}" + MDASSEMBLE_AUTO=1 end + make_install_targets += \ + install-systemd \ + BINDIR=%{sbindir} \ + UDEVDIR=%{prefix}/%{lib}/udev \ + SYSTEMD_DIR="%{unitdir}" + install_cmds mkdir -pv %{BUILDROOT}/var/run/mdadm chmod 700 %{BUILDROOT}/var/run/mdadm