From a98984b88f4aeeb7b6af06b75d04af8b8a69efc3 Mon Sep 17 00:00:00 2001
From: Daniel Jakots <vigdis@chown.me>
Date: Fri, 4 Nov 2016 10:46:41 +0100
Subject: [PATCH] improve installation doc regarding OpenBSD
---
doc/scapy/installation.rst | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/doc/scapy/installation.rst b/doc/scapy/installation.rst
index 78a4663d..8dc53671 100644
--- a/doc/scapy/installation.rst
+++ b/doc/scapy/installation.rst
@@ -89,7 +89,7 @@ If you always want the latest version with all new features and bugfixes, use Sc
or on OpenBSD::
- $ pkg_add git
+ $ doas pkg_add git
2. Check out a clone of Scapy's repository::
@@ -285,17 +285,15 @@ Install using MacPorts
OpenBSD
-------
-Here's how to install Scapy on OpenBSD 4.3.
+Here's how to install Scapy on OpenBSD 5.9+
.. code-block:: text
- # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
- # pkg_add py-libpcap py-libdnet git
- # ln -sf /usr/local/bin/python2.5 /usr/local/bin/python
- # cd /tmp
- # git clone http://github.com/secdev/scapy
- # cd scapy
- # python setup.py install
+ $ doas pkg_add py-libpcap py-libdnet git
+ $ cd /tmp
+ $ git clone http://github.com/secdev/scapy
+ $ cd scapy
+ $ doas python2.7 setup.py install
Optional packages
--
GitLab