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
johnson.ea...@oracle.com


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to