Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] autofs: fix map locations in auto.master
@ 2020-01-20 18:34 voidlinux-github
  2020-01-21 14:07 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-20 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages autofs
https://github.com/void-linux/void-packages/pull/18429

autofs: fix map locations in auto.master
The default auto.master looks for map files in /etc, but the package puts maps in /etc/autofs. This PR alters the default auto.master to look for maps in the right location.

A patch file from https://github.com/void-linux/void-packages/pull/18429.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofs-18429.patch --]
[-- Type: text/x-diff, Size: 871 bytes --]

From 1f331c970352e655fbebcb2d30bb7aa4185d1341 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 20 Jan 2020 12:58:06 -0500
Subject: [PATCH] autofs: fix map locations in auto.master

---
 srcpkgs/autofs/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template
index 67f298b2dc4..4b32d15507e 100644
--- a/srcpkgs/autofs/template
+++ b/srcpkgs/autofs/template
@@ -1,7 +1,7 @@
 # Template file for 'autofs'
 pkgname=autofs
 version=5.1.6
-revision=1
+revision=2
 build_style=gnu-configure
 make_build_args="DONTSTRIP=1"
 configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
@@ -33,6 +33,8 @@ pre_configure() {
 
 pre_build() {
 	unset STRIP
+	# Fix path for map files
+	vsed -i "s@/etc/@/etc/autofs/@g" samples/auto.master
 }
 
 post_install() {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: autofs: fix map locations in auto.master
  2020-01-20 18:34 [PR PATCH] autofs: fix map locations in auto.master voidlinux-github
@ 2020-01-21 14:07 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-21 14:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

There's a merged pull request on the void-packages repository

autofs: fix map locations in auto.master
https://github.com/void-linux/void-packages/pull/18429

Description:
The default auto.master looks for map files in /etc, but the package puts maps in /etc/autofs. This PR alters the default auto.master to look for maps in the right location.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-21 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20 18:34 [PR PATCH] autofs: fix map locations in auto.master voidlinux-github
2020-01-21 14:07 ` [PR PATCH] [Merged]: " voidlinux-github

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).