From owner-freebsd-ports@FreeBSD.ORG Mon Jul 18 21:13:57 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 76E2D16A41C for ; Mon, 18 Jul 2005 21:13:57 +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 3C40643D49 for ; Mon, 18 Jul 2005 21:13:56 +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 6A11B388F3D for ; Mon, 18 Jul 2005 16:13:54 -0500 (CDT) Date: Mon, 18 Jul 2005 16:13:54 -0500 From: Paul Schmehl To: ports@freebsd.org Message-ID: 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: 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: Mon, 18 Jul 2005 21:13:57 -0000 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/