Hi--
[EMAIL PROTECTED] wrote:
[ ... ]
The Source Forge page is here:
http://sourceforge.net/projects/pcs
and the shar files submitted to get the ports created are now on:
http://www.freebsd.org/~gnn/pcs.port.shar
http://www.freebsd.org/~gnn/py-pypcap.shar
This strikes me as a pretty cool thing, thank you for putting the source out
there...given a bit of free time, I'd like to at least test this, if not
contribute. [1] :-)
The port is missing a dependency on net/py-pcap, BTW, which makes most of the
tests fail if one simply downloads the shar file and tries to run them:
# cd /tmp/pcs/work/pcs-0.1/tests && python icmpv4test.py
======================================================================
ERROR: Test the underlying __compare__ functionality of the
----------------------------------------------------------------------
Traceback (most recent call last):
File "icmpv4test.py", line 81, in test_icmpv4_compare
file = PcapConnector("loopping.out")
File "../pcs/__init__.py", line 446, in __init__
from pcap import pcap
ImportError: No module named pcap
[ ... ]
--------------
Here's a simple patch for the port Makefile, although maybe someone might want
to create a ${PYPCAP} in bsd.python.mk (similar to ${PYXML} and so forth) instead:
--- pcs/Makefile.old Thu Jul 20 10:21:45 2006
+++ pcs/Makefile Thu Jul 20 10:33:40 2006
@@ -15,6 +15,8 @@
MAINTAINER= [EMAIL PROTECTED]
COMMENT= Protocol Construction Set
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pcap.py:${PORTSDIR}/net/py-pcap
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
--
-Chuck
[1]: If I could only get net/py-pcap to build, I might be able to do a little
more... :-)
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"