summarylogtreecommitdiffstats
path: root/stp_remove_install_hooks.patch
diff options
context:
space:
mode:
authorGeorge Angelopoulos2018-08-20 11:45:16 +0200
committerGeorge Angelopoulos2018-08-20 11:45:16 +0200
commit69c45dce7d4436d65b89b8d37c6ba1e445f7c41c (patch)
tree52065f1411e5265640af3aa27f9b2d06a6ea1b01 /stp_remove_install_hooks.patch
parent422e628c9fbcc9e805ce9e9afbff481194a30f0b (diff)
downloadaur-69c45dce7d4436d65b89b8d37c6ba1e445f7c41c.tar.gz
version 3.3
Diffstat (limited to 'stp_remove_install_hooks.patch')
-rw-r--r--stp_remove_install_hooks.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/stp_remove_install_hooks.patch b/stp_remove_install_hooks.patch
deleted file mode 100644
index 244ac833c5f3..000000000000
--- a/stp_remove_install_hooks.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/stapbpf/Makefile.am b/stapbpf/Makefile.am
-index a303d25f6..703668362 100644
---- a/stapbpf/Makefile.am
-+++ b/stapbpf/Makefile.am
-@@ -38,14 +38,4 @@ CLEANFILES =
- BUILT_SOURCES += git_version.stamp
- git_version.stamp ../git_version.h:
- $(MAKE) -C .. $(notdir $@)
--
--# Why the "id -u" condition? This way, an unprivileged user can run
--# make install, and have "sudo stap ...." or "sudo stapbpf ...." work later.
--install-exec-hook:
-- if [ `id -u` -eq 0 ]; then \
-- getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr; \
-- getent group stapusr >/dev/null \
-- && chgrp stapusr "$(DESTDIR)$(bindir)/stapbpf" \
-- && chmod 04110 "$(DESTDIR)$(bindir)/stapbpf"; \
-- fi
- endif
-diff --git a/staprun/Makefile.am b/staprun/Makefile.am
-index 4073aa01c..978d115f9 100644
---- a/staprun/Makefile.am
-+++ b/staprun/Makefile.am
-@@ -68,13 +68,3 @@ CLEANFILES =
- BUILT_SOURCES += git_version.stamp
- git_version.stamp ../git_version.h:
- $(MAKE) -C .. $(notdir $@)
--
--
--# Why the "id -u" condition? This way, an unprivileged user can run
--# make install, and have "sudo stap ...." or "sudo staprun ...." work later.
--install-exec-hook:
-- if [ `id -u` -eq 0 ]; then \
-- getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr; \
-- getent group stapusr >/dev/null && chgrp stapusr "$(DESTDIR)$(bindir)/staprun"; \
-- chmod 04110 "$(DESTDIR)$(bindir)/staprun"; \
-- fi