Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 14:33:44 +0000
From:      Janet Sullivan <janets@nairial.net>
To:        "koobs@FreeBSD.org" <koobs@FreeBSD.org>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   RE: REWARD for working pam_mount
Message-ID:  <61141aebb22640d3938f63745330df14@BY2PR07MB043.namprd07.prod.outlook.com>
In-Reply-To: <51B2C43F.5010300@FreeBSD.org>
References:  <0a9ae9e0df704d13b643ee26d487e73a@BY2PR07MB043.namprd07.prod.outlook.com> <51B2C43F.5010300@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61141aebb22640d3938f63745330df14>