From owner-freebsd-ports@FreeBSD.ORG Sat Jun 8 11:06:58 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 094DB7ED for ; Sat, 8 Jun 2013 11:06:58 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by mx1.freebsd.org (Postfix) with ESMTP id D816C1EAD for ; Sat, 8 Jun 2013 11:06:57 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id v14so1891765pde.18 for ; Sat, 08 Jun 2013 04:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=pUhmDgDfHTj0DaD7EWYdWoC9HGm9f5Yi09SwR/gAtjw=; b=kdStLTEI1xortvTJbTqsA3JhYzVOUCaQoSqrA1vbEt2s/bsNlgryX3csq/LlnvIQog Mnb/TB+jlxBSrJ1wgiHmuKHqA9/f9yl7unedkU0Fs1URlHYbNQ1qFjuf/OfGPDgTbp6f Ugzz5kHVFZ9ZGiwPHOcIrSOKf2cP8CSxy1S0o0G7XGiEvGf2G5sEWHJVs7Zw2g3U6Q0n t92EksvENrKSIs6++0hQruWwZMr4a7j+fAL51W0ysovSGLENR0KNsHu31H03N2nEIQYB oMc01o960Ag8eF66xLf62NWcRXhW73R3XPdJt68zVzTN19378ubBhsC6PpTCUPX4kSmz +jdw== X-Received: by 10.68.244.73 with SMTP id xe9mr1464497pbc.119.1370689611339; Sat, 08 Jun 2013 04:06:51 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id do4sm2752247pbc.8.2013.06.08.04.06.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Jun 2013 04:06:50 -0700 (PDT) Message-ID: <51B31039.9060505@FreeBSD.org> Date: Sat, 08 Jun 2013 21:06:33 +1000 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: REWARD for working pam_mount References: <0a9ae9e0df704d13b643ee26d487e73a@BY2PR07MB043.namprd07.prod.outlook.com> <51B2C43F.5010300@FreeBSD.org> <20130608063255.74262508@scorpio> In-Reply-To: <20130608063255.74262508@scorpio> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Jerry , Janet Sullivan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: koobs@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 11:06:58 -0000 On 8/06/2013 8:32 PM, Jerry wrote: > On Sat, 08 Jun 2013 15:42:23 +1000 > Kubilay Kocak articulated: > >> I had to backport the fix because the new pam_mount 2.13 version >> requires libmount. Let upstream know that FreeBSD doesn't have >> libmount, and request they make it optional and configurable >> (--without-libmount configure option for example), even if it >> disables certain functionality. > > Maybe it is just me; however, wouldn't it make more sense for FreeBSD to > acquire "libmount" and thereby eliminate the whole problem to begin > with, not to mention losing potential functionality? > If that's the whole problem, and if it makes sense, absolutely. Though not explicit, my advice was based on the following: a) That my cherry-picked patch is likely only an interim measure. b) That the easiest thing an end-user could do to contribute to a solution is to notify the authors that portability would help. c) We can no longer track pam_mount updates given the recent addition of libmount as a hard dependency. d) that libmount (part of util-linux) is likely quite Linux centric and not useful in FreeBSD terms. I may be wrong here. The root cause of Janets reported issue is only a LIB_DEPENDS pointing to a specific library version (unnecessarily) and a libhx port that has moved on that pam_mount didn't support. But definitely, there may be more 'longer term' solutions such as what you eluded to. koobs