packages/net/rssh/patches/001-destdir.patch
swalker fc6ef15bb7 [packages] rssh: update to 2.3.3, add missing DESTDIR for rssh_chroot_helper, fix conf perms, add /etc/shells postinst and cleanup Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 07:03:46 +00:00

23 lines
667 B
Diff

--- a/Makefile.am
+++ b/Makefile.am
@@ -16,7 +16,7 @@ base=`echo @PACKAGE_STRING@|tr " " "-"`
$(CC) -c $(DEFS) $(ourdefs) $(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
--- a/Makefile.in
+++ b/Makefile.in
@@ -830,7 +830,7 @@ uninstall-man: uninstall-man1 uninstall-
$(CC) -c $(DEFS) $(ourdefs) $(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