Date: Tue, 6 Mar 2007 20:10:51 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/109765: [maintainer] databases/phpmyadmin security update to 2.10.0.2 Message-ID: <200703062010.l26KAptO095321@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/109765; it has been noted by GNATS. From: Thierry Thomas <thierry@FreeBSD.org> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/109765: [maintainer] databases/phpmyadmin security update to 2.10.0.2 Date: Tue, 6 Mar 2007 21:08:49 +0100 --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 6 mar 07 at 11:47:03 +0100, Matthew Seaman <m.seaman@infracaninophi= le.co.uk> wrote: > > it installs an empty directory ${PREFIX}/www/phpMyAdmin/libraries/compat > > which is ignored when packaging. > >=20 > > Then, pkg_delete causes the following error: > >=20 > > pkg_delete: file '/usr/local/www/phpMyAdmin/libraries/compat' doesn't e= xist > > pkg_delete: unable to completely remove directory '/usr/local/www/phpMy= Admin/libraries/compat' > > pkg_delete: couldn't entirely delete package (perhaps the packing list = is > > incorrectly specified?) > >=20 > > Regards, >=20 > I'm sorry, but I cannot reproduce this in my testing. There is certainly > an entry for that directory in the +CONTENTS file for the port. When I > remove the port it deinstalls cleanly. Yes, it only installs libraries/compat as an empty directory: cd /usr/ports/databases/phpmyadmin make grep compat work/plist @dirrm %%MYADMDIR%%/libraries/compat To reproduce the problem: make package sudo pkg_add /usr/ports/packages/All/phpMyAdmin-2.10.0.2.tbz sudo pkg_delete phpMyAdmin-2.10.0.2 When installed as a port, this empty directory is created, but if installed as a package it is skipped. To fix the problem: if you think that this directory is needed, then touch ${PREFIX}/www/phpMyAdmin/libraries/compat/.keepme during post-install, else just rmdir it, and adapt the plist accordingly. Regards, --=20 Th. Thomas. --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF7cpRc95pjMcUBaIRAq3zAKDVG6dz2zP9hDyZQoynLC9Enp8a5QCeIUOw wan5fIPY74lbppmXkYpjyxw= =vpOm -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703062010.l26KAptO095321>