From patchwork Wed Aug 24 07:49:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5977 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 4MCJCh0rq3z3wdN for ; Wed, 24 Aug 2022 07:49:52 +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 4MCJCg1WQSz1Pp; Wed, 24 Aug 2022 07:49:51 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4MCJCg1s7tz2yS1; Wed, 24 Aug 2022 07:49:51 +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 4MCJCf6CzDz2xc4 for ; Wed, 24 Aug 2022 07:49:50 +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 4MCJCf39WGz10M; Wed, 24 Aug 2022 07:49:50 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1661327390; 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: in-reply-to:in-reply-to:references:references; bh=JfW56L4RbhPuVOVx4ynWq4cxp7Jt8JpP3gjyO8lFrXw=; b=snf36A9pS+Pp98Uz1nkpLx/7QsmfVlrXG5vujTh7T0f7UHpwxev96u5S5DUOMd0T7nhQRw eMQGn6i4RFqvEoCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1661327390; 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: in-reply-to:in-reply-to:references:references; bh=JfW56L4RbhPuVOVx4ynWq4cxp7Jt8JpP3gjyO8lFrXw=; b=b2kVUxVCPYCGu5HSnQHMMQk62X5swe2YZi8sk6x4LrP1XbyMnLcUtpFQdwtPo7BGJr2kZi abxX+uEgQx21JnDjw55Aw717Rou+Dv9NAAUM5eNLGK2++rkuD5x4J63yJccR6izPA2S4VZ qhMK5dQTvCGNYwfYlE05o7y4mzZosww2D1ST0KtU0e5tHROMeLDMlw2OcL7jmVZNi+Hz/c S4hx95ImNRAjkPw7bMs2ttZOGtkNBT5An5KIRjaNAPqZPZSaakQCboJoOQZgz3Q/+CvzHQ ppqqjqv5WIhQKjXSE7+uv2FalItQN9ib8+rDKcV7NSGTAGu21zbZPNOcOccuEQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] mandoc: Build dependency for efivar version 38 onwards Date: Wed, 24 Aug 2022 09:49:30 +0200 Message-Id: <20220824074930.2902-2-adolf.belka@ipfire.org> In-Reply-To: <20220824074930.2902-1-adolf.belka@ipfire.org> References: <20220824074930.2902-1-adolf.belka@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" - New build only dependency Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- config/rootfiles/common/mandoc | 27 ++++++++++++ lfs/mandoc | 81 ++++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 109 insertions(+) create mode 100644 config/rootfiles/common/mandoc create mode 100644 lfs/mandoc diff --git a/config/rootfiles/common/mandoc b/config/rootfiles/common/mandoc new file mode 100644 index 000000000..2e13451e9 --- /dev/null +++ b/config/rootfiles/common/mandoc @@ -0,0 +1,27 @@ +#usr/bin/apropos +#usr/bin/demandoc +#usr/bin/man +#usr/bin/mandoc +#usr/bin/soelim +#usr/bin/whatis +#usr/man +#usr/man/man1 +#usr/man/man1/apropos.1 +#usr/man/man1/demandoc.1 +#usr/man/man1/man.1 +#usr/man/man1/mandoc.1 +#usr/man/man1/soelim.1 +#usr/man/man1/whatis.1 +#usr/man/man5 +#usr/man/man5/man.conf.5 +#usr/man/man5/mandoc.db.5 +#usr/man/man7 +#usr/man/man7/eqn.7 +#usr/man/man7/man.7 +#usr/man/man7/mandoc_char.7 +#usr/man/man7/mdoc.7 +#usr/man/man7/roff.7 +#usr/man/man7/tbl.7 +#usr/man/man8 +#usr/man/man8/makewhatis.8 +#usr/sbin/makewhatis diff --git a/lfs/mandoc b/lfs/mandoc new file mode 100644 index 000000000..88cd9a8b8 --- /dev/null +++ b/lfs/mandoc @@ -0,0 +1,81 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.14.6 + +THISAPP = mandoc-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_BLAKE2 = e9f6087e9df977901815b1231f68e381502c7392b0ac65a060ce0ef270da3b76540a17931a076b700865a02f9ca1a8ca044a54dbf6318756931c29e6b1deb228 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +b2 : $(subst %,%_BLAKE2,$(objects)) + +############################################################################### +# Downloading, checking, b2sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_BLAKE2,$(objects)) : + @$(B2SUM) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + $(UPDATE_AUTOMAKE) + + # Change prefix to /usr from default /usr/local + cd $(DIR_APP) && sed -i 's?PREFIX="/usr/local"?PREFIX="/usr"?' configure + cd $(DIR_APP) && ./configure + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index e5cb873b0..9ef2ab96f 100755 --- a/make.sh +++ b/make.sh @@ -1307,6 +1307,7 @@ buildipfire() { lfsmake2 rust-pem lfsmake2 gdb lfsmake2 grub + lfsmake2 mandoc lfsmake2 efivar lfsmake2 efibootmgr lfsmake2 libtasn1