[csw-devel] SF.net SVN: gar:[10723] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Aug 12 09:56:46 CEST 2010


Revision: 10723
          http://gar.svn.sourceforge.net/gar/?rev=10723&view=rev
Author:   dmichelsen
Date:     2010-08-12 07:56:45 +0000 (Thu, 12 Aug 2010)

Log Message:
-----------
rssh: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/rssh/
    csw/mgar/pkg/rssh/branches/
    csw/mgar/pkg/rssh/tags/
    csw/mgar/pkg/rssh/trunk/
    csw/mgar/pkg/rssh/trunk/Makefile
    csw/mgar/pkg/rssh/trunk/checksums
    csw/mgar/pkg/rssh/trunk/files/
    csw/mgar/pkg/rssh/trunk/files/0001-Use-DESTDIR-on-install-libexec-hook.patch


Property changes on: csw/mgar/pkg/rssh/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/rssh/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rssh/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/rssh/trunk/Makefile	2010-08-12 07:56:45 UTC (rev 10723)
@@ -0,0 +1,41 @@
+# $Id$
+GARNAME = rssh
+GARVERSION = 2.3.3
+CATEGORIES = utils
+
+DESCRIPTION = A restricted shell for use with OpenSSH
+define BLURB
+  rssh is a restricted shell for use with OpenSSH, allowing only scp and/or sftp.
+  It now also includes support for rdist, rsync, and cvs. For example, if you have
+  a server which you only want to allow users to copy files off of via scp, without
+  providing shell access, you can use rssh to do that. For a list of platforms on
+  which rssh is known to work, see the Platform Support Page.
+endef
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+PATCHFILES = 0001-Use-DESTDIR-on-install-libexec-hook.patch 
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+VENDOR_URL = http://www.pizzashack.org/rssh/
+
+sysconfdir = /etc/opt/csw
+MIGRATE_FILES = rssh.conf
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_TARGET = check
+
+PROTOTYPE_MODIFIERS = makesuid
+PROTOTYPE_FILES_makesuid = $(libexecdir)/rssh_chroot_helper
+PROTOTYPE_PERMS_makesuid = 4755
+
+include gar/category.mk
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
+	cd $(WORKSRC) && ginstall -m 0644 CHROOT INSTALL README SECURITY $(DESTDIR)$(docdir)/$(GARNAME)
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/rssh/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/rssh/trunk/checksums
===================================================================
--- csw/mgar/pkg/rssh/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/rssh/trunk/checksums	2010-08-12 07:56:45 UTC (rev 10723)
@@ -0,0 +1,2 @@
+6117db209b029647769f115625366f8a  0001-Use-DESTDIR-on-install-libexec-hook.patch
+b0c147602fcc95737ed50573b92fc468  rssh-2.3.3.tar.gz

Added: csw/mgar/pkg/rssh/trunk/files/0001-Use-DESTDIR-on-install-libexec-hook.patch
===================================================================
--- csw/mgar/pkg/rssh/trunk/files/0001-Use-DESTDIR-on-install-libexec-hook.patch	                        (rev 0)
+++ csw/mgar/pkg/rssh/trunk/files/0001-Use-DESTDIR-on-install-libexec-hook.patch	2010-08-12 07:56:45 UTC (rev 10723)
@@ -0,0 +1,39 @@
+From a30ed2e3fe48241790889fc5bdc831e2a79caa67 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 12 Aug 2010 09:40:15 +0200
+Subject: [PATCH] Use DESTDIR on install-libexec-hook
+
+---
+ Makefile.am |    2 +-
+ Makefile.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5c1be5f..018ea4b 100644
+--- 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
+diff --git a/Makefile.in b/Makefile.in
+index 790c780..515affd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -830,7 +830,7 @@ uninstall-man: uninstall-man1 uninstall-man5
+ 	$(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
+-- 
+1.7.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list