1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 04:27:17 +03:00

backport [2184] (openssh sftp-server) to trunk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2185 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-10-19 13:54:29 +00:00
parent dda8643c1f
commit 9b460ff9a0
5 changed files with 40 additions and 38 deletions

View File

@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openssh PKG_NAME:=openssh
PKG_VERSION:=4.0p1 PKG_VERSION:=4.0p1
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MD5SUM:=7b36f28fc16e1b7f4ba3c1dca191ac92 PKG_MD5SUM:=7b36f28fc16e1b7f4ba3c1dca191ac92
PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ PKG_SOURCE_URL:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
@ -35,39 +35,39 @@ $(PKG_BUILD_DIR)/.configured:
LD="$(TARGET_CC)" \ LD="$(TARGET_CC)" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
./configure \ ./configure \
--target=$(GNU_TARGET_NAME) \ --target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \ --build=$(GNU_HOST_NAME) \
--program-prefix="" \ --program-prefix="" \
--program-suffix="" \ --program-suffix="" \
--prefix=/usr \ --prefix=/usr \
--exec-prefix=/usr \ --exec-prefix=/usr \
--bindir=/usr/bin \ --bindir=/usr/bin \
--datadir=/usr/share \ --datadir=/usr/share \
--includedir=/usr/include \ --includedir=/usr/include \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--libdir=/usr/lib \ --libdir=/usr/lib \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--sbindir=/usr/sbin \ --sbindir=/usr/sbin \
--sysconfdir=/etc/ssh \ --sysconfdir=/etc/ssh \
$(DISABLE_LARGEFILE) \ $(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \ $(DISABLE_NLS) \
--enable-shared \ --enable-shared \
--disable-static \ --disable-static \
--disable-debug \ --disable-debug \
--disable-strip \ --disable-strip \
--disable-etc-default-login \ --disable-etc-default-login \
--disable-lastlog \ --disable-lastlog \
--disable-utmp \ --disable-utmp \
--disable-utmpx \ --disable-utmpx \
--disable-wtmp \ --disable-wtmp \
--disable-wtmpx \ --disable-wtmpx \
--without-bsd-auth \ --without-bsd-auth \
--without-kerberos5 \ --without-kerberos5 \
--without-pam \ --without-pam \
--without-x \ --without-x \
); );
touch $@ touch $@
@ -117,6 +117,8 @@ $(IPKG_OPENSSH_SFTP_CLIENT):
$(IPKG_OPENSSH_SFTP_SERVER): $(IPKG_OPENSSH_SFTP_SERVER):
install -m0755 -d $(IDIR_OPENSSH_SFTP_SERVER)/usr/lib install -m0755 -d $(IDIR_OPENSSH_SFTP_SERVER)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/sftp-server $(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) $(RSTRIP) $(IDIR_OPENSSH_SFTP_SERVER)
$(IPKG_BUILD) $(IDIR_OPENSSH_SFTP_SERVER) $(PACKAGE_DIR) $(IPKG_BUILD) $(IDIR_OPENSSH_SFTP_SERVER) $(PACKAGE_DIR)

View File

@ -1,7 +1,7 @@
Package: openssh-client-utils Package: openssh-client-utils
Priority: optional Priority: optional
Section: net Section: net
Maintainer: bugs@openwrt.org Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal Source: buildroot internal
Depends: zlib, libopenssl Depends: zlib, libopenssl
Description: OpenSSH client utilities Description: OpenSSH client utilities

View File

@ -1,7 +1,7 @@
Package: openssh-server Package: openssh-server
Priority: optional Priority: optional
Section: net Section: net
Maintainer: bugs@openwrt.org Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal Source: buildroot internal
Depends: zlib, libopenssl Depends: zlib, libopenssl
Description: OpenSSH server Description: OpenSSH server

View File

@ -1,7 +1,7 @@
Package: openssh-sftp-client Package: openssh-sftp-client
Priority: optional Priority: optional
Section: net Section: net
Maintainer: bugs@openwrt.org Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal Source: buildroot internal
Depends: zlib, libopenssl Depends: zlib, libopenssl
Description: OpenSSH SFTP client Description: OpenSSH SFTP client

View File

@ -1,7 +1,7 @@
Package: openssh-sftp-server Package: openssh-sftp-server
Priority: optional Priority: optional
Section: net Section: net
Maintainer: bugs@openwrt.org Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>
Source: buildroot internal Source: buildroot internal
Depends: zlib, libopenssl Depends: zlib, libopenssl
Description: OpenSSH SFTP server Description: OpenSSH SFTP server