Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 17:32:23 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        Andrea Venturoli <ml@netfence.it>, apache@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: ap22-mod_auth_pam
Message-ID:  <20100808153223.GA56791@goofy.cultdeadsheep.org>
In-Reply-To: <4C5986F6.20509@p6m7g8.com>
References:  <4C59458C.5000607@netfence.it> <4C5986F6.20509@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--PmA2V3Z32TCmWXqI
Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv"
Content-Disposition: inline


--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Wed, Aug 04, 2010 at 03:27:50PM +0000, Philip M. Gollucci wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> On 08/04/10 10:48, Andrea Venturoli wrote:
> > Hello.
> > I've been using mod_auth_pam everywhere for years.
> > Yet I cannot seem to get it to work on a 7.2/i386 box of mine.
> >=20
> > Here's what I get when I try to start it:
> >=20
> > httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf:
> > Cannot load /usr/local/libexec/apache22/mod_auth_pam.so into server:
> > /usr/local/libexec/apache22/mod_auth_pam.so: Undefined symbol "pam_end"
>=20
> ldd /usr/local/libexec/apache22/mod_auth_pam.so
>=20
> Looks like my
> AP_FAST_BUILD=3D  yes
> AP_GENPLIST=3D    yes
>=20
> sweep broke it.  I'll revert / fix this later today, in the meantime,
> just use the previous version of the port.

here's a patch.

clem

--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-mod_auth_pam2
Content-Transfer-Encoding: quoted-printable

--- Makefile.orig	2010-08-08 17:27:24.000000000 +0200
+++ Makefile	2010-08-08 17:27:47.000000000 +0200
@@ -28,6 +28,7 @@
=20
 AP_FAST_BUILD=3D	yes
 AP_GENPLIST=3D	yes
+AP_EXTRAS+=3D	-L/usr/lib -lpam
=20
 post-install:
 .if !defined(NOPORTEXAMPLES)

--ZGiS0Q5IWpPtfppv--

--PmA2V3Z32TCmWXqI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxezgcACgkQsRhfjwcjuh2AawCfRvBLRKQj6CRBlSwF3EgT9LaS
G2MAoI/jExL70Ztoryih6sbayCw+8hL5
=jZPM
-----END PGP SIGNATURE-----

--PmA2V3Z32TCmWXqI--



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