diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-11-20 09:38:34 +0100 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-11-20 09:43:41 +0100 |
commit | 687228929c29d0f37ae933fdf0dee7c689ba584e (patch) | |
tree | af45781d85cf594b46807d1a6fb44fc53e5fd374 /net-misc | |
parent | app-editors/jedit: Stabilize 5.7.0 ppc64, #944078 (diff) | |
download | gentoo-687228929c29d0f37ae933fdf0dee7c689ba584e.tar.gz gentoo-687228929c29d0f37ae933fdf0dee7c689ba584e.tar.bz2 gentoo-687228929c29d0f37ae933fdf0dee7c689ba584e.zip |
net-misc/rwhoisd: add 1.5.9.6_p2
Closes: https://bugs.gentoo.org/943795
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rwhoisd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/rwhoisd/rwhoisd-1.5.9.6_p2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/rwhoisd/Manifest b/net-misc/rwhoisd/Manifest index 23d6cb19e145..809ea9f297a6 100644 --- a/net-misc/rwhoisd/Manifest +++ b/net-misc/rwhoisd/Manifest @@ -1,3 +1,4 @@ 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-patches-2.tar.xz 80256 BLAKE2B 787f24519c1555d67fc35f49517283b518b05b55446ca547ae330aee777f3fe9bcdc0d737309cabbeaa05368348fe5c79ddc557d11af2ee3121db777758ac119 SHA512 00bde4adc215edd88afc17b1953856450a217bfcc75978c6245c7083ede81c164980e30831432314edcf4afcfa5c8c459d0ecc2915a68372837fdaf2d9bdc36a DIST rwhoisd-1.5.9.6.tar.gz 491955 BLAKE2B 97587fc6a728cde58bc5049a9bf27ec1673ce7beb751aa0de7c787d08185b597e16a4920e89fa5aaabc6e7e1b5dfecedc50aaf55cbdbe7f85a43d6a125848cb9 SHA512 ab5674d9ed9f9c5fc00b2859b1336c766c546ca067ddf9d3863a0728c6d0eac11be3a9cd22dce8c25999ed8c8e5377e6da4aa1252e396d5b3c8e959794903c52 diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6_p2.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.6_p2.ebuild new file mode 100644 index 000000000000..132a542b12ec --- /dev/null +++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6_p2.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." +} |