Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 19:24:27 -0500
From:      "Vince Brammer" <vbrammer@home.com>
To:        "Anton Berezin" <tobez@FreeBSD.org>
Cc:        <ports@FreeBSD.org>
Subject:   Re: p5-Authen-PAM-0.12
Message-ID:  <000a01c16659$654dbb00$7f00a8c0@cc515939b.owml1.md.home.com>
References:  <000a01c16499$5ec7a280$0200a8c0@cc515939b.owml1.md.home.com> <EGEAJNBPMIDPDNBOENHFCEEICGAA.sudz@ns3g.com> <20011105122525.A12905@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
    I was unable to make the patch take, it was rejected each time.
    After manually editing Makefile.PL, the ports build did work with perl
5.005.x and the source did build with perl 5.6.1.
    Also, the source build passed all (12) steps in test.
    I havent tested the module out as yet, just did the builds and make
tests'.

    Thank you for the reply. I wish I had been able to figure this out for
my self, but I dont have a full grasp of what is going on behind the scenes.

    If I can be any more help, dont hesitate.

Vince

----- Original Message -----
From: "Anton Berezin" <tobez@FreeBSD.org>
To: "Colin Legendre" <sudz@ns3g.com>; "Vince Brammer" <vbrammer@home.com>
Cc: <ports@FreeBSD.org>
Sent: Monday, November 05, 2001 6:25 AM
Subject: Re: p5-Authen-PAM-0.12


> Hi,
>
> First,
>
> On Thu, Sep 27, 2001 at 02:33:54PM -0400, Colin Legendre wrote:
>
> > Are you aware of the bug with the p5-Authen-PAM perl module.  After
trying
> > to use it and as well verifying the PR on the module's home page it
seems
> > that there is a but that only affects freebsd.  Has there been any
thoughs
> > on a patch to make it work with FreeBSD ???
>
> And then:
>
> On Sat, Nov 03, 2001 at 01:57:21PM -0500, Vince Brammer wrote:
> >     Im trying to build Authen::PAM from the ports tree.
> > However, its not working. Configure checks for -ldl (which it doesnt
find).
> > The build works (doesnt error out).
> > Make test fails test 10
>
> The *dynamic* PAM library has problems in FreeBSD as of now.  Until this
> is fixed, the easiest solution is to do the following:
>
> As root:
> # cd /usr/ports/security/p5-Authen-PAM
> # mkdir files
> # cat >files/patch-Makefile.PL
> --- Makefile.PL.orig Tue Dec  5 15:39:40 2000
> +++ Makefile.PL Mon Nov  5 12:16:36 2001
> @@ -42,7 +42,8 @@
>  WriteMakefile(
>      'NAME' => 'Authen::PAM',
>      'VERSION_FROM' => 'PAM.pm.in',
> -    'LIBS' => ['-lpam'],
> +    'LIBS' => ["-lutil -lopie -lradius -ltacplus -lrpcsvc -lskey"],
> +    'dynamic_lib' => {OTHERLDFLAGS => '/usr/lib/libpam.a'},
>      'CONFIGURE' => \&configure,
>      'PREREQ_PM' => { POSIX => 0 }, # module dependenices
>      'dist'      => {
> ^D
> # make clean
> # make
> # make install
>
> This instructs the port to use statically linked libpam.a, and appears
> to work in my tests, on both -current and -stable.
>
> Please try this one out, and tell me whether it fixes your problems.  If
> it does, I'll commit this fix shortly.
>
> =Anton.
> --
> | Anton Berezin                |      FreeBSD: The power to serve |
> | catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
> | tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org |
> | +45 7021 0050                |         Private: tobez@tobez.org |
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c16659$654dbb00$7f00a8c0>