From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 16:01:37 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20DC116A41F for ; Tue, 19 Jul 2005 16:01:37 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB29143D55 for ; Tue, 19 Jul 2005 16:01:36 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 52AFA388DCC for ; Tue, 19 Jul 2005 11:01:36 -0500 (CDT) Date: Tue, 19 Jul 2005 11:01:36 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: <0625219E4A179F7245289F98@utd59514.utdallas.edu> In-Reply-To: References: X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: pkg-plist problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:01:37 -0000 No one had an answer? --On Monday, July 18, 2005 16:13:54 -0500 Paul Schmehl wrote: > I'm working on a new port, and I'm having a strange problem with > pkg-plist. I created pkg-plist per the instructions in Chapter 19 of the > Porters Handbook. When I run make deinstall PREFIX=/var/tmp/port-name, > the deinstall complains that the files in $DOCSDIR don't exist. Yet they > do. > > Here's the error I'm getting (in part): > > pkg_delete: file '/var/tmp/sguild/share/doc/sguil-sensor' doesn't really > exist > pkg_delete: unable to completely remove directory > '/var/tmp/sguild/share/doc/sguil-sensor' > pkg_delete: couldn't entirely delete package (perhaps the packing list is > incorrectly specified?) > > As you can see, the directory is gone: > ls /var/tmp/sguild/share/doc/ > ja > > After running make install PREFIX= > make install PREFIX=/var/tmp/sguild > > As you can see, the directory is there: > ls /var/tmp/sguild/share/doc/ > ja sguil-sensor > > And so are the docs: > ls /var/tmp/sguild/share/doc/sguil-sensor/ > CHANGES INSTALL.openbsd OPENSSL.README USAGE > INSTALL LICENSE.QPL TODO sguildb.dia > > Here's the pkg-plist: > less pkg-plist > bin/sguil-sensor/log_packets.sh > bin/sguil-sensor/log_packets.sh-sample > bin/sguil-sensor/sensor_agent.tcl > etc/rc.d/sensoragent.sh > etc/sancp.conf > etc/sancp.conf-sample > etc/sensor_agent.conf > etc/sensor_agent.conf-sample > share/doc/sguil-sensor/CHANGES > share/doc/sguil-sensor/INSTALL > share/doc/sguil-sensor/INSTALL.openbsd > share/doc/sguil-sensor/LICENSE.QPL > share/doc/sguil-sensor/OPENSSL.README > share/doc/sguil-sensor/TODO > share/doc/sguil-sensor/USAGE > share/doc/sguil-sensor/sguildb.dia > share/nls/POSIX > share/nls/en_US.US-ASCII > @dirrm share/doc/sguil-sensor > @dirrm bin/sguil-sensor > > Everything is being installed and deleted correctly, but the deinstall > generates the above errors. > > What the heck is going on? > > Paul Schmehl (pauls@utdallas.edu) > Adjunct Information Security Officer > University of Texas at Dallas > AVIEN Founding Member > http://www.utdallas.edu/ir/security/ > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/