From owner-svn-ports-head@FreeBSD.ORG Sun Oct 12 17:05:12 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A29095C7; Sun, 12 Oct 2014 17:05:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E73BE1F; Sun, 12 Oct 2014 17:05:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9CH5C9c058213; Sun, 12 Oct 2014 17:05:12 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9CH5CjH058211; Sun, 12 Oct 2014 17:05:12 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201410121705.s9CH5CjH058211@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 12 Oct 2014 17:05:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370730 - in head/editors/2bsd-vi: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2014 17:05:12 -0000 Author: antoine Date: Sun Oct 12 17:05:11 2014 New Revision: 370730 URL: https://svnweb.freebsd.org/changeset/ports/370730 QAT: https://qat.redports.org/buildarchive/r370730/ Log: Allow staging as a regular user Modified: head/editors/2bsd-vi/files/patch-Makefile head/editors/2bsd-vi/pkg-plist Modified: head/editors/2bsd-vi/files/patch-Makefile ============================================================================== --- head/editors/2bsd-vi/files/patch-Makefile Sun Oct 12 16:46:23 2014 (r370729) +++ head/editors/2bsd-vi/files/patch-Makefile Sun Oct 12 17:05:11 2014 (r370730) @@ -1,5 +1,5 @@ ---- Makefile.old Wed Jan 19 09:43:24 2005 -+++ Makefile Wed Jan 19 09:43:41 2005 +--- Makefile.orig 2005-03-24 23:50:09 UTC ++++ Makefile @@ -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. -@@ -161,9 +161,7 @@ FEATURES = -DLISPCODE -DCHDIR -DFASTTAG +@@ -161,9 +160,7 @@ # (wchar.h, wctype.h, btowc() etc.) which is not provided by older # compilation environments. # @@ -32,7 +32,7 @@ # # VMUNIX should be correct for any modern Unix. -@@ -205,13 +204,13 @@ OSTYPE = -DVMUNIX +@@ -205,13 +202,13 @@ # # You may also get terminfo access by using the ncurses library. # @@ -48,7 +48,7 @@ # # Since ex uses sbrk() internally, a conflict with the libc's version of -@@ -240,7 +237,6 @@ RECOVER = -DEXRECOVER=\"$(LIBEXECDIR)/ex +@@ -240,7 +237,6 @@ -DEXPRESERVE=\"$(LIBEXECDIR)/expreserve\" CCFLAGS = $(CFLAGS) $(WARN) $(CPPFLAGS) $(FEATURES) $(CHARSET) $(OSTYPE) \ $(LARGEF) $(RECOVER) $(LANGMSG) $(REINC) $(RPMCFLAGS) @@ -56,7 +56,7 @@ INCLUDE = /usr/include OBJS = ex.o ex_addr.o ex_cmds.o ex_cmds2.o ex_cmdsub.o \ ex_data.o ex_extern.o ex_get.o ex_io.o ex_put.o ex_re.o \ -@@ -292,13 +291,6 @@ +@@ -296,13 +292,6 @@ # install in standard place install-man: @@ -70,7 +70,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 -@@ -306,10 +298,6 @@ +@@ -310,10 +299,6 @@ ln -s vi.1 $(DESTDIR)$(MANDIR)/man1/view.1 install: all install-man @@ -81,11 +81,13 @@ # special provisions for sticky install if test -f $(DESTDIR)$(BINDIR)/ex; \ then test -f $(DESTDIR)$(BINDIR)/ex.old.$$$$ && exit 1; \ -@@ -319,7 +307,6 @@ +@@ -322,8 +307,7 @@ + mv $(DESTDIR)$(BINDIR)/ex $(DESTDIR)$(BINDIR)/ex.old.$$$$; \ rm -f $(DESTDIR)$(BINDIR)/ex.old.$$$$; \ fi - $(INSTALL) -c $(STRIP) -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 $(STRIP) -m 755 ex $(DESTDIR)$(BINDIR)/ex $(INSTALL) -c $(STRIP) exrecover $(DESTDIR)$(LIBEXECDIR)/exrecover $(INSTALL) -c $(STRIP) expreserve $(DESTDIR)$(LIBEXECDIR)/expreserve ln -s ex $(DESTDIR)$(BINDIR)/edit Modified: head/editors/2bsd-vi/pkg-plist ============================================================================== --- head/editors/2bsd-vi/pkg-plist Sun Oct 12 16:46:23 2014 (r370729) +++ head/editors/2bsd-vi/pkg-plist Sun Oct 12 17:05:11 2014 (r370730) @@ -10,5 +10,4 @@ man/man1/ex.1.gz man/man1/vedit.1.gz man/man1/vi.1.gz man/man1/view.1.gz -@exec install -d -m 1777 %%PRESERVEDIR%% -@unexec rmdir %%PRESERVEDIR%% 2> /dev/null || true +@dir(,,1777) %%PRESERVEDIR%%