summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>2021-01-11 13:33:38 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-06-30 10:54:59 +0900
commit8fa28df721e7038450d6479de697d2cdf91055eb (patch)
tree959d7d1e599e80e43014cea3cda3cbd50536ebf2
parent70bc426417b7aa29918642e4e8056c533306c931 (diff)
downloadDLT-daemon-8fa28df721e7038450d6479de697d2cdf91055eb.tar.gz
Debian packaging
First Debian release Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control59
-rw-r--r--debian/copyright8
-rw-r--r--debian/dlt-daemon.install7
-rw-r--r--debian/dlt-examples.install1
-rw-r--r--debian/dlt-tools.install19
-rw-r--r--debian/libdlt-dev.install3
-rw-r--r--debian/libdlt2.install1
-rwxr-xr-xdebian/rules17
10 files changed, 121 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..171698a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+dlt-daemon (2.18.7) unstable; urgency=low
+
+ * Initial release
+
+ -- Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com> Mon, 11 Jan 2021 09:00:00 +0800
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9 \ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..98cebea
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,59 @@
+Source: dlt-daemon
+Section: utils
+Priority: extra
+Maintainer: Advanced Driver Information Technology
+Build-Depends: debhelper (>= 9), cmake,
+ libdbus-1-dev, pkg-config, zlib1g-dev, libsystemd-dev
+
+
+Package: dlt-daemon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Diagnostic Log and Trace daemon
+ This component provides a standardised log and trace interface, based
+ on the standardised protocol specified in the AUTOSAR standard 4.0 DLT.
+ This component can be used by GENIVI components and other applications
+ as logging facility providing
+ .
+ The DLT daemon is the central component in GENIVI, which gathers all
+ logs and traces from the DLT user applications. The logs and traces
+ are stored optionally directly in a file in the ECU. The DLT daemon
+ forwards all logs and traces to a connected DLT client.
+ The DLT client can send control messages to the daemon, e.g. to set
+ individual log levels of applications and contexts or get the list of
+ applications and contexts registered in the DLT daemon.
+
+
+Package: libdlt2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Diagnostic Log and Trace daemon - Library
+ DLT library is used by apps that need to log to a DLT daemon directly and by
+ apps that want to read logs from DLT daemon.
+
+
+Package: libdlt-dev
+Section: libdevel
+Architecture: any
+Depends: libdlt2
+Description: Diagnostic Log and Trace daemon - Headers
+ DLT library is used by apps that need to log to a DLT daemon directly and by
+ apps that want to read logs from DLT daemon. This package provides development
+ files.
+
+
+Package: dlt-tools
+Architecture: any
+Depends: libdlt2, ${shlibs:Depends}, ${misc:Depends}
+Description: Diagnostic Log and Trace daemon - Tools
+ This package includes tools to connect to and experiment with DLT daemon.
+ Most usefully this includes 'dlt-receive' to connect to a (remote) DLT server
+ and save all logs to a DLT file and 'dlt-system' that injects system logs
+ into the DLT server.
+
+
+Package: dlt-examples
+Architecture: any
+Depends: libdlt2, ${shlibs:Depends}, ${misc:Depends}
+Description: Diagnostic Log and Trace daemon - Examples
+ This package includes example binaries to demonstrate several use cases. \ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a3c4bea
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,8 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dlt-daemon
+Source: https://github.com/GENIVI/dlt-daemon
+
+Files: *
+Copyright:
+ BMW AG et al
+License: MPL-2.0+
diff --git a/debian/dlt-daemon.install b/debian/dlt-daemon.install
new file mode 100644
index 0000000..f9df5d4
--- /dev/null
+++ b/debian/dlt-daemon.install
@@ -0,0 +1,7 @@
+INSTALL_PREFIX_PATH/bin/dlt-daemon
+INSTALL_PREFIX_PATH/etc/dlt_gateway.conf
+INSTALL_PREFIX_PATH/etc/dlt.conf
+INSTALL_PREFIX_PATH/share/man/man1/dlt-daemon.1.gz
+INSTALL_PREFIX_PATH/share/man/man5/dlt.conf.5.gz
+INSTALL_PREFIX_PATH/share/man/man5/dlt_gateway.conf.5.gz
+lib/systemd/system/dlt.service
diff --git a/debian/dlt-examples.install b/debian/dlt-examples.install
new file mode 100644
index 0000000..86c2c1e
--- /dev/null
+++ b/debian/dlt-examples.install
@@ -0,0 +1 @@
+INSTALL_PREFIX_PATH/bin/dlt-example-*
diff --git a/debian/dlt-tools.install b/debian/dlt-tools.install
new file mode 100644
index 0000000..b44b6c8
--- /dev/null
+++ b/debian/dlt-tools.install
@@ -0,0 +1,19 @@
+INSTALL_PREFIX_PATH/etc/dlt-dbus.conf
+INSTALL_PREFIX_PATH/etc/dlt-kpi.conf
+INSTALL_PREFIX_PATH/etc/dlt-system.conf
+INSTALL_PREFIX_PATH/bin/dlt-adaptor-*
+INSTALL_PREFIX_PATH/bin/dlt-control
+INSTALL_PREFIX_PATH/bin/dlt-convert
+INSTALL_PREFIX_PATH/bin/dlt-dbus
+INSTALL_PREFIX_PATH/bin/dlt-logstorage-ctrl
+INSTALL_PREFIX_PATH/bin/dlt-passive-node-ctrl
+INSTALL_PREFIX_PATH/bin/dlt-receive
+INSTALL_PREFIX_PATH/bin/dlt-system
+INSTALL_PREFIX_PATH/share/man/man1/dlt-convert.1.gz
+INSTALL_PREFIX_PATH/share/man/man1/dlt-logstorage-ctrl.1.gz
+INSTALL_PREFIX_PATH/share/man/man1/dlt-passive-node-ctrl.1.gz
+INSTALL_PREFIX_PATH/share/man/man1/dlt-receive.1.gz
+INSTALL_PREFIX_PATH/share/man/man1/dlt-system.1.gz
+INSTALL_PREFIX_PATH/share/man/man5/dlt-system.conf.5.gz
+lib/systemd/system/dlt-adaptor-udp.service
+lib/systemd/system/dlt-receive.service
diff --git a/debian/libdlt-dev.install b/debian/libdlt-dev.install
new file mode 100644
index 0000000..78402ee
--- /dev/null
+++ b/debian/libdlt-dev.install
@@ -0,0 +1,3 @@
+INSTALL_PREFIX_PATH/include/dlt/*
+INSTALL_PREFIX_PATH/lib/*/libdlt.so
+INSTALL_PREFIX_PATH/lib/*/pkgconfig/automotive-dlt.pc
diff --git a/debian/libdlt2.install b/debian/libdlt2.install
new file mode 100644
index 0000000..6a2dd0e
--- /dev/null
+++ b/debian/libdlt2.install
@@ -0,0 +1 @@
+INSTALL_PREFIX_PATH/lib/*/libdlt.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..993ce30
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --buildsystem cmake --builddirectory=build
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \
+ -DWITH_MAN=ON -DWITH_DLT_DBUS=ON \
+ -DWITH_DLT_KPI=ON -DWITH_DLT_ADAPTOR=ON \
+ -DWITH_DLT_SYSTEM=ON -DCMAKE_INSTALL_PREFIX=/opt/tooling/dlt \
+ -DCMAKE_INSTALL_SYSCONFDIR=/opt/tooling/dlt/etc
+
+override_dh_install:
+ sed -i 's/INSTALL_PREFIX_PATH/opt\/tooling\/dlt/g' debian/*.install; \
+ dh_install