Good afternoon:
There is a minor bug in the 'chmod u+s' command in Makefile.am and
Makefile.in. It fails to include 'DESTDIR', to allow non-root
compilation and installation of the software for packaging systems
such as RPM.
The patch for Makefile.am is below: if you don't care to re-run
autoconf, Makefile.in would need to be patched similarly.
$ diff -c Makefile.am.chmod Makefile.am
*** Makefile.am.chmod 2010-08-08 13:33:06.071738000 -0400
--- Makefile.am 2010-08-08 13:33:06.116738000 -0400
***************
*** 16,22 ****
$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
install-exec-hook:
! chmod u+s $(libexecdir)/rssh_chroot_helper
rpm: dist
rpmbuild -ta --sign $(base).tar.gz
--- 16,22 ----
$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
install-exec-hook:
! chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
rpm: dist
rpmbuild -ta --sign $(base).tar.gz
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss