summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-19 13:54:29 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-19 13:54:29 +0000
commitd8c0bde813442d6d59eb932b133b4ba405a8b6bb (patch)
tree2189932679f7d19baa87f40cd985b699541573ba
parent67d99146b948fb8a1931ac155fc74bbbed2361f7 (diff)
downloadmtk-20170518-d8c0bde813442d6d59eb932b133b4ba405a8b6bb.zip
mtk-20170518-d8c0bde813442d6d59eb932b133b4ba405a8b6bb.tar.gz
mtk-20170518-d8c0bde813442d6d59eb932b133b4ba405a8b6bb.tar.bz2
backport [2184] (openssh sftp-server) to trunk
SVN-Revision: 2185
-rw-r--r--openwrt/package/openssh/Makefile70
-rw-r--r--openwrt/package/openssh/ipkg/openssh-client-utils.control2
-rw-r--r--openwrt/package/openssh/ipkg/openssh-server.control2
-rw-r--r--openwrt/package/openssh/ipkg/openssh-sftp-client.control2
-rw-r--r--openwrt/package/openssh/ipkg/openssh-sftp-server.control2
5 files changed, 40 insertions, 38 deletions
diff --git a/openwrt/package/openssh/Makefile b/openwrt/package/openssh/Makefile
index 2d4a554..742a808 100644
--- a/openwrt/package/openssh/Makefile
+++ b/openwrt/package/openssh/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssh
PKG_VERSION:=4.0p1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MD5SUM:=7b36f28fc16e1b7f4ba3c1dca191ac92
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
@@ -35,39 +35,39 @@ $(PKG_BUILD_DIR)/.configured:
LD="$(TARGET_CC)" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc/ssh \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --enable-shared \
- --disable-static \
- --disable-debug \
- --disable-strip \
- --disable-etc-default-login \
- --disable-lastlog \
- --disable-utmp \
- --disable-utmpx \
- --disable-wtmp \
- --disable-wtmpx \
- --without-bsd-auth \
- --without-kerberos5 \
- --without-pam \
- --without-x \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --program-prefix="" \
+ --program-suffix="" \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --datadir=/usr/share \
+ --includedir=/usr/include \
+ --infodir=/usr/share/info \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --sbindir=/usr/sbin \
+ --sysconfdir=/etc/ssh \
+ $(DISABLE_LARGEFILE) \
+ $(DISABLE_NLS) \
+ --enable-shared \
+ --disable-static \
+ --disable-debug \
+ --disable-strip \
+ --disable-etc-default-login \
+ --disable-lastlog \
+ --disable-utmp \
+ --disable-utmpx \
+ --disable-wtmp \
+ --disable-wtmpx \
+ --without-bsd-auth \
+ --without-kerberos5 \
+ --without-pam \
+ --without-x \
);
touch $@
@@ -117,6 +117,8 @@ $(IPKG_OPENSSH_SFTP_CLIENT):
$(IPKG_OPENSSH_SFTP_SERVER):
install -m0755 -d $(IDIR_OPENSSH_SFTP_SERVER)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/sftp-server $(IDIR_OPENSSH_SFTP_SERVER)/usr/lib/
+ install -m0755 -d $(IDIR_OPENSSH_SFTP_SERVER)/usr/libexec
+ ln -sf ../lib/sftp-server $(IDIR_OPENSSH_SFTP_SERVER)/usr/libexec/sftp-server
$(RSTRIP) $(IDIR_OPENSSH_SFTP_SERVER)
$(IPKG_BUILD) $(IDIR_OPENSSH_SFTP_SERVER) $(PACKAGE_DIR)
diff --git a/openwrt/package/openssh/ipkg/openssh-client-utils.control b/openwrt/package/openssh/ipkg/openssh-client-utils.control
index 981e2a2..280e6bf 100644
--- a/openwrt/package/openssh/ipkg/openssh-client-utils.control
+++ b/openwrt/package/openssh/ipkg/openssh-client-utils.control
@@ -1,7 +1,7 @@
Package: openssh-client-utils
Priority: optional
Section: net
-Maintainer: bugs@openwrt.org
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal
Depends: zlib, libopenssl
Description: OpenSSH client utilities
diff --git a/openwrt/package/openssh/ipkg/openssh-server.control b/openwrt/package/openssh/ipkg/openssh-server.control
index 8247c3f..22ce485 100644
--- a/openwrt/package/openssh/ipkg/openssh-server.control
+++ b/openwrt/package/openssh/ipkg/openssh-server.control
@@ -1,7 +1,7 @@
Package: openssh-server
Priority: optional
Section: net
-Maintainer: bugs@openwrt.org
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal
Depends: zlib, libopenssl
Description: OpenSSH server
diff --git a/openwrt/package/openssh/ipkg/openssh-sftp-client.control b/openwrt/package/openssh/ipkg/openssh-sftp-client.control
index 0edad50..2accca8 100644
--- a/openwrt/package/openssh/ipkg/openssh-sftp-client.control
+++ b/openwrt/package/openssh/ipkg/openssh-sftp-client.control
@@ -1,7 +1,7 @@
Package: openssh-sftp-client
Priority: optional
Section: net
-Maintainer: bugs@openwrt.org
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal
Depends: zlib, libopenssl
Description: OpenSSH SFTP client
diff --git a/openwrt/package/openssh/ipkg/openssh-sftp-server.control b/openwrt/package/openssh/ipkg/openssh-sftp-server.control
index fba5d6a..1e17432 100644
--- a/openwrt/package/openssh/ipkg/openssh-sftp-server.control
+++ b/openwrt/package/openssh/ipkg/openssh-sftp-server.control
@@ -1,7 +1,7 @@
Package: openssh-sftp-server
Priority: optional
Section: net
-Maintainer: bugs@openwrt.org
+Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal
Depends: zlib, libopenssl
Description: OpenSSH SFTP server