source: packages/utils/scponly/Makefile @ 20575

Last change on this file since 20575 was 20575, checked in by florian, 7 years ago

[package] fix scponly compilation failure (#6986)

  • Property copyright set to Copyright (C) 2007-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1#
2# Copyright (C) 2007-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=scponly
11PKG_VERSION:=4.8
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16PKG_MD5SUM:=139ac9abd7f3b8dbc5c5520745318f8a
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/scponly
21  SECTION:=utils
22  CATEGORY:=Utilities
23  TITLE:=Alternative 'shell' (of sorts) for sysadmins
24  URL:=http://sourceforge.net/projects/scponly
25endef
26
27define 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
33        applications.
34endef
35
36CONFIGURE_ARGS += \
37        ac_cv_path_scponly_PROG_SFTP_SERVER="/usr/libexec/sftp-server" \
38        \
39        --enable-winscp-compat \
40        --enable-scp-compat \
41        --disable-rsync-compat \
42        --with-sftp-server="/usr/libexec/sftp-server" \
43
44define Package/scponly/postinst
45#!/bin/sh
46echo "/usr/bin/scponly" >> $${IPKG_INSTROOT}/etc/shells
47endef
48
49define Package/scponly/install 
50        $(INSTALL_DIR) $(1)/usr/bin
51        $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
52endef
53
54$(eval $(call BuildPackage,scponly))
Note: See TracBrowser for help on using the repository browser.