FreeBSD Port: pam_mysql-0.7.r1_1
Luca Fulchir
luca at fulchir.it
Mon Jan 10 09:45:38 UTC 2011
Hi, i'm writing to report 2 problems in the port pam_mysql:
1: function MD5() (which i need) is not supported, unless you build pam_mysql
with "--with-openssl"
the full configure_args should be:
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib
--with-pam=/usr --with-openssl
2: it is not linked with libpam. nothing worked untill you patch with this:
*** Makefile.in.orig Sat Mar 11 23:36:14 2006
--- Makefile.in Sat Mar 11 23:37:14 2006
***************
*** 110,116 ****
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
! pam_mysql_la_LIBADD =
pam_mysql_la_OBJECTS = pam_mysql.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
$(CFLAGS)
--- 110,116 ----
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
! pam_mysql_la_LIBADD = -lpam
pam_mysql_la_OBJECTS = pam_mysql.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
$(CFLAGS)
Hope you'll include at least the second patch...
Luca Fulchir
More information about the freebsd-ports
mailing list