From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] xinetd: use libtirpc
Date: Thu, 14 Jan 2021 18:06:50 +0100 [thread overview]
Message-ID: <20210114170650.VG0psWRxQFadMdM68RqI4y-dMny1wMrZT2bS-8AoMNc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27928@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages xinetd
https://github.com/void-linux/void-packages/pull/27928
xinetd: use libtirpc
A patch file from https://github.com/void-linux/void-packages/pull/27928.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xinetd-27928.patch --]
[-- Type: text/x-diff, Size: 1352 bytes --]
From f55e30e14a228d42286dbb84f492c93cf04f46d1 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 14 Jan 2021 17:26:04 +0100
Subject: [PATCH] xinetd: use libtirpc
---
srcpkgs/xinetd/template | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/xinetd/template b/srcpkgs/xinetd/template
index 9d71592b6e7..dbdd441c063 100644
--- a/srcpkgs/xinetd/template
+++ b/srcpkgs/xinetd/template
@@ -1,9 +1,10 @@
# Template file for 'xinetd'
pkgname=xinetd
version=2.3.15
-revision=7
+revision=8
build_style=gnu-configure
configure_args="--without-libwrap"
+makedepends="libtirpc-devel"
short_desc="A secure replacement for inetd"
maintainer="Orphaned <orphan@voidlinux.org>"
license="xinetd"
@@ -13,11 +14,13 @@ checksum=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
conf_files="/etc/xinetd.conf /etc/xinetd.d/servers /etc/xinetd.d/services"
-pre_configure() {
- case "$XBPS_TARGET_MACHINE" in
- *-musl) export CFLAGS+=" -DNO_RPC"; configure_args+=" xinetd_cv_type_rlim_t=yes";;
- esac
-}
+CFLAGS=" -I${XBPS_CROSS_BASE}/usr/include/tirpc"
+LDFLAGS=" -ltirpc"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args+=" xinetd_cv_type_rlim_t=yes"
+fi
+
do_install() {
make prefix=${DESTDIR}/usr DAEMONDIR=${DESTDIR}/usr/bin MANDIR=${DESTDIR}/usr/share/man install
next prev parent reply other threads:[~2021-01-14 17:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 17:01 [PR PATCH] " Johnnynator
2021-01-14 17:04 ` [PR REVIEW] " ericonr
2021-01-14 17:06 ` Johnnynator
2021-01-14 17:06 ` Johnnynator [this message]
2021-01-14 18:02 ` [PR PATCH] [Merged]: " Johnnynator
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=20210114170650.VG0psWRxQFadMdM68RqI4y-dMny1wMrZT2bS-8AoMNc@z \
--to=johnnynator@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).