From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 1/2] whois: New package
Date: Wed, 22 Feb 2023 10:06:44 +0000 [thread overview]
Message-ID: <351A1D10-148B-43F6-AED6-C73A8E97BB0E@ipfire.org> (raw)
In-Reply-To: <20230221183146.936935-1-stefan.schantl@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]
Hello,
> On 21 Feb 2023, at 18:31, Stefan Schantl <stefan.schantl(a)ipfire.org> wrote:
>
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
> 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 <info(a)ipfire.org> #
> +###############################################################################
> +
> +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/
It would be more ideal to only download from HTTPS sources.
But I will merge this now anyways.
> +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
> --
> 2.30.2
>
prev parent reply other threads:[~2023-02-22 10:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 18:31 Stefan Schantl
2023-02-21 18:31 ` [PATCH 2/2] jwhois: Drop package Stefan Schantl
2023-02-22 10:06 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=351A1D10-148B-43F6-AED6-C73A8E97BB0E@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox