Hi Ashish, What do you think about applying the attached patch to the ejabberd port? It installs some parts required to allow ejabberd to auth against PAM and is working great for me.
Cheers, Lawrence
--- Makefile 2010-10-25 08:55:04.000000000 +1100 +++ Makefile.withpam 2011-01-10 01:52:36.000000000 +1100 @@ -23,7 +23,8 @@ USE_RC_SUBR= ${PORTNAME} NOPRECIOUSMAKEVARS= yes -OPTIONS= ODBC "Enable ODBC support" off +OPTIONS= ODBC "Enable ODBC support" off \ + PAM "Enable PAM auth support" off MAKE_ENV= PORTVERSION=${PORTVERSION} CONFIGURE_ARGS+=--localstatedir=/var @@ -55,6 +56,13 @@ PLIST_SUB+= ODBC="@comment " .endif +.if defined(WITH_PAM) +CONFIGURE_ARGS+=--enable-pam +PLIST_SUB+= PAM="" +.else +PLIST_SUB+= PAM="@comment " +.endif + .if defined(NOPORTDOCS) MAKE_ARGS+= NOPORTDOCS=${NOPORTDOCS} .endif --- pkg-plist 2010-10-01 02:22:15.000000000 +1000 +++ pkg-plist.withpam 2011-01-10 01:50:56.000000000 +1100 @@ -58,6 +58,8 @@ %%ODBC%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_odbc.beam %%ODBC%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/%%PORTNAME%%_odbc_sup.beam %%ODBC%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/odbc_queries.beam +%%PAM%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/epam.beam +%%PAM%%lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/dynamic_compile.beam lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_captcha.beam lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/ebin/ejabberd_commands.beam
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"