From owner-freebsd-ports@FreeBSD.ORG Sat Jun 8 14:39:06 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3569EED1; Sat, 8 Jun 2013 14:39:06 +0000 (UTC) (envelope-from janets@nairial.net) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0242.outbound.protection.outlook.com [207.46.163.242]) by mx1.freebsd.org (Postfix) with ESMTP id 10BEB1ED4; Sat, 8 Jun 2013 14:39:05 +0000 (UTC) Received: from BY2PR07MB043.namprd07.prod.outlook.com (10.255.240.147) by BY2PR07MB042.namprd07.prod.outlook.com (10.255.240.146) with Microsoft SMTP Server (TLS) id 15.0.702.21; Sat, 8 Jun 2013 14:33:44 +0000 Received: from BY2PR07MB043.namprd07.prod.outlook.com ([169.254.10.206]) by BY2PR07MB043.namprd07.prod.outlook.com ([169.254.10.206]) with mapi id 15.00.0702.005; Sat, 8 Jun 2013 14:33:44 +0000 From: Janet Sullivan To: "koobs@FreeBSD.org" Subject: RE: REWARD for working pam_mount Thread-Topic: REWARD for working pam_mount Thread-Index: Ac5j+/NZrpcc2Y0+Q8uGlk9EJQABKgADv+uAABKAuQA= Date: Sat, 8 Jun 2013 14:33:44 +0000 Message-ID: <61141aebb22640d3938f63745330df14@BY2PR07MB043.namprd07.prod.outlook.com> References: <0a9ae9e0df704d13b643ee26d487e73a@BY2PR07MB043.namprd07.prod.outlook.com> <51B2C43F.5010300@FreeBSD.org> In-Reply-To: <51B2C43F.5010300@FreeBSD.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [50.46.148.251] x-forefront-antispam-report: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:BY2PR07MB042; H:BY2PR07MB043.namprd07.prod.outlook.com; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nairial.net Cc: "ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 14:39:06 -0000 Thank you for the quick turnaround. I'll make a donation to the foundation= in your honor. :-) I am having problems with the patch, however, part of it is rejected, as se= en below. (/usr/ports/sysutils/pam_mount) .oO Sat Jun 08 07:30 AM Oo. [co1gnsntxw01] (root)## patch < pam_mount-fix-libHX.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- Makefile (revision 320195) |+++ Makefile (working copy) -------------------------- Patching file Makefile using Plan A... Hunk #1 failed at 14. 1 out of 1 hunks failed--saving rejects to Makefile.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: files/patch-commit335500 |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- files/patch-commit335500 (revision 0) |+++ files/patch-commit335500 (working copy) -------------------------- (Creating file files/patch-commit335500...) Patching file files/patch-commit335500 using Plan A... Hunk #1 succeeded at 1. Hmm... Ignoring the trailing garbage. done -----Original Message----- From: Kubilay Kocak [mailto:koobs.freebsd@gmail.com]=20 Sent: Friday, June 7, 2013 10:42 PM To: Janet Sullivan Cc: ports@freebsd.org Subject: Re: REWARD for working pam_mount On 8/06/2013 1:57 PM, Janet Sullivan wrote: > The /usr/ports/sysutils/pam_mount port is broken, because it's > expecting an older version of libHX. I'd really like to have a > working pam_mount, and am willing to paypal US $50 over to the first > person who gets it working. I'm not subscribed to the list, so > please email me directly to claim the prize. Janet, Your offer is commendable but unnecessary :) Try this patch I just created (cherry picked from upstream), and let me kno= w how it goes. You'll want to apply it to the pam_mount port directory. There's also something you can do to ensure pam_mount will work going forward: I had to backport the fix because the new pam_mount 2.13 version requires l= ibmount. 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. If it works for you, let me know so I can commit the change, and feel free = to consider donating to the FreeBSD Foundation instead Koobs