[Forensics-changes] [yara] 06/10: Drop packages for Python bindings and debug symbols
Hilko Bengen
bengen at moszumanska.debian.org
Tue Aug 30 21:46:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository yara.
commit 24737b922594cb41787a3cf52bd0f88826d3ed9d
Author: Hilko Bengen <bengen at debian.org>
Date: Wed Aug 3 22:10:46 2016 +0200
Drop packages for Python bindings and debug symbols
---
debian/control | 60 +----------------------------------
debian/python-yara.docs | 1 -
debian/python-yara.install | 1 -
debian/python-yara.lintian-overrides | 2 --
debian/python3-yara.docs | 1 -
debian/python3-yara.install | 1 -
debian/python3-yara.lintian-overrides | 2 --
debian/rules | 19 ++---------
8 files changed, 3 insertions(+), 84 deletions(-)
diff --git a/debian/control b/debian/control
index 7a441cc..bbf691c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Section: utils
Priority: optional
Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
Uploaders: Hilko Bengen <bengen at debian.org>
-Build-Depends: debhelper (>= 9), dh-autoreconf, dh-python,
- python-all-dev, python3-all-dev,
+Build-Depends: debhelper (>= 9), dh-autoreconf,
python-sphinx | python3-sphinx,
libjansson-dev,
libmagic-dev,
@@ -68,42 +67,6 @@ Description: YARA development libraries and headers
.
This package provides development libraries and headers.
-Package: python-yara
-Section: python
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
-Provides: ${python:Provides}
-Description: Python2 bindings for YARA
- YARA is a tool aimed at helping malware researchers to identify and
- classify malware samples. With YARA, it is possible to create
- descriptions of malware families based on textual or binary patterns
- contained in samples of those families. Each description consists of
- a set of strings and a Boolean expression which determines its logic.
- .
- Complex and powerful rules can be created by using binary strings with
- wild-cards, case-insensitive text strings, special operators, regular
- expressions and many other features.
- .
- This package provides Python 2 bindings.
-
-Package: python3-yara
-Section: python
-Architecture: any
-Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
-Provides: ${python3:Provides}
-Description: Python3 bindings for YARA
- YARA is a tool aimed at helping malware researchers to identify and
- classify malware samples. With YARA, it is possible to create
- descriptions of malware families based on textual or binary patterns
- contained in samples of those families. Each description consists of
- a set of strings and a Boolean expression which determines its logic.
- .
- Complex and powerful rules can be created by using binary strings with
- wild-cards, case-insensitive text strings, special operators, regular
- expressions and many other features.
- .
- This package provides Python 3 bindings.
-
Package: yara-doc
Section: doc
Architecture: all
@@ -120,24 +83,3 @@ Description: HTML documentation for YARA
expressions and many other features.
.
This package contains the documentation in HTML format.
-
-Package: yara-dbg
-Architecture: any
-Multi-Arch: same
-Section: debug
-Priority: extra
-Depends: ${shlibs:Depends}, ${misc:Depends},
- libyara3 (= ${binary:Version}) | yara (= ${binary:Version})
-Description: Debug symbols for YARA
- YARA is a tool aimed at helping malware researchers to identify and
- classify malware samples. With YARA, it is possible to create
- descriptions of malware families based on textual or binary patterns
- contained in samples of those families. Each description consists of
- a set of strings and a Boolean expression which determines its logic.
- .
- Complex and powerful rules can be created by using binary strings with
- wild-cards, case-insensitive text strings, special operators, regular
- expressions and many other features.
- .
- This package provides debug symbols for binaries and shared
- libraries.
diff --git a/debian/python-yara.docs b/debian/python-yara.docs
deleted file mode 100644
index 885ac68..0000000
--- a/debian/python-yara.docs
+++ /dev/null
@@ -1 +0,0 @@
-yara-python/README
diff --git a/debian/python-yara.install b/debian/python-yara.install
deleted file mode 100644
index fe633eb..0000000
--- a/debian/python-yara.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/python2*
\ No newline at end of file
diff --git a/debian/python-yara.lintian-overrides b/debian/python-yara.lintian-overrides
deleted file mode 100644
index 184c2e0..0000000
--- a/debian/python-yara.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# Not an error, but a site name (We Watch Your Website).
-python-yara: using-first-person-in-description line 13: We
diff --git a/debian/python3-yara.docs b/debian/python3-yara.docs
deleted file mode 100644
index 885ac68..0000000
--- a/debian/python3-yara.docs
+++ /dev/null
@@ -1 +0,0 @@
-yara-python/README
diff --git a/debian/python3-yara.install b/debian/python3-yara.install
deleted file mode 100644
index 028be4f..0000000
--- a/debian/python3-yara.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/python3*
\ No newline at end of file
diff --git a/debian/python3-yara.lintian-overrides b/debian/python3-yara.lintian-overrides
deleted file mode 100644
index 1fcc24c..0000000
--- a/debian/python3-yara.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# Not an error, but a site name (We Watch Your Website).
-python3-yara: using-first-person-in-description line 13: We
diff --git a/debian/rules b/debian/rules
index 5f3fbc7..cceedcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,42 +1,27 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-PYTHONS:=$(shell pyversions --installed; py3versions --installed)
-
%:
- dh $@ --with autoreconf,python2,python3,sphinxdoc
+ dh $@ --with autoreconf,sphinxdoc
override_dh_auto_configure:
dh_auto_configure -- --enable-cuckoo --enable-magic
override_dh_auto_build:
dh_auto_build
- set -e; for python in $(PYTHONS); do \
- ( cd yara-python && $$python setup.py build ); \
- done
$(MAKE) -C docs html
-override_dh_auto_install:
- dh_auto_install
- set -e; for python in $(PYTHONS); do \
- ( cd yara-python && $$python setup.py install --skip-build --root ../debian/tmp --install-layout=deb ); \
- done
-
override_dh_auto_clean:
rm -rf yara-python/build docs/_build
dh_auto_clean
- dh_auto_clean --sourcedirectory=yara-python
override_dh_autoreconf:
mkdir -p m4 libyara/m4
dh_autoreconf
-override_dh_strip:
- dh_strip --dbg-package=yara-dbg
-
override_dh_install:
dh_install --fail-missing -X.la
override_dh_installchangelogs:
dh_installchangelogs
- dh_installchangelogs -p libyara-dev -p libyara3 -p python-yara -p python3-yara -p yara debian/changelog.upstream
+ dh_installchangelogs -p libyara-dev -p libyara3 -p yara debian/changelog.upstream
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list