ports/102164: [PATCH] devel/motor: installs files with wrong owner 1000:100

Dmitry Marakasov amdmi3 at mail.ru
Wed Aug 16 23:40:30 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list