[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionperf/master] Initial Debian packaging



commit e7679ad0baa2b82828f0510be23c9bdb1451af8b
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Mon May 27 10:25:13 2019 +0100

    Initial Debian packaging
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 40 ++++++++++++++++++++++++++++++++++++++++
 debian/install       |  1 +
 debian/rules         | 15 +++++++++++++++
 debian/source/format |  1 +
 6 files changed, 63 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7671854
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+onionperf (2019052301) stretch-backports; urgency=medium
+
+  * Initial release.
+
+ -- Iain R. Learmonth <irl@xxxxxxxxxx>  Thu, 23 May 2019 12:42:20 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c8ffa68
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: onionperf
+Maintainer: Tor Metrics <metrics-team@xxxxxxxxxxxxxxxxxxxx>
+Section: net
+Priority: optional
+Build-Depends: debhelper (>= 11),
+               dh-python,
+               cmake,
+               make,
+               build-essential,
+               gcc,
+               libigraph0-dev,
+               libglib2.0-dev,
+               python,
+               python-ipaddress,
+               python-lxml,
+               python-matplotlib,
+               python-netifaces,
+               python-networkx,
+               python-nose,
+               python-numpy,
+               python-scipy,
+               python-stem (>=1.7)
+Standards-Version: 4.1.3
+
+Package: onionperf
+Architecture: any
+Depends: ${python:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends},
+         python-ipaddress,
+         python-lxml,
+         python-matplotlib,
+         python-netifaces,
+         python-networkx,
+         python-nose,
+         python-numpy,
+         python-scipy,
+         python-stem (>=1.7)
+Description: Tor Performance Measurement Tool
+ Tor Performance Measurement Tool
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6d40677
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+tgen/build/tgen usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..64d85ba
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	./run_tests.sh
+
+override_dh_auto_build:
+	( cd tgen; \
+	  mkdir build; \
+	  cd build; \
+	  cmake ..; \
+	  make )
+	dh_auto_build
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits