From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 17 19:22:29 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A096416A4CE for ; Thu, 17 Jun 2004 19:22:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A9AE43D39 for ; Thu, 17 Jun 2004 19:22:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5HJKJ9J049165 for ; Thu, 17 Jun 2004 19:20:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5HJKJhY049164; Thu, 17 Jun 2004 19:20:19 GMT (envelope-from gnats) Resent-Date: Thu, 17 Jun 2004 19:20:19 GMT Resent-Message-Id: <200406171920.i5HJKJhY049164@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, TAOKA Fumiyoshi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08FD716A4CE for ; Thu, 17 Jun 2004 19:15:43 +0000 (GMT) Received: from prime.quad.dyndns.org (12.57.138.210.xn.2iij.net [210.138.57.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58ADD43D60 for ; Thu, 17 Jun 2004 19:15:42 +0000 (GMT) (envelope-from fmysh@quad.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by prime.quad.dyndns.org (Postfix) with ESMTP id 8FFF6F1980 for ; Fri, 18 Jun 2004 04:14:47 +0900 (JST) Received: from prime.quad.dyndns.org ([127.0.0.1]) by localhost (prime.quad.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00636-03 for ; Fri, 18 Jun 2004 04:14:47 +0900 (JST) Received: by prime.quad.dyndns.org (Postfix, from userid 1001) id 0FA84F197F; Fri, 18 Jun 2004 04:14:46 +0900 (JST) Message-Id: <20040617191446.0FA84F197F@prime.quad.dyndns.org> Date: Fri, 18 Jun 2004 04:14:46 +0900 (JST) From: TAOKA Fumiyoshi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68057: japanese/zangband installs files with invalid owners X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: TAOKA Fumiyoshi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 19:22:29 -0000 >Number: 68057 >Category: ports >Synopsis: japanese/zangband installs files with invalid owners >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 17 19:20:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: >Description: To untar an archive with root priviledge results to preserve file owners in the archive. Japanese/zangband untars a supplemental distfiles by itself and installs files with invalid owners on the host. >How-To-Repeat: ls -lR /usr/local/lib/jzangband and you will see the files which owners are 500:500. >Fix: --- Makefile.orig Fri Jun 18 03:55:06 2004 +++ Makefile Fri Jun 18 03:55:18 2004 @@ -46,7 +46,7 @@ JA_DISTFILE= z${E_VERSION:S/.//g}j104src.tgz pre-patch: - (cd ${WRKSRC} ; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${JA_DISTFILE}) + (cd ${WRKSRC} ; ${TAR} zxf ${DISTDIR}/${DIST_SUBDIR}/${JA_DISTFILE} --no-same-owner) (cd ${WRKSRC}/src ; ${PATCH} -p1 -l -s < ../zj${E_VERSION:S/.//g}.patch ; ${PATCH} -p1 -l -s < ${FILESDIR}/makefile-adjust.patch) pre-build: >Release-Note: >Audit-Trail: >Unformatted: