FreeBSD Port: www/mod_authn_sasl

Olli Hauer ohauer at FreeBSD.org
Sun Jun 19 15:29:50 UTC 2011


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
-------------- next part --------------
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 at 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


More information about the freebsd-apache mailing list