radauth was developed to allow for command line authentication

against a radius server.  This allows for more rapid
testing/troubleshooting of radius authentication problems depending
upon the method by which the person is authenticating (dial-up
customers come to mind).

Author: Matt Miller <mmiller_at_hick.org>
WWW:    http://freshmeat.net/projects/radauth/

PR:		ports/91975
Submitted by:	Andrew Kilpatrick <tiger_at_whitetigersd.com>
This commit is contained in:
Sergey Matveychuk 2006-01-21 19:01:25 +00:00
parent af0ecf95cb
commit 83cb048d24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154076
5 changed files with 66 additions and 0 deletions

View file

@ -79,6 +79,7 @@
SUBDIR += mrtg
SUBDIR += nagios
SUBDIR += nagios-plugins
SUBDIR += nagios-radauth-plugin
SUBDIR += nagios-silfreed-plugins
SUBDIR += nagios-snmp-plugins
SUBDIR += nagios-spamd-plugin

View file

@ -0,0 +1,29 @@
# New ports collection makefile for: nagios-spamd-plugin
# Date created: 2006-01-18
# Whom: Andrew Kilpatrick <tiger@whitetigersd.com>
#
# $FreeBSD$
PORTNAME= nagios-radauth-plugin
PORTVERSION= 1.00
CATEGORIES= net-mgmt
MASTER_SITES= http://www.hick.org/code/skape/radauth/
DISTNAME= radauth-${PORTVERSION}
MAINTAINER= tiger@whitetigersd.com
COMMENT= Nagios plugin for checking radius server
NAGIOS_PLUGIN_DIR?= libexec/nagios
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--bindir=${PREFIX}/${NAGIOS_PLUGIN_DIR}
PLIST_FILES= "@exec ${MKDIR} ${NAGIOS_PLUGIN_DIR}" \
${NAGIOS_PLUGIN_DIR}/check_radauth
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
pre-install:
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (radauth-1.00.tar.gz) = 6b07fe24f6473f23089eec5087339fad
SIZE (radauth-1.00.tar.gz) = 43087

View file

@ -0,0 +1,26 @@
--- Makefile.in.orig Sun Jan 14 08:33:28 2001
+++ Makefile.in Sat Jan 21 21:55:42 2006
@@ -1,8 +1,8 @@
-CC=@CC@
-DEBUG=@DEBUG@
+CC?=@CC@
+DEBUG=
DEFINES=@DEFINES@
-CFLAGS=-Wall ${DEFINES} ${DEBUG} -c
-LFLAGS=-Wall ${DEFINES} ${DEBUG} -o
+CFLAGS+=-Wall ${DEFINES} ${DEBUG} -c
+LFLAGS+=-Wall ${DEFINES} ${DEBUG} -o
OBJS=radauth.o md5.o
BIN=radauth
LIBS=@LIBS@
@@ -17,8 +17,8 @@
${CC} ${CFLAGS} md5.c -o md5.o
install: ${OBJS}
- cp radauth /usr/local/bin/radauth
- chmod 755 /usr/local/bin/radauth
+ cp radauth @bindir@/check_radauth
+ chmod 555 @bindir@/check_radauth
distclean:
rm -f core ${BIN} *.o config.status config.cache Makefile config.log

View file

@ -0,0 +1,8 @@
radauth was developed to allow for command line authentication
against a radius server. This allows for more rapid
testing/troubleshooting of radius authentication problems depending
upon the method by which the person is authenticating (dial-up
customers come to mind).
Author: Matt Miller <mmiller@hick.org>
WWW: http://freshmeat.net/projects/radauth/