From: "Petr Vaněk" <arkamar@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rwhoisd/
Date: Wed, 6 Nov 2024 14:29:55 +0000 (UTC) [thread overview]
Message-ID: <1730903353.8031a67099d62092131950cbe3daf2118f963d4d.arkamar@gentoo> (raw)
commit: 8031a67099d62092131950cbe3daf2118f963d4d
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 5 16:17:34 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Nov 6 14:29:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8031a670
net-misc/rwhoisd: add 1.5.9.6_p1
Use sys-apps/tcp-wrappers rather than bundled version, otherwise rwhoisd
can automagically depend on it. This also resolves the bug 740790, where
exported STRINGS variable was polluting CFLAGS, similarly to bug 728348.
The original patches are bundled to an archive, which additionally
contains:
- a fix with corrected signal handlers declarations, bug 924504.
- corrected dependencies in main Makefile, bug 927273
- obosolete glibc check removal from configure.ac, bug 715310
- replacement of remaings direct ar calls
Closes: https://bugs.gentoo.org/715310
Closes: https://bugs.gentoo.org/740790
Closes: https://bugs.gentoo.org/924504
Closes: https://bugs.gentoo.org/927273
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
net-misc/rwhoisd/Manifest | 1 +
net-misc/rwhoisd/rwhoisd-1.5.9.6_p1.ebuild | 61 ++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/net-misc/rwhoisd/Manifest b/net-misc/rwhoisd/Manifest
index 330991fe45d4..23d6cb19e145 100644
--- a/net-misc/rwhoisd/Manifest
+++ b/net-misc/rwhoisd/Manifest
@@ -1,2 +1,3 @@
DIST rwhoisd-1.5.9.6-fix-build-for-clang16.patch.xz 71604 BLAKE2B f528fdf51203210a9c3c268569f3b84d668e45a000d76bd52e3b4eb3f9ad0f317aeb46e26475ca4c79b768232be9116f2ae13feac4e888d40b8359a72c3cb30c SHA512 ed82d09f6ceecaa607b800906780d68e276d26eba480da1a0d7d4867fcf692a9cf6eca90b16066b2065a749f9a07b47bb55bd45a8976058fd63bc25a9040324e
+DIST rwhoisd-1.5.9.6-patches-1.tar.xz 75832 BLAKE2B 84834699a7565ce6c7c1d11f7c12e01b5e6054335ef21fed8a74fa68d43cf256789903e424350678eaa632c35be08d486a2a1e7f44b02b9956347ba4cd594579 SHA512 f576ebc46d5f03edd8197f676e53f454754661154ab000cd4a94fff6ca6f455fe4967219c6f59f3c90cc847883d3831ef3d9dc16425e316cdba5b138f6bda922
DIST rwhoisd-1.5.9.6.tar.gz 491955 BLAKE2B 97587fc6a728cde58bc5049a9bf27ec1673ce7beb751aa0de7c787d08185b597e16a4920e89fa5aaabc6e7e1b5dfecedc50aaf55cbdbe7f85a43d6a125848cb9 SHA512 ab5674d9ed9f9c5fc00b2859b1336c766c546ca067ddf9d3863a0728c6d0eac11be3a9cd22dce8c25999ed8c8e5377e6da4aa1252e396d5b3c8e959794903c52
diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6_p1.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.6_p1.ebuild
new file mode 100644
index 000000000000..132a542b12ec
--- /dev/null
+++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6_p1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+MY_PV="${PV%%_p*}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="ARIN rwhois daemon"
+HOMEPAGE="https://projects.arin.net/rwhois/"
+SRC_URI="
+ https://github.com/arineng/${PN}/archive/${MY_PV}.tar.gz
+ -> ${MY_P}.tar.gz
+ https://dev.gentoo.org/~arkamar/distfiles/${MY_P}-patches-${PV##*_p}.tar.xz
+"
+S="${WORKDIR}/${MY_P}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ sys-apps/tcp-wrappers
+ virtual/libcrypt:=
+"
+RDEPEND="
+ ${DEPEND}
+ acct-group/rwhoisd
+ acct-user/rwhoisd
+"
+BDEPEND="
+ app-alternatives/lex
+ app-alternatives/yacc
+"
+
+PATCHES=( "${WORKDIR}"/patches )
+
+src_prepare() {
+ default
+ eautoreconf #893906
+}
+
+src_compile() {
+ append-cflags -DNEW_STYLE_BIN_SORT -std=gnu89
+
+ default
+}
+
+src_install() {
+ default
+
+ doinitd "${FILESDIR}"/rwhoisd
+ newconfd "${FILESDIR}"/rwhoisd.conf rwhoisd
+}
+
+pkg_postinst() {
+ einfo "Please make sure to set the userid in rwhoisd.conf to rwhoisd."
+ einfo "It is highly inadvisable to run rwhoisd as root."
+}
next reply other threads:[~2024-11-06 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 14:29 Petr Vaněk [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-24 13:26 [gentoo-commits] repo/gentoo:master commit in: net-misc/rwhoisd/ Petr Vaněk
2024-11-20 8:44 Petr Vaněk
2024-11-06 14:29 Petr Vaněk
2022-09-18 1:34 Sam James
2021-04-17 19:20 Conrad Kostecki
2021-04-17 19:20 Conrad Kostecki
2017-08-15 9:33 Jeroen Roovers
2016-05-04 1:02 Austin English
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=1730903353.8031a67099d62092131950cbe3daf2118f963d4d.arkamar@gentoo \
--to=arkamar@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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