[Python-modules-commits] r32482 - in packages/scapy/trunk/debian (3 files)
dkg at users.alioth.debian.org
dkg at users.alioth.debian.org
Tue Apr 28 20:20:32 UTC 2015
Date: Tuesday, April 28, 2015 @ 20:20:31
Author: dkg
Revision: 32482
add sphinx-derived documentation package
Added:
packages/scapy/trunk/debian/python-scapy-doc.docs
Modified:
packages/scapy/trunk/debian/control
packages/scapy/trunk/debian/rules
Modified: packages/scapy/trunk/debian/control
===================================================================
--- packages/scapy/trunk/debian/control 2015-04-28 20:20:27 UTC (rev 32481)
+++ packages/scapy/trunk/debian/control 2015-04-28 20:20:31 UTC (rev 32482)
@@ -6,7 +6,9 @@
Build-Depends: debhelper (>= 9~),
dh-python,
python-all (>=2.6.6-3~),
- python-setuptools
+ python-docutils,
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~)
Standards-Version: 3.9.5
Homepage: http://www.secdev.org/projects/scapy/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/scapy/trunk/
@@ -45,3 +47,21 @@
(request, answer) and a list of unmatched packets. This has the big advantage
over tools like nmap or hping that an answer is not reduced to
(open/closed/filtered), but is the whole packet.
+
+Package: python-scapy-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Packet generator/sniffer and network scanner/discovery (documentation)
+ Scapy is a powerful interactive packet manipulation tool, packet
+ generator, network scanner, network discovery, packet sniffer, etc. It
+ can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping,
+ tcpdump, tethereal, p0f, ....
+ .
+ In scapy you define a set of packets, then it sends them, receives
+ answers, matches requests with answers and returns a list of packet couples
+ (request, answer) and a list of unmatched packets. This has the big advantage
+ over tools like nmap or hping that an answer is not reduced to
+ (open/closed/filtered), but is the whole packet.
+ .
+ This is the documentation package.
Added: packages/scapy/trunk/debian/python-scapy-doc.docs
===================================================================
--- packages/scapy/trunk/debian/python-scapy-doc.docs (rev 0)
+++ packages/scapy/trunk/debian/python-scapy-doc.docs 2015-04-28 20:20:31 UTC (rev 32482)
@@ -0,0 +1 @@
+build/html
Modified: packages/scapy/trunk/debian/rules
===================================================================
--- packages/scapy/trunk/debian/rules 2015-04-28 20:20:27 UTC (rev 32481)
+++ packages/scapy/trunk/debian/rules 2015-04-28 20:20:31 UTC (rev 32482)
@@ -11,4 +11,8 @@
export PYBUILD_NAME = scapy
%:
- dh $@ --with=python2 --buildsystem=pybuild
+ dh $@ --with=python2,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/scapy/ build/html
More information about the Python-modules-commits
mailing list