Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
a8db396
Added pkg-config support
Nov 2, 2014
6fa8e49
Merge pull request #1 from aquette/1.3
karolhrdina Dec 22, 2016
ead56d5
Add a basic .travis.yml
jimklimov Feb 15, 2017
3ba87b3
cache: ccache
jimklimov Feb 15, 2017
c8a0300
Dep on packaged cxxtools
jimklimov Feb 15, 2017
69a2404
Dep on libcxxtools-dev instead
jimklimov Feb 15, 2017
63bf103
Tntnet and Tntdb seem to ignore passed compilers; Use travis C++ presets
jimklimov Feb 16, 2017
f9cb884
Add a .gitignore
jimklimov Mar 1, 2017
f2d2b9b
.travis.yml : Cause use of newer gcc-4.8+
jimklimov Mar 17, 2017
86cf3e8
Rename legacy configure.in to modern configure.ac
jimklimov Mar 17, 2017
b8b41b5
configure.ac : do not name non-numeric version "1.3rc3" - this upsets…
jimklimov Mar 17, 2017
419e7ee
Problem: Tntnet crashes if DB stops responding.
jana-rapava Aug 8, 2017
789a0fb
Merge pull request #2 from jana-rapava/1.3
jimklimov Aug 10, 2017
bdef64e
fix freeing pooled mysql connection when prepareCached is used
maekitalo Jan 22, 2014
5b626ff
Problem: Tntnet crashes if DB stops responding.
jana-rapava Aug 8, 2017
14cd821
Merge branch '1.3' into 1.3-FTY
jimklimov Aug 10, 2017
243767d
Add packaging metadata used in OBS
jimklimov Aug 17, 2017
8895449
Update packaging metadata used in OBS to use libmariadbclient(-dev) r…
jimklimov Aug 17, 2017
4ec650b
Merge pull request #3 from jimklimov/1.3-FTY-master
jimklimov Aug 17, 2017
da426c6
Add a blank debian.series with no patch list
jimklimov Aug 17, 2017
ca193cf
GitIgnore some more build products of tntdb
jimklimov Aug 18, 2017
dfeec5a
GitIgnore symlinks our build procedure might spawn
jimklimov Aug 18, 2017
843ca54
Take "tntdb/" subdir into account for OBS rules
jimklimov Aug 18, 2017
80b30f4
Add a blank debian.series with no patch list
jimklimov Aug 17, 2017
fc824dd
GitIgnore some more build products of tntdb
jimklimov Aug 18, 2017
e507a8c
GitIgnore symlinks our build procedure might spawn
jimklimov Aug 18, 2017
cdb89d2
Take "tntdb/" subdir into account for OBS rules
jimklimov Aug 18, 2017
2d88691
configure.ac : use pedantic syntax for AC_INIT, our OBS parser needs it
jimklimov Aug 18, 2017
60ad2dc
Merge branch '1.3-FTY-master' of https://github.com/jimklimov/tntdb i…
jimklimov Aug 18, 2017
5966070
Store prepared OBS debian config under obs/ so it is not regenerated …
jimklimov Aug 18, 2017
0224a9d
Store prepared OBS specfile config under obs/ because otherwise it ge…
jimklimov Aug 18, 2017
d9f72fe
Seems debian or OBS is smarter than we think, shifted dir not needed
jimklimov Aug 18, 2017
b97d7a0
Revert "Seems debian or OBS is smarter than we think, shifted dir not…
jimklimov Aug 18, 2017
9b06826
Fix source subdir relocation for the build to be repeatable
jimklimov Aug 18, 2017
ddf55c3
Enable debug symbol debian packages
jimklimov Nov 9, 2017
1331713
Merge pull request #4 from jimklimov/1.3-FTY-master
aquette Nov 10, 2017
b8d157b
debian.control : fix naming of dependency for debug package
jimklimov Nov 10, 2017
1162fe2
debian.control : fix naming of dependency for debug package
jimklimov Nov 10, 2017
89c6721
Update Jenkinsfile
jimklimov Nov 24, 2017
ce938ce
Jenkinsfile : added cppcheck
jimklimov Nov 24, 2017
e288074
Jenkinsfile : added configure args for tntnet and moved it to separat…
jimklimov Nov 24, 2017
7432745
Jenkinsfile : set CCACHE_BASEDIR after "cd tntdb"
jimklimov Nov 24, 2017
476b74f
Jenkinsfile : default to simple make check (not distcheck) to avoid c…
jimklimov Nov 24, 2017
0651b36
Jenkinsfile : updated node label
jimklimov Nov 24, 2017
5581060
Update Jenkinsfile with recent best practice
jimklimov Nov 28, 2017
5bd4080
Update Jenkinsfile with recent best practice
jimklimov Nov 28, 2017
3577adb
Update Jenkinsfile with recent best practice
jimklimov Nov 28, 2017
3060eb5
Update Jenkinsfile with recent best practice
jimklimov Nov 28, 2017
246bc2a
Jenkinsfile : cleanup tmp/ before cppcheck and/or prep
jimklimov Nov 28, 2017
f4a582f
Jenkinsfile : facilitate distcheck with our custom needed configure f…
jimklimov Nov 29, 2017
6c203b5
Merge pull request #6 from 42ity/1.3-FTY-master
jimklimov Dec 12, 2017
5518e4c
Jenkinsfile : Regenerate with updated zproject templates
jimklimov Dec 29, 2017
07abfaa
Merge commit '6c203b5fa804f612d54060b1dd981e44558634bb' into 1.3-FTY-…
jimklimov Dec 29, 2017
e6f77e7
Merge pull request #7 from 42ity/1.3-FTY-master
michal42 Jan 16, 2018
930cf81
tntdb.spec : fix to build on our OpenSUSE Leap 15.0 target
jimklimov Oct 25, 2018
a380068
Update Jenkinsfile with recent feature baseline from zproject
jimklimov Dec 5, 2018
601d4c2
Adapt Jenkinsfile to release/IPM_Infra-1.5.0 agents
jimklimov Dec 6, 2018
d109845
Merge pull request #8 from jimklimov/markup-20181205
jimklimov Dec 10, 2018
49e8b3e
tntdb.spec : fix to build on our OpenSUSE Leap 15.0 target
jimklimov Oct 25, 2018
6cf7fe9
Update Jenkinsfile with recent feature baseline from zproject
jimklimov Dec 5, 2018
51046f6
tntdb.spec : fix to build on our OpenSUSE Leap 15.0 target
jimklimov Oct 25, 2018
4108711
Update Jenkinsfile with recent feature baseline from zproject
jimklimov Dec 5, 2018
800914f
Jenkinsfile : copy-paste typo fix (define GIT_URL *before* using it)
jimklimov Dec 5, 2018
4557bc2
Jenkinsfile : copy-paste typo fix (define GIT_URL *before* using it)
jimklimov Dec 5, 2018
aaa994b
Jenkinsfile : copy-paste typo fix (define GIT_URL *before* using it)
jimklimov Dec 5, 2018
59c8aea
Update master after IPM_Infra-1.5.0
perrettecl Jun 17, 2019
4e4fe27
Merge pull request #9 from 42ity/master-after-IPM-1.5.0
perrettecl Jun 17, 2019
b43516d
configure.ac : support mariadb_config as fallback/alternative to mysq…
jimklimov Nov 13, 2019
73f16cd
Merge branch '1.3-FTY' into 1.3-FTY-master
jimklimov Nov 13, 2019
27a7115
Merge pull request #10 from jimklimov/1.3-FTY
jimklimov Nov 13, 2019
d81989e
Merge branch '1.3-FTY' into 1.3-FTY-master
jimklimov Nov 13, 2019
19a65b0
Fixed some ub
etnKlendathu May 19, 2020
6f3579c
DeC++11ize
etnKlendathu May 19, 2020
14e8b07
DeC++11ize
etnKlendathu May 19, 2020
a9a06b6
Merge pull request #12 from 42ity/ub-fix
perrettecl May 25, 2020
67030af
HotFix memory leak
perrettecl May 26, 2020
d19ce20
Remove travis file
MauroGuerrera-eaton Nov 19, 2020
d1b2e43
Get agent label from library
MauroGuerrera-eaton Nov 25, 2020
1f12187
Merge pull request #13 from 42ity/new-jenkins-lib
MauroGuerrera-eaton Nov 25, 2020
175ff8c
Debian packaging: agree to either of libmariadbclient-dev | libmariad…
jimklimov Apr 7, 2021
34a85e5
Debian packaging: constrain libmariadbclient-dev (<= 10.5.8) to avoid…
jimklimov Apr 8, 2021
2f7805c
Update Jenkins MBT CI
perrettecl Oct 17, 2021
736e7ae
Update Jenkinsfile
hindilla-eaton Dec 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/tntdb/INSTALL
/tntdb/pkgconfig/*.pc
/tntdb/aclocal.m4
/tntdb/autom4te.cache/
/tntdb/config.guess
/tntdb/config.sub
/tntdb/configure
/tntdb/compile
/tntdb/depcomp
/tntdb/install-sh
/tntdb/ltmain.sh
/tntdb/m4/
/tntdb/missing
/tntdb/src/config.h.in
/tntdb/src/config.h
/tntdb/config.log
/tntdb/config.status
/tntdb/libtool
/tntdb/demo/categories
/tntdb/demo/person
/tntdb/demo/pooldemo
/tntdb/demo/prodbench
/tntdb/demo/serial
/tntdb/demo/sqlcmd
/tntdb/doc/tntdb.doxygen
/tntdb/include/tntdb/config.h
/tntdb/test/tntdb-test
/tntdb/.git
/tntdb/packaging
/tntdb/obs
Makefile.in
Makefile
.deps
stamp-h1
*.l[ao]
*.o
.libs
346 changes: 346 additions & 0 deletions Jenkinsfile

Large diffs are not rendered by default.

131 changes: 131 additions & 0 deletions obs/debian.changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
tntdb (1.3-2etn2) unstable; urgency=high

* Enable debug symbol debian packages

-- Jim Klimov <EvgenyKlimov@eaton.com> Thu, 9 Nov 2017 15:09:45 +0200

tntdb (1.3-2etn1) unstable; urgency=low

* Fix connections leakage in MySQL driver

-- Michal Hrusecky <MichalHrusecky@eaton.com> Tue, 9 Jun 2015 9:35:32 +0200

tntdb (1.3-2) unstable; urgency=low

* Build-Conflicts: libtntdb3, libtntdb-dev (Closes: #716749)

-- Kari Pahula <kaol@debian.org> Fri, 12 Jul 2013 19:35:32 +0300

tntdb (1.3-1) unstable; urgency=low

* New upstream release (SONAME 4)
* Standards-Version 3.9.4 and debhelper compat 9.

-- Kari Pahula <kaol@debian.org> Sat, 25 May 2013 12:00:54 +0300

tntdb (1.2-2) unstable; urgency=low

* Removed CXX=g++-4.7 from configure's parameters, fix FTBFS.
(Closes: #671051)
* This version won't FTBFS with g++-4.7 (assuming b-d or g++ (>= 4.7))
(Closes: #667393)

-- Kari Pahula <kaol@debian.org> Wed, 02 May 2012 17:23:48 +0300

tntdb (1.2-1) unstable; urgency=low

* New upstream release (SONAME 3)
* Standards-Version 3.9.3 (no changes necessary).
* Use dh-autoreconf
* Run test suite at build time.

-- Kari Pahula <kaol@debian.org> Sat, 28 Apr 2012 11:26:54 +0300

tntdb (1.1-1) unstable; urgency=low

* New upstream release (SONAME 2)
* Standards-Version 3.9.2 (no changes necessary).
* Don't install .la files. (Closes: #633210)
* debian/source/format "quilt (3.0)" and drop quilt as a build
dependency.
* Parse and use the parallel= DEB_BUILD_OPTION.

-- Kari Pahula <kaol@debian.org> Mon, 08 Aug 2011 21:57:30 +0300

tntdb (1.0.1-3) unstable; urgency=low

* Add -I m4/ aclocal's parameters, to make sure ACX_PTHREAD is
recognized.

-- Kari Pahula <kaol@debian.org> Sun, 28 Jun 2009 15:17:03 +0300

tntdb (1.0.1-2) unstable; urgency=low

* Bumped Standards-Version to 3.8.2 (no changes).
* Copy config.{sub,guess} from autotools-dev. (Closes: #533961)
* Patch to add a few #include <stdint.h> statements to make g++ 4.4
happy. (Closes: #504975)
* Add quilt as a build dependency.
* Omit .a files from -dev package.
* Add automake1.9 and autoconf as build deps and regenerate build
scripts.

-- Kari Pahula <kaol@debian.org> Sat, 27 Jun 2009 23:33:58 +0300

tntdb (1.0.1-1) unstable; urgency=low

* New upstream release
* Bumped Standards-Version to 3.8.0 (no changes).

-- Kari Pahula <kaol@debian.org> Mon, 16 Jun 2008 12:12:24 +0300

tntdb (1.0.0-1) unstable; urgency=low

* New upstream release (Closes: #455639)
* SONAME 0 -> 1.
* Bumped Standards-Version to 3.7.3 and set the Homepage field.
* Install driver backends in /usr/lib/tntdb, not tntdb$(SONAME)

-- Kari Pahula <kaol@debian.org> Thu, 27 Mar 2008 20:13:27 +0200

tntdb (0.9.2-1) unstable; urgency=low

* New upstream release (Closes: #417728)

-- Kari Pahula <kaol@debian.org> Fri, 18 May 2007 19:45:32 +0300

tntdb (0.9.0-3) unstable; urgency=low

* Changed dependency to the tntdb-* packages to a recommends in
libtntdb0 (Closes: #391973)

-- Kari Pahula <kaol@debian.org> Sun, 22 Oct 2006 18:41:01 +0300

tntdb (0.9.0-2) unstable; urgency=low

* Added missing build-dep doxygen.
* Install html and pdf documentation to libtntdb-dev.

-- Kari Pahula <kaol@debian.org> Sun, 8 Oct 2006 01:46:27 +0300

tntdb (0.9.0-1) unstable; urgency=low

* New upstream release

-- Kari Pahula <kaol@debian.org> Sat, 7 Oct 2006 18:34:14 +0300

tntdb (0.6.3-2) unstable; urgency=low

* Moved database access backends to tntdb0-mysql, tntdb0-postgresql and
tntdb0-sqlite.
* Added missing build-dep on libtool (Closes: #385777)
* Added dependency to libtntdb0 from libtntdb-dev

-- Kari Pahula <kaol@debian.org> Tue, 5 Sep 2006 00:07:31 +0300

tntdb (0.6.3-1) unstable; urgency=low

* Initial release (Closes: #374132)

-- Kari Pahula <kaol@debian.org> Fri, 25 Aug 2006 00:32:44 +0300

1 change: 1 addition & 0 deletions obs/debian.compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
83 changes: 83 additions & 0 deletions obs/debian.control
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
Source: tntdb
Section: libs
Priority: optional
Maintainer: Kari Pahula <kaol@debian.org>
Build-Depends: cdbs, debhelper (>= 9), libcxxtools-dev (>= 2.2), libsqlite3-dev, libmariadbclient-dev (<= 10.5.8) | libmariadbclient-dev-compat, libpq-dev, libltdl-dev, doxygen, dh-autoreconf, sqlite3
Build-Conflicts: libtntdb-dev, libtntdb3
Standards-Version: 3.9.4
Homepage: http://www.tntnet.org/tntdb.html

Package: libtntdb4
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: tntdb-mysql4|tntdb-postgresql4|tntdb-sqlite4
Suggests: tntdb-mysql4, tntdb-postgresql4, tntdb-sqlite4, libtntdb-dev
Description: C++ class library for easy database access
This library provides a thin, database independent layer over an SQL
database. It lacks complex features like schema queries or wrapper
classes like active result sets or data bound controls. Instead you
get to access the database directly with SQL queries. The library is
suited for application programming, not for writing generic database
handling tools.
.
Currently has support for MySQL, PostgreSQL and SQLite.

Package: tntdb-mysql4
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: MySQL backend for tntdb database access library
This library provides a thin, database independent layer over an SQL
database. It lacks complex features like schema queries or wrapper
classes like active result sets or data bound controls. Instead you
get to access the database directly with SQL queries. The library is
suited for application programming, not for writing generic database
handling tools.
.
This file has the necessary files for MySQL support.

Package: tntdb-postgresql4
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: PostgreSQL backend for tntdb database access library
This library provides a thin, database independent layer over an SQL
database. It lacks complex features like schema queries or wrapper
classes like active result sets or data bound controls. Instead you
get to access the database directly with SQL queries. The library is
suited for application programming, not for writing generic database
handling tools.
.
This file has the necessary files for PostgreSQL support.

Package: tntdb-sqlite4
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: SQLite backend for tntdb database access library
This library provides a thin, database independent layer over an SQL
database. It lacks complex features like schema queries or wrapper
classes like active result sets or data bound controls. Instead you
get to access the database directly with SQL queries. The library is
suited for application programming, not for writing generic database
handling tools.
.
This file has the necessary files for SQLite support.

Package: libtntdb-dev
Architecture: any
Section: libdevel
Depends: libtntdb4 (= ${binary:Version}), libcxxtools-dev, ${shlibs:Depends}, ${misc:Depends}, libjs-jquery
Description: Development headers for tntdb
This library provides a thin, database independent layer over an SQL
database. It lacks complex features like schema queries or wrapper
classes like active result sets or data bound controls. Instead you
get to access the database directly with SQL queries. The library is
suited for application programming, not for writing generic database
handling tools.
.
Currently has support for MySQL, PostgreSQL and SQLite.

Package: libtntdb-dbg
Architecture: any
Section: debug
Priority: optional
Depends: libtntdb4 (= ${binary:Version}), ${misc:Depends}
Description: tntdb debugging symbols
45 changes: 45 additions & 0 deletions obs/debian.copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
nThis package was debianized by Kari Pahula <kaol@debian.org> on
Sat, 29 Jul 2006 17:56:27 +0300.

It was downloaded from http://tntnet.de/tntdb.html

Upstream Author: Tommi Mäkitalo <tommi@tntnet.org>

Copyright:
2005-2008,2010-2012 Tommi Mäkitalo
2007-2008 Marc Boris Dürner
2007 Mark Wright

License:

This package is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

As a special exception, you may use this file as part of a free
software library without restriction. Specifically, if other files
instantiate templates or use macros or inline functions from this
file, or you compile this file and link it with other files to
produce an executable, this file does not by itself cause the
resulting executable to be covered by the GNU General Public
License. This exception does not however invalidate any other
reasons why the executable file might be covered by the GNU Library
General Public License.

This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

On Debian systems, the complete text of the GNU Lesser General
Public License can be found in `/usr/share/common-licenses/LGPL'.


The Debian packaging is (C) 2006-2008, 2011-2012 Kari Pahula
<kaol@debian.org> and is licensed under the GPLv2 or later, see
`/usr/share/common-licenses/GPL'.
2 changes: 2 additions & 0 deletions obs/debian.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEWS
README
8 changes: 8 additions & 0 deletions obs/debian.libtntdb-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
debian/tmp/usr/lib/lib*.so usr/lib
debian/tmp/usr/include/ usr
debian/tmp/usr/lib/pkgconfig/*.pc
doc/tntdb.odt usr/share/doc/libtntdb-dev
doc/tntdb.pdf usr/share/doc/libtntdb-dev
doc/html/ usr/share/doc/libtntdb-dev
demo/*.cpp usr/share/doc/libtntdb-dev/examples
demo/*.h usr/share/doc/libtntdb-dev/examples
2 changes: 2 additions & 0 deletions obs/debian.libtntdb4.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
debian/tmp/usr/lib/lib*.so.* usr/lib
debian/tmp/usr/lib/tntdb/tntdb*-replicate.so*
29 changes: 29 additions & 0 deletions obs/debian.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/make -f

DEB_BUILD_PARALLEL=yes

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_CONFIGURE_EXTRA_FLAGS := --with-driverdir=/usr/lib/tntdb --with-doxygen
DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/tntdb

pre-build:: debian/compat
if [ "`find tntdb/ | wc -l`" -gt 1 ] ; then mv -f tntdb/* ./ ; fi

clean::
rm -fr doc/html/ doc/latex/
rm -f config.guess config.sub config.log
rm -f src/config.h.in
rm -f test/test.db

binary-post-install/libtntdb-dev::
rm -f debian/libtntdb-dev/usr/share/doc/libtntdb-dev/html/jquery.js
cd debian/libtntdb-dev/usr/share/doc/libtntdb-dev/html/; ln -s ../../../javascript/jquery/jquery.js jquery.js
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd test; sqlite3 test.db < sqlite-test.sql; ./tntdb-test || /bin/true
endif

override_dh_strip:
dh_strip --dbg-package=libtntdb-dbg
3 changes: 3 additions & 0 deletions obs/debian.series
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This source tarball is taken from a dedicated Git branch head, so
# no further patches are to be applied (change the repo if needed).

1 change: 1 addition & 0 deletions obs/debian.tntdb-mysql4.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/tmp/usr/lib/tntdb/tntdb*-mysql.so*
1 change: 1 addition & 0 deletions obs/debian.tntdb-postgresql4.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/tmp/usr/lib/tntdb/tntdb*-postgresql.so*
1 change: 1 addition & 0 deletions obs/debian.tntdb-sqlite4.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/tmp/usr/lib/tntdb/tntdb*-sqlite.so*
Loading