From patchwork Sat Apr 30 17:34:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5578 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 4KrGgs23gnz3x1v for ; Sat, 30 Apr 2022 17:34:33 +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 4KrGgr4sWYz4N7; Sat, 30 Apr 2022 17:34:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KrGgr4XyGz2yqZ; Sat, 30 Apr 2022 17:34:32 +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 4KrGgp6LWhz2xGC for ; Sat, 30 Apr 2022 17:34:30 +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 4KrGgp3b4hz2Yw; Sat, 30 Apr 2022 17:34:30 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1651340070; 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=ukmhcNbm1GeMtddPGzc9VRCJTRxxTKaZV0yS8+BJNv0=; b=e1gv16oeMQwXBNfbyBO/Vl8uqyBU67bqZEZUbf7dSSzEjE0elxozjAn5I6LrUQYkNjlYnZ pL6JIBrdQkFHbeDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1651340070; 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=ukmhcNbm1GeMtddPGzc9VRCJTRxxTKaZV0yS8+BJNv0=; b=ddoygmhxeX306lR8PHzy6/qAGVVT4S/DmHAHOAMVVzk7XpeIfFeLnaTzfJNV6ohmNqOXVu p2cFL0+tI3J/Unv1DHSCcQGABeptYK1YIs7EHtOt6qumWvEEl4r1TibrAkOfzBRzz6KANW MkII3MFEe5G5jpQwoVch7XGBn8iiGYvFAse51GFxUtQqXDDdHzVjsTw1z+z0KkS8Rb9WFF cBvhKJV9LB0GJBAUw1RfRR9aiH9eBBbIzNiqplZl8/7oEIh5uyToFFKO171BzaeDfNsGGg 6EmSuh1JJbLhXw5nJuen/nhZLT+RfmPZjwW1u4vrlneJejSjoyefMJ8byn0NPw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] libpipeline: Addition as build dependency for man Date: Sat, 30 Apr 2022 19:34:14 +0200 Message-Id: <20220430173414.3520449-2-adolf.belka@ipfire.org> In-Reply-To: <20220430173414.3520449-1-adolf.belka@ipfire.org> References: <20220430173414.3520449-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" - Created lfs and rootfile - Added entry into make.sh Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- config/rootfiles/common/libpipeline | 74 ++++++++++++++++++++++++++ lfs/libpipeline | 80 +++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 155 insertions(+) create mode 100644 config/rootfiles/common/libpipeline create mode 100644 lfs/libpipeline diff --git a/config/rootfiles/common/libpipeline b/config/rootfiles/common/libpipeline new file mode 100644 index 000000000..703d33e65 --- /dev/null +++ b/config/rootfiles/common/libpipeline @@ -0,0 +1,74 @@ +#usr/include/pipeline.h +#usr/lib/libpipeline.la +#usr/lib/libpipeline.so +#usr/lib/libpipeline.so.1 +#usr/lib/libpipeline.so.1.5.6 +#usr/lib/pkgconfig/libpipeline.pc +#usr/share/man/man3/libpipeline.3 +#usr/share/man/man3/pipecmd_arg.3 +#usr/share/man/man3/pipecmd_argf.3 +#usr/share/man/man3/pipecmd_args.3 +#usr/share/man/man3/pipecmd_argstr.3 +#usr/share/man/man3/pipecmd_argv.3 +#usr/share/man/man3/pipecmd_chdir.3 +#usr/share/man/man3/pipecmd_clearenv.3 +#usr/share/man/man3/pipecmd_discard_err.3 +#usr/share/man/man3/pipecmd_dump.3 +#usr/share/man/man3/pipecmd_dup.3 +#usr/share/man/man3/pipecmd_exec.3 +#usr/share/man/man3/pipecmd_fchdir.3 +#usr/share/man/man3/pipecmd_free.3 +#usr/share/man/man3/pipecmd_get_nargs.3 +#usr/share/man/man3/pipecmd_new.3 +#usr/share/man/man3/pipecmd_new_args.3 +#usr/share/man/man3/pipecmd_new_argstr.3 +#usr/share/man/man3/pipecmd_new_argv.3 +#usr/share/man/man3/pipecmd_new_function.3 +#usr/share/man/man3/pipecmd_new_passthrough.3 +#usr/share/man/man3/pipecmd_new_sequence.3 +#usr/share/man/man3/pipecmd_new_sequencev.3 +#usr/share/man/man3/pipecmd_nice.3 +#usr/share/man/man3/pipecmd_pre_exec.3 +#usr/share/man/man3/pipecmd_sequence_command.3 +#usr/share/man/man3/pipecmd_setenv.3 +#usr/share/man/man3/pipecmd_tostring.3 +#usr/share/man/man3/pipecmd_unsetenv.3 +#usr/share/man/man3/pipeline_command.3 +#usr/share/man/man3/pipeline_command_args.3 +#usr/share/man/man3/pipeline_command_argstr.3 +#usr/share/man/man3/pipeline_command_argv.3 +#usr/share/man/man3/pipeline_commands.3 +#usr/share/man/man3/pipeline_commandv.3 +#usr/share/man/man3/pipeline_connect.3 +#usr/share/man/man3/pipeline_dump.3 +#usr/share/man/man3/pipeline_free.3 +#usr/share/man/man3/pipeline_get_command.3 +#usr/share/man/man3/pipeline_get_infile.3 +#usr/share/man/man3/pipeline_get_ncommands.3 +#usr/share/man/man3/pipeline_get_outfile.3 +#usr/share/man/man3/pipeline_get_pid.3 +#usr/share/man/man3/pipeline_ignore_signals.3 +#usr/share/man/man3/pipeline_install_post_fork.3 +#usr/share/man/man3/pipeline_join.3 +#usr/share/man/man3/pipeline_new.3 +#usr/share/man/man3/pipeline_new_command_args.3 +#usr/share/man/man3/pipeline_new_command_argv.3 +#usr/share/man/man3/pipeline_new_commands.3 +#usr/share/man/man3/pipeline_new_commandv.3 +#usr/share/man/man3/pipeline_peek.3 +#usr/share/man/man3/pipeline_peek_size.3 +#usr/share/man/man3/pipeline_peek_skip.3 +#usr/share/man/man3/pipeline_peekline.3 +#usr/share/man/man3/pipeline_pump.3 +#usr/share/man/man3/pipeline_read.3 +#usr/share/man/man3/pipeline_readline.3 +#usr/share/man/man3/pipeline_run.3 +#usr/share/man/man3/pipeline_set_command.3 +#usr/share/man/man3/pipeline_start.3 +#usr/share/man/man3/pipeline_tostring.3 +#usr/share/man/man3/pipeline_wait.3 +#usr/share/man/man3/pipeline_wait_all.3 +#usr/share/man/man3/pipeline_want_in.3 +#usr/share/man/man3/pipeline_want_infile.3 +#usr/share/man/man3/pipeline_want_out.3 +#usr/share/man/man3/pipeline_want_outfile.3 diff --git a/lfs/libpipeline b/lfs/libpipeline new file mode 100644 index 000000000..66b72d07d --- /dev/null +++ b/lfs/libpipeline @@ -0,0 +1,80 @@ +############################################################################### +# # +# 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.5.6 + +THISAPP = libpipeline-$(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 = 813009e37ddb9a63da57e11ce71040646449b10140f5dd42cca02d280a3adb2173207af857ebca24777fdc8d30e426c41ad51f356f285decfe007b5829d9730f + +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) + + cd $(DIR_APP) && ./configure \ + --prefix=/usr + cd $(DIR_APP) && make + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 5f9f16d05..f794dec0e 100755 --- a/make.sh +++ b/make.sh @@ -1127,6 +1127,7 @@ buildbase() { lfsmake2 pkg-config lfsmake2 procps lfsmake2 make + lfsmake2 libpipeline lfsmake2 man lfsmake2 net-tools lfsmake2 patch