[Python-apps-commits] r12226 - in packages/python-afl/trunk/debian (changelog control rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Sun Aug 9 20:25:34 UTC 2015
Date: Sunday, August 9, 2015 @ 20:25:33
Author: danstender-guest
Revision: 12226
build with separate packages for the bindings
Modified:
packages/python-afl/trunk/debian/changelog
packages/python-afl/trunk/debian/control
packages/python-afl/trunk/debian/rules
Modified: packages/python-afl/trunk/debian/changelog
===================================================================
--- packages/python-afl/trunk/debian/changelog 2015-08-09 17:58:26 UTC (rev 12225)
+++ packages/python-afl/trunk/debian/changelog 2015-08-09 20:25:33 UTC (rev 12226)
@@ -2,4 +2,4 @@
* Initial release (Closes: #792317).
- -- Daniel Stender <debian at danielstender.com> Sat, 25 Jul 2015 12:10:42 +0200
+ -- Daniel Stender <debian at danielstender.com> Sun, 09 Aug 2015 22:23:18 +0200
Modified: packages/python-afl/trunk/debian/control
===================================================================
--- packages/python-afl/trunk/debian/control 2015-08-09 17:58:26 UTC (rev 12225)
+++ packages/python-afl/trunk/debian/control 2015-08-09 20:25:33 UTC (rev 12226)
@@ -21,15 +21,40 @@
Architecture: any
Depends:
afl,
- python3,
${misc:Depends},
${python:Depends},
${shlibs:Depends}
-Description: American Fuzzy Lop (afl) for pure Python code
- python-afl provides fuzz testing (brute force vulnerability discovery)
- by the fuzzer American Fuzzy Lop (afl) for Python code. For that, the
- package ships the wrappers py-afl-fuzz and py-afl-showmap, plus bindings
- for the afl lib (both, for Python 2 and Python 3 code). The developer
- marked python-afl at the time as being experimental, however, several
- flaws in a couple of popular programs could already be detected successfully
- (see /usr/share/doc/python-afl/trophy-case.rst).
+Description: American Fuzzy Lop (afl) for pure Python 2 code
+ Python-afl provides fuzz testing (brute force vulnerability discovery)
+ by the fuzzer American Fuzzy Lop (afl) for Python code.
+ .
+ Both, this and the Python 3 package provide bindings for the afl lib,
+ but the needed wrappers py-afl-fuzz and py-afl-showmap are shipped
+ with the latter.
+ .
+ The developer marked python-afl at the time as being experimental, however,
+ several flaws in a couple of popular programs could already be detected
+ successfully (see /usr/share/doc/python-afl/trophy-case.rst).
+ .
+ This package contains the afl bindings for Python 2 code.
+
+Package: python3-afl
+Architecture: any
+Depends:
+ afl,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Description: American Fuzzy Lop (afl) for pure Python 3 code
+ Python-afl provides fuzz testing (brute force vulnerability discovery)
+ by the fuzzer American Fuzzy Lop (afl) for Python code.
+ .
+ This package provides bindings for the afl lib and the wrappers
+ py-afl-fuzz and py-afl-showmap. Bindings for Python 2 code are shipped
+ separately.
+ .
+ The developer marked python-afl at the time as being experimental, however,
+ several flaws in a couple of popular programs could already be detected
+ successfully (see /usr/share/doc/python3-afl/trophy-case.rst).
+ .
+ This package contains the afl bindings for Python 3 code, and the wrappers.
Modified: packages/python-afl/trunk/debian/rules
===================================================================
--- packages/python-afl/trunk/debian/rules 2015-08-09 17:58:26 UTC (rev 12225)
+++ packages/python-afl/trunk/debian/rules 2015-08-09 20:25:33 UTC (rev 12226)
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-export PYBUILD_NAME=python-afl
+export PYBUILD_NAME=afl
VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
@@ -8,11 +8,11 @@
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+override_dh_auto_install:
+ dh_auto_install
+ rm -rf debian/python-afl/usr/bin
+
override_dh_installman:
- txt2man -s 1 -v "python-afl" -t "py-afl-fuzz" -r "$(VERSION)" -d "$(DEBDATE)" debian/py-afl-fuzz.txt > .pybuild/py-afl-fuzz.1
- txt2man -s 1 -v "python-afl" -t "py-afl-showmap" -r "$(VERSION)" -d "$(DEBDATE)" debian/py-afl-showmap.txt > .pybuild/py-afl-showmap.1
- dh_installman .pybuild/py-afl-*.1
-
-override_dh_installdeb:
- mv debian/python-afl/usr/lib/python3.* debian/python-afl/usr/lib/python3 # dh_python3 "debhelper:98: source=python-afl, binary packages=[]" even with -p
- dh_installdeb
+ txt2man -s 1 -v "python3-afl" -t "py-afl-fuzz" -r "$(VERSION)" -d "$(DEBDATE)" debian/py-afl-fuzz.txt > .pybuild/py-afl-fuzz.1
+ txt2man -s 1 -v "python3-afl" -t "py-afl-showmap" -r "$(VERSION)" -d "$(DEBDATE)" debian/py-afl-showmap.txt > .pybuild/py-afl-showmap.1
+ dh_installman -ppython3-afl .pybuild/py-afl-*.1
More information about the Python-apps-commits
mailing list