From owner-freebsd-ports@FreeBSD.ORG Fri Sep 26 16:37:21 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 CA4DE1065688 for ; Fri, 26 Sep 2008 16:37:21 +0000 (UTC) (envelope-from evanben@earthlink.net) Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7748FC12 for ; Fri, 26 Sep 2008 16:37:21 +0000 (UTC) (envelope-from evanben@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=qTw2eklBERmK+vPmsuOuNS5GyDH+6BYOgmWNduXtQxcVwUeE3s7Z8LWF1W8Bs/DK; 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-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KjGJk-0001be-Lp; Fri, 26 Sep 2008 12:37:20 -0400 Message-Id: From: Erik Van Benschoten To: "Scot Hetzel" In-Reply-To: <790a9fff0809260727t225dfe65u8372a858af1bca9b@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: Fri, 26 Sep 2008 12:36:53 -0400 References: <790a9fff0809260727t225dfe65u8372a858af1bca9b@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-ELNK-Trace: c3d1551dd0181177d780f4a490ca6956abb457f1b4332f52937857ac35920d359fe11fa13f8402cb350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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: Fri, 26 Sep 2008 16:37:21 -0000 On Sep 26, 2008, at 10:27 AM, Scot Hetzel wrote: > On 9/25/08, Erik Van Benschoten wrote: >> Greetings, >> >> I have been looking into setting up a network recycle bin under >> v3.0.32 of >> Samba. The default configuration does not install/package any of >> the VFS >> modules from the looks of it. The man pages are there for them, but >> not the >> actual binaries. After looking at the Makefile I tried to add the >> following >> to /etc/make.conf: >> >> WITH_EXP_MODULES= >> WANT_EXP_MODULES+= vfs_recycle >> >> That failed to install the recycle VFS module, so I tried: >> >> WITH_EXP_MODULES= >> WANT_EXP_MODULES= vfs_recycle >> >> Still no luck. The VFS modules are getting compiled, but are >> apparently not >> getting added to the packing list. Anyone have any suggestions? Is >> anyone >> else having this problem? >> > You don't need to add the WANT_EXP_MODULES /etc/make.conf, as the > vfs_recycle module is a standard module in Samba. > > After a make configure, I looked at the resulting Makefile, and it > does show that vfs_recycle is listed as a VFS_MODULES. 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. 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. Thanks, Erik