From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] whois: New package Date: Wed, 22 Feb 2023 10:06:44 +0000 Message-ID: <351A1D10-148B-43F6-AED6-C73A8E97BB0E@ipfire.org> In-Reply-To: <20230221183146.936935-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7404287942766237866==" List-Id: --===============7404287942766237866== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 21 Feb 2023, at 18:31, Stefan Schantl wrot= e: >=20 > Signed-off-by: Stefan Schantl > --- > whois/whois.nm | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 whois/whois.nm >=20 > 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 =3D whois > +version =3D 5.5.15 > +release =3D 1 > + > +groups =3D Applications/Internet > +url =3D https://github.com/rfc1036/whois > +license =3D GPLv2 > +summary =3D 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 =3D 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 =3D %{name}_%{version}.tar.xz > + > +build > + DIR_APP =3D %{DIR_SRC}/%{name} > + > + requires > + libidn2-devel > + perl > + perl(autodie) > + perl(strict) > + perl(warnings) > + end > + > + build > + make \ > + CONFIG_FILE=3D"%{sysconfdir}/%{name}.conf" \ > + HAVE_ICONV=3D1 \ > + CFLAGS=3D"%{CFLAGS}" \ > + LDFLAGS=3D"%{LDFLAGS}" > + end > + > + # Only install the whois tool. > + make_install_targets =3D 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 > --=20 > 2.30.2 >=20 --===============7404287942766237866==--