Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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) |