| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include $(TOPDIR)/rules.mkPKG_NAME:=		dropbearPKG_VERSION:=		0.52PKG_RELEASE:=		1PKG_MD5SUM:=		1c69ec674481d7745452f68f2ea5597ePKG_DESCR:=		SSH 2 server/client designed for embedded systems PKG_SECTION:=		netPKG_URL:=		http://matt.ucc.asn.au/dropbearPKG_SITES:=		http://matt.ucc.asn.au/dropbear/releases/PKG_DESCR_UTIL:=	Utility for converting SSH keysinclude $(TOPDIR)/mk/package.mk$(eval $(call PKG_template,DROPBEAR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))$(eval $(call PKG_template,DBCONVERT,dropbearconvert,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_UTIL},${PKG_SECTION}))PKGDFLT_DROPBEAR:=	y if !ADK_TOOLCHAIN_ONLYBUILD_STYLE:=		manualINSTALL_STYLE:=		manualCONFIGURE_ARGS+=	--disable-pam \			--enable-openpty \			--enable-syslog \			--enable-shadow \			--disable-lastlog \			--disable-utmp \			--disable-utmpx \			--disable-wtmp \			--disable-wtmpx \			--disable-loginfunc \			--disable-pututline \			--disable-pututxline \			--disable-zlibpre-configure:	$(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(WRKBUILD)/options.h	$(SED) 's,^#define DO_HOST_LOOKUP,/* & */,g' $(WRKBUILD)/options.hdo-build:	cd ${WRKBUILD} && env ${MAKE_ENV} ${MAKE} \	    PROGRAMS="dropbear dbclient dropbearkey scp" MULTI=1 SCPPROGRESS=1	cd ${WRKBUILD} && env ${MAKE_ENV} ${MAKE} \	    PROGRAMS=dropbearconvertdo-install:	# main package	$(INSTALL_DIR) $(IDIR_DROPBEAR)/usr/bin	$(INSTALL_DIR) $(IDIR_DROPBEAR)/usr/sbin	$(INSTALL_BIN) $(WRKBUILD)/dropbearmulti \		$(IDIR_DROPBEAR)/usr/sbin/dropbear	ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/scp	ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/ssh	ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/dbclient	ln -sf ../sbin/dropbear $(IDIR_DROPBEAR)/usr/bin/dropbearkey	# subpackage dropbearconvert	$(INSTALL_DIR) $(IDIR_DBCONVERT)/usr/bin	$(INSTALL_BIN) $(WRKBUILD)/dropbearconvert \		$(IDIR_DBCONVERT)/usr/bin/dropbearconvertinclude ${TOPDIR}/mk/pkg-bottom.mk
 |