From e22dae3ab58fe6489aa169f686b8b4b7d2027075 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 12 Mar 2006 10:19:26 +0000 Subject: [PATCH] update dropbear to latest latest release (v0.48.1), remove scp patch handling missing time macros (fixed upstream) SVN-Revision: 3350 --- openwrt/package/dropbear/Makefile | 4 +-- .../patches/160-scp_missing_macros.patch | 30 ------------------- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 openwrt/package/dropbear/patches/160-scp_missing_macros.patch diff --git a/openwrt/package/dropbear/Makefile b/openwrt/package/dropbear/Makefile index 56bc6ddff6..75eaf6e44c 100644 --- a/openwrt/package/dropbear/Makefile +++ b/openwrt/package/dropbear/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dropbear -PKG_VERSION:=0.48 +PKG_VERSION:=0.48.1 PKG_RELEASE:=1 -PKG_MD5SUM:=89d08829eb7d47e533c552373fb87554 +PKG_MD5SUM:=ca8e53a766faec831882831364568421 PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/openwrt/package/dropbear/patches/160-scp_missing_macros.patch b/openwrt/package/dropbear/patches/160-scp_missing_macros.patch deleted file mode 100644 index 9d53251f60..0000000000 --- a/openwrt/package/dropbear/patches/160-scp_missing_macros.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -ruN dropbear-0.48-old/scp.c dropbear-0.48-new/scp.c ---- dropbear-0.48-old/scp.c 2006-03-09 16:06:03.000000000 +0100 -+++ dropbear-0.48-new/scp.c 2006-03-11 01:19:26.000000000 +0100 -@@ -78,6 +78,26 @@ - #include "scpmisc.h" - #include "progressmeter.h" - -+#ifndef TIMEVAL_TO_TIMESPEC -+#define TIMEVAL_TO_TIMESPEC(tv, ts) { \ -+ (ts)->tv_sec = (tv)->tv_sec; \ -+ (ts)->tv_nsec = (tv)->tv_usec * 1000; \ -+} -+#endif -+ -+#ifndef timersub -+#define timersub(tvp, uvp, vvp) \ -+ do { \ -+ (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \ -+ (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \ -+ if ((vvp)->tv_usec < 0) { \ -+ (vvp)->tv_sec--; \ -+ (vvp)->tv_usec += 1000000; \ -+ } \ -+ } while (/* CONSTCOND */ 0) -+#endif /* timersub */ -+ -+ - void bwlimit(int); - - /* Struct for addargs */ -- 2.30.2