From owner-freebsd-stable@FreeBSD.ORG Fri Jan 24 23:16:36 2014 Return-Path: Delivered-To: FreeBSD-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 715CD389 for ; Fri, 24 Jan 2014 23:16:36 +0000 (UTC) Received: from exodus.zi0r.com (exodus.zi0r.com [71.245.171.203]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2915C12D2 for ; Fri, 24 Jan 2014 23:16:35 +0000 (UTC) Received: from exodus.zi0r.com (localhost [127.0.0.1]) by exodus.zi0r.com (Postfix) with ESMTP id 21D953A09D; Fri, 24 Jan 2014 18:16:29 -0500 (EST) X-Virus-Scanned: amavisd-new at zi0r.com Received: from exodus.zi0r.com ([127.0.0.1]) by exodus.zi0r.com (exodus.zi0r.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id B-R2ENzfqwmP; Fri, 24 Jan 2014 18:16:27 -0500 (EST) Received: from exodus.zi0r.com (syn.zi0r.com [71.245.171.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by exodus.zi0r.com (Postfix) with ESMTPSA id C79463A09C; Fri, 24 Jan 2014 18:16:27 -0500 (EST) Date: Fri, 24 Jan 2014 18:16:25 -0500 From: Ryan Steinmetz To: Darrel Subject: Re: freeradius3 dhcp.dictionary error Message-ID: <20140124231625.GB33923@exodus.zi0r.com> References: <20140122195843.GA901@exodus.zi0r.com> <20140122210752.GA35660@exodus.zi0r.com> <20140122223636.GA68486@exodus.zi0r.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 23:16:36 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Darrel, Please try the attached patch. Thanks! -r -- Ryan Steinmetz PGP: EF36 D45A 5CA9 28B1 A550 18CD A43C D111 7AD7 FAF2 --KFztAG8eRSV9hGtP Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="fr3.diff" Index: Makefile =================================================================== --- Makefile (revision 330361) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= freeradius DISTVERSION= 3.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/freeradius/%SUBDIR%/ \ ftp://ftp.ntua.gr/pub/net/radius/freeradius/%SUBDIR%/ \ @@ -40,12 +40,11 @@ PLIST_SUB= PORTVERSION=${DISTVERSION} LIBVER=0${PORTVERSION:C/\./0/g} OPTIONS_DEFINE= USER KERBEROS HEIMDAL HEIMDAL_PORT LDAP MYSQL \ - PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY DHCP \ + PGSQL UNIXODBC FIREBIRD REDIS PYTHON RUBY \ EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \ FREETDS IDN SSL_PORT OPTIONS_DEFAULT=USER PERL -DHCP_DESC= With DHCP support (EXPERIMENTAL) USER_DESC= Run as user freeradius, group freeradius HEIMDAL_DESC= With Heimdal Kerberos support HEIMDAL_PORT_DESC= With Heimdal Kerberos from ports @@ -202,18 +201,6 @@ EXPM= yes .endif -.if ${PORT_OPTIONS:MDHCP} -IGNORE= currently fails to build properly with DHCP support -CONFIGURE_ARGS+=--with-dhcp -.else -CONFIGURE_ARGS+=--without-dhcp --without-rlm_dhcp --without-proto_dhcp -.endif - -# DHCP is still experimental -.if ${PORT_OPTIONS:MDHCP} && empty(PORT_OPTIONS:MEXPERIMENTAL) -EXPM= yes -.endif - # No SMB option yet; rlm_smb is still unbuildable .if ${PORT_OPTIONS:MSMB} LIB_DEPENDS= smbclient:${PORTSDIR}/net/samba-libsmbclient @@ -411,17 +398,6 @@ @${REINPLACE_CMD} -e 's|-lkrb5|$$(${KRB5_CONFIG})|g' \ ${WRKSRC}/src/modules/rlm_krb5/configure .endif -# If DHCP is enabled, enable the DHCP dictionary -.if ${PORT_OPTIONS:MDHCP} - @${REINPLACE_CMD} -Ee 's:^#(.+ dictionary\.dhcp)$$:\1:g' \ - ${WRKSRC}/share/dictionary -# Clean up (so as not to get an unwanted file in share) - @${FIND} -E ${WRKSRC}/share \ - -regex '.*/dictionary\.(orig|bak)$$' \ - -delete -.else - @${RM} -fr ${WRKSRC}/src/modules/proto_dhcp/ -.endif .if empty(PORT_OPTIONS:MRUBY) @${RM} -fr ${WRKSRC}/src/modules/rlm_ruby/ .endif Index: pkg-plist =================================================================== --- pkg-plist (revision 330268) +++ pkg-plist (working copy) @@ -1,4 +1,5 @@ @stopdaemon radiusd +bin/dhcpclient bin/radcrypt bin/radclient bin/radconf2xml @@ -25,6 +26,9 @@ %%LIBDIR%%/libfreeradius-server.a %%LIBDIR%%/libfreeradius-server.la %%LIBDIR%%/libfreeradius-server.so +%%LIBDIR%%/proto_dhcp.a +%%LIBDIR%%/proto_dhcp.la +%%LIBDIR%%/proto_dhcp.so %%LIBDIR%%/proto_vmps.a %%LIBDIR%%/proto_vmps.la %%LIBDIR%%/proto_vmps.so @@ -49,6 +53,9 @@ %%LIBDIR%%/rlm_detail.a %%LIBDIR%%/rlm_detail.la %%LIBDIR%%/rlm_detail.so +%%LIBDIR%%/rlm_dhcp.a +%%LIBDIR%%/rlm_dhcp.la +%%LIBDIR%%/rlm_dhcp.so %%LIBDIR%%/rlm_digest.a %%LIBDIR%%/rlm_digest.la %%LIBDIR%%/rlm_digest.so --KFztAG8eRSV9hGtP--