mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
- Update to 2.1.6
- Use bsd.port.options.mk and re-organize Makefile accordingly - New options added: - UNIXODBC - PERL - PYTHON - RUBY - DHCP - No longer need to support WITH_NOPERL hack PR: ports/136254 Submitted by: David Wood <david@wood2.org.uk>
This commit is contained in:
parent
06e13f3e2b
commit
c62aa02d13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237219
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= freeradius
|
||||
DISTVERSION= 2.1.4
|
||||
DISTVERSION= 2.1.6
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \
|
||||
ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \
|
||||
@ -25,7 +25,6 @@ RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake
|
||||
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
||||
|
||||
USE_BZIP2= yes
|
||||
WANT_PERL= yes
|
||||
|
||||
LOGDIR?= /var/log
|
||||
|
||||
@ -36,7 +35,6 @@ USE_RC_SUBR= radiusd.sh
|
||||
USE_AUTOTOOLS= libltdl:15 libtool:15 autoconf:262
|
||||
USE_GMAKE= yes
|
||||
USE_OPENSSL= yes
|
||||
USE_PYTHON= yes
|
||||
MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
@ -49,96 +47,19 @@ OPTIONS= USER "Run as user freeradius, group freeradius" on \
|
||||
LDAP "With LDAP database support" off \
|
||||
MYSQL "With MySQL database support" off \
|
||||
PGSQL "With PostgreSQL database support" off \
|
||||
UNIXODBC "With unixODBC database support" off \
|
||||
FIREBIRD "With Firebird database support (EXPERIMENTAL)" off \
|
||||
EXPERIMENTAL "Build experimental modules (including DHCP)" off
|
||||
PERL "With Perl support" on \
|
||||
PYTHON "With Python support" on \
|
||||
RUBY "With Ruby support (EXPERIMENTAL)" off \
|
||||
DHCP "With DHCP support (EXPERIMENTAL)" off \
|
||||
EXPERIMENTAL "Build experimental modules" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64" && ${OSVERSION} < 700000
|
||||
BROKEN= Does not build on sparc64-6
|
||||
.endif
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Default requirements for rc script
|
||||
_REQUIRE= NETWORKING SERVERS
|
||||
|
||||
# User and group to use if USER is set
|
||||
USER= freeradius
|
||||
GROUP= freeradius
|
||||
|
||||
FREERADIUS_LIBDIR= lib/freeradius-${PORTVERSION}
|
||||
PLIST_SUB+= LIBDIR="${FREERADIUS_LIBDIR}"
|
||||
USE_LDCONFIG= ${PREFIX}/${FREERADIUS_LIBDIR}
|
||||
|
||||
CONFIGURE_ARGS= --quiet \
|
||||
--prefix=${PREFIX} \
|
||||
--libdir=${PREFIX}/${FREERADIUS_LIBDIR} \
|
||||
--localstatedir=/var \
|
||||
--with-system-libtool
|
||||
.ifdef(NOPORTDOCS)
|
||||
CONFIGURE_ARGS+=--without-docdir
|
||||
PLIST_SUB+= PORTDOCS="@comment "
|
||||
SUB_LIST+= PORTDOCS="@comment "
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-docdir=${DOCSDIR}
|
||||
PLIST_SUB+= PORTDOCS=""
|
||||
SUB_LIST+= PORTDOCS=""
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \
|
||||
--with-openssl-includes=${OPENSSLINC}
|
||||
# This conditionality avoids -L/usr/lib in the radiusd build step when
|
||||
# building with base system OpenSSL
|
||||
.if ${OPENSSLLIB} != "/usr/lib"
|
||||
CONFIGURE_ARGS+=--with-openssl-libraries=${OPENSSLLIB}
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-rlm-python-lib-dir=${PYTHON_LIBDIR} \
|
||||
--with-rlm-python-include-dir=${PYTHON_INCLUDEDIR} \
|
||||
--without-rlm_eap_ikev2 \
|
||||
--without-rlm_eap_tnc \
|
||||
--without-rlm_eap2 \
|
||||
--without-rlm_opendirectory \
|
||||
--without-rlm_sql_db2 \
|
||||
--without-rlm_sql_iodbc \
|
||||
--without-rlm_sql_oracle \
|
||||
--without-rlm_sql_sqlite \
|
||||
--without-rlm_sql_sybase \
|
||||
--without-rlm_sql_unixodbc \
|
||||
--with-vmps
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_ARGS+= --with-pic
|
||||
.endif
|
||||
|
||||
# Credentials for WITH_USER are RADIUS_USER, RADIUS_UID, RADIUS_GECOS,
|
||||
# RADIUS_HOME, RADIUS_SHELL, RADIUS_GROUP and RADIUS_GID.
|
||||
|
||||
# Parse ${PORTSDIR}/UIDs and GIDs for the defaults
|
||||
USER!= ${GREP} -E '^${USER}:' ${PORTSDIR}/UIDs | \
|
||||
${SED} -Ee 's/^([^:]*):([^:]*):([^:]*):([^:]*)::0:0:([^:]*):([^:]*):([^:]*)$$/USER="\1" UID="\3" GECOS="\5" HOME="\6" SHELL="\7"/'
|
||||
GROUP!= ${GREP} -E '^${GROUP}:' ${PORTSDIR}/GIDs | \
|
||||
${SED} -Ee 's/^([^:]*):([^:]*):([^:]*):$$/GROUP="\1" GID="\3"/'
|
||||
|
||||
# Apply the defaults where necessary
|
||||
RADIUS_USER?= ${USER:MUSER*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_UID?= ${USER:MUID*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GECOS?= ${USER:MGECOS*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_HOME?= ${USER:MHOME*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_SHELL?= ${USER:MSHELL*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GROUP?= ${GROUP:MGROUP*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GID?= ${GROUP:MGID*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
|
||||
SUB_LIST+= USER="${RADIUS_USER}" \
|
||||
UID="${RADIUS_UID}" \
|
||||
GECOS="${RADIUS_GECOS}" \
|
||||
HOME="${RADIUS_HOME}" \
|
||||
SHELL="${RADIUS_SHELL}" \
|
||||
GROUP="${RADIUS_GROUP}" \
|
||||
GID="${RADIUS_GID}" \
|
||||
RADDB_WORK="${WRKSRC}/raddb" \
|
||||
RADDB="${PREFIX}/etc/raddb" \
|
||||
LOGDIR="${LOGDIR}" \
|
||||
LIBDIR="${PREFIX}/${FREERADIUS_LIBDIR}" \
|
||||
RC_SUBR_SUFFIX="${RC_SUBR_SUFFIX}"
|
||||
SUB_FILES+= pkg-install pkg-deinstall pkg-message
|
||||
.ifdef(WITH_USER)
|
||||
SUB_LIST+= RUN_AS_USER="yes"
|
||||
.else
|
||||
@ -195,6 +116,15 @@ CONFIGURE_ARGS+=--without-rlm_sql_postgresql
|
||||
PLIST_SUB+= PGSQL="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_UNIXODBC)
|
||||
CONFIGURE_ARGS+=--with-rlm_sql_unixodbc
|
||||
PLIST_SUB+= UNIXODBC=""
|
||||
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-rlm_sql_unixodbc
|
||||
PLIST_SUB+= UNIXODBC="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_FIREBIRD)
|
||||
USE_FIREBIRD= YES
|
||||
CONFIGURE_ARGS+=--with-rlm_sql_firebird
|
||||
@ -209,6 +139,51 @@ PLIST_SUB+= FIREBIRD="@comment "
|
||||
WITH_EXPERIMENTAL= yes
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_PERL)
|
||||
USE_PERL5= yes
|
||||
CONFIGURE_ARGS+=--with-rlm_perl
|
||||
PLIST_SUB+= RLMPERL=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-perl --without-rlm_perl
|
||||
PLIST_SUB+= RLMPERL="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_PYTHON)
|
||||
USE_PYTHON= yes
|
||||
CONFIGURE_ARGS+=--with-rlm_python \
|
||||
--with-rlm-python-lib-dir=${PYTHON_LIBDIR} \
|
||||
--with-rlm-python-include-dir=${PYTHON_INCLUDEDIR}
|
||||
PLIST_SUB+= RLMPYTHON=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-rlm_python
|
||||
PLIST_SUB+= RLMPYTHON="@comment "
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_RUBY)
|
||||
USE_RUBY= yes
|
||||
CONFIGURE_ARGS+=--with-rlm_ruby
|
||||
PLIST_SUB+= RLMRUBY=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-rlm_ruby
|
||||
PLIST_SUB+= RLMRUBY="@comment "
|
||||
.endif
|
||||
|
||||
# rlm_ruby module is still experimental
|
||||
.if defined(WITH_RUBY) && !defined(WITH_EXPERIMENTAL)
|
||||
WITH_EXPERIMENTAL= yes
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_DHCP)
|
||||
CONFIGURE_ARGS+=--with-dhcp
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-dhcp
|
||||
.endif
|
||||
|
||||
# DHCP is still experimental
|
||||
.if defined(WITH_DHCP) && !defined(WITH_EXPERIMENTAL)
|
||||
WITH_EXPERIMENTAL= yes
|
||||
.endif
|
||||
|
||||
# No SMB option yet; rlm_smb is still unbuildable
|
||||
.ifdef(WITH_SMB)
|
||||
LIB_DEPENDS= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
|
||||
@ -227,7 +202,7 @@ WITH_EXPERIMENTAL= yes
|
||||
.endif
|
||||
|
||||
.ifdef(WITH_EXPERIMENTAL)
|
||||
CONFIGURE_ARGS+=--with-experimental-modules --with-dhcp
|
||||
CONFIGURE_ARGS+=--with-experimental-modules
|
||||
PLIST_SUB+= EXPM=""
|
||||
.else
|
||||
PLIST_SUB+= EXPM="@comment "
|
||||
@ -239,23 +214,88 @@ CONFIGURE_ARGS+=--enable-developer
|
||||
CFLAGS!= ${ECHO} ${CFLAGS} | ${SED} -Ee 's:-O[0-9]?[[:space:]]*::g'
|
||||
.endif
|
||||
|
||||
# NOPERL has been removed from OPTIONS. It is a nasty hack as it doesn't
|
||||
# properly remove the dependency on perl. The main configure.in should be
|
||||
# patched so that the perl detection test fails to make this work properly,
|
||||
# though that configure run (at least in 2.0.0) only looks for perl to issue
|
||||
# a warning about Simultaneous-Use and checkrad.pl maybe not working without
|
||||
# perl.
|
||||
# Leave WITH_NOPERL as a knob for anyone that really wants it - or for
|
||||
# a proper fix in the future.
|
||||
.ifdef(WITH_NOPERL)
|
||||
CONFIGURE_ARGS+=--without-rlm_perl
|
||||
PLIST_SUB+= RLMPERL="@comment "
|
||||
.else
|
||||
USE_PERL5= yes
|
||||
CONFIGURE_ARGS+=--with-rlm_perl
|
||||
PLIST_SUB+= RLMPERL=""
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64" && ${OSVERSION} < 700000
|
||||
BROKEN= Does not build on sparc64-6
|
||||
.endif
|
||||
|
||||
# User and group to use if USER option is chosen
|
||||
USER= freeradius
|
||||
GROUP= freeradius
|
||||
|
||||
FREERADIUS_LIBDIR= lib/freeradius-${PORTVERSION}
|
||||
PLIST_SUB+= LIBDIR="${FREERADIUS_LIBDIR}"
|
||||
USE_LDCONFIG= ${PREFIX}/${FREERADIUS_LIBDIR}
|
||||
|
||||
CONFIGURE_ARGS+=--quiet \
|
||||
--prefix=${PREFIX} \
|
||||
--libdir=${PREFIX}/${FREERADIUS_LIBDIR} \
|
||||
--localstatedir=/var \
|
||||
--with-system-libtool
|
||||
.ifdef(NOPORTDOCS)
|
||||
CONFIGURE_ARGS+=--without-docdir
|
||||
PLIST_SUB+= PORTDOCS="@comment "
|
||||
SUB_LIST+= PORTDOCS="@comment "
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-docdir=${DOCSDIR}
|
||||
PLIST_SUB+= PORTDOCS=""
|
||||
SUB_LIST+= PORTDOCS=""
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--with-logdir=${LOGDIR} \
|
||||
--with-openssl-includes=${OPENSSLINC}
|
||||
# This conditionality avoids -L/usr/lib in the radiusd build step when
|
||||
# building with base system OpenSSL
|
||||
.if ${OPENSSLLIB} != "/usr/lib"
|
||||
CONFIGURE_ARGS+=--with-openssl-libraries=${OPENSSLLIB}
|
||||
.endif
|
||||
CONFIGURE_ARGS+=--without-rlm_eap_ikev2 \
|
||||
--without-rlm_eap_tnc \
|
||||
--without-rlm_eap2 \
|
||||
--without-rlm_opendirectory \
|
||||
--without-rlm_sql_db2 \
|
||||
--without-rlm_sql_iodbc \
|
||||
--without-rlm_sql_oracle \
|
||||
--without-rlm_sql_sqlite \
|
||||
--without-rlm_sql_sybase \
|
||||
--with-vmps
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_ARGS+= --with-pic
|
||||
.endif
|
||||
|
||||
# Credentials for WITH_USER are RADIUS_USER, RADIUS_UID, RADIUS_GECOS,
|
||||
# RADIUS_HOME, RADIUS_SHELL, RADIUS_GROUP and RADIUS_GID.
|
||||
|
||||
# Parse ${PORTSDIR}/UIDs and GIDs for the defaults
|
||||
USERCREDS!= ${GREP} -E '^${USER}:' ${PORTSDIR}/UIDs | \
|
||||
${SED} -Ee 's/^([^:]*):([^:]*):([^:]*):([^:]*)::0:0:([^:]*):([^:]*):([^:]*)$$/USER="\1" UID="\3" GECOS="\5" HOME="\6" SHELL="\7"/'
|
||||
GROUPCREDS!= ${GREP} -E '^${GROUP}:' ${PORTSDIR}/GIDs | \
|
||||
${SED} -Ee 's/^([^:]*):([^:]*):([^:]*):$$/GROUP="\1" GID="\3"/'
|
||||
|
||||
# Apply the defaults where necessary
|
||||
RADIUS_USER?= ${USERCREDS:MUSER*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_UID?= ${USERCREDS:MUID*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GECOS?= ${USERCREDS:MGECOS*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_HOME?= ${USERCREDS:MHOME*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_SHELL?= ${USERCREDS:MSHELL*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GROUP?= ${GROUPCREDS:MGROUP*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
RADIUS_GID?= ${GROUPCREDS:MGID*:C/^[^=]*=\"([^\"]*)\"$/\1/}
|
||||
|
||||
SUB_LIST+= USER="${RADIUS_USER}" \
|
||||
UID="${RADIUS_UID}" \
|
||||
GECOS="${RADIUS_GECOS}" \
|
||||
HOME="${RADIUS_HOME}" \
|
||||
SHELL="${RADIUS_SHELL}" \
|
||||
GROUP="${RADIUS_GROUP}" \
|
||||
GID="${RADIUS_GID}" \
|
||||
RADDB_WORK="${WRKSRC}/raddb" \
|
||||
RADDB="${PREFIX}/etc/raddb" \
|
||||
LOGDIR="${LOGDIR}" \
|
||||
LIBDIR="${PREFIX}/${FREERADIUS_LIBDIR}" \
|
||||
RC_SUBR_SUFFIX="${RC_SUBR_SUFFIX}"
|
||||
SUB_FILES+= pkg-install pkg-deinstall pkg-message
|
||||
|
||||
MAN1= radclient.1 radeapclient.1 radlast.1 radtest.1 radwho.1 \
|
||||
radzap.1
|
||||
MAN5= acct_users.5 clients.conf.5 dictionary.5 radiusd.conf.5 \
|
||||
@ -289,8 +329,8 @@ post-patch:
|
||||
@${FIND} -E ${WRKSRC}/raddb/certs \
|
||||
-regex '.*/(bootstrap|Makefile)\.(orig|bak)$$' \
|
||||
-delete
|
||||
# If EXPERIMENTAL (and therefore DHCP) is enabled, enable the DHCP dictionary
|
||||
.ifdef(WITH_EXPERIMENTAL)
|
||||
# If DHCPis enabled, enable the DHCP dictionary
|
||||
.ifdef(WITH_DHCP)
|
||||
@${REINPLACE_CMD} -Ee 's:^#(.+ dictionary\.dhcp)$$:\1:g' \
|
||||
${WRKSRC}/share/dictionary
|
||||
# Clean up (so as not to get an unwanted file in share)
|
||||
@ -313,6 +353,7 @@ pre-configure:
|
||||
@cd ${WRKSRC}/src/modules/rlm_ldap && ${AUTOCONF} -I ${WRKSRC}
|
||||
@cd ${WRKSRC}/src/modules/rlm_sql/drivers/rlm_sql_mysql \
|
||||
&& ${AUTOCONF} -I ${WRKSRC}
|
||||
@cd ${WRKSRC}/src/modules/rlm_perl && ${AUTOCONF} -I ${WRKSRC}
|
||||
@cd ${WRKSRC}/src/modules/rlm_python && ${AUTOCONF} -I ${WRKSRC}
|
||||
|
||||
pre-install:
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (freeradius-server-2.1.4.tar.bz2) = ba1fd573222ed5c8bead1cce1383a7a9
|
||||
SHA256 (freeradius-server-2.1.4.tar.bz2) = d509191a2a0cd556f23639547d176c662c0fc0de09fc625e1afc62ed84cbd2de
|
||||
SIZE (freeradius-server-2.1.4.tar.bz2) = 2405962
|
||||
MD5 (freeradius-server-2.1.6.tar.bz2) = 645ac631505cde46e93c47e273bdec19
|
||||
SHA256 (freeradius-server-2.1.6.tar.bz2) = a3bb9ead594a612442a4ce1d7c6930002486055c3be8f20320634c7f2743cb9e
|
||||
SIZE (freeradius-server-2.1.6.tar.bz2) = 2512340
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- raddb/certs/bootstrap 2009-03-18 20:20:41.000000000 +0000
|
||||
+++ raddb/certs/bootstrap 2009-03-18 21:20:25.000000000 +0000
|
||||
@@ -17,7 +17,7 @@
|
||||
#
|
||||
# If that worked, exit. Otherwise, run the commands manually.
|
||||
#
|
||||
-if [ "$?" == "0" ]
|
||||
+if [ $? -eq 0 ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
61
net/freeradius2/files/patch-perl
Normal file
61
net/freeradius2/files/patch-perl
Normal file
@ -0,0 +1,61 @@
|
||||
--- configure.in 2009-07-01 17:32:17.000000000 +0100
|
||||
+++ configure.in 2009-07-01 17:45:44.000000000 +0100
|
||||
@@ -409,6 +409,21 @@
|
||||
AC_DEFINE(WITH_UDPFROMTO, [], [define if you want udpfromto])
|
||||
fi
|
||||
|
||||
+dnl extra argument: --with-perl
|
||||
+WITH_PERL=yes
|
||||
+AC_ARG_WITH(perl,
|
||||
+[ --with-perl Enable Perl support. (default=yes)],
|
||||
+[ case "$withval" in
|
||||
+ yes)
|
||||
+ ;;
|
||||
+ *)
|
||||
+ WITH_PERL=no
|
||||
+ esac ]
|
||||
+)
|
||||
+if test "x$WITH_PERL" = "xno"; then
|
||||
+ with_rlm_perl=no
|
||||
+fi
|
||||
+
|
||||
dnl #############################################################
|
||||
dnl #
|
||||
dnl # 1. Checks for programs
|
||||
@@ -416,10 +431,14 @@
|
||||
dnl #############################################################
|
||||
|
||||
CHECKRAD=checkrad.pl
|
||||
+if test "x$WITH_PERL" = "xyes"; then
|
||||
AC_PATH_PROG(PERL, perl, /usr/local/bin/perl)
|
||||
if test "x$ac_cv_path_PERL" = "x"; then
|
||||
AC_MSG_WARN(perl not found - Simultaneous-Use and checkrad.pl may not work)
|
||||
fi
|
||||
+else
|
||||
+ AC_MSG_WARN(perl disabled - Simultaneous-Use and checkrad.pl may not work)
|
||||
+fi
|
||||
AC_PATH_PROG(SNMPGET, snmpget)
|
||||
if test "x$ac_cv_path_SNMPGET" = "x"; then
|
||||
AC_MSG_WARN(snmpget not found - Simultaneous-Use and checkrad.pl may not work)
|
||||
--- src/modules/rlm_perl/configure.in 2009-07-01 17:58:23.000000000 +0100
|
||||
+++ src/modules/rlm_perl/configure.in 2009-07-01 20:09:39.000000000 +0100
|
||||
@@ -3,7 +3,18 @@
|
||||
AC_REVISION($Revision$)
|
||||
AC_DEFUN(modname,[rlm_perl])
|
||||
|
||||
-if test x$with_[]modname != xno; then
|
||||
+dnl extra argument: --with-perl
|
||||
+WITH_PERL=yes
|
||||
+AC_ARG_WITH(perl,
|
||||
+[ --with-perl Enable Perl support. (default=yes)],
|
||||
+[ case "$withval" in
|
||||
+ yes)
|
||||
+ ;;
|
||||
+ *)
|
||||
+ WITH_PERL=no
|
||||
+ esac ]
|
||||
+)
|
||||
+if test x$with_[]modname != xno && test x$WITH_PERL != xno; then
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
@ -1,5 +0,0 @@
|
||||
--- VERSION 2009-03-19 13:59:05.000000000 +0000
|
||||
+++ VERSION 2009-03-19 13:59:14.000000000 +0000
|
||||
@@ -1 +1 @@
|
||||
-2.1.5
|
||||
+2.1.4
|
@ -374,11 +374,11 @@ bin/smbencrypt
|
||||
%%EXPM%%%%LIBDIR%%/rlm_protocol_filter.a
|
||||
%%EXPM%%%%LIBDIR%%/rlm_protocol_filter.la
|
||||
%%EXPM%%%%LIBDIR%%/rlm_protocol_filter.so
|
||||
%%LIBDIR%%/rlm_python-%%PORTVERSION%%.la
|
||||
%%LIBDIR%%/rlm_python-%%PORTVERSION%%.so
|
||||
%%LIBDIR%%/rlm_python.a
|
||||
%%LIBDIR%%/rlm_python.la
|
||||
%%LIBDIR%%/rlm_python.so
|
||||
%%RLMPYTHON%%%%LIBDIR%%/rlm_python-%%PORTVERSION%%.la
|
||||
%%RLMPYTHON%%%%LIBDIR%%/rlm_python-%%PORTVERSION%%.so
|
||||
%%RLMPYTHON%%%%LIBDIR%%/rlm_python.a
|
||||
%%RLMPYTHON%%%%LIBDIR%%/rlm_python.la
|
||||
%%RLMPYTHON%%%%LIBDIR%%/rlm_python.so
|
||||
%%LIBDIR%%/rlm_radutmp-%%PORTVERSION%%.la
|
||||
%%LIBDIR%%/rlm_radutmp-%%PORTVERSION%%.so
|
||||
%%LIBDIR%%/rlm_radutmp.a
|
||||
@ -389,6 +389,11 @@ bin/smbencrypt
|
||||
%%LIBDIR%%/rlm_realm.a
|
||||
%%LIBDIR%%/rlm_realm.la
|
||||
%%LIBDIR%%/rlm_realm.so
|
||||
%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby-%%PORTVERSION%%.la
|
||||
%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby-%%PORTVERSION%%.so
|
||||
%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.a
|
||||
%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.la
|
||||
%%EXPM%%%%RLMRUBY%%%%LIBDIR%%/rlm_ruby.so
|
||||
%%EXPM%%%%LIBDIR%%/rlm_sim_files-%%PORTVERSION%%.la
|
||||
%%EXPM%%%%LIBDIR%%/rlm_sim_files-%%PORTVERSION%%.so
|
||||
%%EXPM%%%%LIBDIR%%/rlm_sim_files.a
|
||||
@ -429,6 +434,11 @@ bin/smbencrypt
|
||||
%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.a
|
||||
%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.la
|
||||
%%PGSQL%%%%LIBDIR%%/rlm_sql_postgresql.so
|
||||
%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc-%%PORTVERSION%%.la
|
||||
%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc-%%PORTVERSION%%.so
|
||||
%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.a
|
||||
%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.la
|
||||
%%UNIXODBC%%%%LIBDIR%%/rlm_sql_unixodbc.so
|
||||
%%LIBDIR%%/rlm_sqlcounter-%%PORTVERSION%%.la
|
||||
%%LIBDIR%%/rlm_sqlcounter-%%PORTVERSION%%.so
|
||||
%%LIBDIR%%/rlm_sqlcounter.a
|
||||
@ -460,18 +470,34 @@ sbin/raddebug
|
||||
sbin/radiusd
|
||||
sbin/radmin
|
||||
sbin/radwatch
|
||||
include/freeradius/autoconf.h
|
||||
include/freeradius/conf.h
|
||||
include/freeradius/conffile.h
|
||||
include/freeradius/detail.h
|
||||
include/freeradius/dhcp.h
|
||||
include/freeradius/event.h
|
||||
include/freeradius/hash.h
|
||||
include/freeradius/heap.h
|
||||
include/freeradius/ident.h
|
||||
include/freeradius/libradius.h
|
||||
include/freeradius/md4.h
|
||||
include/freeradius/md5.h
|
||||
include/freeradius/missing.h
|
||||
include/freeradius/modcall.h
|
||||
include/freeradius/modules.h
|
||||
include/freeradius/packet.h
|
||||
include/freeradius/rad_assert.h
|
||||
include/freeradius/radius.h
|
||||
include/freeradius/radiusd.h
|
||||
include/freeradius/radpaths.h
|
||||
include/freeradius/radutmp.h
|
||||
include/freeradius/realms.h
|
||||
include/freeradius/sha1.h
|
||||
include/freeradius/stats.h
|
||||
include/freeradius/sysutmp.h
|
||||
include/freeradius/token.h
|
||||
include/freeradius/udpfromto.h
|
||||
include/freeradius/vmps.h
|
||||
include/freeradius/vqp.h
|
||||
@dirrm include/freeradius
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Acct-Type
|
||||
@ -630,6 +656,7 @@ include/freeradius/vqp.h
|
||||
%%DATADIR%%/dictionary.h3c
|
||||
%%DATADIR%%/dictionary.hp
|
||||
%%DATADIR%%/dictionary.huawei
|
||||
%%DATADIR%%/dictionary.infonet
|
||||
%%DATADIR%%/dictionary.ipunplugged
|
||||
%%DATADIR%%/dictionary.issanni
|
||||
%%DATADIR%%/dictionary.itk
|
||||
|
Loading…
Reference in New Issue
Block a user