Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2011 17:29:54 +0200
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        Felix Janssen <felix@mayaxatl.org>
Cc:        apache@FreeBSD.org
Subject:   Re: FreeBSD Port: www/mod_authn_sasl
Message-ID:  <4DFE15F2.4050602@FreeBSD.org>
In-Reply-To: <4DFDECB6.6050708@mayaxatl.org>
References:  <4DFDECB6.6050708@mayaxatl.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020406010602050608060805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 2011-06-19 14:33, Felix Janssen wrote:
> Hello
> 
> I have a problem with the mod_authn_sasl port. Build and install seem to work.
> However when I uncomment the LoadModule-line (LoadModule authn_sasl_module 
> libexec/apache22/mod_authn_sasl.so) in my httpd.conf and test the
> configuration/start apache, I get:
> 
> httpd: Syntax error on line 106 of /usr/local/etc/apache22/httpd.conf: Cannot
> load /usr/local/libexec/apache22/mod_authn_sasl.so into server:
> /usr/local/libexec/apache22/mod_authn_sasl.so: Undefined symbol "sasl_checkpass"
> 
> I do nothing out of the ordinary. (FreeBSD 8.2, apache 2.2.19,
> cyrus-sasl-2.1.23_3).
> 
> Would you know what is wrong? Please let me know if I need to supply some extra
> infos.
> 
> Kind regards,
> 
> Felix Janssen


Can you try the attached patch?

This will also update the port to the last version.

--
olli

--------------020406010602050608060805
Content-Type: text/plain;
 name="mod_authn_sasl.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="mod_authn_sasl.diff"

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_authn_sasl/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	26 May 2010 21:43:21 -0000	1.8
+++ Makefile	19 Jun 2011 15:25:00 -0000
@@ -6,9 +6,10 @@
 #
 
 PORTNAME=	mod_authn_sasl
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	www
-MASTER_SITES=	SF/mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
+MASTER_SITES=	SF
+MASTER_SITE_SUBDIR=mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
 
 MAINTAINER=	apache@FreeBSD.org
 COMMENT=	Allows user authentication based on libsasl2 mechanisms on apache 2.2
@@ -23,6 +24,7 @@
 USE_APACHE=	22
 AP_FAST_BUILD=	YES
 AP_GENPLIST=	YES
+AP_LIB=		${LOCALBASE}/lib -lsasl2
 
 PORTDOCS=	AUTHORS LICENSE
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/mod_authn_sasl/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	19 Mar 2011 12:34:34 -0000	1.3
+++ distinfo	19 Jun 2011 15:25:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (mod_authn_sasl-1.1.tar.bz2) = d663cf929160d5cea0288f71739c63dc141770cd7ba30996ad8ce357818a04a8
-SIZE (mod_authn_sasl-1.1.tar.bz2) = 249792
+SHA256 (mod_authn_sasl-1.2.tar.bz2) = 4329e1f429560041cebe67b74a588330f382759bcbb91d3e4145b18e59734b57
+SIZE (mod_authn_sasl-1.2.tar.bz2) = 274790

--------------020406010602050608060805--



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