aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-08-23 12:18:20 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-08-23 12:18:20 +0000
commitf850d5d4315f74fb3bb4bb366693bd1c862afdea (patch)
treecda94dfd7d110f434c4171233f54e93966f31161
parent22d2dc89b09ac92f43148ac3482669db06c2721f (diff)
downloadports-f850d5d4315f74fb3bb4bb366693bd1c862afdea.tar.gz
ports-f850d5d4315f74fb3bb4bb366693bd1c862afdea.zip
Notes
-rw-r--r--net/Makefile1
-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
5 files changed, 71 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 16848631f033..5bb86a73c899 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -697,6 +697,7 @@
SUBDIR += pygopherd
SUBDIR += pynids
SUBDIR += pypvm
+ SUBDIR += pyrad
SUBDIR += pythondirector
SUBDIR += qadsl
SUBDIR += qt4-network
diff --git a/net/pyrad/Makefile b/net/pyrad/Makefile
new file mode 100644
index 000000000000..1c8db2862e09
--- /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 000000000000..b997491f2fcd
--- /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 000000000000..511df36679d0
--- /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 000000000000..e465b22f4506
--- /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%%