aboutsummaryrefslogtreecommitdiffstats
path: root/net/pyrad
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-08-23 20:18:20 +0800
committermiwi <miwi@FreeBSD.org>2007-08-23 20:18:20 +0800
commit316df204027cc5e9ae280a268a583e7a876532f0 (patch)
treea918cdc171493e790beabd9d4656104c780a6aea /net/pyrad
parent5b2dfcc2f320a6d0d2f8664d3e43195ac71818d0 (diff)
downloadfreebsd-ports-graphics-316df204027cc5e9ae280a268a583e7a876532f0.tar.gz
freebsd-ports-graphics-316df204027cc5e9ae280a268a583e7a876532f0.tar.zst
freebsd-ports-graphics-316df204027cc5e9ae280a268a583e7a876532f0.zip
pyrad is a Python implementation of a RADIUS client as described in RFC2865.
It takes care of all the details like building RADIUS packets, sending them and decoding responses. WWW: http://www.wiggy.net/code/pyrad/ PR: ports/115458 Submitted by: Blaz Zupan <blaz at si.FreeBSD.org>
Diffstat (limited to 'net/pyrad')
-rw-r--r--net/pyrad/Makefile28
-rw-r--r--net/pyrad/distinfo3
-rw-r--r--net/pyrad/pkg-descr5
-rw-r--r--net/pyrad/pkg-plist34
4 files changed, 70 insertions, 0 deletions
diff --git a/net/pyrad/Makefile b/net/pyrad/Makefile
new file mode 100644
index 00000000000..1c8db2862e0
--- /dev/null
+++ b/net/pyrad/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: py-pyrad
+# Date created: 13 August 2007
+# Whom: Blaz Zupan <blaz@si.FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyrad
+PORTVERSION= 0.9
+CATEGORIES= net python
+MASTER_SITES= http://www.wiggy.net/files/ \
+ http://www.sourcefiles.org/Networking/Tools/Authentication/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Python implementation of RADIUS client
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= pyrad
+
+.if !defined(NOPORTEXAMPLES)
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${TAR} -C ${WRKSRC}/example -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf-
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/pyrad/distinfo b/net/pyrad/distinfo
new file mode 100644
index 00000000000..b997491f2fc
--- /dev/null
+++ b/net/pyrad/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyrad-0.9.tar.gz) = c28a055eefc4244b6b7b09a6c1083d3a
+SHA256 (pyrad-0.9.tar.gz) = ec48a2533e6a3273fe155641bd5481b581515f33e9178c083c9e10fbb9dfc4c8
+SIZE (pyrad-0.9.tar.gz) = 17749
diff --git a/net/pyrad/pkg-descr b/net/pyrad/pkg-descr
new file mode 100644
index 00000000000..511df36679d
--- /dev/null
+++ b/net/pyrad/pkg-descr
@@ -0,0 +1,5 @@
+pyrad is a Python implementation of a RADIUS client as described in RFC2865.
+It takes care of all the details like building RADIUS packets, sending them
+and decoding responses.
+
+WWW: http://www.wiggy.net/code/pyrad/
diff --git a/net/pyrad/pkg-plist b/net/pyrad/pkg-plist
new file mode 100644
index 00000000000..e465b22f450
--- /dev/null
+++ b/net/pyrad/pkg-plist
@@ -0,0 +1,34 @@
+%%PYTHON_SITELIBDIR%%/pyrad/__init__.py
+%%PYTHON_SITELIBDIR%%/pyrad/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/bidict.py
+%%PYTHON_SITELIBDIR%%/pyrad/bidict.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/bidict.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/client.py
+%%PYTHON_SITELIBDIR%%/pyrad/client.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/client.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/curved.py
+%%PYTHON_SITELIBDIR%%/pyrad/curved.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/curved.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/dictionary.py
+%%PYTHON_SITELIBDIR%%/pyrad/dictionary.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/dictionary.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/host.py
+%%PYTHON_SITELIBDIR%%/pyrad/host.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/host.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/packet.py
+%%PYTHON_SITELIBDIR%%/pyrad/packet.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/packet.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/server.py
+%%PYTHON_SITELIBDIR%%/pyrad/server.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/server.pyo
+%%PYTHON_SITELIBDIR%%/pyrad/tools.py
+%%PYTHON_SITELIBDIR%%/pyrad/tools.pyc
+%%PYTHON_SITELIBDIR%%/pyrad/tools.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/pyrad
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/acct.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/auth.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dictionary
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dictionary.attingo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%