Patch for rssh Makefile - use $(DESTDIR) for chmod u+s $(libexecdir)/rssh_chroot_helper
Brought to you by:
xystrus
From: Johnson E. <joh...@or...> - 2015-04-18 17:16:30
|
The rssh Makefiles (Makefile.am and Makefile.in) have one place where they fail to work when installing to a DESTDIR directory: diff -r -u rssh-2.3.4/Makefile.am rssh-2.3.4-makefile-DESTDIR-chmod/Makefile.am --- rssh-2.3.4/Makefile.am 2012-11-25 20:01:11.000000000 -0800 +++ rssh-2.3.4-makefile-DESTDIR-chmod/Makefile.am 2015-04-18 10:11:36.209899000 -0700 @@ -19,7 +19,7 @@ $(CC) -c $(DEFS) $(ourdefs) $(AM_CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< install-exec-hook: - chmod u+s $(libexecdir)/rssh_chroot_helper + chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper rpm: dist rpmbuild -ta --sign $(base).tar.gz diff -r -u rssh-2.3.4/Makefile.in rssh-2.3.4-makefile-DESTDIR-chmod/Makefile.in --- rssh-2.3.4/Makefile.in 2012-11-26 16:19:34.000000000 -0800 +++ rssh-2.3.4-makefile-DESTDIR-chmod/Makefile.in 2015-04-18 10:12:49.099881000 -0700 @@ -730,7 +730,7 @@ $(CC) -c $(DEFS) $(ourdefs) $(AM_CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< install-exec-hook: - chmod u+s $(libexecdir)/rssh_chroot_helper + chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper rpm: dist rpmbuild -ta --sign $(base).tar.gz This is important for folks who want to package rssh for their installation requirements. -- - Johnson Earls joh...@or... |