[Packages] utils/scponly: Update to 4.8

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10645 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2008-03-22 15:49:27 +00:00
parent 41c2d44fff
commit 929ed1a828

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007 OpenWrt.org # Copyright (C) 2007-2008 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,45 +9,47 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=scponly PKG_NAME:=scponly
PKG_VERSION:=4.6 PKG_VERSION:=4.8
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/scponly \ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
http://sublimation.org/scponly PKG_MD5SUM:=139ac9abd7f3b8dbc5c5520745318f8a
PKG_MD5SUM:=0425cb868cadd026851238452f1db907
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
CONFIGURE_ARGS += \
ac_cv_path_scponly_PROG_SFTP_SERVER="/usr/libexec/sftp-server" \
, \
--enable-winscp-compat \
--enable-scp-compat \
--disable-rsync-compat \
--with-sftp-server="/usr/libexec/sftp-server"
define Package/scponly define Package/scponly
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE=:alternative 'shell' (of sorts) for sysadmins TITLE:=Alternative 'shell' (of sorts) for sysadmins
URL:=http://sublimation.org/scponly URL:=http://sourceforge.net/projects/scponly
endef endef
define Package/scponly/description
"scponly" is an alternative 'shell' (of sorts) for system
administrators who would like to provide access to remote
users to both read and write local files without providing
any remote execution priviledges. Functionally, it is best
described as a wrapper to the mostly trusted suite of ssh
applications.
endef
CONFIGURE_ARGS += \
ac_cv_path_scponly_PROG_SFTP_SERVER="/usr/libexec/sftp-server" \
\
--enable-winscp-compat \
--enable-scp-compat \
--disable-rsync-compat \
--with-sftp-server="/usr/libexec/sftp-server" \
define Package/scponly/postinst define Package/scponly/postinst
#!/bin/sh #!/bin/sh
echo "/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc/shells echo "/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc/shells
endef endef
define Build/Compile
$(call Build/Compile/Default)
endef
define Package/scponly/install define Package/scponly/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/scponly $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef endef
$(eval $(call BuildPackage,scponly)) $(eval $(call BuildPackage,scponly))