From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 7 12:07:24 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 3814816A4DE; Mon, 7 Aug 2006 12:07:24 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from omega.inso.tuwien.ac.at (omega.inso.tuwien.ac.at [128.130.59.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 568D243D45; Mon, 7 Aug 2006 12:07:23 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from [10.59.3.158] (fwswe.rise-s.com [83.65.168.194]) (authenticated bits=0) by omega.inso.tuwien.ac.at (8.13.4/8.13.4/Debian-1) with ESMTP id k77C7Jx2003441 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Mon, 7 Aug 2006 14:07:19 +0200 In-Reply-To: <20060806222752.GA6953@hiMolde.no> References: <200608061355.k76Dt1uw082479@freefall.freebsd.org> <20060806142359.GA3490@hiMolde.no> <709B47A3-E7F0-4B58-A8B8-FA6477541F32@FreeBSD.org> <20060806190615.GA4749@hiMolde.no> <47E7966E-2AA7-4A41-832B-5EC01DA0D8C2@FreeBSD.org> <20060806222752.GA6953@hiMolde.no> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4-551653297" Message-Id: <82AC726D-852A-4789-AC2C-0378E0CC91E8@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Mon, 7 Aug 2006 14:08:31 +0200 To: "Hans F. Nordhaug" X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new Cc: freebsd-ports-bugs@FreeBSD.org, Tilman Linneweh , hans@nordhaug.priv.no, freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/101299: New port: www/pivot-weblog A blog authoring tool written in PHP 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: Mon, 07 Aug 2006 12:07:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4-551653297 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, On Aug 7, 2006, at 12:27 AM, Hans F. Nordhaug wrote: > > I'm giving up. Apperently I don't understand the upgrade process for > ports. The long list of files (in your initial post) must > 1) be created when installing (because Pivot doesn't do it by itself). > 2) not be deleted when upgrading (because they contain user generated > data) - end of story. This is the case even for the possibly empty > "images" and "archives" dir. > > If you can guide me to howto achieve this, I would be happy. Well the package cluster expect the filesystem to be in the same state as before the package was built. > * Tilman Linneweh [2006-08-06]: > [cut] >>>> The problem is, that the programm should work if you just do >>>> pkg_add >>>> pivot. The files which are not in pkg-plist are not in the >>>> package, >>>> so the package is unusable. >>> >>> 1) I did follow >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ >>> porting-testing.html >>> and "pkg_add pivot-weblog" does work. Did you even test? *I* did... >> >> Then the files are actually not necessary, and the port should not >> install them at all. > > Here I must disagree with you. "pkg_add pivot-weblog" *does* install > the files through files/pkg-install.in (ref point 2/3) and the > files are needed. > Pivot does NOT work without them. (If you want to I can create a > package for you so you can see what "pkg_add pivot-weblog" does.) How about installing the pkg-install script, and telling the user to run the script in pkg-message, if you don't want to add the files to pkg-plist? > Just a PS: Initially the Pivot entry database contains > > /usr/local/www/weblog/pivot/db/standard-00000/00001.php > /usr/local/www/weblog/pivot/db/standard-00000/00002.php > > When a user starts adding posts/entries, Pivot will create > > /usr/local/www/weblog/pivot/db/standard-00000/00003.php > /usr/local/www/weblog/pivot/db/standard-00000/00004.php > [...] > /usr/local/www/weblog/pivot/db/standard-00000/00099.php > [...] > /usr/local/www/weblog/pivot/db/standard-00100/00100.php > /usr/local/www/weblog/pivot/db/standard-00100/00101.php > [...] > > So deinstalling a Pivot that has been used, can not done > completely through pkg-plist anyway. This is not a problem, since these files are not installed by the port, but by the user. regards tilman --Apple-Mail-4-551653297 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.1 (Darwin) iD8DBQFE1y1DfCLDn4B6xToRArC9AJ9bXuUJ29SIXWG+OEaZL5yCWedV6ACfXLyO Io0vpK7kbrg+z5wTUxzug2I= =ReY0 -----END PGP SIGNATURE----- --Apple-Mail-4-551653297--