From 2a92d6eca0a769b5a6f44be66e243d3eb1def14f Mon Sep 17 00:00:00 2001 From: sturm Date: Sun, 14 Nov 2004 12:15:38 +0000 Subject: [PATCH] Initial import of p5-Net-Radius 1.44. This package contains the Net::Radius::Dictionary and Net::Radius::Packet modules. Net::Radius::Dictionary is a simple module that reads a RADIUS dictionary file and parses it, allowing conversion between dictionary names and numbers. Vendor-Specific attributes are supported in a way consistent to the standards. Net::Radius::Packet provides an interface to turn RADIUS packets into Perl data structures and vice-versa. from Alexander Bluhm --- net/p5-Net-Radius/Makefile | 43 +++++++++++++++++++++++++++++++++++++ net/p5-Net-Radius/distinfo | 3 +++ net/p5-Net-Radius/pkg/DESCR | 10 +++++++++ net/p5-Net-Radius/pkg/PLIST | 21 ++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 net/p5-Net-Radius/Makefile create mode 100644 net/p5-Net-Radius/distinfo create mode 100644 net/p5-Net-Radius/pkg/DESCR create mode 100644 net/p5-Net-Radius/pkg/PLIST diff --git a/net/p5-Net-Radius/Makefile b/net/p5-Net-Radius/Makefile new file mode 100644 index 00000000000..f8089790d42 --- /dev/null +++ b/net/p5-Net-Radius/Makefile @@ -0,0 +1,43 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2004/11/14 12:15:38 sturm Exp $ + +COMMENT= "Perl interface to Radius" + +DISTNAME= Net-Radius-1.44 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net devel + +MAINTAINER= Alexander Bluhm + +# perl artistic license +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +CONFIGURE_STYLE=perl + +PKG_ARCH= * + +DATADIR= ${PREFIX}/share/p5-Net-Radius +DOCDIR= ${PREFIX}/share/doc/p5-Net-Radius +DOCS= README README.3COM README.VSA +EXDIR= ${PREFIX}/share/examples/p5-Net-Radius +EXAMPLES= example-client.pl example-menu.pl example-unix.pl \ + example-yes.pl radius2ldap.pl tutorial.pl + +post-install: + ${INSTALL_DATA_DIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dictionary ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dictionary.3com ${DATADIR} + ${INSTALL_DATA_DIR} ${DOCDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR} +.endfor + ${INSTALL_DATA_DIR} ${EXDIR} +.for file in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXDIR} +.endfor + +.include diff --git a/net/p5-Net-Radius/distinfo b/net/p5-Net-Radius/distinfo new file mode 100644 index 00000000000..d98ca55bfe6 --- /dev/null +++ b/net/p5-Net-Radius/distinfo @@ -0,0 +1,3 @@ +MD5 (Net-Radius-1.44.tar.gz) = 8333034321a552f36afa2084e541420a +RMD160 (Net-Radius-1.44.tar.gz) = f0b65f966be2f7658efe035420715c0f688aa839 +SHA1 (Net-Radius-1.44.tar.gz) = 4d56724f8becfd82c48722d28d65319b2d949569 diff --git a/net/p5-Net-Radius/pkg/DESCR b/net/p5-Net-Radius/pkg/DESCR new file mode 100644 index 00000000000..eb5787da329 --- /dev/null +++ b/net/p5-Net-Radius/pkg/DESCR @@ -0,0 +1,10 @@ +This package contains the Net::Radius::Dictionary and +Net::Radius::Packet modules. + +Net::Radius::Dictionary is a simple module that reads a RADIUS +dictionary file and parses it, allowing conversion between dictionary +names and numbers. Vendor-Specific attributes are supported in a +way consistent to the standards. + +Net::Radius::Packet provides an interface to turn RADIUS packets +into Perl data structures and vice-versa. diff --git a/net/p5-Net-Radius/pkg/PLIST b/net/p5-Net-Radius/pkg/PLIST new file mode 100644 index 00000000000..ff2e3d2c4bc --- /dev/null +++ b/net/p5-Net-Radius/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/14 12:15:38 sturm Exp $ +${P5SITE}/Net/ +${P5SITE}/Net/Radius/ +${P5SITE}/Net/Radius/Dictionary.pm +${P5SITE}/Net/Radius/Packet.pm +@man man/man3p/Net::Radius::Dictionary.3p +@man man/man3p/Net::Radius::Packet.3p +share/doc/p5-Net-Radius/ +share/doc/p5-Net-Radius/README +share/doc/p5-Net-Radius/README.3COM +share/doc/p5-Net-Radius/README.VSA +share/examples/p5-Net-Radius/ +share/examples/p5-Net-Radius/example-client.pl +share/examples/p5-Net-Radius/example-menu.pl +share/examples/p5-Net-Radius/example-unix.pl +share/examples/p5-Net-Radius/example-yes.pl +share/examples/p5-Net-Radius/radius2ldap.pl +share/examples/p5-Net-Radius/tutorial.pl +share/p5-Net-Radius/ +share/p5-Net-Radius/dictionary +share/p5-Net-Radius/dictionary.3com