From owner-svn-ports-head@freebsd.org Sun Feb 19 22:02:49 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C64FCE6D10; Sun, 19 Feb 2017 22:02:49 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 02BED6C; Sun, 19 Feb 2017 22:02:48 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1JM2mnq017335; Sun, 19 Feb 2017 22:02:48 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1JM2lRu017333; Sun, 19 Feb 2017 22:02:47 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201702192202.v1JM2lRu017333@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 19 Feb 2017 22:02:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434419 - head/devel/lnphost/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.23 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, 19 Feb 2017 22:02:49 -0000 Author: antoine Date: Sun Feb 19 22:02:47 2017 New Revision: 434419 URL: https://svnweb.freebsd.org/changeset/ports/434419 Log: Allow staging as a regular user Modified: head/devel/lnphost/files/patch-Include-lnphost.h head/devel/lnphost/files/patch-Makefile Modified: head/devel/lnphost/files/patch-Include-lnphost.h ============================================================================== --- head/devel/lnphost/files/patch-Include-lnphost.h Sun Feb 19 22:01:41 2017 (r434418) +++ head/devel/lnphost/files/patch-Include-lnphost.h Sun Feb 19 22:02:47 2017 (r434419) @@ -1,5 +1,5 @@ ---- Include/lnphost.h.orig Sat Nov 20 14:22:00 2004 -+++ Include/lnphost.h Thu Sep 13 22:22:20 2007 +--- Include/lnphost.h.orig 2004-11-20 20:22:00 UTC ++++ Include/lnphost.h @@ -21,6 +21,8 @@ #if defined(LINUX) || defined(linux) Modified: head/devel/lnphost/files/patch-Makefile ============================================================================== --- head/devel/lnphost/files/patch-Makefile Sun Feb 19 22:01:41 2017 (r434418) +++ head/devel/lnphost/files/patch-Makefile Sun Feb 19 22:02:47 2017 (r434419) @@ -1,6 +1,6 @@ ---- Makefile.orig Fri Mar 18 10:20:31 2005 -+++ Makefile Thu Sep 13 21:14:41 2007 -@@ -8,16 +8,20 @@ +--- Makefile.orig 2005-03-18 16:20:31 UTC ++++ Makefile +@@ -8,16 +8,20 @@ else endif PROGRAMS=$(patsubst %.c,%$(EXT),$(wildcard *.c)) @@ -28,22 +28,25 @@ needroot: @if [ ! $$UID -eq 0 ]; then \ -@@ -26,21 +30,27 @@ +@@ -25,22 +29,28 @@ needroot: + exit 1; \ fi - install: all needroot +-install: all needroot - make -C Docs all - install -g root -o root -m 644 Docs/lnpdump.1.gz $(MANDIR) - install -g root -o root -m 755 lnpdump$(EXT) $(BINDIR) ++install: all + ${MAKE} -C Docs all + $(BSD_INSTALL_MAN) Docs/lnpdump.1 $(MANDIR) + $(BSD_INSTALL_PROGRAM) lnpdump$(EXT) $(BINDIR) + $(BSD_INSTALL_DATA) lnphost.a $(LIBDIR) + $(BSD_INSTALL_DATA) Include/lnphost.h $(INCDIR) - remove: needroot +-remove: needroot - rm -f $(MANDIR)/lnpdump.1.gz - rm -f $(BINDIR)/lnpdump$(EXT) ++remove: + ${RM} -f $(MANDIR)/lnpdump.1.gz + ${RM} -f $(BINDIR)/lnpdump$(EXT) + ${RM} -f $(LIBDIR)/lnphost.a