[Forensics-changes] [volatility] 01/01: * debian/control: - Added python as dependency in volatility-tools binary. - Changed the minimum python version from 2.6 to 2.7 in X-Python-Version field. * debian/*.install: added to create the volatility and volatility-tools packages. * debian/rules: - Changed in python setup line from --root=debian/volatility to --root=debian/tmp. - Removed the lines used to create the volatility-tool package. This is made by debian/*.install files now. - Removed the DESTDIR* lines.

Eriberto Mota eriberto-guest at moszumanska.debian.org
Thu Jan 30 20:53:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

eriberto-guest pushed a commit to branch debian
in repository volatility.

commit 1290b8a20a5190eb84795d502401084ef26de4fe
Author: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>
Date:   Thu Jan 30 18:53:30 2014 -0200

      * debian/control:
          - Added python as dependency in volatility-tools binary.
          - Changed the minimum python version from 2.6 to 2.7 in
            X-Python-Version field.
      * debian/*.install: added to create the volatility and volatility-tools
            packages.
      * debian/rules:
          - Changed in python setup line from --root=debian/volatility to
            --root=debian/tmp.
          - Removed the lines used to create the volatility-tool package.
            This is made by debian/*.install files now.
          - Removed the DESTDIR* lines.
---
 debian/changelog                    | 17 +++++++++++++++++
 debian/control                      |  6 +++---
 debian/rules                        |  9 +--------
 debian/volatility-tools.install     |  1 +
 debian/volatility.install           |  3 +++
 debian/volatility.lintian-overrides |  3 +++
 6 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d86d14a..75e9a50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+volatility (2.3.1-5) unstable; urgency=medium
+
+  * debian/control:
+      - Added python as dependency in volatility-tools binary.
+      - Changed the minimum python version from 2.6 to 2.7 in
+        X-Python-Version field.
+  * debian/*.install: added to create the volatility and volatility-tools
+        packages.
+  * debian/rules:
+      - Changed in python setup line from --root=debian/volatility to
+        --root=debian/tmp.
+      - Removed the lines used to create the volatility-tool package.
+        This is made by debian/*.install files now.
+      - Removed the DESTDIR* lines.
+
+ -- Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>  Thu, 30 Jan 2014 14:12:34 -0200
+
 volatility (2.3.1-4) unstable; urgency=high
 
   * debian/control: changed yara to python-yara as volatility dependency.
diff --git a/debian/control b/debian/control
index ee3656b..56b2475 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
 Uploaders: Joao Eriberto Mota Filho <eriberto at eriberto.pro.br>, Michael Prokop <mika at debian.org>
 Build-Depends: debhelper (>= 9), python
-X-Python-Version: >= 2.6
+X-Python-Version: >= 2.7
 Standards-Version: 3.9.5
 Homepage: https://code.google.com/p/volatility
 Vcs-Git: git://anonscm.debian.org/collab-maint/volatility.git
@@ -14,7 +14,7 @@ Package: volatility
 Architecture: all
 Suggests: lime-forensics-dmks, libraw1394-11
 Depends: ${misc:Depends}, ${python:Depends}, python-crypto, python-imaging,
-         python-openpyxl, python-yara, volatility-tools
+         python-openpyxl, python-yara, volatility-tools (>= 2.3.1-5)
 Recommends: volatility-profiles
 Description: advanced memory forensics framework
  The Volatility Framework is a completely open collection of tools for the
@@ -49,7 +49,7 @@ Description: advanced memory forensics framework
 
 Package: volatility-tools
 Architecture: all
-Depends: ${misc:Depends}, dwarfdump
+Depends: ${misc:Depends}, dwarfdump, python (>= 2.7)
 Suggests: gcc, linux-headers, make, zip
 Description: generate profiles to Volatility Framework
  The Volatility Framework is a completely open collection of tools for the
diff --git a/debian/rules b/debian/rules
index 37150ee..f327963 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,11 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-DESTDIR=$(CURDIR)/debian/volatility
-DESTDIR2=$(CURDIR)/debian/volatility-tools
-
 %:
 	dh $@ --parallel --with python2
 
 override_dh_auto_install:
-	python setup.py install --root=debian/volatility --install-layout=deb --install-scripts=/usr/share/volatility --install-data=/usr/share/volatility
-
-#	volatility-tools package:
-	mv $(DESTDIR)/usr/share/volatility/tools/* $(DESTDIR2)/usr/src/volatility-tools
-	rm -rf $(DESTDIR)/usr/share/volatility/tools
+	python setup.py install --root=debian/tmp --install-layout=deb --install-scripts=/usr/share/volatility --install-data=/usr/share/volatility
 
 # Recommended line:
 override_dh_auto_build:
diff --git a/debian/volatility-tools.install b/debian/volatility-tools.install
new file mode 100644
index 0000000..67f388a
--- /dev/null
+++ b/debian/volatility-tools.install
@@ -0,0 +1 @@
+usr/share/volatility/tools/* usr/src/volatility-tools
diff --git a/debian/volatility.install b/debian/volatility.install
new file mode 100644
index 0000000..b15b003
--- /dev/null
+++ b/debian/volatility.install
@@ -0,0 +1,3 @@
+usr/lib
+usr/share/volatility/contrib
+usr/share/volatility/vol.py
diff --git a/debian/volatility.lintian-overrides b/debian/volatility.lintian-overrides
new file mode 100644
index 0000000..2a27567
--- /dev/null
+++ b/debian/volatility.lintian-overrides
@@ -0,0 +1,3 @@
+# Not a broken link. This link points to volatility-tools package, that is
+# a volatility dependency.
+volatility: package-contains-broken-symlink usr/bin/volatility ../share/volatility/vol.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/volatility.git



More information about the forensics-changes mailing list