summaryrefslogtreecommitdiff
path: root/editors/tweak
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2020-01-28 13:23:32 +0000
committerfcambus <fcambus@pkgsrc.org>2020-01-28 13:23:32 +0000
commitfe1ec4c47038a4a7f11624d73b45ca44d666a432 (patch)
treec1adfffe0158fcffae7783fa6be25534caec6e17 /editors/tweak
parent27da5f46d8fe35c0989cdfc0d13a1a7e4f794c61 (diff)
downloadpkgsrc-fe1ec4c47038a4a7f11624d73b45ca44d666a432.tar.gz
tweak: update to 3.02.
ChangeLog: - Build the HTML man page in the build script. - Avoid buffer overflow with really long filenames. - Fix missing argument to 'bad option' message. - Remove the version number from the Tweak status bar. - Increase the size of the 'message' buffer, which is currently overflowing on really big files. - Prevent obvious NULL dereference if you paste before cutting or copying. - Fix memory overwrite when increasing display width in mid-editing.
Diffstat (limited to 'editors/tweak')
-rw-r--r--editors/tweak/Makefile5
-rw-r--r--editors/tweak/distinfo12
-rw-r--r--editors/tweak/patches/patch-Makefile6
3 files changed, 11 insertions, 12 deletions
diff --git a/editors/tweak/Makefile b/editors/tweak/Makefile
index 5ab4ebe39f3..be4814a8b1f 100644
--- a/editors/tweak/Makefile
+++ b/editors/tweak/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2017/09/06 09:03:01 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2020/01/28 13:23:32 fcambus Exp $
#
-DISTNAME= tweak-3.01
-PKGREVISION= 2
+DISTNAME= tweak-3.02
CATEGORIES= editors
MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/tweak/
diff --git a/editors/tweak/distinfo b/editors/tweak/distinfo
index a095b3eecc4..eb0f4c631b7 100644
--- a/editors/tweak/distinfo
+++ b/editors/tweak/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2016/04/01 11:38:57 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2020/01/28 13:23:32 fcambus Exp $
-SHA1 (tweak-3.01.tar.gz) = 23e731d14837f9bd7c80c3a03c1c82a39928f0fc
-RMD160 (tweak-3.01.tar.gz) = 09e904523f6d38b46609e64df5d9ae7276691d23
-SHA512 (tweak-3.01.tar.gz) = e126d1df437b2eccb6baa647b4c2b36e9ad8f528de9028e7d215891f0b55110f8a8ed80119f4f2ce73225c42fd1f02f98800c3bc70f4b79c592c909714379699
-Size (tweak-3.01.tar.gz) = 71681 bytes
-SHA1 (patch-Makefile) = 69dc5059a34202b6d6606e04260712b3ce37c8ce
+SHA1 (tweak-3.02.tar.gz) = 619c2dcb54dfbbff89576d6b34d5483a8642e635
+RMD160 (tweak-3.02.tar.gz) = b1479bae6b416f95d1f89a7498144bd0f8fea5ab
+SHA512 (tweak-3.02.tar.gz) = 4cf16eae1c48073ca77b0577585473288d7ecbc2d261a359db2cff372c1850cd809becb46bc745ac7d07e982d5eae9a0e0332402267ebab6b12cc952a02cff4e
+Size (tweak-3.02.tar.gz) = 71939 bytes
+SHA1 (patch-Makefile) = 21346275e0915e47a602e4e79a078310ec4bf27a
SHA1 (patch-rcfile.c) = 82bf8d167537de068650d3feaf5552ff7bb2be1b
diff --git a/editors/tweak/patches/patch-Makefile b/editors/tweak/patches/patch-Makefile
index 43b7af2422c..c533fdf8066 100644
--- a/editors/tweak/patches/patch-Makefile
+++ b/editors/tweak/patches/patch-Makefile
@@ -1,15 +1,15 @@
-$NetBSD: patch-Makefile,v 1.3 2016/04/01 11:38:57 jperkin Exp $
+$NetBSD: patch-Makefile,v 1.4 2020/01/28 13:23:32 fcambus Exp $
DESTDIR and curses support.
---- Makefile.orig 2006-05-18 08:27:43.000000000 +0000
+--- Makefile.orig 2016-03-22 21:12:51.000000000 +0000
+++ Makefile
@@ -22,9 +22,10 @@ LINK := gcc
LFLAGS :=
LIBS :=
+DESTDIR=
- PREFIX=/usr/local
+ PREFIX=$(DESTDIR)/usr/local
-BINDIR=$(PREFIX)/bin
-MANDIR=$(PREFIX)/man/man1
+BINDIR=$(DESTDIR)$(PREFIX)/bin