From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 6 21:59:15 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 4EA6916A4DF; Sun, 6 Aug 2006 21:59:15 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from jim.arved.priv.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A08043D62; Sun, 6 Aug 2006 21:59:07 +0000 (GMT) (envelope-from arved@FreeBSD.org) Received: from [192.168.3.25] (minimac.arved.de [192.168.3.25]) by jim.arved.priv.at (8.13.6/8.13.4) with ESMTP id k76LwtN8094609; Sun, 6 Aug 2006 23:58:55 +0200 (CEST) (envelope-from arved@FreeBSD.org) In-Reply-To: <20060806190615.GA4749@hiMolde.no> References: <200608061355.k76Dt1uw082479@freefall.freebsd.org> <20060806142359.GA3490@hiMolde.no> <709B47A3-E7F0-4B58-A8B8-FA6477541F32@FreeBSD.org> <20060806190615.GA4749@hiMolde.no> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <47E7966E-2AA7-4A41-832B-5EC01DA0D8C2@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Sun, 6 Aug 2006 23:58:17 +0200 To: "Hans F. Nordhaug" X-Mailer: Apple Mail (2.752.2) 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: Sun, 06 Aug 2006 21:59:15 -0000 On Aug 6, 2006, at 21:06, Hans F. Nordhaug wrote: >>>> >>>> The pkg-plist is incorrect, there are several files missing on >>>> deinstallation, >>>> please check. >>> [cut] >>> >>> These files must *not* be deleted when deinstalling, since they >>> need to be kept when upgrading/reinstalling Pivot. If they are not >>> kept, an upgrade will remove all user settings and all >>> articles/entries in Pivot. >>> >>> As you notice when deinstalling (look at the Makefile), there is a >>> warning that you manually have to delete (the left-overs) in >>> /usr/local/www/weblog/ >> >> Well some of the missing files are empty directories, so i doubt they >> are user settings ;-) > > The empty directories are the folders where Pivot stores upload images > and generated archives. These needs to be created up front (with the > correct permissions) because (currently) Pivot is *not* intelligent > enough to > create these directories on the fly. Yes, but they should be removed on deinstallation. The port should at least use @dirrmtry > >> 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. > 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 :-). regards tilman