ports/76486: Update: editors/2bsd-vi 040605 -> 041202

David Thiel lx at redundancy.redundancy.org
Thu Jan 20 00:50:24 UTC 2005


>Number:         76486
>Category:       ports
>Synopsis:       Update: editors/2bsd-vi 040605 -> 041202
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 20 00:50:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 9 21:41:16 PST 2005 root at redundancy.redundancy.org:/usr/obj/usr/src/sys/REDUNDANCY i386


>Description:

Updating 2bsd-vi to the 2004-12-02 release. ChangeLog:

Release 12/2/04
* Support for multibyte character locales was added.
* The code has been converted to ANSI C, and support for pre-POSIX systems has
  been dropped.
* When the end of the current line consists of blank characters and the 'w'
  visual command is given at this point, vi now advances to the start of the
  next line instead of ringing the bell. This is compatible with SVR4 vi and
  seems to be what POSIX specifies.
* If the replacement part of a substitute command consists of a single '%',
  as in ':s/foo/%/', the replacement part of the previous substitution is
  used. This is compatible with SVR4 vi and is specified by POSIX.
* Fixed a number of possible heap overflows, e.g. because of too long tag
  strings.

>How-To-Repeat:
>Fix:

diff -ruN 2bsd-vi/Makefile 2bsd-vi.new/Makefile
--- 2bsd-vi/Makefile	Mon Jul 12 23:28:27 2004
+++ 2bsd-vi.new/Makefile	Wed Jan 19 09:40:57 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	vi
-PORTVERSION=	040605
+PORTVERSION=	041202
 PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -16,6 +16,8 @@
 
 MAINTAINER=	lx at redundancy.redundancy.org
 COMMENT=	The original vi editor, updated to run on modern OSes
+
+USE_BZIP2=	yes
 
 MAN1=	ex.1 vi.1
 MLINKS=	ex.1 edit.1  vi.1 vedit.1  vi.1 view.1
diff -ruN 2bsd-vi/distinfo 2bsd-vi.new/distinfo
--- 2bsd-vi/distinfo	Mon Jul 12 14:07:29 2004
+++ 2bsd-vi.new/distinfo	Wed Jan 19 09:34:43 2005
@@ -1,2 +1,2 @@
-MD5 (ex-040605.tar.gz) = f4b9473c6a771b94ff2e605c53310908
-SIZE (ex-040605.tar.gz) = 265672
+MD5 (ex-041202.tar.bz2) = a3575c35064fec507348d6a1ed10eff5
+SIZE (ex-041202.tar.bz2) = 210929
diff -ruN 2bsd-vi/files/patch-Makefile 2bsd-vi.new/files/patch-Makefile
--- 2bsd-vi/files/patch-Makefile	Mon Jul 12 14:07:29 2004
+++ 2bsd-vi.new/files/patch-Makefile	Wed Jan 19 09:43:53 2005
@@ -1,5 +1,5 @@
---- /var/tmp/Makefile.orig	Mon Jul 12 11:06:48 2004
-+++ Makefile	Mon Jul 12 11:29:22 2004
+--- Makefile.old	Wed Jan 19 09:43:24 2005
++++ Makefile	Wed Jan 19 09:43:41 2005
 @@ -79,10 +79,9 @@
  # Destinations for installation. $(PRESERVEDIR) is used for recovery files.
  # It will get mode 1777.
@@ -21,7 +21,7 @@
  
  #
  # Compiler and linker flags.
-@@ -276,13 +275,6 @@
+@@ -292,13 +291,6 @@
  # install in standard place
  
  install-man:
@@ -35,7 +35,7 @@
  	$(INSTALL) -c -m 644 ex.1 $(DESTDIR)$(MANDIR)/man1/ex.1
  	$(INSTALL) -c -m 644 vi.1 $(DESTDIR)$(MANDIR)/man1/vi.1
  	ln -s ex.1 $(DESTDIR)$(MANDIR)/man1/edit.1
-@@ -290,10 +282,6 @@
+@@ -306,10 +298,6 @@
  	ln -s vi.1 $(DESTDIR)$(MANDIR)/man1/view.1
  
  install: all install-man
@@ -46,19 +46,11 @@
  # special provisions for sticky install
  	if test -f $(DESTDIR)$(BINDIR)/ex; \
  	then	test -f $(DESTDIR)$(BINDIR)/ex.old.$$$$ && exit 1; \
-@@ -303,15 +291,12 @@
+@@ -319,7 +307,6 @@
  		rm -f $(DESTDIR)$(BINDIR)/ex.old.$$$$; \
  	fi
- 	$(INSTALL) -c -s -m 1755 ex $(DESTDIR)$(BINDIR)/ex
+ 	$(INSTALL) -c $(STRIP) -m 1755 ex $(DESTDIR)$(BINDIR)/ex
 -	test -d $(DESTDIR)$(LIBEXECDIR) || mkdir -p $(DESTDIR)$(LIBEXECDIR)
- 	$(INSTALL) -c -s exrecover $(DESTDIR)$(LIBEXECDIR)/exrecover
- 	$(INSTALL) -c -s expreserve $(DESTDIR)$(LIBEXECDIR)/expreserve
+ 	$(INSTALL) -c $(STRIP) exrecover $(DESTDIR)$(LIBEXECDIR)/exrecover
+ 	$(INSTALL) -c $(STRIP) expreserve $(DESTDIR)$(LIBEXECDIR)/expreserve
  	ln -s ex $(DESTDIR)$(BINDIR)/edit
- 	ln -s ex $(DESTDIR)$(BINDIR)/vedit
- 	ln -s ex $(DESTDIR)$(BINDIR)/vi
- 	ln -s ex $(DESTDIR)$(BINDIR)/view
--	test -d $(DESTDIR)$(PRESERVEDIR) || mkdir -p $(DESTDIR)$(PRESERVEDIR)
--	chmod 1777 $(DESTDIR)$(PRESERVEDIR)
- 
- ex.o: config.h ex_argv.h ex.h ex_proto.h ex_temp.h ex_tty.h ex_tune.h
- ex.o: ex_vars.h libterm/libterm.h
diff -ruN 2bsd-vi/files/patch-mapalloc.c 2bsd-vi.new/files/patch-mapalloc.c
--- 2bsd-vi/files/patch-mapalloc.c	Mon Jul 12 23:28:28 2004
+++ 2bsd-vi.new/files/patch-mapalloc.c	Wed Dec 31 16:00:00 1969
@@ -1,17 +0,0 @@
---- /tmp/mapmalloc.c	Mon Jul 12 16:28:16 2004
-+++ mapmalloc.c	Mon Jul 12 16:28:37 2004
-@@ -550,14 +550,6 @@
- 	return NULL;
- }
- 
--/*ARGSUSED*/
--char *
--valloc(size)
--size_t size;
--{
--	return NULL;
--}
--
- char *
- mallinfo()
- {
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list