diff --git a/sysutils/radiusreport/Makefile b/sysutils/radiusreport/Makefile new file mode 100644 index 00000000000..8d4c375958c --- /dev/null +++ b/sysutils/radiusreport/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/06/12 17:13:47 espie Exp $ + +DISTNAME= radiusreport-0.3b6 +EXTRACT_SUFX= .tar +CATEGORIES= sysutils +HOMEPAGE= http://www.tibus.net/pgregg/projects/radiusreport/ +MAINTAINER= danh@nfol.com + +MASTER_SITES= ${HOMEPAGE} + +LICENCE_TYPE= GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +NO_BUILD= Yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/radiusreport-0.3b6 ${PREFIX}/bin/radiusreport + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/radiusreport + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/radiusreport + +.include diff --git a/sysutils/radiusreport/files/md5 b/sysutils/radiusreport/files/md5 new file mode 100644 index 00000000000..10640defb0d --- /dev/null +++ b/sysutils/radiusreport/files/md5 @@ -0,0 +1,3 @@ +MD5 (radiusreport-0.3b6.tar) = 42827bb75a3bbe9506c4abdc1efec4a4 +RMD160 (radiusreport-0.3b6.tar) = 4e17af5ae05cd5de139339c3d0b55bcee84b31fc +SHA1 (radiusreport-0.3b6.tar) = ec680b9e6dec6854013a135802af1ee32a732b78 diff --git a/sysutils/radiusreport/patches/patch-radiusreport_0.3b6 b/sysutils/radiusreport/patches/patch-radiusreport_0.3b6 new file mode 100644 index 00000000000..1b3d47ed1a5 --- /dev/null +++ b/sysutils/radiusreport/patches/patch-radiusreport_0.3b6 @@ -0,0 +1,17 @@ +--- radiusreport-0.3b6.orig Sun Apr 12 07:35:23 1998 ++++ radiusreport-0.3b6 Sun May 28 05:10:06 2000 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + # + # radiusreport - Extract information from Radius 2.0 detail log + # +@@ -72,7 +72,7 @@ $USERS = "/etc/raddb/users"; # Hard code + + # gzcat - 'cat for .gz / gzip files' + # If you don't have gzcat and do have gzip then use: ln gzip gzcat +-$GZCAT = "/usr/local/bin/gzcat"; ++$GZCAT = "/usr/bin/gzcat"; + + # zcat - 'cat for .Z / compressed files' + $ZCAT = "/usr/bin/zcat"; diff --git a/sysutils/radiusreport/pkg/COMMENT b/sysutils/radiusreport/pkg/COMMENT new file mode 100644 index 00000000000..8826234b09e --- /dev/null +++ b/sysutils/radiusreport/pkg/COMMENT @@ -0,0 +1 @@ +RADIUS log file analysis tool diff --git a/sysutils/radiusreport/pkg/DESCR b/sysutils/radiusreport/pkg/DESCR new file mode 100644 index 00000000000..dfd13961b8e --- /dev/null +++ b/sysutils/radiusreport/pkg/DESCR @@ -0,0 +1,13 @@ +Radiusreport can produce many varied reports by analysing your RADIUS +detail files. detail files can be uncompressed/compressed/gzipped. + + . User Online time reports plus extras like bandwidth used, etc. + . IP address usage + . Last login time reports + +As of V.02 radiusreport can generate individual files for each user by using +the -o flag in conjunction with '-l all'. This function will enable you to +'reprocess' radiusreport's output, e.g. to email a copy of each users report +to them. + +WWW: ${HOMEPAGE} diff --git a/sysutils/radiusreport/pkg/PLIST b/sysutils/radiusreport/pkg/PLIST new file mode 100644 index 00000000000..9640db51f47 --- /dev/null +++ b/sysutils/radiusreport/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/06/12 17:13:47 espie Exp $ +bin/radiusreport +share/examples/radiusreport/README +@dirrm share/examples/radiusreport