freeradius.git
11 years agooptimised and adjusted filter
Alan Buxey [Wed, 28 Nov 2012 21:42:48 +0000 (21:42 +0000)]
optimised and adjusted filter

no longer case insensitive and not storing match

11 years agoMerge pull request #136 from tobiasbrunner/eap-sim-identity
Arran Cudbard-Bell [Wed, 28 Nov 2012 16:30:21 +0000 (08:30 -0800)]
Merge pull request #136 from tobiasbrunner/eap-sim-identity

Properly parse identity in EAP-SIM module

11 years agoProperly parse identity in EAP-SIM module
Tobias Brunner [Wed, 28 Nov 2012 10:30:21 +0000 (11:30 +0100)]
Properly parse identity in EAP-SIM module

The encoding is given in RFC 4186, section 10.8.

11 years agoAdd some missed src file reps
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:52:25 +0000 (22:52 +0000)]
Add some missed src file reps

11 years agoInstall all SQL config files by default (they're needed by rlm_sql_null)
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:45:03 +0000 (22:45 +0000)]
Install all SQL config files by default (they're needed by rlm_sql_null)

11 years agoSwap STR2CST macro (no longer exists) for StringValuePtr
Arran Cudbard-Bell [Tue, 27 Nov 2012 22:06:46 +0000 (22:06 +0000)]
Swap STR2CST macro (no longer exists) for StringValuePtr

11 years agoMore ruby configure fixes
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:59:16 +0000 (21:59 +0000)]
More ruby configure fixes

11 years agoMake rlm_ruby build for >= ruby 1.9.1
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:54:12 +0000 (21:54 +0000)]
Make rlm_ruby build for >= ruby 1.9.1

11 years agoFix indentation
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:46:35 +0000 (21:46 +0000)]
Fix indentation

11 years agoAdd boilermaker files for rlm_eap types
Arran Cudbard-Bell [Tue, 27 Nov 2012 21:46:11 +0000 (21:46 +0000)]
Add boilermaker files for rlm_eap types

11 years agoWITH_TLS not defined if we don't have openssl
Arran Cudbard-Bell [Tue, 27 Nov 2012 20:45:02 +0000 (20:45 +0000)]
WITH_TLS not defined if we don't have openssl

11 years agoDo globally writable checks on directories, too
Alan T. DeKok [Tue, 27 Nov 2012 16:15:14 +0000 (11:15 -0500)]
Do globally writable checks on directories, too

11 years agoMore dependencies
Alan T. DeKok [Mon, 26 Nov 2012 15:28:48 +0000 (10:28 -0500)]
More dependencies

11 years agoUse %s, it's better
Alan T. DeKok [Mon, 26 Nov 2012 15:11:31 +0000 (10:11 -0500)]
Use %s, it's better

11 years agoFix check for alt include dir
Arran Cudbard-Bell [Sun, 25 Nov 2012 09:17:58 +0000 (09:17 +0000)]
Fix check for alt include dir

11 years agoShould be AC_MSG_WARN
Arran Cudbard-Bell [Sat, 24 Nov 2012 21:48:02 +0000 (21:48 +0000)]
Should be AC_MSG_WARN

11 years agoMinor fix
Arran Cudbard-Bell [Sat, 24 Nov 2012 18:52:19 +0000 (18:52 +0000)]
Minor fix

11 years agoLook at multiple hash keys for header location
Arran Cudbard-Bell [Sat, 24 Nov 2012 18:51:27 +0000 (18:51 +0000)]
Look at multiple hash keys for header location

11 years agoUse the non deprecated method of getting ruby config
Arran Cudbard-Bell [Sat, 24 Nov 2012 17:29:02 +0000 (17:29 +0000)]
Use the non deprecated method of getting ruby config

11 years agoWe dont need to apply the sql patch anymore
Arran Cudbard-Bell [Sat, 24 Nov 2012 16:46:06 +0000 (16:46 +0000)]
We dont need to apply the sql patch anymore

11 years agoFixup perl configure script
Arran Cudbard-Bell [Sat, 24 Nov 2012 16:33:39 +0000 (16:33 +0000)]
Fixup perl configure script

11 years agoMove m4 includes for rlm_rest
Arran Cudbard-Bell [Sat, 24 Nov 2012 15:23:12 +0000 (15:23 +0000)]
Move m4 includes for rlm_rest

11 years agoFixup ruby configure script
Arran Cudbard-Bell [Sat, 24 Nov 2012 15:18:52 +0000 (15:18 +0000)]
Fixup ruby configure script

11 years agoReorganise SQL files
Arran Cudbard-Bell [Sat, 24 Nov 2012 12:42:33 +0000 (12:42 +0000)]
Reorganise SQL files

Set cui to default to rlm_sql_null so that we can enable it by default

11 years agoEAP flavours need libfreeradius-eap as a prerequisite so they're linked against it
Arran Cudbard-Bell [Fri, 23 Nov 2012 16:59:36 +0000 (16:59 +0000)]
EAP flavours need libfreeradius-eap as a prerequisite so they're linked against it

11 years agoMinor installation fixes
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:55:48 +0000 (14:55 +0000)]
Minor installation fixes

Link against json-c if available

11 years agoRemove files which are now dynamically generated
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:40:12 +0000 (14:40 +0000)]
Remove files which are now dynamically generated

11 years agoFix binary path
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:31:52 +0000 (14:31 +0000)]
Fix binary path

11 years agoMinor style issues in radiusd.mk
Arran Cudbard-Bell [Fri, 23 Nov 2012 14:21:27 +0000 (14:21 +0000)]
Minor style issues in radiusd.mk

11 years agoAdd version definitions to installed headers
Arran Cudbard-Bell [Fri, 23 Nov 2012 13:51:12 +0000 (13:51 +0000)]
Add version definitions to installed headers

Fix up displaying version in other utilities

11 years agoAs posted to the list
Alan T. DeKok [Thu, 22 Nov 2012 15:46:43 +0000 (10:46 -0500)]
As posted to the list

11 years agoNope. That didn't work.
Alan T. DeKok [Thu, 22 Nov 2012 16:50:57 +0000 (11:50 -0500)]
Nope.  That didn't work.

newXS has to be after perl_parse

11 years agoBe more forgiving about loaded modules
Alan T. DeKok [Thu, 22 Nov 2012 14:20:20 +0000 (09:20 -0500)]
Be more forgiving about loaded modules

If they don't exist, don't complain

11 years agoRe-order directories for sanity
Alan T. DeKok [Thu, 22 Nov 2012 14:14:54 +0000 (09:14 -0500)]
Re-order directories for sanity

installable files are in ${BUILD}/bin and ${BUILD/lib
ones which can be run from the build tree are ${BUILD}/bin/local

It's not perfect, but it seems to work for now.

11 years agoAdvance VP pointer when copying AVP lists to perl hashes
Arran Cudbard-Bell [Thu, 22 Nov 2012 13:49:10 +0000 (13:49 +0000)]
Advance VP pointer when copying AVP lists to perl hashes

11 years agoRenamed checkrad
Alan T. DeKok [Thu, 22 Nov 2012 13:06:55 +0000 (08:06 -0500)]
Renamed checkrad

11 years agoUse local path, not full path
Alan T. DeKok [Thu, 22 Nov 2012 13:05:51 +0000 (08:05 -0500)]
Use local path, not full path

11 years agoenable parallel build by default for devs
Arran Cudbard-Bell [Thu, 22 Nov 2012 12:45:54 +0000 (12:45 +0000)]
enable parallel build by default for devs

11 years agoMerge pull request #135 from mcnewton/remove_rlm_smb
Alan DeKok [Thu, 22 Nov 2012 01:05:00 +0000 (17:05 -0800)]
Merge pull request #135 from mcnewton/remove_rlm_smb

Remove rlm_smb module.

11 years agoUse strcpy instead of strcat
Alan T. DeKok [Wed, 21 Nov 2012 23:34:52 +0000 (18:34 -0500)]
Use strcpy instead of strcat

and calloc, so that valgrind doesn't complain

11 years agoRemove rlm_smb module.
Matthew Newton [Wed, 21 Nov 2012 21:00:26 +0000 (21:00 +0000)]
Remove rlm_smb module.

It wouldn't build (lack of md4.c) and likely hasn't been used in years.
Equivalent method now involves mschap / ntlm_auth and Samba.

11 years agojlibtool depends on HEADERS
Alan T. DeKok [Wed, 21 Nov 2012 19:13:15 +0000 (14:13 -0500)]
jlibtool depends on HEADERS

So that they are built before ANYTHING compiles.
That should solve all dependency issues with "make -j 8"

11 years agoAll objects depend on jlibtool
Alan T. DeKok [Wed, 21 Nov 2012 17:25:40 +0000 (12:25 -0500)]
All objects depend on jlibtool

if it exists, it ensures dependency ordering.
if it doesn't exist, it does nothing

11 years agoDon't define jlibtool targets if were building with boilermake
Arran Cudbard-Bell [Wed, 21 Nov 2012 17:08:58 +0000 (17:08 +0000)]
Don't define jlibtool targets if were building with boilermake

Set libtool to be JLIBTOOL so scripts/boiler.mk defines the correct
targets if --enable-boilermake

11 years agoClean up the rules a bit
Alan T. DeKok [Wed, 21 Nov 2012 16:06:29 +0000 (11:06 -0500)]
Clean up the rules a bit

11 years agoWe don't use INCLUDES
Alan T. DeKok [Wed, 21 Nov 2012 15:47:53 +0000 (10:47 -0500)]
We don't use INCLUDES

11 years agoInclude PRLIBS
Alan T. DeKok [Wed, 21 Nov 2012 15:47:18 +0000 (10:47 -0500)]
Include PRLIBS

11 years agoFix typo
Arran Cudbard-Bell [Wed, 21 Nov 2012 10:56:56 +0000 (10:56 +0000)]
Fix typo

11 years agoThis should have been renamed
Arran Cudbard-Bell [Wed, 21 Nov 2012 00:07:11 +0000 (00:07 +0000)]
This should have been renamed

11 years agoSay when were building headers
Arran Cudbard-Bell [Tue, 20 Nov 2012 23:50:41 +0000 (23:50 +0000)]
Say when were building headers

11 years agoAll boilermake files for nearly all modules (except rlm_eap)
Arran Cudbard-Bell [Tue, 20 Nov 2012 21:18:40 +0000 (21:18 +0000)]
All boilermake files for nearly all modules (except rlm_eap)

Fix a few build issues with rlm_ruby

Rebuild all module configure files with autoconf 2.69 and add all.mk output files

11 years agoRemove rlm_sql_log
Arran Cudbard-Bell [Tue, 20 Nov 2012 19:14:44 +0000 (19:14 +0000)]
Remove rlm_sql_log

11 years agoMake example.pl installation conform to the targets defined for utilities
Arran Cudbard-Bell [Tue, 20 Nov 2012 17:27:23 +0000 (17:27 +0000)]
Make example.pl installation conform to the targets defined for utilities

11 years agoFix install rules for scripts
Alan T. DeKok [Tue, 20 Nov 2012 17:19:35 +0000 (12:19 -0500)]
Fix install rules for scripts

install: DIR FILE

DIR/FILE: FILE

If we have

DIR/FILE: FILE DIR

Then FILE is always installed.

The PHONY targets should depend on each other.  Real targets should
never depend on PHONY targets

11 years agoRemove chmod for example.pl
Arran Cudbard-Bell [Tue, 20 Nov 2012 17:13:03 +0000 (17:13 +0000)]
Remove chmod for example.pl

11 years agoAdd target for raddb dir
Arran Cudbard-Bell [Tue, 20 Nov 2012 17:08:30 +0000 (17:08 +0000)]
Add target for raddb dir

11 years agoAdd raddbdir as a dependency
Arran Cudbard-Bell [Tue, 20 Nov 2012 16:24:54 +0000 (16:24 +0000)]
Add raddbdir as a dependency

11 years agoHack so that example.pl doesn't install as ${raddbdir}
Alan T. DeKok [Tue, 20 Nov 2012 15:35:30 +0000 (10:35 -0500)]
Hack so that example.pl doesn't install as ${raddbdir}

11 years agoCheckrad is in sbindir
Alan T. DeKok [Tue, 20 Nov 2012 15:31:24 +0000 (10:31 -0500)]
Checkrad is in sbindir

11 years agoFix dependency ordering
Alan T. DeKok [Tue, 20 Nov 2012 14:45:04 +0000 (09:45 -0500)]
Fix dependency ordering

11 years agoLink rlm_eap against libfreeradius-eap
Alan T. DeKok [Tue, 20 Nov 2012 13:44:11 +0000 (08:44 -0500)]
Link rlm_eap against libfreeradius-eap

11 years agoUse PRLIBS not PREREQS for dependencies
Alan T. DeKok [Tue, 20 Nov 2012 13:41:58 +0000 (08:41 -0500)]
Use PRLIBS not PREREQS for dependencies

PRLIBS is just the raw name of the library.  It's PHONY, so
anything depending on it always gets re-built.  And if the library
file changes, the dependencies don't get rebuilt.

Fixing this to use the full path (PRLIBS) instead of the filename
(PREREQS) fixes that

11 years agolibfreeradius-radius.a is a PHONY target. don't depend on it
Alan T. DeKok [Tue, 20 Nov 2012 13:29:08 +0000 (08:29 -0500)]
libfreeradius-radius.a is a PHONY target.  don't depend on it

11 years agoDon't need this any more
Alan T. DeKok [Tue, 20 Nov 2012 13:22:44 +0000 (08:22 -0500)]
Don't need this any more

11 years agoInstall the EAP libraries, too
Alan T. DeKok [Tue, 20 Nov 2012 13:22:00 +0000 (08:22 -0500)]
Install the EAP libraries, too

11 years agoInstall mods-enabled, too
Alan T. DeKok [Tue, 20 Nov 2012 13:17:23 +0000 (08:17 -0500)]
Install mods-enabled, too

11 years agoClean up so that installation dependencies work
Alan T. DeKok [Tue, 20 Nov 2012 13:15:04 +0000 (08:15 -0500)]
Clean up so that installation dependencies work

11 years agoFix typo
Arran Cudbard-Bell [Tue, 20 Nov 2012 12:04:44 +0000 (12:04 +0000)]
Fix typo

11 years agoFix various issues
Arran Cudbard-Bell [Tue, 20 Nov 2012 08:04:37 +0000 (08:04 +0000)]
Fix various issues

11 years agoradmin should be installed in sbin not bin
Arran Cudbard-Bell [Tue, 20 Nov 2012 03:11:08 +0000 (03:11 +0000)]
radmin should be installed in sbin not bin

11 years agoMore .gitignoring
Arran Cudbard-Bell [Tue, 20 Nov 2012 02:46:09 +0000 (02:46 +0000)]
More .gitignoring

11 years agoAdd submake files for all the utilities in src/main
Arran Cudbard-Bell [Tue, 20 Nov 2012 02:43:55 +0000 (02:43 +0000)]
Add submake files for all the utilities in src/main

11 years agoPCAP_LIBS is not defined by Make.inc, define it locally
Arran Cudbard-Bell [Tue, 20 Nov 2012 02:08:41 +0000 (02:08 +0000)]
PCAP_LIBS is not defined by Make.inc, define it locally

11 years agorlm_cache needs to be linked against pthread
Arran Cudbard-Bell [Tue, 20 Nov 2012 01:46:47 +0000 (01:46 +0000)]
rlm_cache needs to be linked against pthread

11 years agoAdd boilermake files for radho
Arran Cudbard-Bell [Tue, 20 Nov 2012 01:39:46 +0000 (01:39 +0000)]
Add boilermake files for radho

11 years agoAdd boilermake files for rlm_ippool
Arran Cudbard-Bell [Tue, 20 Nov 2012 01:29:26 +0000 (01:29 +0000)]
Add boilermake files for rlm_ippool

11 years agoPass system $(LIBS) to linker when linking libfreeradius-radius
Arran Cudbard-Bell [Tue, 20 Nov 2012 01:07:59 +0000 (01:07 +0000)]
Pass system $(LIBS) to linker when linking libfreeradius-radius

Remove -release from LDFLAGS until we can figure out what the correct solution is (GCC complains)

11 years agoFix pthread check quoting
Arran Cudbard-Bell [Tue, 20 Nov 2012 00:49:49 +0000 (00:49 +0000)]
Fix pthread check quoting

11 years agoFix minor typos and errors
Arran Cudbard-Bell [Tue, 20 Nov 2012 00:20:10 +0000 (00:20 +0000)]
Fix minor typos and errors

11 years agoRules should never depend on directories
Alan T. DeKok [Mon, 19 Nov 2012 22:31:25 +0000 (17:31 -0500)]
Rules should never depend on directories

11 years agoFix space after backslash
Alan T. DeKok [Mon, 19 Nov 2012 21:59:48 +0000 (16:59 -0500)]
Fix space after backslash

11 years agoMove all version definitions to Make.inc, then they should work for both build systems
Arran Cudbard-Bell [Mon, 19 Nov 2012 21:21:20 +0000 (21:21 +0000)]
Move all version definitions to Make.inc, then they should work for both build systems

11 years agoAdd boilermake files for rlm_dbm
Arran Cudbard-Bell [Mon, 19 Nov 2012 20:36:20 +0000 (20:36 +0000)]
Add boilermake files for rlm_dbm

11 years agoFix MAN installation rules
Alan T. DeKok [Mon, 19 Nov 2012 19:41:52 +0000 (14:41 -0500)]
Fix MAN installation rules

11 years agoPatches to work with the new organization of files
Alan T. DeKok [Mon, 19 Nov 2012 15:36:34 +0000 (10:36 -0500)]
Patches to work with the new organization of files

11 years agoAdd boilermake files for more sql drivers
Arran Cudbard-Bell [Mon, 19 Nov 2012 10:28:08 +0000 (10:28 +0000)]
Add boilermake files for more sql drivers

11 years agoFix insufficient quoting around library check in mysql driver
Arran Cudbard-Bell [Mon, 19 Nov 2012 10:25:19 +0000 (10:25 +0000)]
Fix insufficient quoting around library check in mysql driver

11 years agoMerge pull request #133 from arr2036/master
Arran Cudbard-Bell [Mon, 19 Nov 2012 08:22:23 +0000 (00:22 -0800)]
Merge pull request #133 from arr2036/master

Add replication of responses

11 years agoUpdate src/include/all.mk
Arran Cudbard-Bell [Sun, 18 Nov 2012 18:32:02 +0000 (18:32 +0000)]
Update src/include/all.mk

11 years agoinstall-sh -d barfs if the directory has a trailing slash
Arran Cudbard-Bell [Sun, 18 Nov 2012 16:58:11 +0000 (16:58 +0000)]
install-sh -d barfs if the directory has a trailing slash

11 years agoIntegrate raddb/ etc. into boilermake
Alan T. DeKok [Sun, 18 Nov 2012 15:26:38 +0000 (10:26 -0500)]
Integrate raddb/ etc. into boilermake

for now, it just recurses.  As we fix that, we can remove the
directories from the SUBDIRS line

11 years agoInstall "man" files to GNU Make rules
Alan T. DeKok [Sun, 18 Nov 2012 15:22:30 +0000 (10:22 -0500)]
Install "man" files to GNU Make rules

11 years agoAdd GNU Make rules for installing the dictionaries
Alan T. DeKok [Sun, 18 Nov 2012 14:21:14 +0000 (09:21 -0500)]
Add GNU Make rules for installing the dictionaries

So that we only install them once, when needed

11 years agoAttempt to get debian packages working again for 3.0.0
Arran Cudbard-Bell [Fri, 16 Nov 2012 16:21:41 +0000 (16:21 +0000)]
Attempt to get debian packages working again for 3.0.0

11 years agoUpdate debian/changelog
Arran Cudbard-Bell [Fri, 16 Nov 2012 15:45:17 +0000 (15:45 +0000)]
Update debian/changelog

11 years agoFix tests to work with new and old build systems
Arran Cudbard-Bell [Fri, 16 Nov 2012 14:00:03 +0000 (14:00 +0000)]
Fix tests to work with new and old build systems

11 years agoExplicitly disable experimental module build
Arran Cudbard-Bell [Fri, 16 Nov 2012 13:17:11 +0000 (13:17 +0000)]
Explicitly disable experimental module build

11 years agoIgnore more generated makefiles
Arran Cudbard-Bell [Fri, 16 Nov 2012 11:03:17 +0000 (11:03 +0000)]
Ignore more generated makefiles

11 years agoFix various typos in rlm_rediswho, and correct escape func prototype
Phil Mayers [Thu, 15 Nov 2012 15:50:09 +0000 (15:50 +0000)]
Fix various typos in rlm_rediswho, and correct escape func prototype

11 years agoAccording to the commit log for libpcap this should be 0
Arran Cudbard-Bell [Fri, 16 Nov 2012 10:13:23 +0000 (10:13 +0000)]
According to the commit log for libpcap this should be 0