From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 6 22:27:57 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 8D3B316A4DD; Sun, 6 Aug 2006 22:27:57 +0000 (UTC) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from sil.himolde.no (sil.hiMolde.no [158.38.83.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12DAC43D49; Sun, 6 Aug 2006 22:27:55 +0000 (GMT) (envelope-from Hans.F.Nordhaug@hiMolde.no) Received: from malle.himolde.no ([158.38.68.22]) by sil.himolde.no with InterScan Message Security Suite; Mon, 07 Aug 2006 00:27:48 +0200 Received: from harr.himolde.no (harr.hiMolde.no [158.38.68.20])by malle.himolde.no (8.12.11.20060308/8.12.8) with ESMTP id k76MRrZf019995;Mon, 7 Aug 2006 00:27:53 +0200 Received: from harr.himolde.no (localhost.localdomain [127.0.0.1])by harr.himolde.no (8.13.1/8.13.1) with ESMTP id k76MRrBq006993; Mon, 7 Aug 2006 00:27:53 +0200 Received: (from nordhaug@localhost)by harr.himolde.no (8.13.1/8.13.1/Submit) id k76MRqSO006992;Mon, 7 Aug 2006 00:27:52 +0200 Date: Mon, 7 Aug 2006 00:27:52 +0200 From: "Hans F. Nordhaug" To: Tilman Linneweh Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <47E7966E-2AA7-4A41-832B-5EC01DA0D8C2@FreeBSD.org> User-Agent: Mutt/1.4.1i X-imss-version: 2.041 X-imss-result: Passed X-imss-approveListMatch: *@*.no Cc: freebsd-ports-bugs@FreeBSD.org, 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: Sun, 06 Aug 2006 22:27:57 -0000 OK, 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. Regards, Hans PS! Below my replies to some selected comments: * 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.) > >2) I didn't use the unexec/exec trick for pkg-plist because I also > >need to set the permissions correctly. > > You can set permissions too by @exec 'uting chown/chmod. > > >3) Did you look at files/pkg-install.in It is run when using pkg_add > >according to my testing and the handbook: > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ > >pkg-install.html > >And as I said, in 2 above, I need to do it this way because then I can > >set the permissions correctly. > > > >Regards, > >Hans Nordhaug > > > >PS! I'm a Pivot developer http://pivotlog.net/docs/doku.php?id=credits > > Pivot looks great, if i have to switch my Blogsoftware, Pivot is a > candidate :-). Thx.