From owner-freebsd-ports@FreeBSD.ORG Sat May 21 13:21:42 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC06D16A4CE for ; Sat, 21 May 2005 13:21:42 +0000 (GMT) Received: from zaphod.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F5A43D70 for ; Sat, 21 May 2005 13:21:42 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 9647111A79; Sat, 21 May 2005 15:21:40 +0200 (CEST) Date: Sat, 21 May 2005 15:21:40 +0200 From: "Simon L. Nielsen" To: freebsd-ports@FreeBSD.org Message-ID: <20050521132139.GD803@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: portupgrade: Good location for flag file? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 13:21:43 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello To really get portupgrade to work properly again after my patch for CAN-2005-0610 (portupgrade 20041226_2) I need to find a good location for the pkgdb.fixme flagfile. Before 20041226_2 it was in /tmp or /var/tmp but for 20041226_2 it was moved to /var/db/pkg, which turned out to be a bad idea (see ports/81088 and mails on this list). So, I need to have a known static location for pkgdb.fixme which is in a directory only writeable by root. So does anyone suggestions on a good location? The only ones I can come up with, which are not really good, are /var/run or /var/db/portupgrade... Note, the patches I posted before (port-portupgrade-CAN-2005-0610_2.patch and port-portupgrade-CAN-2005-0610_3.patch) unfortunatly does not work properly in all cases :-/. --=20 Simon L. Nielsen --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCjzXjh9pcDSc1mlERArP1AKCVr/y+vb7r6ds3RnDmzK+aufk8ugCfTM63 gqP32gEFw6MxGDNqb05BSIA= =6KqC -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--