X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=utils%2Fscponly%2FMakefile;h=52a14a2829a34f0b506a69563bc9ccaa7a18828b;hb=927ab4d5dc6c90cfa0f7b02e62a8928a07058110;hp=064e9d8821f31328e92cd3f20ec84ab8ff9c9292;hpb=9ac04501580b53f29af14a952c6c53062b33e50c;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/utils/scponly/Makefile b/utils/scponly/Makefile index 064e9d8821..52a14a2829 100644 --- a/utils/scponly/Makefile +++ b/utils/scponly/Makefile @@ -1,54 +1,54 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ include $(TOPDIR)/rules.mk PKG_NAME:=scponly -PKG_VERSION:=4.6 -PKG_RELEASE:=1 +PKG_VERSION:=4.8 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz -PKG_SOURCE_URL:=@SF/scponly \ - http://sublimation.org/scponly -PKG_MD5SUM:=0425cb868cadd026851238452f1db907 -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_MD5SUM:=139ac9abd7f3b8dbc5c5520745318f8a include $(INCLUDE_DIR)/package.mk +define Package/scponly + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Alternative 'shell' (of sorts) for sysadmins + URL:=http://sourceforge.net/projects/scponly +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 - SECTION:=utils - CATEGORY:=Utilities - TITLE=:alternative 'shell' (of sorts) for sysadmins - URL:=http://sublimation.org/scponly -endef + --with-sftp-server="/usr/libexec/sftp-server" \ define Package/scponly/postinst #!/bin/sh echo "/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc/shells endef -define Build/Compile - $(call Build/Compile/Default) -endef - define Package/scponly/install $(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 $(eval $(call BuildPackage,scponly))