summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:24:58 +0000
commited5a8850e2df6cdc92f117ed26c5ca3f653991ac (patch)
tree30cc96af6246922cf7183ee7c402db7b14c2d94d
parentAdding upstream version 1.3.3. (diff)
downloadlibopencsd-ed5a8850e2df6cdc92f117ed26c5ca3f653991ac.tar.xz
libopencsd-ed5a8850e2df6cdc92f117ed26c5ca3f653991ac.zip
Adding debian version 1.3.3-1.debian/1.3.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog135
-rw-r--r--debian/control64
-rw-r--r--debian/copyright42
-rw-r--r--debian/libopencsd-bin.install1
-rw-r--r--debian/libopencsd-bin.manpages1
-rw-r--r--debian/libopencsd-dev.dirs2
-rw-r--r--debian/libopencsd-dev.install4
-rw-r--r--debian/libopencsd-doc.doc-base8
-rw-r--r--debian/libopencsd-doc.docs5
-rw-r--r--debian/libopencsd.pc.in12
-rw-r--r--debian/libopencsd1.dirs1
-rw-r--r--debian/libopencsd1.install1
-rw-r--r--debian/outfile1
-rwxr-xr-xdebian/rules60
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides7
-rw-r--r--debian/source/options2
-rw-r--r--debian/watch10
18 files changed, 357 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..877073d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,135 @@
+libopencsd (1.3.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Wookey <wookey@debian.org> Fri, 06 Jan 2023 01:46:38 +0000
+
+libopencsd (1.3.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Wookey <wookey@debian.org> Mon, 06 Jun 2022 21:08:27 +0100
+
+libopencsd (1.2.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Wookey <wookey@debian.org> Wed, 05 Jan 2022 17:26:43 +0000
+
+libopencsd (1.1.1-2) unstable; urgency=medium
+
+ * Uploaded as source only
+
+ -- Wookey <wookey@debian.org> Sun, 26 Sep 2021 14:25:07 +0100
+
+libopencsd (1.1.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Wookey <wookey@debian.org> Sun, 19 Sep 2021 17:19:36 +0100
+
+libopencsd (1.0.0-1) unstable; urgency=medium
+
+ * New upstream release. Declares ABI stable at 1.0
+
+ -- Wookey <wookey@debian.org> Sat, 09 Jan 2021 01:03:07 +0000
+
+libopencsd (0.14.4-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Sat, 21 Nov 2020 02:41:15 +0000
+
+libopencsd (0.14.3-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Tue, 29 Sep 2020 02:40:21 +0100
+
+libopencsd (0.14.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Tue, 05 May 2020 17:02:54 +0100
+
+libopencsd (0.14.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Mon, 30 Mar 2020 13:02:06 +0100
+
+libopencsd (0.12.2-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Mon, 10 Feb 2020 22:37:53 +0000
+
+libopencsd (0.12.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Tue, 29 Oct 2019 21:00:33 +0000
+
+libopencsd (0.12.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Wed, 31 Jul 2019 21:24:01 +0100
+
+libopencsd (0.11.2-1) experimental; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Thu, 30 May 2019 22:35:21 +0100
+
+libopencsd (0.11.1-1) experimental; urgency=medium
+
+ * New upstream release
+ * Uses -fPIC instead of -fpic to allow sparc64 to build.
+
+ -- Wookey <wookey@debian.org> Sat, 16 Mar 2019 02:05:54 +0000
+
+libopencsd (0.10.1-1) unstable; urgency=medium
+
+ * New upstream release, no functional changes
+
+ -- Wookey <wookey@debian.org> Fri, 30 Nov 2018 19:19:07 +0000
+
+libopencsd (0.10.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Fri, 26 Oct 2018 21:56:06 +0100
+
+libopencsd (0.9.3-2) unstable; urgency=medium
+
+ * Fix typo in output
+ * Update standards
+ * Ensure hardening flags
+
+ -- Wookey <wookey@debian.org> Fri, 12 Oct 2018 15:52:06 +0100
+
+libopencsd (0.9.3-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Tue, 09 Oct 2018 02:03:59 +0100
+
+libopencsd (0.9.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Wookey <wookey@debian.org> Fri, 27 Jul 2018 17:31:23 +0100
+
+libopencsd (0.9.0-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #901953)
+ * All debian patches incorporated upstream
+
+ -- Wookey <wookey@debian.org> Thu, 21 Jun 2018 13:16:23 +0100
+
+libopencsd (0.8.1-1) unstable; urgency=medium
+
+ * Initial release (Closes: #891955)
+
+ -- Wookey <wookey@debian.org> Sat, 17 Mar 2018 03:17:30 +0000
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..67abe77
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,64 @@
+Source: libopencsd
+Priority: optional
+Maintainer: Wookey <wookey@debian.org>
+Build-Depends: debhelper-compat (= 12), doxygen, graphviz, jdupes
+Standards-Version: 4.5.0
+Section: libs
+Homepage: https://github.com/Linaro/OpenCSD
+Rules-Requires-Root: no
+Vcs-Browser: https://salsa.debian.org/wookey/libopencsd
+Vcs-Git: https://salsa.debian.org/wookey/libopencsd.git
+
+Package: libopencsd-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libopencsd1 (= ${binary:Version}), ${misc:Depends}
+Description: ARM CoreSight trace decode library development files
+ This library provides an API suitable for the decode of ARM(r) CoreSight(tm)
+ trace streams. It supports ETMv3 data & instruction trace, ETMv4 instruction
+ trace, PTM (v1.1) instruction trace, STM (v1.1) software trace, and support for
+ external/custom decoders.
+ .
+ This is the development package containing the headers and static library build
+
+Package: libopencsd1
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ARM CoreSight Trace decode library
+ This library provides an API suitable for the decode of ARM(r) CoreSight(tm)
+ trace streams. It supports ETMv3 data & instruction trace, ETMv4 instruction
+ trace, PTM (v1.1) instruction trace, STM (v1.1) software trace, and support for
+ external/custom decoders.
+ .
+ This library is trypically used via perf, but libopencsd-bin also contains a
+ test binary.
+
+Package: libopencsd-bin
+Section: libdevel
+Architecture: any
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ARM CoreSight trace decode utility
+ Tool to decode ARM Coresight trace stream packets.
+ .
+ The CoreSight library provides an API suitable for the decode of ARM(r)
+ CoreSight(tm) trace streams. It supports ETMv3 data & instruction trace,
+ ETMv4 instruction trace, PTM (v1.1) instruction trace, STM (v1.1) software
+ trace, and support for external/custom decoders.
+ .
+ This is the tools package containing useful binaries.
+
+Package: libopencsd-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Description: ARM CoreSight trace decode library documentation
+ This library provides an API suitable for the decode of ARM(r) CoreSight(tm)
+ trace streams. It supports ETMv3 data & instruction trace, ETMv4 instruction
+ trace, PTM (v1.1) instruction trace, STM (v1.1) software trace, and support for
+ external/custom decoders.
+ .
+ This is the documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5bcf3bd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: OpenCSD
+Upstream-Contact: coresight@lists.linaro.org
+Source: https://github.com/Linaro/OpenCSD
+
+Files: *
+Copyright: 2015-2018 ARM Limited
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2018 Wookey <wookey@debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Copyright (c) 2015, ARM Limited. All Rights Reserved.
+ .
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
diff --git a/debian/libopencsd-bin.install b/debian/libopencsd-bin.install
new file mode 100644
index 0000000..4c1c02f
--- /dev/null
+++ b/debian/libopencsd-bin.install
@@ -0,0 +1 @@
+usr/bin/trc_pkt_lister
diff --git a/debian/libopencsd-bin.manpages b/debian/libopencsd-bin.manpages
new file mode 100644
index 0000000..a66f66b
--- /dev/null
+++ b/debian/libopencsd-bin.manpages
@@ -0,0 +1 @@
+decoder/docs/man/trc_pkt_lister.1
diff --git a/debian/libopencsd-dev.dirs b/debian/libopencsd-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libopencsd-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libopencsd-dev.install b/debian/libopencsd-dev.install
new file mode 100644
index 0000000..ce24a29
--- /dev/null
+++ b/debian/libopencsd-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/pkgconfig/*
+usr/lib/*/libopencsd*.so
diff --git a/debian/libopencsd-doc.doc-base b/debian/libopencsd-doc.doc-base
new file mode 100644
index 0000000..0f12189
--- /dev/null
+++ b/debian/libopencsd-doc.doc-base
@@ -0,0 +1,8 @@
+Document: libopencsd
+Title: libOpenCSD Manual
+Abstract: This manual describes libopencsd, usage and classes
+Section: System/Monitoring
+
+Format: HTML
+Index: /usr/share/doc/libopencsd-dev/html/index.html
+Files: /usr/share/doc/libopencsd-dev/html/*.html
diff --git a/debian/libopencsd-doc.docs b/debian/libopencsd-doc.docs
new file mode 100644
index 0000000..0973d7d
--- /dev/null
+++ b/debian/libopencsd-doc.docs
@@ -0,0 +1,5 @@
+HOWTO.md
+README.md
+decoder/docs/*.md
+decoder/docs/specs/
+decoder/docs/html \ No newline at end of file
diff --git a/debian/libopencsd.pc.in b/debian/libopencsd.pc.in
new file mode 100644
index 0000000..f9627b6
--- /dev/null
+++ b/debian/libopencsd.pc.in
@@ -0,0 +1,12 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@LIB_PATH@
+includedir=${prefix}/include
+
+Name: libopencsd
+Description: ARM trace decode library
+Version: 0.0
+
+Requires:
+Libs: -L${libdir} -lopencsd
+Cflags: -I${includedir}
diff --git a/debian/libopencsd1.dirs b/debian/libopencsd1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libopencsd1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libopencsd1.install b/debian/libopencsd1.install
new file mode 100644
index 0000000..165056c
--- /dev/null
+++ b/debian/libopencsd1.install
@@ -0,0 +1 @@
+usr/lib/*/libopencsd*.so.*
diff --git a/debian/outfile b/debian/outfile
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/outfile
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1451f0f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+export DH_VERBOSE = 1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+include /usr/share/dpkg/architecture.mk
+
+PREFIX=/usr
+LIB_PATH=lib/$(DEB_HOST_MULTIARCH)
+PKG_VERSION=$(shell dpkg-parsechangelog -S version | cut -d- -f1)
+export CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
+
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+ OPTS="DEBUG=1"
+endif
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS += hardening=+all
+
+%:
+ dh $@
+
+
+override_dh_auto_build-arch:
+ make -f decoder/build/linux/makefile $(OPTS) LIB_PATH=$(LIB_PATH)
+#always build tests as one util is useful
+#await mechanism for running build-time tests.
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# make -f decoder/build/linux/makefile tests $(OPT_PATH=$(LIB_PATH)
+#endif
+ sed -r -e 's/^(Version: ).*$$/\1$(PKG_VERSION)/' debian/libopencsd.pc.in > debian/libopencsd.pc
+ sed -i -e 's:@PREFIX@:$(PREFIX):' debian/libopencsd.pc
+ sed -i -e 's:@LIB_PATH@:$(LIB_PATH):' debian/libopencsd.pc
+
+override_dh_auto_build-indep:
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ make -f decoder/build/linux/makefile docs
+endif
+
+override_dh_installdocs:
+ # kick compat 11+ to put docs where we told it
+ dh_installdocs -X.md5 -X.map
+ jdupes -rl debian/libopencsd-doc/usr/share/doc/
+
+override_dh_compress:
+ dh_compress -X.pdf
+
+override_dh_auto_install-arch:
+ make -f decoder/build/linux/makefile install PREFIX=$(CURDIR)/debian/tmp/usr $(OPTS) LIB_PATH=$(LIB_PATH)
+ mkdir -p debian/tmp/usr/$(LIB_PATH)/pkgconfig/
+ cp debian/libopencsd.pc debian/tmp/usr/$(LIB_PATH)/pkgconfig/
+
+override_dh_clean:
+ make -f decoder/build/linux/makefile clean $(OPTS) LIB_PATH=$(LIB_PATH)
+ -rm -r decoder/lib decoder/tests/bin
+ -rm debian/libopencsd.pc
+ dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..daa9b51
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,7 @@
+# We can accept there being no source for a test binary
+libopencsd source: source-is-missing
+# these test binaries are deliberately odd and annoy readelf
+libopencsd source: binary-with-bad-dynamic-table
+libopencsd source: elf-error
+
+#I can't get the file-specific context qualifier to work here so just the general whinges are listed \ No newline at end of file
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..ce071fb
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+single-debian-patch
+auto-commit
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d516280
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# Compulsory line, this is a version 4 file
+version=4
+
+# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
+#opts="pgpsigurlmangle=s%$%.sig%"
+
+# GitHub hosted projects
+opts=filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%libopencsd-$1.tar.gz% \
+ https://github.com/Linaro/OpenCSD/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate