summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorreed <reed>2005-12-14 18:00:12 +0000
committerreed <reed>2005-12-14 18:00:12 +0000
commitece9c8904f4aa7fd016fade20ce593bc1c879abe (patch)
tree1c7a48c27c1787dd5af889f4412b0b2b86c56e5e /security
parent19b18743ed48dd9bdb45454e68b76bdaf26f131c (diff)
downloadpkgsrc-ece9c8904f4aa7fd016fade20ce593bc1c879abe.tar.gz
Add security patch from
http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2005q4/000312.html Noted by waldeck of hk2.uwaterloo.ca via pkgsrc-bugs. Bump PKGREVISION. Tested build on NetBSD and Linux. Tested dropbear server on NetBSD. (This is during a freeze. Other stuff to be done later: update to latest version. Install man pages. Mention "client" in COMMENT and DESCR. Use CONF_FILES and sysconfdir. And maybe install the "scp" tool also.)
Diffstat (limited to 'security')
-rw-r--r--security/dropbear/Makefile3
-rw-r--r--security/dropbear/distinfo3
-rw-r--r--security/dropbear/patches/patch-ad15
3 files changed, 19 insertions, 2 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index 0435f6a77c5..52993fd920a 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:55 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2005/12/14 18:00:12 reed Exp $
DISTNAME= dropbear-0.46
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/
EXTRACT_SUFX= .tar.bz2
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo
index 8edb6665956..d1c83e52539 100644
--- a/security/dropbear/distinfo
+++ b/security/dropbear/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2005/08/09 17:31:06 drochner Exp $
+$NetBSD: distinfo,v 1.10 2005/12/14 18:00:12 reed Exp $
SHA1 (dropbear-0.46.tar.bz2) = 2b6d2083ec0294fde55c75e4080c06637cbcf833
RMD160 (dropbear-0.46.tar.bz2) = f7c61b021705362f55209bc0f383d0bf3336841e
@@ -6,3 +6,4 @@ Size (dropbear-0.46.tar.bz2) = 1413918 bytes
SHA1 (patch-aa) = 3246fce39551e97f0b9ecd3397479ea2f3e22abd
SHA1 (patch-ab) = 7096feb1f8cc7372410f2e94d7961190a6974fad
SHA1 (patch-ac) = 5a8bc0ccaba26fcf497de554a5c3a9478203adb1
+SHA1 (patch-ad) = 4dd93da76596411dadb731e85208c07baf707d03
diff --git a/security/dropbear/patches/patch-ad b/security/dropbear/patches/patch-ad
new file mode 100644
index 00000000000..ea9360ec685
--- /dev/null
+++ b/security/dropbear/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2005/12/14 18:00:12 reed Exp $
+
+security patch from http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/2005q4/000312.html
+
+--- svr-chansession.c.orig 2005-12-14 09:32:29.056688256 -0800
++++ svr-chansession.c 2005-12-14 09:33:13.361952832 -0800
+@@ -810,7 +810,7 @@
+ /* need to increase size */
+ if (i == svr_ses.childpidsize) {
+ svr_ses.childpids = (struct ChildPid*)m_realloc(svr_ses.childpids,
+- sizeof(struct ChildPid) * svr_ses.childpidsize+1);
++ sizeof(struct ChildPid) * (svr_ses.childpidsize+1));
+ svr_ses.childpidsize++;
+ }
+