mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 14:58:35 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71cfc2b90d | ||
|
|
15e943ab8b |
9
Makefile
9
Makefile
@@ -17,10 +17,15 @@ fw-clean: fw-simtrace-dfu-clean fw-simtrace-trace-clean fw-simtrace-cardem-clean
|
|||||||
fw: fw-simtrace-dfu fw-simtrace-trace fw-simtrace-cardem fw-qmod-dfu fw-qmod-cardem
|
fw: fw-simtrace-dfu fw-simtrace-trace fw-simtrace-cardem fw-qmod-dfu fw-qmod-cardem
|
||||||
|
|
||||||
utils:
|
utils:
|
||||||
make -C host
|
(cd host && \
|
||||||
|
autoreconf -fi && \
|
||||||
|
./configure --prefix=/usr --disable-werror && \
|
||||||
|
make)
|
||||||
|
|
||||||
clean: fw-clean
|
clean: fw-clean
|
||||||
make -C host clean
|
if [ -e host/Makefile ]; then \
|
||||||
|
make -C host clean; \
|
||||||
|
fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
make -C firmware install
|
make -C firmware install
|
||||||
|
|||||||
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
simtrace2 (0.5.2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* adapt to host tools in autotools
|
||||||
|
|
||||||
|
-- Harald Welte <lafore@gnumonks.org> Thu, 28 Nov 2019 00:44:57 +0100
|
||||||
|
|
||||||
simtrace2 (0.5.1) unstable; urgency=medium
|
simtrace2 (0.5.1) unstable; urgency=medium
|
||||||
|
|
||||||
* Backwards-compatibility with older (released, non-master) libosmocore
|
* Backwards-compatibility with older (released, non-master) libosmocore
|
||||||
|
|||||||
36
debian/control
vendored
36
debian/control
vendored
@@ -3,6 +3,13 @@ Maintainer: Harald Welte <laforge@gnumonks.org>
|
|||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper (>= 9),
|
Build-Depends: debhelper (>= 9),
|
||||||
|
autotools-dev,
|
||||||
|
autoconf,
|
||||||
|
automake,
|
||||||
|
libtool,
|
||||||
|
pkg-config,
|
||||||
|
git,
|
||||||
|
dh-autoreconf,
|
||||||
libosmocore-dev,
|
libosmocore-dev,
|
||||||
libpcsclite-dev,
|
libpcsclite-dev,
|
||||||
libnewlib-arm-none-eabi,
|
libnewlib-arm-none-eabi,
|
||||||
@@ -26,6 +33,33 @@ Package: simtrace2-utils
|
|||||||
Section: devel
|
Section: devel
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libosmo-simtrace2-0
|
||||||
Recommends: simtrace2-firmware
|
Recommends: simtrace2-firmware
|
||||||
Description: Host utilities to communicate with SIMtrace2 USB Devices.
|
Description: Host utilities to communicate with SIMtrace2 USB Devices.
|
||||||
|
|
||||||
|
Package: libosmo-simtrace2-0
|
||||||
|
Section: libs
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Osmocom SIMtrace2 library
|
||||||
|
This library contains core "driver" functionality to interface with the
|
||||||
|
Osmocom SIMtrace2 (and compatible) USB device firmware. It enables
|
||||||
|
applications to implement SIM card / smart card tracing as well as
|
||||||
|
SIM / smart card emulation functions.
|
||||||
|
|
||||||
|
Package: libosmo-simtrace2-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends: libosmo-simtrace2-0, ${misc:Depends}
|
||||||
|
Description: Development headers for Osmocom SIMtrace2 library
|
||||||
|
This library contains core "driver" functionality to interface with the
|
||||||
|
Osmocom SIMtrace2 (and compatible) USB device firmware. It enables
|
||||||
|
applications to implement SIM card / smart card tracing as well as
|
||||||
|
SIM / smart card emulation functions.
|
||||||
|
.
|
||||||
|
The header files provided by this package may be used to develop
|
||||||
|
with any of the libosmocore libraries.
|
||||||
|
.
|
||||||
|
Also static libraries are installed with this package.
|
||||||
|
|||||||
1
debian/libosmo-simtrace2-0.install
vendored
Normal file
1
debian/libosmo-simtrace2-0.install
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
usr/lib/libosmo-simtrace2*.so.*
|
||||||
5
debian/libosmo-simtrace2-dev.install
vendored
Normal file
5
debian/libosmo-simtrace2-dev.install
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
usr/include/*
|
||||||
|
usr/lib/lib*.a
|
||||||
|
usr/lib/lib*.so
|
||||||
|
usr/lib/lib*.la
|
||||||
|
usr/lib/pkgconfig/*
|
||||||
15
debian/rules
vendored
15
debian/rules
vendored
@@ -1,4 +1,19 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
|
||||||
|
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
|
||||||
|
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
|
||||||
|
|
||||||
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
|
||||||
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
|
override_dh_autoreconf:
|
||||||
|
cd host && dh_autoreconf
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ SUBDIRS = include lib src contrib #tests examples doc
|
|||||||
|
|
||||||
EXTRA_DIST = .version git-version-gen
|
EXTRA_DIST = .version git-version-gen
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = libosmo-simtrace2.pc
|
||||||
|
|
||||||
@RELMAKE@
|
@RELMAKE@
|
||||||
|
|
||||||
BUILT_SOURCES = $(top_srcdir)/.version
|
BUILT_SOURCES = $(top_srcdir)/.version
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ static void print_flags(const struct value_string* flag_meanings, uint32_t nb_fl
|
|||||||
uint32_t i;
|
uint32_t i;
|
||||||
for (i = 0; i < nb_flags; i++) {
|
for (i = 0; i < nb_flags; i++) {
|
||||||
if (flags & flag_meanings[i].value) {
|
if (flags & flag_meanings[i].value) {
|
||||||
printf(flag_meanings[i].str);
|
printf("%s", flag_meanings[i].str);
|
||||||
flags &= ~flag_meanings[i].value;
|
flags &= ~flag_meanings[i].value;
|
||||||
if (flags) {
|
if (flags) {
|
||||||
printf(", ");
|
printf(", ");
|
||||||
|
|||||||
Reference in New Issue
Block a user