Files
gentoo/sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch
Zoltan Puskas 681086e7c5 sys-process/at: Fix several installation issues
- Fix `at` binary ownership
- Remove `pkg_postinst()` since Makefile actually sets the ownership and
  permissions as needed. Fix broken permission by keepdir in scr_install
  instead.

Closes: https://bugs.gentoo.org/658460
Closes: https://bugs.gentoo.org/711598
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Closes: https://github.com/gentoo/gentoo/pull/32113
Signed-off-by: Sam James <sam@gentoo.org>
2023-08-09 19:14:48 +01:00

13 lines
768 B
Diff

diff -Naur at-3.2.5-orig/Makefile.in at-3.2.5/Makefile.in
--- at-3.2.5-orig/Makefile.in 2022-02-05 02:00:57.000000000 -0800
+++ at-3.2.5/Makefile.in 2023-07-27 20:49:58.505824137 -0700
@@ -114,7 +114,7 @@
chmod 600 $(DESTDIR)$(LFILE)
chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE)
test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(DESTDIR)$(bindir)
+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o root -m 6755 at $(DESTDIR)$(bindir)
$(LN_S) -f at $(DESTDIR)$(bindir)/atq
$(LN_S) -f at $(DESTDIR)$(bindir)/atrm
$(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir)