From owner-cvs-src@FreeBSD.ORG Thu Nov 3 09:58:58 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B21CA16A41F; Thu, 3 Nov 2005 09:58:58 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AA9D43D8A; Thu, 3 Nov 2005 09:58:39 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA39wbKB006450; Thu, 3 Nov 2005 11:58:37 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 20000-01; Thu, 3 Nov 2005 11:58:35 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id jA39qptE006261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Nov 2005 11:52:52 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id jA39qu7B078241; Thu, 3 Nov 2005 11:52:56 +0200 (EET) (envelope-from ru) Date: Thu, 3 Nov 2005 11:52:55 +0200 From: Ruslan Ermilov To: Ceri Davies , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20051103095255.GI63539@ip.net.ua> References: <200511030727.jA37Rogo055689@repoman.freebsd.org> <20051103093114.GY29387@submonkey.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mXDO3udm/xYWQeMQ" Content-Disposition: inline In-Reply-To: <20051103093114.GY29387@submonkey.net> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Subject: Re: cvs commit: src/release Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 09:58:58 -0000 --mXDO3udm/xYWQeMQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 03, 2005 at 09:31:15AM +0000, Ceri Davies wrote: > On Thu, Nov 03, 2005 at 07:27:50AM +0000, Ruslan Ermilov wrote: > > ru 2005-11-03 07:27:50 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > release Makefile=20 > > Log: > > Be cross-arch friendly. >=20 > > | @@ -714,7 +714,7 @@ release.8: > > | .endif > > | cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf > > | cp ${.CURDIR}/../etc/master.passwd ${RD}/mfsfd/etc/master.passwd > > | - pwd_mkdb -d ${RD}/mfsfd/etc -p ${RD}/mfsfd/etc/master.passwd > > | + cp ${RD}/trees/base/etc/*pwd.db ${RD}/mfsfd/etc/ > > | ( for F in defaults/rc.conf netconfig protocols ; do \ > > | sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \ > > | ${RD}/trees/base/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \ >=20 > I don't understand the logic. I thought that pwd_mkdb was supposed to > *be* cross-arch friendly these days, and aren't we now just copying in > password databases that were created with the same pwd_mkdb during "make > distribution", so where's the win? >=20 Target endianness can be different. PWD_MKDB_ENDIAN in src/etc/Makefile handles this, but not here. We could copy the same code here with some effort, there's just no sense in building the same files again. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --mXDO3udm/xYWQeMQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDad33qRfpzJluFF4RApb7AJ49cFlLAD2lieE8tBdPooKAxW8nwwCgmRwh srtUzuJi6S5IDQw2zgQqKRw= =89zb -----END PGP SIGNATURE----- --mXDO3udm/xYWQeMQ--