0002-GNUMakefile.in-fix-root-install.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 25bd5ae1664f5603c05c72b2c38525602f33da0a Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Sun, 31 Mar 2024 19:17:45 +0200
  4. Subject: [PATCH] GNUMakefile.in: fix root install
  5. Set GROUP_T when installing configuration files as root to avoid the
  6. following build failure since commit
  7. 4b3b267db159dc23314de3062859481b7c397e32:
  8. /usr/bin/install: missing destination file operand after '/home/buildroot/instance-0/output-1/target/etc'
  9. Fixes:
  10. - http://autobuild.buildroot.org/results/eb4ccf248c9c5048e9b71058bb0311b1e0763883
  11. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  12. Upstream: https://lists.privoxy.org/pipermail/privoxy-devel/2024-March/000760.html
  13. ---
  14. GNUmakefile.in | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/GNUmakefile.in b/GNUmakefile.in
  17. index cf79aae1..db1bab59 100644
  18. --- a/GNUmakefile.in
  19. +++ b/GNUmakefile.in
  20. @@ -927,6 +927,7 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T
  21. $(ECHO) " and to install the config files as that user and/or group!" ;\
  22. $(ECHO) " Please read INSTALL, and create a privoxy user and group!" ;\
  23. $(ECHO) "*******************************************************************" ;\
  24. + GROUP_T=$(GROUP) ;\
  25. fi ;\
  26. else \
  27. GROUP_T=$(GROUP) ;\
  28. --
  29. 2.43.0