Commit report for master branch

The git bot announce at freeradius.org
Thu Mar 21 00:00:02 CET 2013


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

======
pairadd(paircopy)) instead of paircopy/pairmove/pairfree

Alan T. DeKok at 2013-03-20T22:59:56Z
Files modified:
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/f958c5e901414f4e0fad45373b7e5b10ccb938e6
====== 
most of the rest of the code has packet/reply, not request/reply

Yes, it's not perfect... but it makes the next commit easier

Alan T. DeKok at 2013-03-20T22:56:05Z
Files modified:
	* src/modules/rlm_cache/rlm_cache.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bc17da3b052e69e7983e72aec4c1ea8597abe869
====== 
Audit the code to pass correct parent to pair() functions

Alan T. DeKok at 2013-03-20T22:20:07Z
Files modified:
	* src/main/detail.c
	* src/modules/rlm_eap/radeapclient.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
	* src/modules/rlm_eap2/rlm_eap2.c
	* src/modules/rlm_securid/rlm_securid.c
	* src/modules/rlm_sql/rlm_sql.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4ec4d65fa081de91131504dcaa8bf68408b48064
====== 
Fix arguments to gen keys

Now that we have packet, we don't have to pass a VPS pointer

Alan T. DeKok at 2013-03-20T22:19:40Z
Files modified:
	* src/modules/rlm_eap/libeap/eap_tls.c
	* src/modules/rlm_eap/libeap/eap_tls.h
	* src/modules/rlm_eap/libeap/mppe_keys.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7274d318be1b7c533443378206400a653a5d1520
====== 
Use pairmove2() instead of pairadd(a,b);b=NULL

Now that we use talloc, we have to re-parent everything
properly.

Alan T. DeKok at 2013-03-20T22:19:10Z
Files modified:
	* src/main/process.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/rlm_eap_peap.c
	* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/691f568ac614736833ca30199a4559a3e2af9281
====== 
Allow attr/vendor of 0 in pairmove, which means "move all"

Alan T. DeKok at 2013-03-20T22:06:09Z
Files modified:
	* src/lib/valuepair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/fb73fad271c3ff064ce728df2a05795b04400b98
====== 
Simplify code

Alan T. DeKok at 2013-03-20T19:33:26Z
Files modified:
	* src/lib/valuepair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9514d47a065e7308daab1958b2ebde8d7c1d45e9
====== 
Use correct context for paircopy

Alan T. DeKok at 2013-03-20T19:33:26Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b4a69517b6b39cf9399c7fa113145379f2850e24
====== 
Initialise more things

Arran Cudbard-Bell at 2013-03-20T17:44:19Z
Files modified:
	* src/modules/rlm_ldap/ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2dee4ec628afe639c2bd6c6bc47b56c56dc47f9c
====== 
Quiet dumb compiler

Arran Cudbard-Bell at 2013-03-20T17:44:19Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/208cc3b25aafcc22a73f82f01ad29376cf949b4b
====== 
RADIUS over TCP, and RADIUS over TLS RFCs

Alan T. DeKok at 2013-03-20T17:28:13Z
Files modified:
	* doc/rfc/rfc6613.txt
	* doc/rfc/rfc6614.txt

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/1154e269b53f679ee9c783d111d2bb7354c2d528
====== 
Steal pointers on pairmove.  Closes #232

We need to update pairmove() to steal the VP from its parent,
otherwise when we free the parent, we'll free the VP, even though
it's on a new list.

Alan T. DeKok at 2013-03-20T17:24:29Z
Files modified:
	* src/include/libradius.h
	* src/lib/valuepair.c
	* src/main/evaluate.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_dhcp/rlm_dhcp.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_files/rlm_files.c
	* src/modules/rlm_ldap/configure
	* src/modules/rlm_redis/configure
	* src/modules/rlm_rediswho/configure
	* src/modules/rlm_securid/configure
	* src/modules/rlm_sql/configure
	* src/modules/rlm_wimax/configure
	* src/modules/rlm_yubikey/configure

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/12cc9c960c1ec7eeedc755d986533032c63f04b4
====== 
Typo

Arran Cudbard-Bell at 2013-03-20T17:12:00Z
Files modified:
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/ldap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a1bbcda1281b1f5b973c8b4b9d77f2ed04a220c1
====== 
Re-run configure after removing shell-style comments

Alan T. DeKok at 2013-03-20T16:55:19Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_ikev2/configure
	* src/modules/rlm_eap/types/rlm_eap_md5/configure
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/configure
	* src/modules/rlm_example/configure
	* src/modules/rlm_krb5/configure
	* src/modules/rlm_otp/configure
	* src/modules/rlm_perl/configure
	* src/modules/rlm_rest/configure
	* src/modules/rlm_smsotp/configure

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/47b62977609e52500351ae1851854e77725255ed
====== 
Ignore modules which have not yet been configured

Alan T. DeKok at 2013-03-20T16:54:59Z
Files modified:
	* src/modules/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5f653b304f631b7dc5eba753e0fcdeebd2c8d45a
====== 
Remove '#' comments in configure.in files

They're m4, not shell

Alan T. DeKok at 2013-03-20T16:45:43Z
Files modified:
	* src/modules/rlm_example/configure.in
	* src/modules/rlm_otp/configure.in
	* src/modules/rlm_perl/configure.in
	* src/modules/rlm_rest/configure.in
	* src/modules/rlm_smsotp/configure.in
	* src/modules/rlm_unix/configure
	* src/modules/rlm_wimax/configure
	* src/modules/rlm_wimax/configure.in
	* src/modules/rlm_yubikey/configure
	* src/modules/rlm_yubikey/configure.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/e32c7c05f6c1e75b0e823019b438c15fd81474e3
====== 
Fix typo

Alan T. DeKok at 2013-03-20T16:25:57Z
Files modified:
	* src/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9ec67610552cd82445baf02376e0afe046dd0c8d
====== 
running configure depends on src/freeradius-devel

Because IMACROS uses it, and IMACROS goes into CFLAGS,
and CFLAGS is used when running configure checks

Alan T. DeKok at 2013-03-20T16:24:56Z
Files modified:
	* Makefile
	* src/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/10405256a352bc6a9cdd077816c78b856dca3990
====== 
Revert last commit, it doesn't work

Alan T. DeKok at 2013-03-20T16:19:16Z
Files modified:
	* src/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7c2ae80fc204a5d744448ce0417094d67eca8e23
====== 
Ensure we build src/freeradius-devel before doing much else

Alan T. DeKok at 2013-03-20T16:16:58Z
Files modified:
	* src/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/74efd2a85327670752d0dc7c6de6dd95d1b3f6ae
====== 
Initialise more values

Arran Cudbard-Bell at 2013-03-20T16:02:04Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/224264da83cadc5d48eb5c4d670c9498d9fca04c
====== 
Cleanup edir code, always build edir code

Arran Cudbard-Bell at 2013-03-20T15:16:51Z
Files modified:
	* src/modules/rlm_ldap/all.mk.in
	* src/modules/rlm_ldap/configure
	* src/modules/rlm_ldap/configure.in
	* src/modules/rlm_ldap/edir.c
	* src/modules/rlm_ldap/ldap.h
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dd5d3c53b594ce0a1829b3d187bdbfca4d82dd48
====== 
Remove old cruft for libtool

Alan T. DeKok at 2013-03-20T15:02:25Z
Files modified:
	* src/main/radiusd.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/d218d1514b17fd44c6a81c053b1fb03b036c7cce
====== 
Load all modules, including ones which are not configured

And sort for duplicates.  This allows us to "clean" a module,
and it will still be configured and then loaded  and built

Alan T. DeKok at 2013-03-20T15:02:25Z
Files modified:
	* src/modules/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/841d6351a38e2b3fb6774b9720a5b166248df21c
====== 
Typo

Arran Cudbard-Bell at 2013-03-20T14:38:04Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b875e189ca7b4c7cdc578790d44d9009f64e085
====== 
More LDAP fixes

Arran Cudbard-Bell at 2013-03-20T14:35:11Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/06726a3e7d33cf3770c465789d84e2d7ffab4c5a
====== 
Fix typo

Alan T. DeKok at 2013-03-20T14:05:51Z
Files modified:
	* src/modules/rlm_mschap/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a431e909381d9dc89265e124794e599a55a86d4c
====== 
Fixup edir code

Arran Cudbard-Bell at 2013-03-20T13:59:46Z
Files modified:
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/39db3a44dec78c9e08c25ae4bbc675a4cff4cfac
====== 
Wrap configure rules in checks for autoconf

Alan T. DeKok at 2013-03-20T13:54:57Z
Files modified:
	* Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/318d35c55ddf41d34e73d1a7e383a8c11e4a1c79
====== 
Ensure we link the header directory before building anything

And the top-level IMACRO shouldn't really be poking the src
tree...

Alan T. DeKok at 2013-03-20T13:48:45Z
Files modified:
	* src/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ef812d6c992536eb91c433f5b2646ff3028c99ee
====== 
Fix typo

Alan T. DeKok at 2013-03-20T05:12:57Z
Files modified:
	* Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9b72269e7923ea5387ec2b30bdffb7ed4cb2eec4
====== 
Minor changes to output

Alan T. DeKok at 2013-03-20T04:20:27Z
Files modified:
	* Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/61514bfd8b286062c766a252524af4435e642f56
====== 
Fix typo

Alan T. DeKok at 2013-03-20T04:19:25Z
Files modified:
	* src/modules/rlm_replicate/rlm_replicate.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/7eaef4033efb71a43fea19f5ce9c9010c3744627
====== 
Fix typo in wrong function

Alan T. DeKok at 2013-03-20T04:19:25Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/4518ce780017fcd1d0305da773df3bfb806d987a
====== 
There's no reason to have cf_parse_item take a NULL cs

Alan T. DeKok at 2013-03-20T04:19:25Z
Files modified:
	* src/main/conffile.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/b2a9954b0835574060ad010c012daa42dc453911
====== 
Fix coverity issues in rlm_ldap

Arran Cudbard-Bell at 2013-03-20T04:15:18Z
Files modified:
	* src/modules/rlm_ldap/attrmap.c
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/bc722eeea423f5732cbc62ecb6bc1aee7ffcdeb4
====== 
Fix rlm_pam

Arran Cudbard-Bell at 2013-03-20T04:15:17Z
Files modified:
	* src/modules/rlm_pam/rlm_pam.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/5d7c7b2544d84309b8a4c5d7a56186111eac2f64
====== 
Use da->name, not vp->da->name

Alan T. DeKok at 2013-03-20T04:11:18Z
Files modified:
	* src/lib/valuepair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/dabdcacfaceabd7817d676fb6f0f4bd38cfef5e9
====== 
Check for NULL from talloc

Alan T. DeKok at 2013-03-20T04:10:01Z
Files modified:
	* src/modules/rlm_eap/libeap/eap_tls.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/a89946b58c68700586b8bf3b48989a2d4918b806
====== 
Fix type typo

Alan T. DeKok at 2013-03-20T04:07:52Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_md5/eap_md5.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2cd043ffcf1567b005d3bb94da51b49cf47944f6
====== 
eap_method_select returns eap_rcode_t, not eap_code_t

Alan T. DeKok at 2013-03-20T04:06:46Z
Files modified:
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/rlm_eap.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ff8341a674081f4283f1a37ad340604f7fd96383
====== 
Change && to ||

Alan T. DeKok at 2013-03-20T04:02:52Z
Files modified:
	* src/modules/rlm_eap/rlm_eap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ddca65b708c821815971ca9f15d03eade595f13f
====== 
Hard-code configure rule

Alan T. DeKok at 2013-03-20T04:02:52Z
Files modified:
	* src/modules/rlm_mschap/all.mk

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/483266981aaf4cd88403ddef8068ebe6b445bce9
====== 
Make magic.

If config.log exists,
Grab the "configure" args from it,
and make the "*mk" files depend on "*.mk.in" and "configure".

If the *.mk.in file changes, or "configure" changes,
then re-run "configure" in that subdirectory, to re-generate
the *.mk file.

Right now it works with all.mk files, but not other *.mk files.
to be done later...

Alan T. DeKok at 2013-03-20T04:02:52Z
Files modified:
	* Makefile

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/29231d8e2a2449cd2742f7cc2301dca357d50277
====== 
More function renaming

preproxy --> pre_proxy, etc.

Alan T. DeKok at 2013-03-20T04:02:52Z
Files modified:
	* src/modules/rlm_attr_filter/rlm_attr_filter.c
	* src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
	* src/modules/rlm_example/rlm_example.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_files/rlm_files.c
	* src/modules/rlm_ippool/rlm_ippool.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_realm/rlm_realm.c
	* src/modules/rlm_replicate/rlm_replicate.c
	* src/modules/rlm_ruby/rlm_ruby.c
	* src/modules/rlm_soh/rlm_soh.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sqlhpwippool/rlm_sqlhpwippool.c
	* src/modules/rlm_sqlippool/rlm_sqlippool.c
	* src/modules/rlm_wimax/rlm_wimax.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/457b30b91a0e287530f508e5efa5a3b72ef089f9
====== 
Fix typo in securid

Arran Cudbard-Bell at 2013-03-20T03:45:45Z
Files modified:
	* src/modules/rlm_securid/rlm_securid.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2fd741826c7dcf3023eb8bf06aa6b4fe798609b0
====== 
Mode sql_foo to mod_foo changes

Alan T. DeKok at 2013-03-20T03:12:33Z
Files modified:
	* src/modules/rlm_eap/types/rlm_eap_ikev2/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_ikev2/configure
	* src/modules/rlm_eap/types/rlm_eap_ikev2/configure.in
	* src/modules/rlm_eap/types/rlm_eap_md5/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_md5/configure
	* src/modules/rlm_eap/types/rlm_eap_md5/configure.in
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/configure
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/configure.in
	* src/modules/rlm_krb5/all.mk.in
	* src/modules/rlm_krb5/configure
	* src/modules/rlm_krb5/configure.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ca32e38c89c669ce10557d6d6a83b469f725db42
====== 
This is no longer necessary.

The passwd module can read CSV files and map them to attributes.
This module requires a CSV file with three contiguous lines
for one IMSI.  It's only used for testing, and not in production.
There are better ways to test the code.

Alan T. DeKok at 2013-03-20T03:05:08Z
Files modified:
	* raddb/README.rst
	* src/modules/rlm_sim_files/all.mk
	* src/modules/rlm_sim_files/rlm_sim_files.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/54823d294de0dae4a470af0ca4a37d6e970a3b49
====== 
Last one

Alan T. DeKok at 2013-03-20T02:56:05Z
Files modified:
	* src/modules/rlm_mschap/rlm_mschap.mk.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/3dbf6935cf06c477d22807ee0d8c3fc774dbcb1b
====== 
Fix configure scripts, missed in earlier commit

Alan T. DeKok at 2013-03-20T02:51:07Z
Files modified:
	* src/modules/rlm_attr_rewrite/configure
	* src/modules/rlm_checkval/configure
	* src/modules/rlm_counter/configure
	* src/modules/rlm_eap/configure
	* src/modules/rlm_eap/types/rlm_eap_gtc/configure
	* src/modules/rlm_eap/types/rlm_eap_leap/configure
	* src/modules/rlm_eap/types/rlm_eap_peap/configure
	* src/modules/rlm_eap/types/rlm_eap_pwd/configure
	* src/modules/rlm_eap/types/rlm_eap_sim/configure
	* src/modules/rlm_eap/types/rlm_eap_tls/configure
	* src/modules/rlm_eap/types/rlm_eap_tnc/configure
	* src/modules/rlm_eap/types/rlm_eap_ttls/configure
	* src/modules/rlm_example/configure
	* src/modules/rlm_ippool/configure
	* src/modules/rlm_krb5/configure
	* src/modules/rlm_ldap/configure
	* src/modules/rlm_mschap/configure
	* src/modules/rlm_opendirectory/configure
	* src/modules/rlm_otp/configure
	* src/modules/rlm_pam/configure
	* src/modules/rlm_perl/configure
	* src/modules/rlm_python/configure
	* src/modules/rlm_radutmp/configure
	* src/modules/rlm_redis/configure
	* src/modules/rlm_rediswho/configure
	* src/modules/rlm_rest/configure
	* src/modules/rlm_ruby/configure
	* src/modules/rlm_securid/configure
	* src/modules/rlm_smsotp/configure
	* src/modules/rlm_sql/configure
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/configure
	* src/modules/rlm_sql/drivers/rlm_sql_freetds/configure
	* src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/configure
	* src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure
	* src/modules/rlm_sql/drivers/rlm_sql_sybase/configure
	* src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure
	* src/modules/rlm_sqlcounter/configure
	* src/modules/rlm_sqlhpwippool/configure
	* src/modules/rlm_sqlippool/configure
	* src/modules/rlm_unix/configure
	* src/modules/rlm_wimax/configure
	* src/modules/rlm_yubikey/configure

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/2e43bc2ad2d5e66f111239ab247bcdef363c0dfd
====== 
Re-name all of the module functions.

Instead of eap_foo, we now have mod_foo.
The core functions module_foo have been renamed to process_foo

Change via Perl:

perl -p -i -e 's/([^a-z_])module_(instantiate|detach|authorize|authenticate|post_auth|accounting|pre_acct|checksimul|pre_proxy|post_proxy|recv_coa|send_coa)([^a-z_])/${1}4321_${2}${3}/g' $(find src/ -name "*.[ch]" -print)

perl -p -i -e 's/[a-z_]+_(instantiate|detach|authorize|authenticate|post_auth|accounting|pre_acct|checksimul|pre_proxy|post_proxy|recv_coa|send_coa)([^a-z_]?)/mod_$1$2/g;' $(find src/modules -name "*.[ch]" -print)

perl -p -i -e 's/([^a-z_])4321_([a-z_]+[^a-z_])/${1}process_${2}/g' $(find src/ -name "*.[ch]" -print)

With some manual editing of Perl, Python, and Ruby

Alan T. DeKok at 2013-03-20T01:26:23Z
Files modified:
	* src/include/modules.h
	* src/main/acct.c
	* src/main/auth.c
	* src/main/dhcpd.c
	* src/main/listen.c
	* src/main/modules.c
	* src/main/process.c
	* src/main/vmps.c
	* src/modules/rlm_always/rlm_always.c
	* src/modules/rlm_attr_filter/rlm_attr_filter.c
	* src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c
	* src/modules/rlm_cache/rlm_cache.c
	* src/modules/rlm_chap/rlm_chap.c
	* src/modules/rlm_checkval/rlm_checkval.c
	* src/modules/rlm_counter/rlm_counter.c
	* src/modules/rlm_cram/rlm_cram.c
	* src/modules/rlm_detail/rlm_detail.c
	* src/modules/rlm_dhcp/rlm_dhcp.c
	* src/modules/rlm_digest/rlm_digest.c
	* src/modules/rlm_dynamic_clients/rlm_dynamic_clients.c
	* src/modules/rlm_eap/eap.c
	* src/modules/rlm_eap/rlm_eap.c
	* src/modules/rlm_eap/rlm_eap.h
	* src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
	* src/modules/rlm_eap/types/rlm_eap_leap/rlm_eap_leap.c
	* src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
	* src/modules/rlm_eap/types/rlm_eap_peap/peap.c
	* src/modules/rlm_eap/types/rlm_eap_peap/rlm_eap_peap.c
	* src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
	* src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
	* src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c
	* src/modules/rlm_eap/types/rlm_eap_tnc/rlm_eap_tnc.c
	* src/modules/rlm_eap/types/rlm_eap_ttls/rlm_eap_ttls.c
	* src/modules/rlm_eap2/rlm_eap2.c
	* src/modules/rlm_example/rlm_example.c
	* src/modules/rlm_exec/rlm_exec.c
	* src/modules/rlm_expiration/rlm_expiration.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_files/rlm_files.c
	* src/modules/rlm_ippool/rlm_ippool.c
	* src/modules/rlm_ldap/rlm_ldap.c
	* src/modules/rlm_linelog/rlm_linelog.c
	* src/modules/rlm_logintime/rlm_logintime.c
	* src/modules/rlm_mschap/rlm_mschap.c
	* src/modules/rlm_opendirectory/rlm_opendirectory.c
	* src/modules/rlm_otp/extern.h
	* src/modules/rlm_otp/otp_radstate.c
	* src/modules/rlm_otp/rlm_otp.c
	* src/modules/rlm_pam/rlm_pam.c
	* src/modules/rlm_pap/rlm_pap.c
	* src/modules/rlm_passwd/rlm_passwd.c
	* src/modules/rlm_perl/rlm_perl.c
	* src/modules/rlm_preprocess/rlm_preprocess.c
	* src/modules/rlm_python/rlm_python.c
	* src/modules/rlm_radutmp/rlm_radutmp.c
	* src/modules/rlm_radutmp/rlm_radutmp2.c
	* src/modules/rlm_realm/rlm_realm.c
	* src/modules/rlm_redis/rlm_redis.c
	* src/modules/rlm_rediswho/rlm_rediswho.c
	* src/modules/rlm_replicate/rlm_replicate.c
	* src/modules/rlm_rest/rlm_rest.c
	* src/modules/rlm_ruby/rlm_ruby.c
	* src/modules/rlm_securid/rlm_securid.c
	* src/modules/rlm_sim_files/rlm_sim_files.c
	* src/modules/rlm_smsotp/rlm_smsotp.c
	* src/modules/rlm_soh/rlm_soh.c
	* src/modules/rlm_sometimes/rlm_sometimes.c
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/rlm_sql_firebird.c
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
	* src/modules/rlm_sql/rlm_sql.c
	* src/modules/rlm_sql/rlm_sql.h
	* src/modules/rlm_sqlcounter/rlm_sqlcounter.c
	* src/modules/rlm_sqlhpwippool/rlm_sqlhpwippool.c
	* src/modules/rlm_sqlippool/rlm_sqlippool.c
	* src/modules/rlm_unix/rlm_unix.c
	* src/modules/rlm_wimax/rlm_wimax.c
	* src/modules/rlm_yubikey/rlm_yubikey.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/83fdaf9c5e654dffddf05340e7400a8d5ad4a203
====== 
Rename functions

Alan T. DeKok at 2013-03-20T01:12:30Z
Files modified:
	* src/modules/rlm_expr/paircmp.c
	* src/modules/rlm_expr/rlm_expr.c
	* src/modules/rlm_expr/rlm_expr.h

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/56c5b94f8a6827a3a4eb171f8a8554cee432e42d
====== 
Use consitent names for *_cflags and *_ldflags.

mod_ldflags is better than eap_cflags.  It's more consistent
(but less cutesy), and allows for more files to be copied
from one module to another without changes

$ perl -p -i -e 's/[a-z_]+_ldflags/mod_ldflags/g;s/[a-z_]+_cflags/mod_cflags/g;' $(find src/ -name "configure.in" -print)I

Alan T. DeKok at 2013-03-20T00:41:41Z
Files modified:
	* src/modules/rlm_attr_rewrite/configure.in
	* src/modules/rlm_checkval/configure.in
	* src/modules/rlm_counter/all.mk.in
	* src/modules/rlm_counter/configure.in
	* src/modules/rlm_eap/configure.in
	* src/modules/rlm_eap/types/rlm_eap_gtc/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_gtc/configure.in
	* src/modules/rlm_eap/types/rlm_eap_leap/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_leap/configure.in
	* src/modules/rlm_eap/types/rlm_eap_peap/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_peap/configure.in
	* src/modules/rlm_eap/types/rlm_eap_pwd/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_pwd/configure.in
	* src/modules/rlm_eap/types/rlm_eap_sim/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_sim/configure.in
	* src/modules/rlm_eap/types/rlm_eap_tls/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_tls/configure.in
	* src/modules/rlm_eap/types/rlm_eap_tnc/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_tnc/configure.in
	* src/modules/rlm_eap/types/rlm_eap_ttls/all.mk.in
	* src/modules/rlm_eap/types/rlm_eap_ttls/configure.in
	* src/modules/rlm_example/all.mk.in
	* src/modules/rlm_example/configure.in
	* src/modules/rlm_ippool/all.mk.in
	* src/modules/rlm_ippool/configure.in
	* src/modules/rlm_krb5/configure.in
	* src/modules/rlm_ldap/all.mk.in
	* src/modules/rlm_ldap/configure.in
	* src/modules/rlm_mschap/configure.in
	* src/modules/rlm_opendirectory/all.mk.in
	* src/modules/rlm_opendirectory/configure.in
	* src/modules/rlm_otp/all.mk.in
	* src/modules/rlm_otp/configure.in
	* src/modules/rlm_pam/all.mk.in
	* src/modules/rlm_pam/configure.in
	* src/modules/rlm_perl/all.mk.in
	* src/modules/rlm_perl/configure.in
	* src/modules/rlm_python/all.mk.in
	* src/modules/rlm_python/configure.in
	* src/modules/rlm_radutmp/all.mk.in
	* src/modules/rlm_radutmp/configure.in
	* src/modules/rlm_redis/all.mk.in
	* src/modules/rlm_redis/configure.in
	* src/modules/rlm_rediswho/all.mk.in
	* src/modules/rlm_rediswho/configure.in
	* src/modules/rlm_rest/all.mk.in
	* src/modules/rlm_rest/configure.in
	* src/modules/rlm_ruby/all.mk.in
	* src/modules/rlm_ruby/configure.in
	* src/modules/rlm_securid/all.mk.in
	* src/modules/rlm_securid/configure.in
	* src/modules/rlm_smsotp/all.mk.in
	* src/modules/rlm_smsotp/configure.in
	* src/modules/rlm_sql/all.mk.in
	* src/modules/rlm_sql/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_freetds/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_freetds/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_iodbc/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_oracle/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_sybase/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_sybase/configure.in
	* src/modules/rlm_sql/drivers/rlm_sql_unixodbc/all.mk.in
	* src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.in
	* src/modules/rlm_sqlcounter/all.mk.in
	* src/modules/rlm_sqlcounter/configure.in
	* src/modules/rlm_sqlhpwippool/all.mk.in
	* src/modules/rlm_sqlhpwippool/configure.in
	* src/modules/rlm_sqlippool/all.mk.in
	* src/modules/rlm_sqlippool/configure.in
	* src/modules/rlm_unix/all.mk.in
	* src/modules/rlm_unix/configure.in
	* src/modules/rlm_wimax/all.mk.in
	* src/modules/rlm_wimax/configure.in
	* src/modules/rlm_yubikey/all.mk.in
	* src/modules/rlm_yubikey/configure.in

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/43aca8c67aff5f3a0b44c7d2433a004d68508ac7
====== 
Fix documentation and typo

Arran Cudbard-Bell at 2013-03-20T00:32:15Z
Files modified:
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/9c2b2fba44d2f851392af83ad9393a9bcc46127a
====== 
Explicitly specify whether we want to query to get the user's DN

Arran Cudbard-Bell at 2013-03-20T00:29:42Z
Files modified:
	* src/modules/rlm_ldap/ldap.c
	* src/modules/rlm_ldap/ldap.h
	* src/modules/rlm_ldap/rlm_ldap.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/ec1d929e6041cdae66a49d6558d78a7f2f525b2c
====== 
cleanups for doxygen

Alan T. DeKok at 2013-03-20T00:02:39Z
Files modified:
	* src/lib/valuepair.c

Commit diff:
https://github.com/FreeRADIUS/freeradius-server/commit/524a7728f52f430ccbfe3e3f543fc8017a4d0f14
====== 
cleanups for doxygen

Alan T. DeKok at 2013-03-20T00:00:58Z
Files modified:
	* src/main/soh.c

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


More information about the Freeradius-Devel mailing list