Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 03:40:03 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102164: [PATCH] devel/motor: installs files with wrong owner 1000:100
Message-ID:  <20060816234003.21BD042FE@hades.panopticon>
Resent-Message-ID: <200608162340.k7GNeSIh026932@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102164
>Category:       ports
>Synopsis:       [PATCH] devel/motor: installs files with wrong owner 1000:100
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 23:40:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Fri Aug 11 00:27:45 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
devel/motor installs files under ${DATADIR}/templates with wrong owner 1000:100 instead of root:wheel.

>How-To-Repeat:
cd /usr/ports/devel/motor
make isntall
find /usr/local/share/motor -print0 | xargs -0 ls -ld

>Fix:

--- motor.patch begins here ---
diff -ruN motor.orig/Makefile motor/Makefile
--- motor.orig/Makefile	Fri Apr 15 18:34:17 2005
+++ motor/Makefile	Thu Aug 17 03:38:12 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	motor
 PORTVERSION=	3.4.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://konst.org.ua/download/
 
@@ -33,6 +34,9 @@
 .if ${OSVERSION} < 400010
 LIB_DEPENDS+=	ncurses.5:${PORTSDIR}/devel/ncurses
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|zxvf|&o|' ${WRKSRC}/share/Makefile.in
 
 .if !defined(NOPORTDOCS)
 post-install:
--- motor.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060816234003.21BD042FE>