From patchwork Tue Feb 21 18:31:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6598 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PLnv04dpTz3x1t for ; Tue, 21 Feb 2023 18:31:56 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PLnty5Vn7zrX; Tue, 21 Feb 2023 18:31:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PLnty2Hzsz2yTc; Tue, 21 Feb 2023 18:31:54 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PLntx2123z2xR5 for ; Tue, 21 Feb 2023 18:31:53 +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 4PLntw3h8WzMQ; Tue, 21 Feb 2023 18:31:52 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1677004312; 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=pBC9EqVH6W7DM80FzQprUDaRJBJvgc8OYVVhv8FU4Ok=; b=r83plvdfj1TX6jBC1N7ciNROr0iMP8FIOIRVwkTGiuRN2xGJk6vgtnwgMqtgzgX99q8AJ7 vaRDHg0yP3PprECQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1677004312; 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=pBC9EqVH6W7DM80FzQprUDaRJBJvgc8OYVVhv8FU4Ok=; b=KyMl6yQMh/kA63noEVqD985tN829/mp9vu6iUI4WuxGwTcCqosE5i0auOfzfA4UjTb0B0w VLJ7ChBaMNXQ+8i9vl1xnMHtuDrquAPDtVxlzWioUvt4SFWa/HLwx1i+or3Hd0laHxmK2Z beQBvutXwSoREKEVeD1n3nxxIDMU4+KDdL2tndTX8Yj852SJ2B2zcPEc1kl+LJjl4hsZ12 R53iuxCG3GYcy817POcY4PkZLiRjOzRb0WFuvEkl8NlrlX6kIrl3clqwNuODQ+SoNWEfhb kkPLmR4QX9YD63d2/maKVX/i1zbwsHEIOCJJeVyv+OjPHeydvRzbFW74FW4aog== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 1/2] whois: New package Date: Tue, 21 Feb 2023 19:31:45 +0100 Message-Id: <20230221183146.936935-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 --- whois/whois.nm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 whois/whois.nm diff --git a/whois/whois.nm b/whois/whois.nm new file mode 100644 index 000000000..a96855c1b --- /dev/null +++ b/whois/whois.nm @@ -0,0 +1,60 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = whois +version = 5.5.15 +release = 1 + +groups = Applications/Internet +url = https://github.com/rfc1036/whois +license = GPLv2 +summary = Intelligent WHOIS client. + +description + whois searches for an object in a RFC 3912 database. + + This version of the whois client tries to guess the right server to + ask for the specified object. If no guess can be made it will connect to + whois.networksolutions.com +end + +source_dl = http://ftp.debian.org/debian/pool/main/w/whois/ +sources = %{name}_%{version}.tar.xz + +build + DIR_APP = %{DIR_SRC}/%{name} + + requires + libidn2-devel + perl + perl(autodie) + perl(strict) + perl(warnings) + end + + build + make \ + CONFIG_FILE="%{sysconfdir}/%{name}.conf" \ + HAVE_ICONV=1 \ + CFLAGS="%{CFLAGS}" \ + LDFLAGS="%{LDFLAGS}" + end + + # Only install the whois tool. + make_install_targets = install-whois + + install_cmds + # Install config file. + install -p -m644 -D %{name}.conf %{BUILDROOT}%{sysconfdir}/%{name}.conf + end +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end