debian/0000755000000000000000000000000012215666774007206 5ustar debian/compat0000644000000000000000000000000212202352316010360 0ustar 9 debian/copyright0000644000000000000000000000220012202352316011107 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OpenMAMA Upstream-Contact: OpenMAMA developers Source: http://git.openmama.org/OpenMAMA.git Files: * Copyright: 2011, NYSE Technologies, Inc. 1999-2004, The ht://Dig Group 1994, Powerdog Industries. 2002, Niels Provos 1994, X Consortium 2003, Wombat Consulting Inc. 2007, Wombat Financial Software, Inc. 1996-2011, Free Software Foundation License: LGPL-2.1 Comment: Build artifacts from autotools are in all directories and licensed under less restrictive terms. . The project itself is LGPL-2.1 Files: debian/* Copyright: 2013, Daniel Pocock http://danielpocock.com License: GPL-3 License: LGPL-2.1 On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: GPL-3 On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/libmama0.install0000644000000000000000000000002712202352316012233 0ustar usr/lib/*/libmama.so.* debian/libmamaavis0.install0000644000000000000000000000003512202352316013115 0ustar /usr/lib/*/libmamaavis*.so.* debian/libmamaavis0.lintian-overrides0000644000000000000000000000020512202352316015104 0ustar # we bundle all the Avis-related shared objects into a single binary package: libmamaavis0 binary: package-name-doesnt-match-sonames debian/libmamacpp0.install0000644000000000000000000000003212202352316012732 0ustar usr/lib/*/libmamacpp.so.* debian/libmamacpp0.lintian-overrides0000644000000000000000000000020012202352316014717 0ustar # warning only appears for this lib, all others are OK, maybe false positive libmamacpp0 binary: hardening-no-fortify-functions debian/libmamda-dev.install0000644000000000000000000000005112202352316013070 0ustar usr/include/mamda usr/lib/*/libmamda*.so debian/libmamda0.install0000644000000000000000000000003012202352316012371 0ustar usr/lib/*/libmamda.so.* debian/libmamdabook0.install0000644000000000000000000000003412202352316013250 0ustar usr/lib/*/libmamdabook.so.* debian/libmamdanews0.install0000644000000000000000000000003412202352316013272 0ustar usr/lib/*/libmamdanews.so.* debian/libmamdanews0.lintian-overrides0000644000000000000000000000020212202352316015257 0ustar # warning only appears for this lib, all others are OK, maybe false positive libmamdanews0 binary: hardening-no-fortify-functions debian/libmamdaoptions0.install0000644000000000000000000000003712202352316014014 0ustar usr/lib/*/libmamdaoptions.so.* debian/libwombatcommon0.install0000644000000000000000000000003712202352316014023 0ustar usr/lib/*/libwombatcommon.so.* debian/libwombatcommoncpp0.install0000644000000000000000000000004212202352316014522 0ustar usr/lib/*/libwombatcommoncpp.so.* debian/patches/0000755000000000000000000000000012215666365010631 5ustar debian/patches/0001-Fix-fprintf-format-strings.patch0000644000000000000000000000367512202352316017374 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 12:52:35 +0200 Subject: Fix fprintf format strings --- common/c_cpp/src/c/wMessageStats.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/c_cpp/src/c/wMessageStats.c b/common/c_cpp/src/c/wMessageStats.c index b30a32c..5d1923a 100644 --- a/common/c_cpp/src/c/wMessageStats.c +++ b/common/c_cpp/src/c/wMessageStats.c @@ -272,7 +272,7 @@ int createStatisticsCache(statsCache** sCache,int numMsgCategories, if(mysCache->mHeader == 1 && mysCache->mOutfile == stdout) { - fprintf(mysCache->mOutfile,opHeaderPeriod); + fprintf(mysCache->mOutfile, "%s", opHeaderPeriod); mysCache->mHeader=0; } @@ -294,7 +294,7 @@ int createStatisticsCache(statsCache** sCache,int numMsgCategories, { if(mysCache->mHeader == 1 && mysCache->mOutfile == stdout) { - fprintf(mysCache->mOutfile,opHeaderPeriod); + fprintf(mysCache->mOutfile, "%s", opHeaderPeriod); mysCache->mHeader=0; } @@ -917,7 +917,7 @@ int printPerfData(perfData* pData,int headerFlag) if(headerFlag==1) { /* print stats header every time for all symbols */ - fprintf(pData->mOutfile,opHeaderPeriod); + fprintf(pData->mOutfile, "%s", opHeaderPeriod); } fprintf(pData->mOutfile," %-13s,",pData->mSymbol); fprintf(pData->mOutfile,"%-13.2f,",pData->mTotalTime); @@ -999,7 +999,7 @@ void perfDataReportHeader(FILE* outfile) fprintf(outfile, "\n\n\n\t\t\t\t\t *** Statistics Summary For Execution ***\n"); fprintf(outfile, " Symbol Name ,"); - fprintf(outfile,opHeaderAcrossAll); + fprintf(outfile, "%s", opHeaderAcrossAll); } } void printPerfDataReport(perfData* pData,FILE* outfile) debian/patches/0002-Fix-fprintf-format-strings-2.patch0000644000000000000000000000275512202352316017532 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 12:58:42 +0200 Subject: Fix fprintf format strings 2 --- mamda/c_cpp/src/cpp/options/MamdaOptionContract.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mamda/c_cpp/src/cpp/options/MamdaOptionContract.cpp b/mamda/c_cpp/src/cpp/options/MamdaOptionContract.cpp index d992f60..66c7219 100644 --- a/mamda/c_cpp/src/cpp/options/MamdaOptionContract.cpp +++ b/mamda/c_cpp/src/cpp/options/MamdaOptionContract.cpp @@ -81,8 +81,8 @@ namespace Wombat MamdaOptionPutCall putCall) : mImpl (*new MamdaOptionContractImpl) { - snprintf (mImpl.mSymbol, MAX_SYMBOL_LEN, symbol); - snprintf (mImpl.mExchange, MAX_PART_ID_LEN, exchange); + snprintf (mImpl.mSymbol, MAX_SYMBOL_LEN, "%s", symbol); + snprintf (mImpl.mExchange, MAX_PART_ID_LEN, "%s", exchange); mImpl.mExpireDate = expireDate; mImpl.mGotExpireDate = true; @@ -101,8 +101,8 @@ namespace Wombat const char* exchange) : mImpl (*new MamdaOptionContractImpl) { - snprintf (mImpl.mSymbol, MAX_SYMBOL_LEN, symbol); - snprintf (mImpl.mExchange, MAX_PART_ID_LEN, exchange); + snprintf (mImpl.mSymbol, MAX_SYMBOL_LEN, "%s", symbol); + snprintf (mImpl.mExchange, MAX_PART_ID_LEN, "%s", exchange); mImpl.mExpireDate.clear(); mImpl.mGotExpireDate = false; debian/patches/0003-Fix-LIBADD-for-wombatcommoncpp.patch0000644000000000000000000000104212202352316017641 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 13:09:47 +0200 Subject: Fix LIBADD for wombatcommoncpp --- common/c_cpp/src/cpp/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/c_cpp/src/cpp/Makefile.am b/common/c_cpp/src/cpp/Makefile.am index 3a9613d..c3c5343 100644 --- a/common/c_cpp/src/cpp/Makefile.am +++ b/common/c_cpp/src/cpp/Makefile.am @@ -24,3 +24,5 @@ CPPFLAGS += -I@srcdir@/../c libwombatcommoncpp_la_SOURCES = \ Lock.cpp +libwombatcommoncpp_la_LIBADD = ../c/libwombatcommon.la + debian/patches/0004-LIBADD-fixes-for-wombatcommon.patch0000644000000000000000000000256312202352316017540 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 14:47:33 +0200 Subject: LIBADD fixes for wombatcommon --- common/c_cpp/src/c/Makefile.am | 7 ++++++- common/c_cpp/src/cpp/Makefile.am | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/c_cpp/src/c/Makefile.am b/common/c_cpp/src/c/Makefile.am index ea3a6e9..66084d5 100644 --- a/common/c_cpp/src/c/Makefile.am +++ b/common/c_cpp/src/c/Makefile.am @@ -53,7 +53,12 @@ CFLAGS += -std=gnu99 -fPIC -pedantic-errors -Wmissing-prototypes -Wstrict-prot CPPFLAGS += -fPIC -pedantic-errors -Wno-long-long -D_GNU_SOURCE endif -LIBS += -ldl -luuid +LIBS += -ldl +# this doesn't appear to be used right now: +#LIBS += -luuid +# may not be needed for all platforms, should use configure to check: +LIBS += -lpthread +LIBS += -lm libwombatcommon_la_SOURCES = \ MRSWLock.c \ diff --git a/common/c_cpp/src/cpp/Makefile.am b/common/c_cpp/src/cpp/Makefile.am index c3c5343..e285ce8 100644 --- a/common/c_cpp/src/cpp/Makefile.am +++ b/common/c_cpp/src/cpp/Makefile.am @@ -12,8 +12,6 @@ lib_LTLIBRARIES = libwombatcommoncpp.la nobase_include_HEADERS = \ wombat/Lock.h -LIBS += -ldl -lrt -lwombatcommon - if USE_GCC_FLAGS CFLAGS += -fPIC -pedantic-errors -Wmissing-prototypes -Wstrict-prototypes CPPFLAGS += -fPIC -pedantic-errors -Wall -Wno-long-long -D_GNU_SOURCE debian/patches/0005-LIBADD-fixes-for-libmama.patch0000644000000000000000000000135212202352316016434 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 15:03:55 +0200 Subject: LIBADD fixes for libmama --- mama/c_cpp/src/c/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mama/c_cpp/src/c/Makefile.am b/mama/c_cpp/src/c/Makefile.am index 64ebac0..996f9e4 100644 --- a/mama/c_cpp/src/c/Makefile.am +++ b/mama/c_cpp/src/c/Makefile.am @@ -90,7 +90,9 @@ nobase_include_HEADERS = \ CFLAGS += -I${srcdir}/../../../../common/c_cpp/src/c LDFLAGS += -L${srcdir}/../../../../common/c_cpp/src/c -LIBS += -lm -lrt -lwombatcommon -ldl -lpthread +libmama_la_LIBADD = ../../../../common/c_cpp/src/c/libwombatcommon.la +libmama_la_LIBADD += -lpthread +libmama_la_LIBADD += -lm if USE_GCC_FLAGS debian/patches/0006-LIBADD-fixes-for-libmamaavis.patch0000644000000000000000000000307312202352316017322 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 15:04:09 +0200 Subject: LIBADD fixes for libmamaavis --- mama/c_cpp/src/c/bridge/avis/Makefile.am | 6 +++++- mama/c_cpp/src/c/payload/avismsg/Makefile.am | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/mama/c_cpp/src/c/bridge/avis/Makefile.am b/mama/c_cpp/src/c/bridge/avis/Makefile.am index 75f6834..86d7247 100644 --- a/mama/c_cpp/src/c/bridge/avis/Makefile.am +++ b/mama/c_cpp/src/c/bridge/avis/Makefile.am @@ -40,7 +40,11 @@ CFLAGS += -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wa CPPFLAGS += -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall endif -LIBS = -lavis -lmama -lm -lwombatcommon -luuid +libmamaavisimpl_la_LIBADD = -lavis +libmamaavisimpl_la_LIBADD += ../../libmama.la +libmamaavisimpl_la_LIBADD += ../../../../../../common/c_cpp/src/c/libwombatcommon.la +libmamaavisimpl_la_LIBADD += -luuid +libmamaavisimpl_la_LIBADD += -lpthread libmamaavisimpl_la_SOURCES = \ bridge.c \ diff --git a/mama/c_cpp/src/c/payload/avismsg/Makefile.am b/mama/c_cpp/src/c/payload/avismsg/Makefile.am index 3302741..ba66600 100755 --- a/mama/c_cpp/src/c/payload/avismsg/Makefile.am +++ b/mama/c_cpp/src/c/payload/avismsg/Makefile.am @@ -41,7 +41,9 @@ endif LDFLAGS += -L${srcdir}/../../ \ -L${srcdir}/../../../../../../common/c_cpp/src/c -LIBS = -lavis -lmama -lm +libmamaavismsgimpl_la_LIBADD = -lavis +libmamaavismsgimpl_la_LIBADD += ../../libmama.la + # Sources: libmamaavismsgimpl_la_SOURCES = \ debian/patches/0007-LIBADD-fixes-for-libmamda.patch0000644000000000000000000000473312202352316016610 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 15:04:27 +0200 Subject: LIBADD fixes for libmamda --- mamda/c_cpp/src/cpp/Makefile.am | 3 +++ mamda/c_cpp/src/cpp/news/Makefile.am | 3 +++ mamda/c_cpp/src/cpp/options/Makefile.am | 2 ++ mamda/c_cpp/src/cpp/orderbooks/Makefile.am | 3 +++ 4 files changed, 11 insertions(+) diff --git a/mamda/c_cpp/src/cpp/Makefile.am b/mamda/c_cpp/src/cpp/Makefile.am index 1c191b4..69ca274 100644 --- a/mamda/c_cpp/src/cpp/Makefile.am +++ b/mamda/c_cpp/src/cpp/Makefile.am @@ -122,6 +122,9 @@ if USE_GCC_FLAGS CPPFLAGS += -pedantic-errors -Wall -Wno-long-long -Wno-non-virtual-dtor -D_GNU_SOURCE endif +libmamda_la_LIBADD = ../../../../mama/c_cpp/src/cpp/libmamacpp.la +libmamda_la_LIBADD += -lpthread + libmamda_la_SOURCES = \ MamdaLock.cpp \ MamdaBasicSubscription.cpp \ diff --git a/mamda/c_cpp/src/cpp/news/Makefile.am b/mamda/c_cpp/src/cpp/news/Makefile.am index 85a1f45..19dd18d 100644 --- a/mamda/c_cpp/src/cpp/news/Makefile.am +++ b/mamda/c_cpp/src/cpp/news/Makefile.am @@ -49,6 +49,9 @@ CFLAGS += -pedantic-errors -Wno-long-long -Wall CPPFLAGS += -pedantic-errors -Wno-long-long -Wall endif +libmamdanews_la_LIBADD = ../libmamda.la +libmamdanews_la_LIBADD += ../../../../../mama/c_cpp/src/cpp/libmamacpp.la + libmamdanews_la_SOURCES = \ MamdaNewsFields.cpp \ MamdaNewsHeadline.cpp \ diff --git a/mamda/c_cpp/src/cpp/options/Makefile.am b/mamda/c_cpp/src/cpp/options/Makefile.am index 65bc418..f89ed23 100644 --- a/mamda/c_cpp/src/cpp/options/Makefile.am +++ b/mamda/c_cpp/src/cpp/options/Makefile.am @@ -55,6 +55,8 @@ CFLAGS += -pedantic-errors -Wno-long-long -Wall CPPFLAGS += -pedantic-errors -Wno-long-long -Wall endif +libmamdaoptions_la_LIBADD = ../libmamda.la +libmamdaoptions_la_LIBADD += ../../../../../mama/c_cpp/src/cpp/libmamacpp.la libmamdaoptions_la_SOURCES = \ MamdaOptionChain.cpp \ diff --git a/mamda/c_cpp/src/cpp/orderbooks/Makefile.am b/mamda/c_cpp/src/cpp/orderbooks/Makefile.am index 85b47bd..6b06be9 100644 --- a/mamda/c_cpp/src/cpp/orderbooks/Makefile.am +++ b/mamda/c_cpp/src/cpp/orderbooks/Makefile.am @@ -70,6 +70,9 @@ CFLAGS += -pedantic-errors -Wall -Wno-long-long CPPFLAGS += -pedantic-errors -Wall -Wno-long-long -Wno-non-virtual-dtor endif +libmamdabook_la_LIBADD = ../libmamda.la +libmamdabook_la_LIBADD += ../../../../../mama/c_cpp/src/cpp/libmamacpp.la + libmamdabook_la_SOURCES = \ MamdaBookAtomicListener.cpp \ MamdaOrderBook.cpp \ debian/patches/0008-mamacpp-LIBADD-mama.patch0000644000000000000000000000121612202352316015463 0ustar From: Daniel Pocock Date: Fri, 9 Aug 2013 15:23:32 +0200 Subject: mamacpp LIBADD mama --- mama/c_cpp/src/cpp/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mama/c_cpp/src/cpp/Makefile.am b/mama/c_cpp/src/cpp/Makefile.am index 1a2593a..29c4733 100644 --- a/mama/c_cpp/src/cpp/Makefile.am +++ b/mama/c_cpp/src/cpp/Makefile.am @@ -109,6 +109,8 @@ CFLAGS += -std=gnu99 -pedantic-errors -Wmissing-prototypes -Wstrict-prototypes CPPFLAGS += -pedantic-errors -Wall -Wno-long-long -D_GNU_SOURCE endif +libmamacpp_la_LIBADD = ../c/libmama.la + libmamacpp_la_SOURCES = \ datetime.cpp \ mamacpp.cpp \ debian/patches/0009-Exclude-test-cases-from-javadoc.patch0000644000000000000000000000223112211656221020230 0ustar From: Daniel Pocock Date: Wed, 4 Sep 2013 15:04:50 +0200 Subject: Exclude test cases from javadoc --- mama/jni/build.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mama/jni/build.xml b/mama/jni/build.xml index 6eca980..0583a51 100644 --- a/mama/jni/build.xml +++ b/mama/jni/build.xml @@ -209,9 +209,11 @@
<img src='{@docRoot}resources/openmama.png' alt='NYSE Technologies' /><br/><b>MAMA JNI</b><br><font size='-1'>version ${version}</font>
+ + debian/patches/0010-Support-atomic-operations-on-additional-CPUs.patch0000644000000000000000000000335612211664213022660 0ustar From: Daniel Pocock Date: Wed, 4 Sep 2013 18:50:03 +0200 Subject: Support atomic operations on additional CPUs --- common/c_cpp/src/c/linux/wInterlocked.h | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/common/c_cpp/src/c/linux/wInterlocked.h b/common/c_cpp/src/c/linux/wInterlocked.h index 6ee00db..cac7374 100644 --- a/common/c_cpp/src/c/linux/wInterlocked.h +++ b/common/c_cpp/src/c/linux/wInterlocked.h @@ -33,6 +33,8 @@ /* Linux implementation. */ /* *************************************************** */ +#if defined(__i386__) || defined(__x86_64__) + /* 32-bit atomic exchange. Returns previous value. */ static __inline__ uint32_t axchg32 (uint32_t* ptr, uint32_t newVal) @@ -62,6 +64,43 @@ adec32 (uint32_t* ptr) : "m" (*ptr)); } +#else + +#ifdef __GNUC__ + +/* 32-bit atomic exchange. Returns previous value. */ +static __inline__ uint32_t +axchg32 (uint32_t* ptr, uint32_t newVal) +{ + /* Warning: behavior not guaranteed to be consistent + on all platforms. Unit tests may be required to validate + on each build. + http://gcc.gnu.org/onlinedocs/gcc-4.3.5/gcc/Atomic-Builtins.html + */ + return __sync_lock_test_and_set(ptr, newVal); +} + +/* 32-bit atomic increment. */ +static __inline__ void +ainc32 (uint32_t* ptr) +{ + __sync_fetch_and_add(ptr, 1); +} + +/* 32-bit atomic decrement. */ +static __inline__ void +adec32 (uint32_t* ptr) +{ + __sync_fetch_and_sub(ptr, 1); +} + +#else +#error "Unsupported CPU / compiler combination, please implement atomic functions" +#endif + + +#endif + /* *************************************************** */ /* Type Defines. */ /* *************************************************** */ debian/patches/0011-Makefile-abort-on-error.patch0000644000000000000000000000062212215565422016604 0ustar diff --git a/Makefile b/Makefile index f3291a7..96c3502 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,11 @@ # 02110-1301 USA # +# Lots of semicolons used in command lines in this Makefile, +# by default the shell continues after errors, so we add this to +# ensure it stops when it should: +SHELL += -e + # Pick up the install directory as set by configure PREFIX :=$(shell cat prefix.txt) debian/patches/0012-Build-for-HURD-and-kFreeBSD.patch0000644000000000000000000000127312215666336016741 0ustar diff --git a/common/c_cpp/configure.ac b/common/c_cpp/configure.ac index f9df721..fa4f27d 100755 --- a/common/c_cpp/configure.ac +++ b/common/c_cpp/configure.ac @@ -46,7 +46,7 @@ AC_CANONICAL_BUILD() # Set up symbolic links for os-specific files AC_MSG_NOTICE([Configuring symbolic links for $build_os in $srcdir]) case $build_os in - linux*-*) AC_CONFIG_LINKS([$srcdir/src/c/wombat/port.h:src/c/linux/port.h + linux*-*|kfreebsd-gnu|gnu) AC_CONFIG_LINKS([$srcdir/src/c/wombat/port.h:src/c/linux/port.h $srcdir/src/c/wombat/wMath.h:src/c/linux/wMath.h $srcdir/src/c/wombat/wUuid.h:src/c/linux/wUuid.h $srcdir/src/c/wombat/wConfig.h:src/c/linux/wConfig.h debian/patches/series0000644000000000000000000000073612215666365012054 0ustar 0001-Fix-fprintf-format-strings.patch 0002-Fix-fprintf-format-strings-2.patch 0003-Fix-LIBADD-for-wombatcommoncpp.patch 0004-LIBADD-fixes-for-wombatcommon.patch 0005-LIBADD-fixes-for-libmama.patch 0006-LIBADD-fixes-for-libmamaavis.patch 0007-LIBADD-fixes-for-libmamda.patch 0008-mamacpp-LIBADD-mama.patch 0009-Exclude-test-cases-from-javadoc.patch 0010-Support-atomic-operations-on-additional-CPUs.patch 0011-Makefile-abort-on-error.patch 0012-Build-for-HURD-and-kFreeBSD.patch debian/source/0000755000000000000000000000000012202352316010462 5ustar debian/source/format0000644000000000000000000000001412202352316011670 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000020512202352316014040 0ustar # upstream is soon going to fix the autotools build stuff, we run autoreconf for now openmama source: outdated-autotools-helper-file debian/watch0000644000000000000000000000012412202352316010210 0ustar version=3 http://www.openmama.org/sites/default/files/openmama-src-(\d.+)\.tar\.bz2 debian/libmama-dev.install0000644000000000000000000000060712215566220012740 0ustar usr/include/wombat usr/include/mama usr/include/platform.h usr/include/wombat-c usr/include/wlock.h usr/include/wombat-c usr/include/list.h usr/include/wombat-c usr/include/property.h usr/include/wombat-c usr/include/lookup2.h usr/include/wombat-c usr/include/destroyHandle.h usr/include/wombat-c usr/include/timers.h usr/include/wombat-c usr/lib/*/libmama*.so usr/lib/*/libwombatcommon*.so debian/libmama-dev.README.Debian0000644000000000000000000000072712215566501013415 0ustar Note: Upstream installs some files to INCDIR without using a package name prefix. This works fine for installing to a dedicated tree such as /opt/openmama/include but is not good for installing to /usr/include This means that some of these files, such as platform.h, are installed to /usr/include As a workaround: - those files are installed to /usr/include/wombat-c - users of this package need to add -I/usr/include/wombat-c to their CPPFLAGS when compiling debian/README.source0000644000000000000000000000102612215567053011352 0ustar Importing upstream tarballs: The 2.2.2.1 tarball contained the .git structure, it has to be filtered: git-import-orig -u 2.2.2.1 --filter=.git ../openmama_2.2.2.1.orig.tar.bz2 NMUs are welcome Please make your changes in the git VCS, push the changes and make a signed tag when you NMU, otherwise your changes will be lost on the next upload. Architecture: linux-any * upstream has some platform-specific code * it has only been provided for Linux and Windows * Therefore, we set architecture: linux-any in debian/control debian/libmamajni-java.jlibs0000644000000000000000000000004112215575766013250 0ustar mama/jni/mamajni/lib/mamajni.jar debian/libmamda-java.jlibs0000644000000000000000000000003712215577621012710 0ustar mamda/java/mamda/lib/mamda.jar debian/libmamda-book-java.jlibs0000644000000000000000000000004412215577640013637 0ustar mamda/java/mamda/lib/mamda_book.jar debian/libmamda-options-java.jlibs0000644000000000000000000000004712215577711014402 0ustar mamda/java/mamda/lib/mamda_options.jar debian/libmama-doc.install0000644000000000000000000000014512215607445012731 0ustar mama/c_cpp/doc/ usr/share/doc/libmama-doc/c_cpp mama/jni/mamajni/doc/ usr/share/doc/libmama-doc/java debian/libmamda-doc.install0000644000000000000000000000015012215607520013063 0ustar mamda/c_cpp/doc/ usr/share/doc/libmamda-doc/c_cpp mamda/java/mamda/doc/ usr/share/doc/libmamda-doc/java debian/libmamda-doc.links0000644000000000000000000000014312215613152012535 0ustar /usr/share/javascript/jquery/jquery.min.js usr/share/doc/libmamda-doc/c_cpp/doc/cpp/html/jquery.js debian/rules0000755000000000000000000000206712215613273010255 0ustar #!/usr/bin/make -f #DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # needed with -fPIC #CPPFLAGS += -dynamic export JAVA_HOME = /usr/lib/jvm/default-java export CLASSPATH = /usr/share/java/junit.jar # clean doesn't seem to work very well if configure hasn't # already been run override_dh_auto_clean: find . -name '*.o' -exec rm {} \; find . -name '*.lo' -exec rm {} \; find . -name 'lib*.so*' -exec rm {} \; -find . -name '.libs' -type d -exec rm -rf {} \; # had to patch Makefile.am - so re-run autoreconf override_dh_auto_configure: ( for subproject in common/c_cpp mama/c_cpp mama/jni mamda/c_cpp ; \ do ( cd $${subproject} ; autoreconf -fi ) done ) dh_auto_configure -- --with-avis=/usr --enable-shared --disable-static --with-pic=yes #override_dh_auto_build: # make common mama mamda docs %: dh $@ --builddirectory=. --with javahelper override_dh_auto_install: $(MAKE) DESTDIR=$$(pwd)/debian/tmp common-install mama-install mamda-install find $$(pwd)/debian/tmp -name jquery.js -exec rm {} \; debian/libmama-doc.links0000644000000000000000000000030212215614715012374 0ustar /usr/share/javascript/jquery/jquery.min.js usr/share/doc/libmama-doc/c_cpp/doc/c/html/jquery.js /usr/share/javascript/jquery/jquery.min.js usr/share/doc/libmama-doc/c_cpp/doc/cpp/html/jquery.js debian/control0000644000000000000000000002177112215666424010611 0ustar Source: openmama Section: libs Priority: extra Maintainer: Daniel Pocock Build-Depends: debhelper (>= 9.0.0), uuid-dev, flex, libavis-dev, dpkg-dev (>= 1.16.1~), automake, libtool, default-jdk, doxygen, junit, ant, texlive-font-utils, ghostscript, javahelper Homepage: http://www.openmama.org Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/collab-maint/openmama.git Vcs-Browser: http://git.debian.org/?p=collab-maint/openmama.git;a=summary Package: libwombatcommon0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - Wombat utility libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides a utility library, libwombatcommon, used by OpenMAMA components. Package: libwombatcommoncpp0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - Wombat utility libraries (C++) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides a utility library, libwombatcommoncpp, used by OpenMAMA components. Package: libmama0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libmamaavis0 Description: message oriented middleware - shared libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the core libraries. Package: libmamajni-java Section: java Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libmama0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - Java libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the Java API to the core libraries. Package: libmamacpp0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libmamaavis0 Description: message oriented middleware - shared libraries (C++) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the core libraries (C++). Package: libmama-dev Section: libdevel Architecture: any Depends: libmama0 (= ${binary:Version}), ${misc:Depends} Recommends: libmama-doc Description: message oriented middleware - development files OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides header files needed for developing applications based on the core libraries. Package: libmamaavis0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - avis transport OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides support for the avis transport. Package: libmamda0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - shared libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the core libraries for market data functionality. Package: libmamda-java Section: java Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libmamda0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libmamajni-java (= ${binary:Version}) Description: message oriented middleware - Java libraries (MAMDA) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the Java API to the MAMDA libraries. Package: libmamda-dev Section: libdevel Architecture: any Depends: libmamda0 (= ${binary:Version}), libmamdabook0 (= ${binary:Version}), libmamdanews0 (= ${binary:Version}), libmamdaoptions0 (= ${binary:Version}), ${misc:Depends} Recommends: libmamda-doc Description: message oriented middleware - development files OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides header files needed for developing applications based on market data libraries. Package: libmamdabook0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - shared libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package providers support for order books. Package: libmamda-book-java Section: java Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libmamda0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libmamda-java (= ${binary:Version}) Description: message oriented middleware - Java libraries (MAMDA order book) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the Java API to the MAMDA order book library. Package: libmamdanews0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - shared libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides support for news. Package: libmamdaoptions0 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: message oriented middleware - shared libraries OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides support for options instruments. Package: libmamda-options-java Section: java Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libmamda0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libmamda-java (= ${binary:Version}) Description: message oriented middleware - Java libraries (MAMDA options) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the Java API to the MAMDA options library. Package: libmama-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery Suggests: libmamda-doc Description: message oriented middleware - API documentation (MAMA) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the API documentation for OpenMAMA C, C++ and Java. Package: libmamda-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery Recommends: libmama-doc Description: message oriented middleware - API documentation (MAMA) OpenMAMA is a high performance Middleware Agnostic Messaging API that provides a consistent abstraction layer over a variety of message oriented middlewares. OpenMAMA is an open source project hosted at The Linux Foundation. . This package provides the API documentation for OpenMAMDA C, C++ and Java. debian/changelog0000644000000000000000000000316112215666506011052 0ustar openmama (2.2.2.1-10) unstable; urgency=low * Patch to support HURD and kFreeBSD builds -- Daniel Pocock Mon, 16 Sep 2013 22:42:25 +0200 openmama (2.2.2.1-9) unstable; urgency=low * Update for building lib*-java packages * Build doc packages -- Daniel Pocock Mon, 16 Sep 2013 14:40:40 +0200 openmama (2.2.2.1-8) unstable; urgency=low * Install headers to womat-c (Closes: #722664) -- Daniel Pocock Mon, 16 Sep 2013 13:38:20 +0200 openmama (2.2.2.1-7) unstable; urgency=low * Ensure Makefile doesn't continue after errors -- Daniel Pocock Thu, 05 Sep 2013 11:30:22 +0200 openmama (2.2.2.1-6) unstable; urgency=low * Add more build-deps * Support atomic operations on additional CPUs -- Daniel Pocock Wed, 04 Sep 2013 19:05:00 +0200 openmama (2.2.2.1-5) unstable; urgency=low * Add more build-deps -- Daniel Pocock Wed, 04 Sep 2013 15:38:22 +0200 openmama (2.2.2.1-4) unstable; urgency=low * Export JAVA_HOME for sub-shells -- Daniel Pocock Wed, 04 Sep 2013 12:32:24 +0200 openmama (2.2.2.1-3) unstable; urgency=low * Set JAVA_HOME and default-jdk build-dep -- Daniel Pocock Wed, 04 Sep 2013 10:30:49 +0200 openmama (2.2.2.1-2) unstable; urgency=low * Update build-deps -- Daniel Pocock Wed, 04 Sep 2013 08:43:26 +0200 openmama (2.2.2.1-1) unstable; urgency=low * Initial release (Closes: #719131) -- Daniel Pocock Thu, 08 Aug 2013 21:44:30 +0200