Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308449 - Version bump net-dialup/freeradius-2.1.10
Summary: Version bump net-dialup/freeradius-2.1.10
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
: 360829 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-08 11:48 UTC by William Keaney
Modified: 2011-09-21 21:55 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Failed build log for FreeRadius 2.1.10 (build.log,141.23 KB, text/plain)
2011-07-20 21:50 UTC, John Moe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Keaney 2010-03-08 11:48:09 UTC
freeradius-2.1.8 was released in December 2009, and includes numerous fixes.
Please add it to Gentoo's tree.
It looks like the ebuilds for freeradius only need a version bump.  I will run a test build here to verify.

Reproducible: Always
Comment 1 Mike Baikov 2010-07-02 09:09:40 UTC
2010.05.24 Version 2.1.9 (sig) has been released. The focus of this release is stability.
Feature improvements

    * Add radmin command "stats detail " to see what is going on inside of a detail file reader.
    * Added documentation for CoA. See raddb/sites-available/coa
    * Add sub-option support for Option 82. See dictionary.dhcp
    * Add "server" field to default SQL NAS table, and documented it.

Bug fixes

    * Reset "received ping" counter for Status-Server checks. In some corner cases it was not getting reset.
    * Handle large VMPS attributes.
    * Count accounting responses from a home server in SNMP / statistics code.
    * Set EAP-Session-Resumed = Yes, not "No" when session is resumed.
    * radmin packet counter statistics are now unsigned, for numbers 2^31..2^32. After that they roll over to zero.
    * Be more careful about expanding data in PAP and MS-CHAP modules. This prevents login failures when passwords contain '{'.
    * Clean up zombie children if there were many "exec" modules being run for one packet, all with "wait = no".
    * re-open log file after HUP. Closes bug #63.
    * Fix "no response to proxied packet" complaint for Coa / Disconnect packets. It shouldn't ignore replies to packets it sent.
    * Calculate IPv6 netmasks correctly. Closes bug #69.
    * Fix SQL module to re-open sockets if they unexpectedly close.
    * Track scope for IPv6 addresses. This lets us use link-local addresses properly. Closes bug #70.
    * Updated Makefiles to no longer use the shell for recursing into subdirs. "make -j 2" should now work.
    * Updated raddb/sql/mysql/ippool.conf to use "= NULL". Closes bug #75.
    * Updated Makefiles so that "make reconfig" no longer uses the shell for recursing into subdirs, and re-builds all "configure" files.
    * Used above method to regenerate all configure scripts. Closes bug #34.
    * Updated SQL module to allow "server" field of "nas" table to be blank: "". This means the same as it being NULL.
    * Fixed regex realm example. Create Realm attribute with value of realm from User-Name, not from regex. Closes bug #40.
    * If processing a DHCP Discover returns "fail / reject", ignore the packet rather than sending a NAK.
    * Allow '%' to be escaped in sqlcounter module.
    * Fix typo internal hash table.
    * For PEAP and TTLS, the tunneled reply is added to the reply, rather than integrated via the operators. This allows multiple VSAs to be added, where they would previously be discarded.
    * Make request number unsigned. This changes nothing other than the debug output when the server receives more than 2^31 packets.
    * Don't block when reading child output in 'exec wait'. This means that blocked children get killed, instead of blocking the server.
    * Enabled building without any proxy functionality
    * radclient now prefers IPv4, to match the default server config.
    * Print useful error when a realm regex is invalid
    * relaxed rules for preprocess module "with_cisco_vsa_hack". The attributes can now be integer, ipaddr, etc. (i.e. non-string)
    * Allow rlm_ldap to build if ldap_set_rebind_proc() has only 2 arguments.
    * Update configure script for rlm_python to avoid dynamic linking problems on some platforms.
    * Work-around for bug #35
    * Do suid to "user" when running in debug mode as root
    * Make "allow_core_dumps" work in more situations.
    * In detail file reader, treat bad records as EOF. This allows it to continue working when the disk is full.
    * Fix Oracle default accounting queries to work when there are no gigawords attributes. Other databases already had the fix.
    * Fix rlm_sql to show when it opens and closes sockets. It already says when it cannot connect, so it should say when it can connect.
    * "chmod -x" for a few C source files.
    * Pull update spec files, etc. from RedHat into the redhat/ directory.
    * Allow spaces when parsing integer values. This helps people who put "too much" into an SQL value field.
Comment 2 Agostino Sarubbo gentoo-dev 2010-10-21 21:12:38 UTC
2010.09.28 Version 2.1.10 (sig) has been released. The focus of this release is stability.

Why it has not yet been added in tree since the first request?
Comment 3 Christian Franke 2011-02-09 17:44:03 UTC
As I need =net-dialup/freeradius-2.1.10, I created an ebuild for it, it's mostly a bump of the 2.1.7 ebuild in portage.

http://git.nowhere.ws/?p=gentoo-overlay-own.git;a=tree;f=net-dialup/freeradius
Comment 4 Han Boetes 2011-03-03 11:23:30 UTC
Yes, please avoid work duplication and bump the version. My colluege just spent half an hour creating an updated version and I discovered this bug-report. I bet we're not the only ones.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2011-05-26 14:08:14 UTC
The maintainer is on an extended devaway. I will work on the 2.1.10 bump based on the git repo you pasted but if someone wants to proxy maintain this package, please just say it on this bug
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-05-26 14:13:27 UTC
*** Bug 360829 has been marked as a duplicate of this bug. ***
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2011-05-26 15:32:00 UTC
I committed the new ebuild on tree but masked. Please test it and report any problem here. Thanks
Comment 8 Agostino Sarubbo gentoo-dev 2011-05-26 18:52:08 UTC
emake does not work. So you can you -j1 at all cases.

It compiles but i see this issue with python and not:

amd64box freeradius # grep WARNING /home/ago/log/build/net-dialup/freeradius-2.1.10\:20110526-184755.log 
configure: WARNING: not overwriting libltdl at /usr, force with `--enable-ltdl-install'
configure: WARNING: the TNCS library isn't found!
configure: WARNING: silently not building rlm_eap_tnc.
configure: WARNING: FAILURE: rlm_eap_tnc requires:  -lTNCS.
configure: WARNING: silently not building rlm_eap_ikev2.
configure: WARNING: FAILURE: rlm_eap_ikev2 requires:  libeap-ikev2 EAPIKEv2/connector.h.
configure: WARNING: silently not building rlm_opendirectory.
configure: WARNING: FAILURE: rlm_opendirectory requires:  membership.h.
configure: WARNING: silently not building rlm_python.
configure: WARNING: FAILURE: rlm_python requires:  Python.h libpython.
configure: WARNING: silently not building rlm_ruby.
configure: WARNING: FAILURE: rlm_ruby requires: ruby-binary.
configure: WARNING: oracle headers not found.  Use --with-oracle-include-dir=<path>.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
configure: WARNING: silently not building rlm_sql_iodbc.
configure: WARNING: FAILURE: rlm_sql_iodbc requires: isql.h.
configure: WARNING: silently not building rlm_sql_db2.
configure: WARNING: FAILURE: rlm_sql_db2 requires: libdb2 sqlcli.h.



checking for python... python
  File "<string>", line 1
    import sys ; print sys.prefix
                         ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys ; print sys.exec_prefix
                         ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys ; print sys.version[0:3]
                         ^
SyntaxError: invalid syntax
checking for Python.h... no
Comment 9 Olivier Pelerin 2011-06-07 09:43:55 UTC
Just installed it without any issues
Comment 10 John Moe 2011-07-20 21:49:05 UTC
FYI: Just tried to install and got the following error:

gmake[9]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules/rlm_eap/types/rlm_eap_peap'
gmake[8]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules/rlm_eap/types'
gmake[7]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules/rlm_eap/types'
/bin/sh /var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/libtool --mode=compile x86_64-pc-linux-gnu-gcc  -O2 -march=native
-pipe -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src   -Ilibeap -c rlm_eap.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/net-dialup/freeradius-2.1.10/work/f
reeradius-server-2.1.10/src -Ilibeap -c rlm_eap.c  -fPIC -DPIC -o .libs/rlm_eap.o
rlm_eap.c: In function 'eap_instantiate':
rlm_eap.c:260: error: expected expression before '<' token
rlm_eap.c:267: error: expected expression before '<' token
gmake[6]: *** [rlm_eap.lo] Error 1
gmake[6]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules/rlm_eap'
gmake[5]: *** [rlm_eap] Error 2
gmake[5]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src/modules'
gmake[3]: *** [modules] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.10/work/freeradius-server-2.1.10'
make: *** [all] Error 2
emake failed

I'll have to try to stick with the latest keyworded version for now.  Was hoping to go to the latest version, but without a maintainer, I suppose that'll be difficult.  Any idea when "extended devaway" might be over?  Or is that dev-speak for "away until further notice"?  :-P

FWIW, further information follows (build log is attached to bug):

administrator@ADCFREERADIUS ~ $ emerge --info =net-dialup/freeradius-2.1.10
Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 20 Jul 2011 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc
/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-fe
atures-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfil
es --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv kerberos ldap mmx modules mudflap multilib ncurses nls nptl nptlonl
y openmp pam pcre perl pppd python readline samba session sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem b
t87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null
 plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm auth
z_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
 file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usert
rack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load
memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip nav
com oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CA
RDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock
 lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
, PORTAGE_RSYNC_EXTRA_OPTS

administrator@ADCFREERADIUS ~ $ emerge -pqv =net-dialup/freeradius-2.1.10
[ebuild     U ] net-dialup/freeradius-2.1.10 [2.0.5] USE="kerberos ldap pam ssl udpfromto -bindist -debug -edirectory (-firebird) -frascend -frxp -mys
ql -postgres -snmp -threads"
Comment 11 John Moe 2011-07-20 21:50:16 UTC
Created attachment 280497 [details]
Failed build log for FreeRadius 2.1.10
Comment 12 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-09-21 16:46:39 UTC
I've copied it to 2.1.11 on my machines (removed the ipv6 patch, since it is not needed anymore).

I added this to the econf call in src_configure() to fix a bug where it is unable to run libtool: --with-system-libtool

I've tried in on one of my testmachines and two of my routers without problems, so please bump and make the two changes that I mention :)

(Changing status, since it has been tested) :)
Comment 13 Markos Chandras (RETIRED) gentoo-dev 2011-09-21 16:57:32 UTC
(In reply to comment #12)
> I've copied it to 2.1.11 on my machines (removed the ipv6 patch, since it is
> not needed anymore).
> 
> I added this to the econf call in src_configure() to fix a bug where it is
> unable to run libtool: --with-system-libtool
> 
> I've tried in on one of my testmachines and two of my routers without problems,
> so please bump and make the two changes that I mention :)
> 
> (Changing status, since it has been tested) :)

Hi. Could you please open a separate bug and attach your ebuild there. Please don't use old bugs for such requests. Thank you
Comment 14 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-09-21 21:55:48 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > I've copied it to 2.1.11 on my machines (removed the ipv6 patch, since it is
> > not needed anymore).
> > 
> > I added this to the econf call in src_configure() to fix a bug where it is
> > unable to run libtool: --with-system-libtool
> > 
> > I've tried in on one of my testmachines and two of my routers without problems,
> > so please bump and make the two changes that I mention :)
> > 
> > (Changing status, since it has been tested) :)
> 
> Hi. Could you please open a separate bug and attach your ebuild there. Please
> don't use old bugs for such requests. Thank you

Sure :)
I've created it as bug #384027, please take a look :)