From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] autofs: add log service, fix patch args
Date: Tue, 08 Mar 2022 09:00:11 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36029@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages autofs-log
https://github.com/void-linux/void-packages/pull/36029
autofs: add log service, fix patch args
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
the log service was essential for successfully debugging my autofs setup
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36029.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofs-log-36029.patch --]
[-- Type: text/x-diff, Size: 1721 bytes --]
From 638d28b2486fbbf878a8bcda3824b2a5a1aa9a6e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Tue, 8 Mar 2022 02:57:59 -0500
Subject: [PATCH] autofs: add log service, fix patch args
---
srcpkgs/autofs/files/autofs/log/run | 2 ++
srcpkgs/autofs/files/autofs/run | 1 +
srcpkgs/autofs/template | 3 ++-
3 files changed, 5 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/autofs/files/autofs/log/run
diff --git a/srcpkgs/autofs/files/autofs/log/run b/srcpkgs/autofs/files/autofs/log/run
new file mode 100644
index 000000000000..a2abfe61e846
--- /dev/null
+++ b/srcpkgs/autofs/files/autofs/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t autofs
diff --git a/srcpkgs/autofs/files/autofs/run b/srcpkgs/autofs/files/autofs/run
index 14ee8daad0c8..6da6f9c3d404 100644
--- a/srcpkgs/autofs/files/autofs/run
+++ b/srcpkgs/autofs/files/autofs/run
@@ -1,2 +1,3 @@
#!/bin/sh
+exec 2>&1
exec automount -f
diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template
index 6ec782cccbb9..5fd9b08aac7b 100644
--- a/srcpkgs/autofs/template
+++ b/srcpkgs/autofs/template
@@ -1,7 +1,7 @@
# Template file for 'autofs'
pkgname=autofs
version=5.1.8
-revision=1
+revision=2
build_style=gnu-configure
make_build_args="DONTSTRIP=1"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
@@ -14,6 +14,7 @@ license="GPL-2.0-or-later"
homepage="https://www.kernel.org/pub/linux/daemons/autofs"
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
checksum=b33d1059855664b20eeda26f3e28ff518fb0c3d58f565570af2ae569dc73c0fd
+patch_args="-Nlp1"
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/include/tirpc"
next reply other threads:[~2022-03-08 8:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 8:00 classabbyamp [this message]
2022-03-20 22:05 ` [PR REVIEW] " paper42
2022-03-20 22:25 ` [PR PATCH] [Updated] " classabbyamp
2022-03-20 22:25 ` [PR REVIEW] " classabbyamp
2022-03-20 22:29 ` [PR PATCH] [Merged]: " paper42
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36029@inbox.vuxu.org \
--to=classabbyamp@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).