Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 7110B7A106 for ; Wed, 14 Sep 2016 12:57:57 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id DE1C485ECC; Wed, 14 Sep 2016 12:57:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6E6E785EC2 for ; Wed, 14 Sep 2016 12:57:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id LYJtcHsDXLD1 for ; Wed, 14 Sep 2016 12:57:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CFB9985E59 for ; Wed, 14 Sep 2016 12:57:55 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4D1EFFBD1; Wed, 14 Sep 2016 12:57:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1473857875288950" MIME-Version: 1.0 Date: Wed, 14 Sep 2016 12:57:55 +0000 From: "Greg Troxel" Subject: CVS commit: pkgsrc/archivers/libarchive To: pkgsrc-changes@NetBSD.org Reply-To: gdt@netbsd.org X-Mailer: log_accum Message-Id: <20160914125755.4D1EFFBD1@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1473857875288950 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gdt Date: Wed Sep 14 12:57:55 UTC 2016 Modified Files: pkgsrc/archivers/libarchive: Makefile Log Message: Make WRKSRC files copied from FILESDIR writable The contents of FILESDIR may or or may have the user write bit set. They contain generated files (list.h), and libarchive's build system recreates these files by opening them for writing without first removing them. Discussed on tech-pkg@; thanks to dholland@ for suggesting chmod -R as both the simplest change and the one least likely to need adjusting. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 pkgsrc/archivers/libarchive/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1473857875288950 Content-Disposition: inline Content-Length: 797 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/archivers/libarchive/Makefile diff -u pkgsrc/archivers/libarchive/Makefile:1.45 pkgsrc/archivers/libarchive/Makefile:1.46 --- pkgsrc/archivers/libarchive/Makefile:1.45 Fri Jul 1 17:55:22 2016 +++ pkgsrc/archivers/libarchive/Makefile Wed Sep 14 12:57:55 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2016/07/01 17:55:22 jperkin Exp $ +# $NetBSD: Makefile,v 1.46 2016/09/14 12:57:55 gdt Exp $ .include "Makefile.common" @@ -12,6 +12,9 @@ CONFIGURE_ARGS+= --disable-bsdtar do-extract: ${CP} -r ${FILESDIR} ${WRKSRC} + # Contents of ${FILESDIR} may not have the u=w bit set, and + # the build system assumes files in ${WRKSRC} are writable. + ${CHMOD} -R u+w ${WRKSRC} # workaround for pkg/45491 CONFIGURE_ENV.SunOS+= ac_cv_header_ext2fs_ext2_fs_h=no --_----------=_1473857875288950--