Commit Graph

36 Commits

Author SHA1 Message Date
Pau Espin a11a464552 smpp34_dumpBuf.c: remove unused variable
Fixes compilation warning below:
smpp34_dumpBuf.c:52:9: warning: variable ‘lefterror’ set but not used [-Wunused-but-set-variable]
     int lefterror = 0;

Change-Id: Iea8ff80d3e4d16aaca6e37d64593b50fa27c8cfb
2017-09-15 20:24:16 +02:00
Max 823e711018 Use release helper from libosmocore
See
https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
for details.

Change-Id: Ief2b4d0400b142e84e7ce005a6da5c880c78a8f5
Related: OS#1861
2017-08-28 12:20:06 +02:00
Harald Welte 6d47c170cc prepare for 1.12 release
Change-Id: If21d2456dd8ebf4bcea0592a841741269b33a308
2017-08-14 19:11:37 +02:00
Harald Welte 166c8aacdc update .gitignore
Change-Id: Ie294cb355a6618295e9864358413052837c35a03
2017-08-14 19:06:36 +02:00
Harald Welte 1648066f16 Use osmocom-style versioning in Makefile, configure, debian/rules
We have a particular method of generating package version information
in the Osmocom project, based on a 'git-version-gen' script that
looks up the latest git tag and generates a version from that.

This version is then used in pkgconfig, etc.

Change-Id: I1e6ed7af7107f8a74010721acd34f92a3237a7a1
2017-08-14 18:55:24 +02:00
Pablo Neira Ayuso 6f481f066e add delivery receipt definitions
The registered_delivery field in SMPP message is a toggle on/off, this
patch adds two new definition so we don't have to use magic numbers from
the code.

Change-Id: I5b3afff1b3b77cccd949e0606914c7ac3ba6114c
2017-08-14 10:37:48 +02:00
Pablo Neira Ayuso c283d8431c add esm_class definitions
Add special message attributes definitions that are associated with the
short message. Thus, we can get rid of magic numbers in our codebase.

Change-Id: I91afd8b462b8fd3b2c4c5b54f4eeb7ec5b730b65
2017-08-11 13:51:04 +02:00
Pablo Neira Ayuso 9b3cefca21 add smpp34_tlv_for_each() helper
So we don't need to remember this is an opencoded list of TLVs.

Change-Id: I446929feed049d0411e1629ca263e2bc41f714cc
2017-08-11 12:13:54 +02:00
Harald Welte cc0bcd6bc0 README.md: Make sure all hyperlinks use <>
Change-Id: Iebc3f9b60004b4c17f0a35b90c2b226a8f357a10
2017-03-17 21:44:28 +01:00
Harald Welte 78b51894fa Actually fill the README file with contents (and markdown syntax)
Change-Id: I2343b2fd45d00935c0e27c84e8b55c39765d51f8
2017-03-16 21:03:03 +01:00
Max 63d562c099 Integrate Debian packaging changes
debian/control:
    * restructure to make it easier to incorporate further changes
    * update package descriptions
    * update project URL

debian/rules:
    * use proper hardening syntax
    * remove useless comment

debian/compat: update compatibility version

debian/*.install: fix paths

debian/copyright: add file matching Debian format

Change-Id: I50b54d7d89f7c7ed3e5a10fbf734d967090f30c7
Related: OS#1694
2016-12-21 18:06:17 +01:00
Max 899400ef72 Add gerrit settings
Make it simple to setup and use this repo with 'git review' command.

Change-Id: Ic97dda1950689ed86dcf01a49a0894aedaf57bab
2016-12-21 14:51:49 +01:00
Neels Hofmeyr 943f079e66 configure: check for pkg-config presence
Change-Id: I6251b2a8e76e5850a346d88fd3c02435b0b445ad
2016-10-01 00:50:11 +02:00
Neels Hofmeyr 2ccf5304ca gitignore: ignore all build artifacts
Change-Id: Ie253062060da2ebf22f1aaf99090c0f144fde52e
2016-07-06 15:31:58 +02:00
Ruben Undheim 8b61a0555a Fix various typos in log messages
Change-Id: If52a8546b09ac14c00e6323984eda6d88a558830
Reviewed-on: https://gerrit.osmocom.org/115
Reviewed-by: Neels Hofmeyr <nhofmeyr@sysmocom.de>
Tested-by: Jenkins Builder
2016-05-25 20:07:55 +00:00
Holger Hans Peter Freyther cccf025255 debian: Make upgrading from debian SID easier
Make sure the version number of this sourcepackage is higher than
the one found in Debian SID.

Change-Id: I77126b0b9a8dbc4dcdc02a5a3b4718129b308930
Reviewed-on: https://gerrit.osmocom.org/112
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-25 20:07:45 +00:00
Holger Hans Peter Freyther 0ee4af7405 jenkins: Add the build script from jenkins here
This can be used to replicate a build issue more easily.
2016-04-13 18:59:37 -04:00
Holger Hans Peter Freyther b7c45ce7be test: Be able to bind to a local source/port
Modify the code to show how to configure it.
2014-10-01 08:18:43 +02:00
Holger Hans Peter Freyther 84f2905c5b libsmpp: Fix src != build directory build needed for dizzy 2014-09-25 20:06:17 +02:00
Holger Hans Peter Freyther 7238abebeb debian: Add depedency between packages 2013-09-24 13:34:12 +02:00
Holger Hans Peter Freyther 724cf227af debian: Add a package 2013-09-24 13:06:39 +02:00
Holger Hans Peter Freyther 9738dfa897 Rename binary to binaries to fix building a debian package
dh will execute the binary rule and this will not do anything
as a directory with that name already exists..
2013-09-24 13:06:39 +02:00
Holger Hans Peter Freyther d5944e2225 misc: Fix compilation on FreeBSD of the example
Include netinet/in.h and check for FreeBSD for the gethostbyname_r
usage.
2013-09-09 11:55:24 +02:00
Holger Hans Peter Freyther ef554d0880 const: Make the data parameter for unpack const 2013-09-05 22:43:40 +02:00
Harald Welte a18bad9896 build test_apps only if libxml2 is available 2012-12-18 21:11:16 +01:00
Harald Welte 226b2b0e6e binary/Makefile.am: library is in builddir, not srcdir
this will fix out-of-tree builds
2012-12-18 21:05:37 +01:00
Harald Welte 88029df595 add test_apps/Makefile to configure.ac 2012-12-18 20:55:26 +01:00
Holger Hans Peter Freyther eca1440439 misc: Always include stdint.h as it is almost 2013 now
C99 is there for over a decode, always depend on the stdint header
being present, specially as the code is using uint32_t all over the
place.
2012-11-09 13:39:51 +01:00
Holger Hans Peter Freyther ac4af14ab1 misc: Use stdlib.h instead of malloc.h to make it compile on FreeBSD
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
2012-11-09 11:49:49 +01:00
Harald Welte 9288d59cfd auto-foo: Build test apps with libxml2 only if it is available
And disable the smsc build as it depends on libosmocore
2012-11-09 09:12:42 +01:00
Harald Welte a52c99e9e6 add missing C files for running a small SMSC-side SMPP implementation 2012-11-09 09:00:50 +01:00
Harald Welte bd7039233d don't install all the test programs to the system! 2012-11-08 15:12:32 +01:00
Harald Welte 9787d5998a add .gitignore 2012-11-08 15:05:06 +01:00
Harald Welte ae37eace2f add pkg-config support 2012-11-08 15:05:04 +01:00
Harald Welte e74d4af780 delete auto-generated files 2012-11-08 15:04:58 +01:00
Harald Welte 4b233b4f3b initial import of libsmpp34-1.10 2012-11-07 08:32:31 +01:00