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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
17 PKG_MD5SUM
:=139ac9abd7f3b8dbc5c5520745318f8a
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/scponly
24 TITLE
:=Alternative
'shell' (of sorts
) for sysadmins
25 URL
:=http
://sourceforge.net
/projects
/scponly
28 define Package
/scponly
/description
29 "scponly" is an alternative
'shell' (of sorts
) for system
30 administrators who would like to provide access to remote
31 users to both read and write local files without providing
32 any remote execution priviledges. Functionally
, it is best
33 described
as a wrapper to the mostly trusted suite of ssh
38 ac_cv_path_scponly_PROG_SFTP_SERVER
="/usr/libexec/sftp-server" \
40 --enable-winscp-compat \
42 --disable-rsync-compat \
43 --with-sftp-server
="/usr/libexec/sftp-server" \
45 define Package
/scponly
/postinst
47 echo
"/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc
/shells
50 define Package
/scponly
/install
51 $(INSTALL_DIR
) $(1)/usr
/bin
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/bin
/
55 $(eval
$(call BuildPackage
,scponly
))