REWARD for working pam_mount
Janet Sullivan
janets at nairial.net
Sat Jun 8 14:39:06 UTC 2013
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 seen 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
|===================================================================
|--- 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
|===================================================================
|--- 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 at gmail.com]
Sent: Friday, June 7, 2013 10:42 PM
To: Janet Sullivan
Cc: ports at 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 know 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 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.
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
More information about the freebsd-ports
mailing list