From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 26 11:31:50 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A15716A401; Wed, 26 Apr 2006 11:31:50 +0000 (UTC) (envelope-from arsptr@optusnet.com.au) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEDAA43D46; Wed, 26 Apr 2006 11:31:49 +0000 (GMT) (envelope-from arsptr@optusnet.com.au) Received: from [192.168.1.3] (c211-30-182-34.rivrw1.nsw.optusnet.com.au [211.30.182.34]) by mail12.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k3QBVmUL019514 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 26 Apr 2006 21:31:48 +1000 In-Reply-To: <1146050157.41935.37.camel@pav.hide.vol.cz> References: <200604260830.k3Q8Un8s031542@freefall.freebsd.org> <1146050157.41935.37.camel@pav.hide.vol.cz> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-240178843" Message-Id: Content-Transfer-Encoding: 7bit From: Alastair Rankine Date: Wed, 26 Apr 2006 21:31:43 +1000 To: pav@FreeBSD.org X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Gpgmail-State: signed X-Mailer: Apple Mail (2.749.3) Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/96301: [patch] Upgrade instiki to 0.11.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 11:31:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-240178843 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed >>> This port leaves one file behind when uninstalled: >>> >>> /usr/local/instiki/db/production.db.sqlite3 >>> >>> should I add it to the pkg-plist? >> >> That is the database file for your wiki. >> >> It's user data, hence deliberately excluded from the pkg-plist. > > So, what will we do with it? It must not be left behind. > I assume there is some kind of empty "default" database in there? > That could be safely removed, if it's not modified by the user. > > Not having it in plist also means, that it will not be installed from > package. How can the port detect whether the database has been modified by the user? Or to put it another way, how would the port block the deletion of this file on uninstall, if the database had been modified? What's the usual resolution in cases like this? --Apple-Mail-1-240178843 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iEYEARECAAYFAkRPWiIACgkQ9jqa2eRLIccLxgCcDxKa5QrAKyeDiVxM7eFx3z2a FBgAn00Htm8xc58a5RmbygbHPVJPyk9p =ya46 -----END PGP SIGNATURE----- --Apple-Mail-1-240178843--