2 # Copyright (C) 2007-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_MD5SUM
:=139ac9abd7f3b8dbc5c5520745318f8a
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/scponly
23 TITLE
:=Alternative
'shell' (of sorts
) for sysadmins
24 URL
:=http
://sourceforge.net
/projects
/scponly
27 define Package
/scponly
/description
28 "scponly" is an alternative
'shell' (of sorts
) for system
29 administrators who would like to provide access to remote
30 users to both read and write local files without providing
31 any remote execution priviledges. Functionally
, it is best
32 described
as a wrapper to the mostly trusted suite of ssh
37 ac_cv_path_scponly_PROG_SFTP_SERVER
="/usr/libexec/sftp-server" \
39 --enable-winscp-compat \
41 --disable-rsync-compat \
42 --with-sftp-server
="/usr/libexec/sftp-server" \
44 define Package
/scponly
/postinst
46 echo
"/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc
/shells
49 define Package
/scponly
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/bin
/
54 $(eval
$(call BuildPackage
,scponly
))