From owner-freebsd-ports@FreeBSD.ORG Sun Sep 28 20:22:11 2008 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 4B4B11065688 for ; Sun, 28 Sep 2008 20:22:11 +0000 (UTC) (envelope-from evanben@earthlink.net) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.freebsd.org (Postfix) with ESMTP id 002D38FC15 for ; Sun, 28 Sep 2008 20:22:10 +0000 (UTC) (envelope-from evanben@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=nJl7lVaISqUXisFbQV9Vb5Wveg8QCssUmLDSGlQrCs7iFj1oGqEiY/OcPvQRRKEs; h=Received:Cc:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [76.15.117.249] (helo=c2d2.valleycomnet.com) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1Kk2mO-0008Rv-CN; Sun, 28 Sep 2008 16:22:08 -0400 Message-Id: <4A0DC74B-8896-48D6-BE19-3FB2D117D629@earthlink.net> From: Erik Van Benschoten To: "Scot Hetzel" In-Reply-To: <790a9fff0809261258m2f797986k831fc69c91ca54c5@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sun, 28 Sep 2008 16:21:38 -0400 References: <790a9fff0809260727t225dfe65u8372a858af1bca9b@mail.gmail.com> <790a9fff0809261258m2f797986k831fc69c91ca54c5@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-ELNK-Trace: c3d1551dd0181177d780f4a490ca6956abb457f1b4332f5251cfd503c9dff4b5df396ccf4e1a54fd350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 76.15.117.249 Cc: freebsd-ports@freebsd.org Subject: Re: net/samba3 not installing VFS modules 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: Sun, 28 Sep 2008 20:22:11 -0000 On Sep 26, 2008, at 3:58 PM, Scot Hetzel wrote: > On Fri, Sep 26, 2008 at 11:36 AM, Erik Van Benschoten > wrote: >> >> On Sep 26, 2008, at 10:27 AM, Scot Hetzel wrote: >>> Then when a >>> make install was performed, the recycle.so module was located in the >>> PREFIX/lib/samba/vfs directory. >>> >>> Did you check this directory? >>> >>> Scot >> >> Scot, >> >> The problem was not getting the VFS modules compiled, but rather >> getting >> them installed. >> > The VFS modules are installed on my system, and when i grepped the > +CONTENTS file for recycle.so, it was listed in the package. > >> I found a brute force workaround was to manually add >> 'lib/samba/vfs/recycle.so' to the '/net/samba3/pkg-plist' file. >> I know this is not the proper thing to do, but it works for getting a >> package built. I would have preferred a tweak to the Makefile that >> would >> work for everyone, but I'm afraid my Makefile reading skills are >> not up to snuff. > > There is no need to add 'lib/samba/vfs/recycle.so' to the > samba3/pkg-plist, as the samba3/Makefile has automatic pkg-plist > generation to detect the files in PREFIX/lib/samba. They get added > to the ${TMPPLIST} file, which is used to create the package. > > Scot Interesting. I did a 'make rmconfig' to clean out any old cruft followed my a 'make package-recursive' (selecting ACL_SUPPORT and EXP_MODULES along with the defaults). The vfs modules are being installed on the build machine and are also in the package now according to a 'pkg_info -L'. I have been using make.conf to customize my package builds up to this point instead of the 'make config' mechanism. I guess I'll have to take a closer look into why the builds didn't work properly the other way. Thanks for the response. Erik