From patchwork Sun Feb 26 19:18:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6630 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 4PPtjK512Kz3wk1 for ; Sun, 26 Feb 2023 19:19:17 +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 4PPtjF4PLvz3j3; Sun, 26 Feb 2023 19:19:13 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PPtjF0lfzz30H3; Sun, 26 Feb 2023 19:19:13 +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 4PPtjC5cnvz2xX5 for ; Sun, 26 Feb 2023 19:19:11 +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 4PPtjC3DyBznv; Sun, 26 Feb 2023 19:19:11 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1677439151; 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=iQe6TbIC0r3FRruWg47ehCzK5LIRYrpxERldFz2qj10=; b=yCgT9EcupI+lQ+yDVEc8k0Wa8mogLK5JrKcuNypcrO3Wt1/1sw9FvVz/GWjlLToqnjfuOd +sTAkdETlKYS+zBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1677439151; 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=iQe6TbIC0r3FRruWg47ehCzK5LIRYrpxERldFz2qj10=; b=rwDLVjEkVfj1+hDlJmtlpB+UV3kUWHHepEE9QdgJn/MHvlXypPmTQR2DsAHpNMnjBPd9Dd DKh3VUUQWa/VtRrnvtU+OMy9CG3TD+Apcdi5y5fVUyRJId2xQ0Vidb3tC/DKMHxRkfqJHX lbMpPGU/nGTba2Qo+12ohB0KQzP0eY7egMvUnKHyrCNRZxaTJ4safU3A9+QnvfzAIzuvFm EiMybTHpLPsxxLLU57VJ+9LzJ5ZayhipqFt6djQN59FwH0GUjhzlMV98aGEcoceNt+tmdp dY370qGMNUGuun7XaFpDNrN3gzzJULWCyby8BtN9raAi8ZWmVruap3F/929cWw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/7] perl-File-Remove: New package Date: Sun, 26 Feb 2023 20:18:59 +0100 Message-Id: <20230226191904.675207-2-stefan.schantl@ipfire.org> In-Reply-To: <20230226191904.675207-1-stefan.schantl@ipfire.org> References: <20230226191904.675207-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" Signed-off-by: Stefan Schantl --- perl-File-Remove/perl-File-Remove.nm | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 perl-File-Remove/perl-File-Remove.nm diff --git a/perl-File-Remove/perl-File-Remove.nm b/perl-File-Remove/perl-File-Remove.nm new file mode 100644 index 000000000..f3717c2cc --- /dev/null +++ b/perl-File-Remove/perl-File-Remove.nm @@ -0,0 +1,47 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = perl-File-Remove +version = 1.61 +release = 1 +arch = noarch +thisapp = File-Remove-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/File-Remove/ +license = GPL+ +summary = A perl module to Remove files and directories. + +description + File::Remove::remove removes files and directories. It acts like /bin/rm, + for the most part. Although unlink can be given a list of files, it will + not remove directories; this module remedies that. + + It also accepts wildcards, * and ?, as arguments for filenames. +end + +source_dl = https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/ + +build + requires + perl(blib) + perl(IPC::Open3) + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=vendor + make %{PARALLELISMFLAGS} + end + + test + make test + end +end + +packages + package %{name} +end