Commit report for master branch

The git bot announce at freeradius.org
Thu Oct 2 00:00:03 CEST 2014


New activity for FreeRADIUS (the high performance and highly configurable RADIUS server)

======
Use new API

Alan T. DeKok at 2014-10-01T23:21:19Z
Files modified:
	* src/main/radwho.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/213df0786984a8d9178b9334056622740296f685
====== 
Use new API

Alan T. DeKok at 2014-10-01T23:06:30Z
Files modified:
	* src/main/collectd.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f46ea86059f7cb4b1856d7081c720c044ac7d3a9
====== 
Print failed command

Alan T. DeKok at 2014-10-01T22:32:36Z
Files modified:
	* src/tests/keywords/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/003561c06acddb59ef8c78303a36f70dfa1a22d7
====== 
Don't optimize %{virtual} to &Virtual.  Closes #804

Alan T. DeKok at 2014-10-01T22:32:35Z
Files modified:
	* src/main/modcall.c
	* src/tests/keywords/expand

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3a1099d585f517864de49b95efbb9d69cdb03494
====== 
Framework for virtual attributes.

To make xlat easier.

Alan T. DeKok at 2014-10-01T22:32:25Z
Files modified:
	* share/dictionary.freeradius.internal
	* src/include/libradius.h
	* src/lib/dict.c
	* src/main/xlat.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1b6f14bfbad4e8455595bfc825d84bc5ea4cf62a
====== 
Escape quotation character, not "

The previous code always escaped ", even if the string was using
single quotes.  And if the string used single quotes, the ' character
was not quoted

Alan T. DeKok at 2014-10-01T22:32:24Z
Files modified:
	* src/include/libradius.h
	* src/lib/print.c
	* src/tests/keywords/escape-sequences

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a12efeddf234733c8d0820d4783559f6f2732cf2
====== 
Framework for using the correct quotes in strings.

Expose the quotation character, and make functions take it.

Alan T. DeKok at 2014-10-01T22:32:22Z
Files modified:
	* src/include/libradius.h
	* src/lib/dict.c
	* src/lib/print.c
	* src/lib/valuepair.c
	* src/main/auth.c
	* src/main/evaluate.c
	* src/main/map.c
	* src/main/xlat.c
	* src/modules/rlm_rest/rest.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/0c1f28e6293830ee07946a80ee914bb7a873d047
====== 
If we're escaping strings, print "foo" instead of just foo

Alan T. DeKok at 2014-10-01T22:32:20Z
Files modified:
	* src/lib/print.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5a788aa2b70b0d2da6ff7f10dec7524a9c4f3cc7
====== 
Don't assume little-endian in fr_prints_uint128

Add handling of big-endian architectures to fr_prints_uint128.

Nikolai Kondrashov (via Alan T. DeKok)@2014-10-01T18:07:11Z
Files modified:
	* src/lib/misc.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c2e60ce612e27c075acef99a57d9d251ba4b64f5
====== 
Prefix *_ENDIAN macros with RADIUS_

Rename LITTLE_ENDIAN and BIG_ENDIAN macros to RADIUS_LITTLE_ENDIAN and
RADIUS_BIG_ENDIAN respectively to avoid clashes with
/usr/include/endian.h defines, which result in always assuming
little-endian architecture.

Nikolai Kondrashov (via Alan T. DeKok)@2014-10-01T18:07:10Z
Files modified:
	* configure
	* configure.ac
	* src/include/autoconf.h.in
	* src/include/build.h
	* src/include/missing-h
	* src/lib/missing.c
	* src/main/version.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/99eef20c7e471dcb71cee681703c0570e46b791a
====== 
More type fixes for byte / short / integer

Alan T. DeKok at 2014-10-01T18:07:08Z
Files modified:
	* src/lib/print.c
	* src/lib/valuepair.c
	* src/main/xlat.c
	* src/modules/rlm_couchbase/mod.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4a1e160f18c85fc40e65f68f7d46fe5bfeeba953
====== 
Access union value_data members consistently

Use the same, appropriate union value_data member for each access of
BOOLEAN, BYTE and SHORT PW_TYPEs, without assuming they're
interchangeable with "integer", as that is only true on little-endian
architectures.

This fixes at least this wimax unit test failure on s390x and ppc64:

    Mismatch in line 11 of src/tests/unit/wimax.txt, got: 1a 0c 00 00 60 b5 01 06 00 02 03 00 expected: 1a 0c 00 00 60 b5 01 06 00 02 03 01

Nikolai Kondrashov (via Alan T. DeKok)@2014-10-01T18:07:07Z
Files modified:
	* src/lib/print.c
	* src/lib/radius.c
	* src/lib/valuepair.c
	* src/main/evaluate.c
	* src/main/valuepair.c
	* src/main/xlat.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/eff0568841c9d7b2d79f8944a090f00aa9a281ba
====== 
Don't truncate 64-bit integers in do_cast_copy

Assign converted octets to vp_integer64, instead of vp_integer to avoid
truncation in do_cast_copy.

Nikolai Kondrashov (via Alan T. DeKok)@2014-10-01T18:07:06Z
Files modified:
	* src/main/evaluate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7fbce17ed18d2b58015f36ec10e890d386eda56e
====== 
Better error messages

Alan T. DeKok at 2014-10-01T16:07:03Z
Files modified:
	* src/main/process.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/64dbf09f1d3be1affee0581b27b1127dee9a54f6
====== 
perl: Don't call detach after failed perl_parse

Don't call "detach" callback in rlm_perl, if perl_parse of the Perl
module failed.

This fixes segfault when the module file cannot be read:

    Can't open perl script "/etc/raddb/mods-config/perl/example.pl": Permission denied
    rlm_perl: perl_parse failed: /etc/raddb/mods-config/perl/example.pl not found or has syntax errors.
    /etc/raddb/mods-enabled/perl[7]: Instantiation failed for module "perl"
    Segmentation fault

Nikolai Kondrashov (via Alan T. DeKok)@2014-10-01T16:07:02Z
Files modified:
	* src/modules/rlm_perl/rlm_perl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/c1eecea29f057e06f5c74b88f9a4a1e776135e5a
====== 
Add TMPL_TYPE_ATTR_UNKNOWN

So that we can handle &Foo-Bar in pass2.  And have better
parse errors, too

Conflicts:
	src/main/map.c

Alan T. DeKok at 2014-10-01T16:06:59Z
Files modified:
	* src/include/map.h
	* src/include/tmpl.h
	* src/main/map.c
	* src/main/modcall.c
	* src/main/parser.c
	* src/main/tmpl.c
	* src/tests/unit/condition.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/df83f0bdd9cb72a3cf9aa24a2ea0b0a623ca735d
====== 
Expose map_cast_from_hex()

Alan T. DeKok at 2014-10-01T16:06:59Z
Files modified:
	* src/include/map.h
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/071fd9199ac363f54f9e2fcd3000f8bc16f4ae46
====== 
Use tmpl_define_unknown_attr()

Alan T. DeKok at 2014-10-01T16:06:58Z
Files modified:
	* src/main/map.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3bfae7f86461f74092cd5a74068ee1f55321428e
====== 
Expose tmpl_define_unknown_attr

Alan T. DeKok at 2014-10-01T16:06:58Z
Files modified:
	* src/include/tmpl.h
	* src/main/tmpl.c
	* src/tests/keywords/unknown-name

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a48511d937ce93758d5e787f27ac7b7d929ac3d9
====== 
Better parsing for attributes defined in pass1

They are now ATTR_UNKNOWN, instead of literals

Alan T. DeKok at 2014-10-01T16:06:58Z
Files modified:
	* src/tests/unit/condition.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b1c3d31937dfc2d72cd360dde1af2125bf687b40
====== 
We no longer return -2 on partial parse error

Alan T. DeKok at 2014-10-01T16:06:58Z
Files modified:
	* src/main/tmpl.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/aedbcaa6b518757918c506d0a2209aa8656c7cc9
====== 
-- 
This commit summary was generated @2014-10-02T00:00:03Z by lgfeed version 0.00 (https://github.com/arr2036/lgfeed).


More information about the Freeradius-Devel mailing list