improve installation doc regarding OpenBSD

This commit is contained in:
Daniel Jakots 2016-11-04 10:46:41 +01:00
parent 6831cab8ae
commit a98984b88f
1 changed files with 7 additions and 9 deletions

View File

@ -89,7 +89,7 @@ If you always want the latest version with all new features and bugfixes, use Sc
or on OpenBSD:: or on OpenBSD::
$ pkg_add git $ doas pkg_add git
2. Check out a clone of Scapy's repository:: 2. Check out a clone of Scapy's repository::
@ -285,17 +285,15 @@ Install using MacPorts
OpenBSD OpenBSD
------- -------
Here's how to install Scapy on OpenBSD 4.3. Here's how to install Scapy on OpenBSD 5.9+
.. code-block:: text .. code-block:: text
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/ $ doas pkg_add py-libpcap py-libdnet git
# pkg_add py-libpcap py-libdnet git $ cd /tmp
# ln -sf /usr/local/bin/python2.5 /usr/local/bin/python $ git clone http://github.com/secdev/scapy
# cd /tmp $ cd scapy
# git clone http://github.com/secdev/scapy $ doas python2.7 setup.py install
# cd scapy
# python setup.py install
Optional packages Optional packages