summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authordrochner <drochner>2005-02-09 16:09:43 +0000
committerdrochner <drochner>2005-02-09 16:09:43 +0000
commita3f24b260071b383fb5de3fa2d69764ce3cb4f08 (patch)
tree7243b02d542f9a363a2c2fc7e7114ed5c7e36cfd /editors/emacs
parentc71e9bec5fc0b6e88ef28b15ccf186b19d135cbe (diff)
downloadpkgsrc-a3f24b260071b383fb5de3fa2d69764ce3cb4f08.tar.gz
fix format string vulnerability (CAN-2005-0100), bump PKGREVISION
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/Makefile4
-rw-r--r--editors/emacs/distinfo3
-rw-r--r--editors/emacs/patches/patch-al13
3 files changed, 17 insertions, 3 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 875f81e8293..7828d836e02 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.75 2004/12/28 23:18:16 reed Exp $
+# $NetBSD: Makefile,v 1.76 2005/02/09 16:09:43 drochner Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
diff --git a/editors/emacs/distinfo b/editors/emacs/distinfo
index 678207c8016..e8f1e87104f 100644
--- a/editors/emacs/distinfo
+++ b/editors/emacs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2004/07/31 21:01:54 kristerw Exp $
+$NetBSD: distinfo,v 1.17 2005/02/09 16:09:43 drochner Exp $
SHA1 (emacs-21.3.tar.gz) = a8aae1b619e50ed6fed5b1351b54b38ed98c61b8
Size (emacs-21.3.tar.gz) = 20399831 bytes
@@ -8,5 +8,6 @@ SHA1 (patch-ad) = 39a11bc214ae3d2f9d634c30b196a46d473ab92f
SHA1 (patch-ae) = e2b66b23efb90608470aef5ebd0c75e27bcd6b55
SHA1 (patch-ag) = 3d64c0d53e3a8a737eeb04a6080a92a826b73620
SHA1 (patch-ak) = c37ecdcb1e0b0211b15baa7100dd43eab3f0830b
+SHA1 (patch-al) = 38cdc0b2611ea6f437d76abbc213139ade8c88f8
SHA1 (patch-bg) = 567ccce83e2b6d898a87f20763d5ff4b19c30deb
SHA1 (patch-xx) = a818041b6c851f8a675b17d4c7372ddb5f468c53
diff --git a/editors/emacs/patches/patch-al b/editors/emacs/patches/patch-al
new file mode 100644
index 00000000000..5269ca7d484
--- /dev/null
+++ b/editors/emacs/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.5 2005/02/09 16:09:43 drochner Exp $
+
+--- lib-src/movemail.c.orig 2005-02-09 16:31:55.000000000 +0100
++++ lib-src/movemail.c
+@@ -787,7 +787,7 @@ popmail (mailbox, outfile, preserve, pas
+ mbx_delimit_begin (mbf);
+ if (pop_retr (server, i, mbf) != OK)
+ {
+- error (Errmsg, 0, 0);
++ error ("%s", Errmsg, 0);
+ close (mbfi);
+ return (1);
+ }