Age | Commit message (Collapse) | Author | Files |
|
* include/radius/radius.h (grad_avl_fprint): Add missing prototype.
* lib/ascend.c (_get_hex_string): Fix boundary violation.
* lib/raddb.c (continuation_line_p)
(grad_read_raddb_file): Fix arguments to get_argcv.
* radiusd/auth.c: Likewise.
* radiusd/log.c (category_set_flag): Cast to int through intptr_t.
* radiusd/rewrite.y: Use union type to handle stack and code segment
data.
* radtest/gram.y: Minor fix.
* scripts/mktypes.c: Minor change.
|
|
* configure.ac: Check for tm.tm_gmtoff
* include/radius/radius.h (grad_julianday)
(grad_tm_to_epoch): New protos.
* lib/users.y (grad_create_pair): Use grad_tm_to_epoch to convert
tm to time_t.
* lib/util.c (grad_parse_time_string): Initialize all members of
struct tm to 0.
(grad_julianday,grad_tm_to_epoch): New functions.
* tests/raddb/users.in (no-expire): Use 2038 instead of 2111, because
of possible integer overflow.
|
|
* bootstrap (gnulib_extra_files): Remove "missing".
* gint: Upgrade.
* client/pam_radius/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
* radscripts/radscripts.m4: Use [] for quoting.
* lib/Makefile.am: Likewise.
* radiusd/Makefile.am: Likewise.
* radlast/Makefile.am: Likewise.
* radscm/Makefile.am: Likewise.
* radtest/Makefile.am: Likewise.
* raduse/Makefile.am: Likewise.
* radwho/Makefile.am: Likewise.
* radzap/Makefile.am: Likewise.
* snmplib/Makefile.am: Likewise.
* sql/Makefile.am: Likewise.
|
|
|
|
|
|
|
|
|
|
* scripts/radius.m4 (AM_GNU_RADIUS): Fix quoting.
|
|
* configure.ac (LIBRADEXTRA): Link with libgnu.a (not .la).
* raddb/dict/standard (NAS-Port-Id-String): Change type to string.
* tests/raddb/users.in: Put Expiration 100 years in the future.
|
|
* gint: Update to a5774356
* configure.ac: Minor change.
|
|
* gint: Update to 4e48677eee5a
* configure.ac (--without-guile): Remove option. Handled by GINT_INIT.
(GINT_INIT): Don't call it within a conditional.
|
|
* Makefile.am (make-ChangeLog): Remove.
(ChangeLog): Improve formatting.
|
|
* am/guile.m4: Remove.
* gint: New module.
* scripts/guile/1.6/Makefile.am: Remove.
* scripts/guile/1.6/guile-doc-snarf: Remove.
* scripts/guile/1.6/guile-doc-snarf.awk: Remove.
* scripts/guile/Makefile.am: Remove.
* scripts/guile/: Remove.
* scripts/Makefile.am (SUBDIRS): Remove.
* tests/atlocal.in (GUILE_CONFIG): Rename to RA_GUILE_ENABLE.
* doc/man/Makefile.am: Add AM_V_GEN markers.
* radscm/Makefile.am: Likewise.
* radscripts/Makefile.am: Likewise.
* Makefile.am (ACLOCAL_AMFLAGS): add -I gint.
(SUBDIRS): Conditionally add gint and radscm
depending on the RA_COND_GUILE condition.
* bootstrap.conf: Initialize git modules.
* configure.ac (AM_INIT_AUTOMAKE): Update.
Enable silent rules.
Call GINT_INIT.
Remove no longer needed substitutions.
* radscm/Makefile.am: Rewrite using GINT.
* radscm/gnuradius.scm4: Remove unnecessary re-exports.
Add guile-procedures.txt to the list of documentation
files.
* radscm/radiusd.scm4: Remove unnecessary re-exports.
* radscm/radscm.c: Use lower-case identifiers for
function arguments. Rewrite docstrings.
* radscm/rscm_avl.c: Likewise.
* radscm/rscm_dict.c: Likewise.
* radscm/rscm_hash.c: Likewise.
* radscm/rscm_radlog.c: Likewise.
* radscm/rscm_rewrite.c: Likewise.
* radscm/rscm_sql.c: Likewise.
* radscm/rscm_syslog.c: Likewise.
* radscm/rscm_utmp.c: Likewise.
* radscm/radscm.c: Likewise. Export global variables.
* radiusd/scheme.c (scheme_safe_exec_body): Return the
ed->handler result.
(scheme_safe_exec, scheme_call_proc, scheme_boot): Use scm_c_catch
instead of the deprecated scm_internal_lazy_catch.
|
|
* am/guile.m4: Rewrite based on the latest MU version.
* include/radius/radscm.h (RAD_SCM_EVAL_X)
(RAD_SCM_EVAL, RAD_SCM_SYMBOL_VALUE): Remove. All uses changed.
* radiusd/scheme.c (eval_catch_body): Use scm_apply_0 to
avoid unnecessary evaluating the arguments.
(scheme_debug): Protect calls to SCM_DEVAL_P &c. by
#ifdef GUILE_DEBUG_MACROS
Replace obsolete and deprecated Guile calls with the
new (1.8+) ones.
* radiusd/rewrite.y: Replace obsolete and deprecated Guile
calls with the new (1.8+) ones.
* radiusd/sql.c: Likewise.
* radscm/radscm.c: Likewise.
* radscm/rscm_avl.c: Likewise.
* radscm/rscm_dict.c: Likewise.
* radscm/rscm_hash.c: Likewise.
* radscm/rscm_lib.c: Likewise.
* radscm/rscm_radlog.c: Likewise.
* radscm/rscm_rewrite.c: Likewise.
* radscm/rscm_sql.c: Likewise.
* radscm/rscm_syslog.c: Likewise.
* radscm/rscm_utmp.c: Likewise.
|
|
|
|
|
|
* am/guile.m4: Remove useless checks for functions.
* configure.ac: Minor changes.
* lib/users.l, radtest/input.l: Refer to current buffer
through YY_CURRENT_BUFFER.
* m4/*: Remove.
|
|
|
|
|
|
* tests/findport.c: Remove.
* tests/Makefile.am: Remove findport.
* radiusd/radiusd.c: New option --select-free-ports.
* tests/atlocal.in (make_raddb): Do not use findport.
(start_server): Start the server in `select-free-ports' mode.
(begin_server): Get actual ports servers listen on from the port
files they create.
* tests/begin.at: Add keyword start-server.
* tests/proxy/Makefile.am, tests/raddb/Makefile.am (CLEANFILES): Add ports.
* tests/proxy/client.conf.in, tests/proxy/realms.in: Use {} to mark macros.
* tests/raddb/client.conf.in, tests/raddb/realms.in: Likewise.
* tests/proxy/config.in (option): Remove exec-program-user.
(auth,acct): Remove port statements.
* tests/raddb/config.in: Likewise.
|
|
* lib/list.c (grad_list_destroy): Zero *plist before actually freeing its
contents. This makes list destroying an atomical operation. In particular,
it is important when destroying _grad_debug_list.
|
|
* configure.ac, radiusd/Makefile.am: Explicitly disable aliasing if using gcc
* radiusd/rewrite.y: Bugfix: make fmain static.
|
|
* lib/numtostr.c: Bugfix.
* README-hacking: Fix typo.
|
|
|
|
|
|
|
|
|
|
* configure.ac, NEWS: Version 1.6
* lib/getgr.c, lib/getpw_r.c, lib/numtostr.c: include string.h.
* radiusd/rewrite.y (bi_gsub,bi_sub): Add typecasts.
* scripts/mktypes.c (print_number): Return also numeric
representation.
(main): Define GRAD_VERSION_NUMBER.
* tests/raddb/auth.scm: Replace L_INFO with GRAD_LOG_INFO.
* radscm/radiusd.scm4, radscm/ttl.scm: Likewise.
|
|
|
|
* include/radius/list.h: Rename struct list/iterator to grad_list/
grad_iterator
* include/radius/radius.h: Rename L_ log macros to GRAD_LOG_
All uses updated.
|
|
|
|
* lib/radpdu.c (decode_vsa): Fix bail-out condition.
* lib/slist.c (grad_slist_head): Bigfix.
* lib/users.y: Use INT_BUFSIZE_BOUND, not INT_STRLEN_BOUND.
* lib/util.c: Likewise.
|
|
* bootstrap: Replace with the gnulib version.
* bootstrap.conf: Read local configuration file.
* configure.ac: Add AC_CONFIG_MACRO_DIR
* lib/client.c: Minor change
* lib/raddb.c (grad_read_raddb_file): Remove leftover fprintf.
* radiusd/log.c (radiusd_logger): Check if loc->line != NULL.
* m4/.cvsignore: Update.
|
|
* include/radius/radius.h (grad_recompute_timeout): New function.
* lib/client.c (grad_client_send0): Fix send-and-wait loop.
* lib/util.c (grad_recompute_timeout): New function.
* radiusd/config.y (typestr): New entries.
(_get_value): Handle CFG_UNSIGNED, CFG_SIZE_T, and CFG_INTEGER.
* radiusd/rpp.c (recompute_timeout): Replace by extern
grad_recompute_timeout.
|
|
from libradextra_a_SOURCES.
* lib/logger.c (_grad_logger): Initialize with
grad_default_logger.
(grad_log, grad_log_req, grad_log_loc): Do nothing if
_grad_logger is NULL.
|
|
from libradextra_a_SOURCES.
* lib/logger.c (_grad_logger): Initialize with
grad_default_logger.
(grad_log, grad_log_req, grad_log_loc): Do nothing if
_grad_logger is NULL.
|
|
|
|
|
|
* radiusd/log.c (log_to_channel): LM_SYSLOG branch: fix
inconsistencies. Call openlog to properly initialize syslog.
This also allows to set a preconfigured syslog tag.
(channel_free): Free chan->id.sl.tag.
(register_channel): Initialize syslog data.
(channel_syslog_handler): Take an optional 4th argument - syslog
tag.
* configure.texi, NEWS: Update.
|
|
* lib/slist.c (grad_slist_coalesce): Use c89
* NEWS: Update.
* README: Remove references to --with-include-path and
--with-include-path.
* bootstrap: Place auxiliary files in build-aux
* bootstrap.conf: Update.
* THANKS: Update.
Fixes proposed by Jakub Bogusz:
* configure.ac: Version 1.15.90.
(AC_CONFIG_AUX_DIR): Change to build-aux
(INCLUDEPATH): Remove.
(M4): use build-aux
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB
(RA_RADIUSD_LDADD,LIBRADEXTRA,LIBGNURADIUS): Use relative
references to .la files rather than -L/-l options in order to
prevent relative directories from being referenced in installed
.la files.
* radiusd/Makefile.am (AM_CPPFLAGS): Define RADIUS_LIBDIR
* radiusd/dynload.c (dynload_stmt_term): Search in RADIUS_LIBDIR,
not RADIUS_DATADIR.
* sql/Makefile.am (moddir): Install under pkglibdir.
* radscm/Makefile.am (libradscm_la_LIBADD): Add GUILE_LIBS.
|
|
|
|
gnulib_tool_option_extras, to avoid triggering gnulib bootstrap
bug.
* configure.ac, NEWS: Version 1.15.90.
* Makefile.am (distuninstallcheck_listfiles): Fix rule.
* include/radiusd.h (struct request.srv_addr): New field.
(struct request_class.decode): Change signature.
(request_create,radius_auth_req_decode)
(radius_acct_req_decode,snmp_req_decode): Change signature.
* raddb/dict/standard (GNU-Server-Address,GNU-Server-Port): New
attributes.
* radiusd/radius.c (radius_auth_req_decode)
(radius_acct_req_decode): Change signature. Add
GNU-Server-Address, GNU-Server-Port to the request.
* radiusd/radiusd.c (udp_input_handler): Update call to
request_create.
* radiusd/request.c (request_create): Change signature. Update
call to decode.
* radiusd/rpp.c (rpp_comparator): Fix declaration.
(struct rpp_request.srv_addr): New member.
(struct rpp_request.addr): Rename to clt_addr.
(rpp_request_handler): update call to request_create.
* radiusd/snmpserv.c (snmp_req_decode): Change signature.
* radiusd/sql.c: Include radscm.h conditionally.
* tests/scheme-acct.at: Ignore GNU-Server-Address and
GNU-Server-Port attributes.
|
|
|
|
|
|
|
|
scheme.c:catch_body.
|
|
|
|
|
|
|
|
char *.
|