summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2005-08-08 14:44:07 +0000
committertaca <taca>2005-08-08 14:44:07 +0000
commita2f53b72541b490a02d0ba635fa3e8ad68ed57d5 (patch)
tree340965cd08059cdbe5dcb8dd1ada3cd4a3c97c62
parenteddc01f266a009ec1dbbcb85398acb0fea1fbcd7 (diff)
downloadpkgsrc-a2f53b72541b490a02d0ba635fa3e8ad68ed57d5.tar.gz
Update nvi-m17n to 1.79.20040401 applying patch from PR pkg/30216
by ISIHARA Takanori. Brief changes: 2004/4/1 publish a new diff as "cvs diff" (with old cvs) generated malformed diff. 2002/5/22 support iso-2022-15 character encoding. 2001/10/24 plug a printf string vulnerability. 2000/4/7 support automatically recognize iso-2022-jp-3 character encoding. common/multibyte.c
-rw-r--r--editors/nvi-m17n/Makefile16
-rw-r--r--editors/nvi-m17n/distinfo9
-rw-r--r--editors/nvi-m17n/patches/patch-ac30
-rw-r--r--editors/nvi-m17n/patches/patch-ad22
-rw-r--r--editors/nvi-m17n/patches/patch-ae22
5 files changed, 11 insertions, 88 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index fe5ca0cc3ea..37d1f617b07 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.31 2005/08/04 01:39:08 taca Exp $
+# $NetBSD: Makefile,v 1.32 2005/08/08 14:44:07 taca Exp $
DISTNAME= nvi-1.79
-PKGNAME= nvi-m17n-1.79.19991117
-PKGREVISION= 3
+PKGNAME= nvi-m17n-1.79.20040401
+#PKGREVISION=
CATEGORIES= editors
MASTER_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
-PATCH_SITES= ftp://lkbreth.foretune.co.jp/pub/tools/nvi-m17n/
-PATCHFILES= nvi-1.79.m17n-19991117.diff.gz
+PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
+PATCHFILES= nvi-1.79.m17n-20040401.diff.gz
MAINTAINER= itojun@itojun.org
COMMENT= Clone of vi/ex, with multilingual patch
@@ -16,7 +16,7 @@ CONFLICTS= vigor-[0-9]* nvi-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE= YES
-PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
+PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -f
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS+=--enable-multibyte --program-prefix=n
@@ -79,9 +79,9 @@ post-install:
.for encoding in ${ENCODING}
@${INSTALL_SCRIPT} ${WRKDIR}/nvi-${encoding} ${PREFIX}/bin
.endfor
- @${CP} ${WRKSRC}/../docs.m17n/README.english \
+ @${CP} ${WRKSRC}/../README.english \
${PREFIX}/share/vi/
- @${CP} ${WRKSRC}/../docs.m17n/README.japanese \
+ @${CP} ${WRKSRC}/../README.japanese \
${PREFIX}/share/vi/
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/nvi-m17n/distinfo b/editors/nvi-m17n/distinfo
index 7f2e140f5dd..bbe6f76743b 100644
--- a/editors/nvi-m17n/distinfo
+++ b/editors/nvi-m17n/distinfo
@@ -1,14 +1,11 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 17:15:12 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/08/08 14:44:07 taca Exp $
SHA1 (nvi-1.79.tar.gz) = 65b49768783372609278ecedd63caa8c1547aa2a
RMD160 (nvi-1.79.tar.gz) = 1c39d480e0d30a87fc061c3219354b50011a8621
Size (nvi-1.79.tar.gz) = 1295401 bytes
-SHA1 (nvi-1.79.m17n-19991117.diff.gz) = b242733c5da3c3797be0bd0c1829f7d0cebe451a
-RMD160 (nvi-1.79.m17n-19991117.diff.gz) = 0cdaf4e2a4bd3585d2751037ec377ab0d694e87e
+SHA1 (nvi-1.79.m17n-20040401.diff.gz) = 10fa772dad4368727a7ddc740d85cdfda3062414
+RMD160 (nvi-1.79.m17n-20040401.diff.gz) = 1b1790448d38a4f92f3b2df5f6aa566f1d8efff0
Size (nvi-1.79.m17n-19991117.diff.gz) = 166609 bytes
SHA1 (patch-aa) = c246b1533dfbfc93ad9c0a8ea8cff5db157c9ee8
SHA1 (patch-ab) = f7a382af11f200467ac994d90e108e97c7602b13
-SHA1 (patch-ac) = 738f4b3d51b6b39f2cc4b2cffeb1a1ea412aed89
-SHA1 (patch-ad) = 21b5df4bb13b248f6f1ffe7ca69d91a4eae83561
-SHA1 (patch-ae) = 9e84570d8afdc7c03f71712b9317fcbcc2fa7006
SHA1 (patch-global) = 118bfdcefba77c37c07b29d0c68fb8bbf02cb10e
diff --git a/editors/nvi-m17n/patches/patch-ac b/editors/nvi-m17n/patches/patch-ac
deleted file mode 100644
index 545ade50c01..00000000000
--- a/editors/nvi-m17n/patches/patch-ac
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/10/25 07:46:29 itojun Exp $
-
---- ../ex/ex_cscope.c.orig Mon Sep 16 04:59:30 1996
-+++ ../ex/ex_cscope.c Thu Oct 25 16:43:51 2001
-@@ -232,14 +232,14 @@
- * name regardless so that we can use it as a base for searches.
- */
- if (stat(dname, &sb)) {
-- msgq(sp, M_SYSERR, dname);
-+ msgq(sp, M_SYSERR, "%s", dname);
- return (1);
- }
- if (S_ISDIR(sb.st_mode)) {
- (void)snprintf(path, sizeof(path),
- "%s/%s", dname, CSCOPE_DBFILE);
- if (stat(path, &sb)) {
-- msgq(sp, M_SYSERR, path);
-+ msgq(sp, M_SYSERR, "%s", path);
- return (1);
- }
- dbname = CSCOPE_DBFILE;
-@@ -762,7 +762,7 @@
-
- io_err: if (feof(csc->from_fp))
- errno = EIO;
-- msgq_str(sp, M_SYSERR, "%s", csc->dname);
-+ msgq_str(sp, M_SYSERR, csc->dname, "%s");
- terminate(sp, csc, 0);
- return (1);
- }
diff --git a/editors/nvi-m17n/patches/patch-ad b/editors/nvi-m17n/patches/patch-ad
deleted file mode 100644
index 8eae1670618..00000000000
--- a/editors/nvi-m17n/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2001/10/25 07:46:29 itojun Exp $
-
---- ../common/exf.c.orig Thu Oct 25 16:43:16 2001
-+++ ../common/exf.c Thu Oct 25 16:43:52 2001
-@@ -887,7 +887,7 @@
- * Note that this code is harmless if you're using libc 4.6.x.
- */
- if (LF_ISSET(FS_APPEND) && lseek(fd, (off_t)0, SEEK_END) < 0) {
-- msgq(sp, M_SYSERR, name);
-+ msgq(sp, M_SYSERR, "%s", name);
- return (1);
- }
- #endif
-@@ -1004,7 +1004,7 @@
- *--s = '.';
- }
- }
-- msgq(sp, M_INFO, s);
-+ msgq(sp, M_INFO, "%s", s);
- if (nf)
- FREE_SPACE(sp, p, 0);
- return (0);
diff --git a/editors/nvi-m17n/patches/patch-ae b/editors/nvi-m17n/patches/patch-ae
deleted file mode 100644
index f55d6789ca9..00000000000
--- a/editors/nvi-m17n/patches/patch-ae
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/04/03 17:30:56 yamt Exp $
-
---- ../common/options.c.orig Tue Jul 3 22:53:06 2001
-+++ ../common/options.c Tue Jul 3 22:48:27 2001
-@@ -1088,7 +1088,7 @@
- /* Copy the string edit options. */
- for (cnt = rval = 0; cnt < O_OPTIONCOUNT; ++cnt) {
- if (optlist[cnt].type != OPT_STR ||
-- F_ISSET(&optlist[cnt], OPT_GLOBAL))
-+ F_ISSET(&sp->opts[cnt], OPT_GLOBAL))
- continue;
- /*
- * If never set, or already failed, NULL out the entries --
-@@ -1131,7 +1131,7 @@
-
- for (cnt = 0; cnt < O_OPTIONCOUNT; ++cnt) {
- if (optlist[cnt].type != OPT_STR ||
-- F_ISSET(&optlist[cnt], OPT_GLOBAL))
-+ F_ISSET(&sp->opts[cnt], OPT_GLOBAL))
- continue;
- if (O_STR(sp, cnt) != NULL)
- free(O_STR(sp, cnt));