From: bauen1 <j2468h@googlemail.com>
To: selinux@vger.kernel.org
Cc: j2468h@googlemail.com
Subject: [PATCH] policycoretuils: sestatus belongs to bin not sbin
Date: Sat, 13 Feb 2021 21:43:16 +0100 [thread overview]
Message-ID: <65111b4f-23b9-6758-9cd6-d2f8429916fb@gmail.com> (raw)
It is quite useful even to non-privileged users and doesn't require any
privileges to work, except for maybe -v.
Signed-off-by: Jonathan Hettwer <j2468h@gmail.com>
---
Only tested by running `make DESTDIR="$PWD" install` and checking that
sestatus ends up at /usr/bin/sestatus
policycoreutils/sestatus/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/policycoreutils/sestatus/Makefile b/policycoreutils/sestatus/Makefile
index 8c4f45f8..ac113814 100644
--- a/policycoreutils/sestatus/Makefile
+++ b/policycoreutils/sestatus/Makefile
@@ -1,7 +1,7 @@
# Installation directories.
LINGUAS ?= ru
PREFIX ?= /usr
-SBINDIR ?= $(PREFIX)/sbin
+BINDIR ?= $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
ETCDIR ?= /etc
@@ -16,8 +16,8 @@ sestatus: sestatus.o
install: all
[ -d $(DESTDIR)$(MANDIR)/man8 ] || mkdir -p $(DESTDIR)$(MANDIR)/man8
[ -d $(DESTDIR)$(MANDIR)/man5 ] || mkdir -p $(DESTDIR)$(MANDIR)/man5
- -mkdir -p $(DESTDIR)$(SBINDIR)
- install -m 755 sestatus $(DESTDIR)$(SBINDIR)
+ -mkdir -p $(DESTDIR)$(BINDIR)
+ install -m 755 sestatus $(DESTDIR)$(BINDIR)
install -m 644 sestatus.8 $(DESTDIR)$(MANDIR)/man8
install -m 644 sestatus.conf.5 $(DESTDIR)$(MANDIR)/man5
for lang in $(LINGUAS) ; do \
--
2.30.0
next reply other threads:[~2021-02-13 20:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 20:43 bauen1 [this message]
2021-02-16 21:31 ` [PATCH] policycoretuils: sestatus belongs to bin not sbin Nicolas Iooss
2021-02-17 16:29 ` bauen1
2021-02-17 16:32 ` Petr Lautrbach
2021-02-18 18:33 ` [PATCH v2] policycoreutils: " bauen1
2021-02-21 13:30 ` Nicolas Iooss
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=65111b4f-23b9-6758-9cd6-d2f8429916fb@gmail.com \
--to=j2468h@googlemail.com \
--cc=selinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.