michael@47: Index: Make.inc.in michael@47: --- Make.inc.in.orig 2008-09-25 10:41:26 +0200 michael@47: +++ Make.inc.in 2008-09-25 17:56:09 +0200 michael@47: @@ -15,7 +15,7 @@ michael@47: docdir = @docdir@ michael@47: mandir = @mandir@ michael@47: datadir = @datadir@ michael@47: -dictdir = $(datadir)/freeradius michael@47: +dictdir = $(datadir) michael@47: logdir = @logdir@ michael@47: includedir = @includedir@ michael@47: raddbdir = @raddbdir@ michael@47: @@ -48,7 +48,7 @@ michael@47: michael@47: LOGDIR = ${logdir} michael@47: RADDBDIR = ${raddbdir} michael@47: -RUNDIR = ${localstatedir}/run/radiusd michael@47: +RUNDIR = ${localstatedir} michael@47: SBINDIR = ${sbindir} michael@47: RADIR = ${radacctdir} michael@47: LIBRADIUS = $(top_builddir)/src/lib/$(LIBPREFIX)freeradius-radius.la michael@47: Index: raddb/radiusd.conf.in michael@47: --- raddb/radiusd.conf.in.orig 2008-09-25 10:41:26 +0200 michael@47: +++ raddb/radiusd.conf.in 2008-09-25 17:56:09 +0200 michael@47: @@ -66,7 +66,7 @@ michael@47: michael@47: # Location of config and logfiles. michael@47: confdir = ${raddbdir} michael@47: -run_dir = ${localstatedir}/run/radiusd michael@47: +run_dir = ${localstatedir} michael@47: michael@47: # Should likely be ${localstatedir}/lib/radiusd michael@47: db_dir = ${raddbdir} michael@47: Index: src/modules/rlm_sql/drivers/Makefile.in michael@47: --- src/modules/rlm_sql/drivers/Makefile.in.orig 2008-09-25 10:41:26 +0200 michael@47: +++ src/modules/rlm_sql/drivers/Makefile.in 2008-09-25 17:56:09 +0200 michael@47: @@ -16,7 +16,7 @@ michael@47: michael@47: common: michael@47: @[ -d lib/ ] || mkdir lib michael@47: - @for mod in $(SQL_MODULES); do \ michael@47: + @for mod in $(SQL_MODULES) NOOP; do \ michael@47: echo "Making $(WHAT_TO_MAKE) in $$mod..."; \ michael@47: - $(MAKE) $(MFLAGS) -C $$mod $(WHAT_TO_MAKE) || exit $$?; \ michael@47: + [ -d $$mod ] || exit 0; $(MAKE) $(MFLAGS) -C $$mod $(WHAT_TO_MAKE) || exit $$?; \ michael@47: done michael@48: Index: src/main/command.c michael@48: --- src/main/command.c.orig 2009-01-08 19:39:52.565611820 +0100 michael@48: +++ src/main/command.c 2009-01-08 19:40:18.333372190 +0100 michael@48: @@ -148,7 +148,7 @@ michael@48: salocal.sun_family = AF_UNIX; michael@48: memcpy(salocal.sun_path, path, len + 1); /* SUN_LEN does strlen */ michael@48: michael@48: - socklen = SUN_LEN(&salocal); michael@48: + socklen = sizeof(salocal) - sizeof(salocal.sun_path) + strlen(salocal.sun_path); michael@48: michael@48: /* michael@48: * Check the path. michael@48: Index: src/main/radmin.c michael@48: --- src/main/radmin.c.orig 2009-01-08 19:36:15.333428110 +0100 michael@48: +++ src/main/radmin.c 2009-01-08 19:39:15.131776575 +0100 michael@48: @@ -112,7 +112,7 @@ michael@48: saremote.sun_family = AF_UNIX; michael@48: memcpy(saremote.sun_path, path, len + 1); /* SUN_LEN does strlen */ michael@48: michael@48: - socklen = SUN_LEN(&saremote); michael@48: + socklen = sizeof(saremote) - sizeof(saremote.sun_path) + strlen(saremote.sun_path); michael@48: michael@48: if (connect(sockfd, (struct sockaddr *)&saremote, socklen) < 0) { michael@48: fprintf(stderr, "%s: Failed connecting to %s: %s\n",