Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] [RFC] util-linux: exclude bin from default PATH
Date: Fri, 06 Sep 2019 20:19:49 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14267@inbox.vuxu.org> (raw)

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

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

https://github.com/Chocimier/void-packages-org util-linux
https://github.com/void-linux/void-packages/pull/14267

[RFC] util-linux: exclude bin from default PATH
/bin is still added to PATH by /etc/profile, but after /usr/bin.
This makes `which` return real file instead of symlink.

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

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

From 7bfdddbc905227c733d1c9c92771bd3796e4301b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Fri, 6 Sep 2019 20:12:16 +0200
Subject: [PATCH] util-linux: exclude /bin from default PATH

/bin is still added to PATH by /etc/profile, but after /usr/bin
---
 srcpkgs/util-linux/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template
index 8a06c8f1e3c..ede6d5e5847 100644
--- a/srcpkgs/util-linux/template
+++ b/srcpkgs/util-linux/template
@@ -1,7 +1,7 @@
 # Template file for 'util-linux'
 pkgname=util-linux
 version=2.34
-revision=1
+revision=2
 hostmakedepends="automake bison gettext-devel libtool pkg-config"
 makedepends="libcap-ng-devel pam-devel readline-devel zlib-devel"
 checkdepends="ncurses" # Some tests require terminfo-entries
@@ -41,7 +41,7 @@ do_configure() {
 		--enable-vipw --enable-newgrp --enable-chfn-chsh \
 		--with-systemdsystemunitdir=no \
 		--without-udev --without-python \
-		--enable-write
+		--enable-write --enable-usrdir-path
 }
 
 do_build() {

             reply	other threads:[~2019-09-06 18:19 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 18:19 voidlinux-github [this message]
2019-09-06 18:56 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-06 18:56 ` voidlinux-github
2019-09-09 11:54 ` voidlinux-github
2019-09-09 12:02 ` voidlinux-github
2019-09-09 17:04 ` voidlinux-github
2021-01-29  2:50 ` ericonr
2021-01-29  2:50 ` ericonr
2021-01-29  8:23 ` Chocimier
2021-01-29 18:52 ` Chocimier
2021-02-16  5:38 ` ericonr
2021-02-16  5:54 ` am11
2021-02-17 11:47 ` Piraty
2021-03-05  4:47 ` ericonr
2021-03-30 21:03 ` [PR PATCH] [Updated] " Chocimier
2021-03-30 21:14 ` Chocimier
2022-04-15  2:12 ` github-actions
2022-04-22  0:26 ` Piraty
2022-05-04 19:32 ` [PR PATCH] [Updated] " Chocimier
2022-05-04 19:33 ` Chocimier
2022-05-05 19:23 ` [PR PATCH] [Updated] " Chocimier
2022-08-24 19:15 ` 0x5c
2023-06-26 22:09 ` [PR PATCH] [Updated] " Chocimier
2023-06-26 22:12 ` Chocimier
2023-06-27 11:21 ` leahneukirchen
2023-06-27 11:23 ` [PR REVIEW] " leahneukirchen
2023-06-27 11:23 ` leahneukirchen
2023-06-27 11:23 ` leahneukirchen
2023-06-27 11:23 ` leahneukirchen
2023-07-01 19:44 ` [PR PATCH] [Updated] " Chocimier
2023-07-01 20:27 ` *dm, util-linux, openssh: adjust PATH for usrmerge Chocimier
2023-07-01 20:37 ` [PR PATCH] [Updated] " Chocimier
2023-07-01 21:26 ` leahneukirchen
2023-07-03 16:21 ` [PR PATCH] [Updated] " Chocimier
2023-07-03 16:48 ` [PR PATCH] [Merged]: " Chocimier

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-14267@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).