From owner-freebsd-ports@FreeBSD.ORG Wed Feb 4 05:11:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1E8106566B for ; Wed, 4 Feb 2009 05:11:37 +0000 (UTC) (envelope-from prvs=pauls=2796989cc@utdallas.edu) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id C30DF8FC1A for ; Wed, 4 Feb 2009 05:11:37 +0000 (UTC) (envelope-from prvs=pauls=2796989cc@utdallas.edu) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.37,376,1231135200"; d="scan'208";a="6468255" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 03 Feb 2009 22:42:50 -0600 Received: from [10.40.128.112] (vpn-40-128-112.utdallas.edu [10.40.128.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 26E34856C for ; Tue, 3 Feb 2009 22:42:50 -0600 (CST) Date: Tue, 03 Feb 2009 22:42:49 -0600 From: Paul Schmehl To: freebsd-ports@freebsd.org Message-ID: <81F17B20B78F9C5531571788@[10.40.128.112]> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Question about WRKSRC 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: Wed, 04 Feb 2009 05:11:38 -0000 I maintain the sguil ports; security/sguil-server, security/sguil-sensor and security/sguil-agent. It came to my attention today that the pkg-install script that I've written for the security/sguil-server port fails during package building. (The script works fine when compiling from source.) The problem appears to be related to the location of WRCSRC, which appears to be different than it is when building from source. Am I correct about that? Is WRCSRC different when building packages? If so, is there a way to differentiate programmatically between a port being built from source and one being built from a package? Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/