From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 4 15:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F2135F8 for ; Fri, 4 Oct 2013 15:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D05E82549 for ; Fri, 4 Oct 2013 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r94Fo0WR098084 for ; Fri, 4 Oct 2013 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r94Fo0i2098083; Fri, 4 Oct 2013 15:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 4 Oct 2013 15:50:00 GMT Resent-Message-Id: <201310041550.r94Fo0i2098083@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Denis Generalov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D793FD36 for ; Fri, 4 Oct 2013 15:43:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5E0C2501 for ; Fri, 4 Oct 2013 15:43:23 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r94FhN7j076980 for ; Fri, 4 Oct 2013 15:43:23 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r94FhN8Q076977; Fri, 4 Oct 2013 15:43:23 GMT (envelope-from nobody) Message-Id: <201310041543.r94FhN8Q076977@oldred.freebsd.org> Date: Fri, 4 Oct 2013 15:43:23 GMT From: Denis Generalov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182644: sysutils/su2: stage support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 15:50:01 -0000 >Number: 182644 >Category: ports >Synopsis: sysutils/su2: stage support >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: Fri Oct 04 15:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Denis Generalov >Release: FreeBSD 9.0-STABLE amd64 >Organization: Rambler >Environment: FreeBSD tyl.rambler.ramblermedia.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r244924: Tue Jan 1 21:05:19 MSK 2013 gd@tyl.rambler.ramblermedia.com:/tmp/gd/usr/src/sys/GENERIC amd64 >Description: add stage support >How-To-Repeat: >Fix: Patch attached with submission follows: ===> Generating patch ===> Viewing diff with more diff -ruN /usr/ports/sysutils/su2/Makefile ./Makefile --- /usr/ports/sysutils/su2/Makefile 2013-09-24 14:11:30.000000000 +0400 +++ ./Makefile 2013-10-04 17:19:41.000000000 +0400 @@ -12,10 +12,9 @@ NO_CDROM= Don't sell for profit -MAN1= su2.1 -PLIST_FILES= bin/su2 +PLIST_FILES= bin/su2 \ + man/man1/su2.1.gz -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \ diff -ruN /usr/ports/sysutils/su2/files/patch-aa ./files/patch-aa --- /usr/ports/sysutils/su2/files/patch-aa 2013-06-20 17:26:26.000000000 +0400 +++ ./files/patch-aa 2013-10-04 17:31:09.000000000 +0400 @@ -6,7 +6,7 @@ # -DEST=/usr/local +PREFIX?=/usr/local -+DEST=${PREFIX} ++DEST=${DESTDIR}${PREFIX} BINDIR=$(DEST)/bin -MANDIR=$(DEST)/man +MANDIR=$(DEST)/man/man1 @@ -35,7 +35,7 @@ + install: su2 - install -c -m 4711 -o root su2 $(BINDIR)/su2 -+ install -c -s -m 4711 -o root su2 $(BINDIR)/su2 ++ install -c -s -m 4711 su2 $(BINDIR)/su2 install -c su2.man $(MANDIR)/su2.1 clean: ===> Done >Release-Note: >Audit-Trail: >Unformatted: