--- ntrack-016.orig/debian/libntrack-glib2.symbols +++ ntrack-016/debian/libntrack-glib2.symbols @@ -0,0 +1,5 @@ +libntrack-glib.so.2 libntrack-glib2 #MINVER# + ntrack_g_source_add@Base 004 + ntrack_g_source_add_full@Base 004 + ntrack_g_source_new@Base 004 + ntrack_glib_get_state@Base 004 --- ntrack-016.orig/debian/libntrack-gobject1.symbols +++ ntrack-016/debian/libntrack-gobject1.symbols @@ -0,0 +1,5 @@ +libntrack-gobject.so.1 libntrack-gobject1 #MINVER# + n_track_glib_event_get_type@Base 004 + n_track_glib_state_get_type@Base 004 + ntrack_g_monitor_get@Base 004 + ntrack_g_monitor_get_type@Base 004 --- ntrack-016.orig/debian/compat +++ ntrack-016/debian/compat @@ -0,0 +1 @@ +5 --- ntrack-016.orig/debian/libntrack-qt4-1.install +++ ntrack-016/debian/libntrack-qt4-1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libntrack-qt4.so.* --- ntrack-016.orig/debian/ntrack-module-libnl-0.install +++ ntrack-016/debian/ntrack-module-libnl-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/ntrack/modules/ntrack-libnl*.so --- ntrack-016.orig/debian/libntrack0.symbols +++ ntrack-016/debian/libntrack0.symbols @@ -0,0 +1,23 @@ +libntrack.so.0 libntrack0 #MINVER# + ntrack_compare_direct@Base 004 + ntrack_id_pool_acquire@Base 004 + ntrack_id_pool_free@Base 004 + ntrack_id_pool_new@Base 004 + ntrack_id_pool_release@Base 004 + ntrack_info_human_banner@Base 014 + ntrack_init@Base 010 + ntrack_list_append@Base 004 + ntrack_list_foreach@Base 005 + ntrack_list_free@Base 005 + ntrack_list_insert_sorted@Base 004 + ntrack_list_insert_sorted_unique@Base 004 + ntrack_list_remove@Base 004 + ntrack_list_size@Base 004 + ntrack_monitor_get@Base 004 + ntrack_monitor_get_rfds@Base 004 + ntrack_monitor_get_state@Base 004 + ntrack_monitor_process_data@Base 004 + ntrack_monitor_put@Base 010 + ntrack_monitor_register@Base 004 + ntrack_monitor_register_full@Base 004 + ntrack_monitor_remove@Base 004 --- ntrack-016.orig/debian/libntrack-qt4-dev.install +++ ntrack-016/debian/libntrack-qt4-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libntrack-qt4.so +debian/tmp/usr/lib/pkgconfig/libntrack-qt4.pc +debian/tmp/usr/include/ntrack/qt4 --- ntrack-016.orig/debian/libntrack-dev.install +++ ntrack-016/debian/libntrack-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/libntrack.so +debian/tmp/usr/include/ntrack/common +debian/tmp/usr/lib/pkgconfig/libntrack.pc --- ntrack-016.orig/debian/libntrack-qt4-1.symbols +++ ntrack-016/debian/libntrack-qt4-1.symbols @@ -0,0 +1,32 @@ +libntrack-qt4.so.1 libntrack-qt4-1 #MINVER# + _ZN15QNtrackListener11qt_metacallEN11QMetaObject4CallEiPPv@Base 005 + _ZN15QNtrackListener11qt_metacastEPKc@Base 005 + _ZN15QNtrackListener12monitorEventE14ntrack_event_t@Base 005 + _ZN15QNtrackListener12stateChangedE14ntrack_state_tS0_@Base 005 + _ZN15QNtrackListener16staticMetaObjectE@Base 005 + _ZN15QNtrackListenerD0Ev@Base 005 + _ZN15QNtrackListenerD1Ev@Base 005 + _ZN7QNtrack11qt_metacallEN11QMetaObject4CallEiPPv@Base 005 + _ZN7QNtrack11qt_metacastEPKc@Base 005 + _ZN7QNtrack12monitorEventE14ntrack_event_t@Base 005 + _ZN7QNtrack12networkStateEv@Base 005 + _ZN7QNtrack12stateChangedE14ntrack_state_tS0_@Base 005 + _ZN7QNtrack15monitorCallbackEP15_ntrack_monitor14ntrack_event_tPv@Base 005 + _ZN7QNtrack15socketActivatedEi@Base 005 + _ZN7QNtrack16staticMetaObjectE@Base 005 + _ZN7QNtrack19processMonitorEventE14ntrack_event_t@Base 005 + _ZN7QNtrack4initEPiPPPc@Base 010 + _ZN7QNtrack8instanceEv@Base 005 + _ZN7QNtrackC1Ev@Base 005 + _ZN7QNtrackC2Ev@Base 005 + _ZN7QNtrackD0Ev@Base 005 + _ZN7QNtrackD1Ev@Base 005 + _ZN7QNtrackD2Ev@Base 005 + _ZNK15QNtrackListener10metaObjectEv@Base 005 + _ZNK7QNtrack10metaObjectEv@Base 005 + _ZTI15QNtrackListener@Base 005 + _ZTI7QNtrack@Base 005 + _ZTS15QNtrackListener@Base 005 + _ZTS7QNtrack@Base 005 + _ZTV15QNtrackListener@Base 005 + _ZTV7QNtrack@Base 005 --- ntrack-016.orig/debian/copyright +++ ntrack-016/debian/copyright @@ -0,0 +1,29 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: ntrack +Maintainer: Alexander Sack +Source: https://launchpad.net/ntrack + +Files: * +Copyright: (C)2009-2010 - Alexander Sack +License: LGPL-3+ + +License: LGPL-3+ + This file is part of: + ntrack - Network Status Tracking for Desktop Applications + http://launchpad.net/ntrack + . + ntrack 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 3 of + the License, or (at your option) any later version. + . + ntrack 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 ntrack. If not, see . + . + See: /usr/share/common-licenses/LGPL-3 + --- ntrack-016.orig/debian/libntrack-glib2.install +++ ntrack-016/debian/libntrack-glib2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libntrack-glib.so.* --- ntrack-016.orig/debian/ntrack-module-rtnetlink-0.install +++ ntrack-016/debian/ntrack-module-rtnetlink-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/ntrack/modules/ntrack-rtnetlink*.so --- ntrack-016.orig/debian/control +++ ntrack-016/debian/control @@ -0,0 +1,92 @@ +Source: ntrack +Maintainer: Alexander Sack +Section: net +Priority: optional +Build-Depends: debhelper (>=5), cdbs, quilt, + libglib2.0-dev, + libnl-dev, + python-gtk2-dev, + libqt4-dev +Standards-Version: 3.9.1 +Homepage: http://launchpad.net/ntrack + +Package: libntrack0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ntrack-module-libnl-0 | ntrack-module-rtnetlink-0 | ntrack-module-0 +Description: lightweight connectivity tracking library + ntrack aims to be a lightweight and easy to use library for application + developers that want to get events on network online status changes such as + online, offline or route changes. + . + The primary goal is to serve desktop applications in a network manager and + desktop environment independent fashion. Also its supposed to be lightweight, + resource un-intensive and extensible. + . + ntrack currently comes with bindings for glib, GObject, qt4 and python-gobject. + +Package: libntrack-dev +Section: libdevel +Architecture: any +Depends: libntrack0 (= ${binary:Version}), ${misc:Depends} +Description: Development package for ntrack + Development files and tools for ntrack support + +Package: libntrack-glib2 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: glib API for ntrack + gsource and mainloop integration for ntrack. + +Package: libntrack-glib-dev +Section: libdevel +Architecture: any +Depends: libntrack-dev, libntrack-glib2 (= ${binary:Version}), ${misc:Depends} +Description: development package for libntrack glib API + Development headers and friends for libntrack + +Package: libntrack-gobject1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: GObject API for ntrack + GObject monitor API for network connectivity changes. + +Package: libntrack-gobject-dev +Section: libdevel +Architecture: any +Depends: libntrack-glib-dev, libntrack-gobject1 (= ${binary:Version}), ${misc:Depends} +Description: Development package for libntrack-gobject API + Development files for ntrack GObject API + +Package: libntrack-qt4-1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: qt4 API for ntrack + Qt4 monitor API to get network connectivity change updates. + +Package: libntrack-qt4-dev +Section: libdevel +Architecture: any +Depends: libntrack-dev, libntrack-qt4-1 (= ${binary:Version}), ${misc:Depends} +Description: Development package for libntrack-qt4 + Development files for ntrack Qt4 API + +Package: ntrack-module-libnl-0 +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: ntrack-module-0 +Description: libnl based ntrack module + ntrack module that uses the libnl backend + +Package: ntrack-module-rtnetlink-0 +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Provides: ntrack-module-0 +Description: rtnetlink based ntrack module + ntrack module that uses the rtnetlink backend + --- ntrack-016.orig/debian/libntrack0.install +++ ntrack-016/debian/libntrack0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libntrack.so.* --- ntrack-016.orig/debian/libntrack-gobject-dev.install +++ ntrack-016/debian/libntrack-gobject-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/libntrack-gobject.so +debian/tmp/usr/lib/pkgconfig/libntrack-gobject.pc +debian/tmp/usr/include/ntrack/gobject + --- ntrack-016.orig/debian/libntrack-glib-dev.install +++ ntrack-016/debian/libntrack-glib-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/libntrack-glib.so +debian/tmp/usr/lib/pkgconfig/libntrack-glib.pc +debian/tmp/usr/include/ntrack/glib + --- ntrack-016.orig/debian/libntrack-gobject1.install +++ ntrack-016/debian/libntrack-gobject1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libntrack-gobject.so.* --- ntrack-016.orig/debian/changelog +++ ntrack-016/debian/changelog @@ -0,0 +1,181 @@ +ntrack (016-0ubuntu1~n1) natty; urgency=low + + Lucid/Maverick/Natty backports: + * back to libnl-dev as build dependency for natty and below + + Upstream Changes: + * New upstream release ntrack 014 + 015 + 016 + * include commit to fix hardy and jaunty rtnetlink configure build fail + + Fixed Bugs: + * lp:743881 - h2def configure test should consider installs that have .pyc without .py + * lp:748988 - ntrack should handle "no backend" status gracefully + * lp:743879 - ntrack 013 doesn't build with libnl 3.0 + * lp:749608 - ntrack API should provide runtime info: version, author, copyright, backend + * lp:750554 - nl modules are not linked with libntrack even if they use symbols from it + * lp:755608 - Ntrack dead loop in function get_nl_link_by_index + * lp:834639 - Build failure with -Werror=strict-aliasing + * lp:774690 - Build error in a fresh environment + * lp:785119 - ntrack can get into endless poll loop if no backend modules found + * lp:801407 - ntrack-014 compilation fails if all libnl[123] are present together + * lp:448400 - add pure rtnetlink backend for linux + * lp:879141 - support libnl 3.1 + * lp:889820 - ftbfs in 'recv_msgs': 'link.ifla_name' may be used uninitialized + * lp:889822 - rtnetlink configure check not portable across linux flavours + + For Debian/Ubuntu: + + [ Mathieu Trudel-Lapierre ] + * debian/control: replace libnl-dev Build-Depends with libnl3-dev + * debian/libntrack0.symbols: add missing ntrack_info_human_banner symbol + + [ Alexander Sack ] + * debian/control: add ntrack-module-rtnetlink-0 package to ship new + rtnetlink backend. + * debian/rules: add --enable-backend=libnl,rtnetlink to DEB_CONFIGURE_EXTRA_FLAGS + so that we build both backends in one batch + + -- Alexander Sack Sun, 13 Nov 2011 14:30:30 +0200 + +ntrack (013-0.asac1~n1) natty; urgency=low + + * Upload new upstream release 013 to debian unstable + * ftbfs_64bit.patch: drop; superseded upstream + + -- Alexander Sack Sun, 27 Mar 2011 20:24:00 +0200 + +ntrack (012-0.asac1~n2) natty; urgency=low + + * Upload new upstream release 012 to debian unstable + * debian/rules: use -c4 for all C libraries and -c1 for C++ qt4 binding + * debian/control: fix lintian warning; move Homepage URL from libntrack0 + package Description: to Homepage: field of source package + * ftbfs_64bit.patch: fix ftbfs on 64bit because of pointer to int cast + + -- Alexander Sack Sun, 27 Mar 2011 15:18:10 +0200 + +ntrack (011-1) experimental; urgency=low + + * Upload new upstream release 011 to debian experimental + + Packaging Changes: + * build depend on python-gtk2-dev for hardy; this will work for hardy and later fortunately + * package libnl module in ntrack-module-libnl-0 and provide ntrack-module-0 + * libntrack0 depends on ntrack-module-libnl-0 | ntrack-module-0 to ensure + some backend is installed + + Upstream Changes: + * New upstream release for ntrack-011 + + {011} Release 011 + + update NEWS for 011 release + + [merge] merge fix for lp:693500: make distcheck fails on hardy - lp:~asac/ntrack/lp693500 + + gobject: improve test-gmonitor-recycle.c by testing two life-cycles in one run + + [merge] merge fix for lp:693214: ntrack hardy build and runtime issues from lp:~asac/ntrack/lp693214 + + BUILD: eliminate NULL and set AM_LDFLAGS everywhere to unbreak old autoreconfs - lp:693215 + + start ntrack 011 development + * New upstream release for ntrack-010 + + update NEWS for 010 release + + gobject: ship a python wrapper as mtest-gmonitor-py as part of check_PROGRAMS + + BUILD: enable maintainer mode by default so make dist doesnt fail + + gobject: add license for gobject/pyntrack-module.c + + gobject: explicitly link tests against libntrack.la since they now use ntrack_init directly + + glib: explicitly link tests against libntrack.la since they now use ntrack_init directly + + common: enable MAINTAINER_MODE define in common/Makefile.am for ntrack.c + + gobject: extend python monitor test to make use of ntrack_init + + object: rename pyntrack-module exception type to NtrackException + + gobject: add a wrapped ntrack_init func to pyntrack module that sys.argv as argument + + modules: link ntrack-libnl1.la and ntrack-libnl2.la against ../common/libntrack.la to make python module loader happy + + modules: drop trailing / from ntrackmodulesdir definition + + BUILD: build modules/ after common/ source and allow modules/ to depend on common/ + + qt4: make test use QNtrack::init + + qt4: add QNtrack::init as wrapper for ntrack_init to API + + gobject: make tests use ntrack_init + + glib: make tests use ntrack_init + + common: make tests use ntrack_init + + glib: add license to recyle test + + BUILD: enable AM_MAINTAINER_MODE automake feature in configure.ac + + common: add ntrack_init function to ntrackbase.h that adds a couple of potential in-source locations to the backend search list iif in MAINTAINER_MODE + + common: fix modules not looked for in MODULES_DIR; the plugin search loop iterator got accidentially bumped twice in one loop run + + gobject: update copyright for 2010 modifications in gobject + + common: update copyright for 2010 modifications in common/test + + common: update copyright for 2010 modifications in common/ + + common: update NTRACK_LT_VERSION = 3:3:3 for libntraakc.so + + common: use GCC visibile pragma to hide private functions from common/ntrackarch.h + + common: rename private ntrack-arch.h => ntrackarch.h + + common: consider build-tree modules/ directory before MODULES_DIR for typical ntrack tests + + modules: create top level modules/ source directory and move ntrack-libnl.c there + + common: trigger rebuild of libntrack.la if ntrackarchapi.h changes + + common: first step towards public plugain api; factor backend API to separate header: ntrackarchapi.h, see lp:692327 + + common: drop ntrack_monitor_arch_event_f typdef from private ntrack-arch.h; its identical with ntrack_monitor_callback_f from public api + + common: add ntrack-arch.h to libntrack_la_SOURCES + + common: build ntrack-libnl.c as ntrack-libnl1.la and ntrack-libnl1.la modules - lp:692245 + + common: use plugin delegate functions in ntrackmonitor.c + + common: add backend plugin code to ntrack.c and introduce glue functions for ntrack-arch.h API + + common: add support for libnl-2.0 and use by default; keep compile time fallback support for libnl-1 - lp:686554 + + common: code cleanup and indent in setup_smart_handle of libnl backend + + common: start using nl cache mngr for main handle as well; eliminate cache refills + + common: remove unused/commented code in ntrack-libnl.c + + common: fix how we set binary_addr for dst_filter; also set prefixlen on dst_filter + + gobject: use pyntrack-gmonitor.override from $(srcdir) to fix failure when building in build/ dir - lp:661769 + + start ntrack 010 development + + {009} Release 009 + + update NEWS for 009 release + + common[test]: add license and indent boilderplate for recyle test + + common[test]: ifx recycle test include to fix build failure in make distcheck + + add support for moc binary if moc-qt4 is not available - lp:653882 + + gobject[test]: add license header to test-gmonitor-recycle.c test + + add explicit ./configure flag for with/without- - see lp:654221 + + qt4: use ntrack_monitor_put to properly unref the monitor in QNtrack destructor + + gobject[test]: add recycle test that verifies that unrefing a gmonitor works + + glib: remove forgotten debugging output during gsource finalization + + glib[test]: add simple gsource recyle (aka lifecycle) test to auto testsuite + + glib: hook up ntrack monitor refcounting and implement proper gsource lifecycle + + common[test]: add auto-run recyle test that pokes the monitor and arch refcounting facilities a bit + + common: introduce refcounting to monitor singleton api; old code is supposed to still work; free arch backend if refc becomes 0 + + common: improve error loggin for nl_connect; factor that code to a helper func + + common[arch]: extend backend api to require _ntrack_arch_free; implement this in ntrack-libnl.c (lp:612868) + + gobject: change type of 'state' member in NTrackGMonitorPrivate from ntrack_state_t to NTrackGlibState + + gobject: add missing G_END_DECLS to ntrack-gmonitor.h - see lp:594794 + + common: add missing NTRACK_END_DECLS to ntracklist.h - lp:594794 + + add 2010 to copyright years mentioned in README license header + + start ntrack 009 development + + -- Alexander Sack Thu, 23 Dec 2010 00:32:57 +0100 + +ntrack (008-1) unstable; urgency=medium + + * New upstream release for ntrack-008 + + qt4: add include guards to QNtrack.h (Closes: #589341) + + qt4: don't define func parameter names for QNtrackListener slots to + to avoid warnings of unused variables; thx to Sune Vuorela for the bug + and guidance + * upload with medium urgency to RC bug in testing fixed. + + -- Alexander Sack Wed, 28 Jul 2010 01:01:10 +0200 + +ntrack (007-1) unstable; urgency=low + + * Non-maintainer upload. + * Versioned this way on request of maintainer + * New upstream release + * Fix build of backend (Closes: #589344) + * Thanks to Davi Leal who prepared the same fix for the 006 branch + + -- Alexander Reichle-Schmehl Thu, 22 Jul 2010 14:12:03 +0200 + +ntrack (007-0ubuntu1) lucid; urgency=low + + * New upstream release for ntrack-007 + + gobject: include ntrack-glib.h rather than ntrackbase.h by default in ntrack-monitor.h + + gobject: do not pass redundant GLIB_CFLAGS and GLIB_LIBS to compiler/linker + + glib: do not unnecessarily link against GOBJECT_LIBS + + ensure that any backend is build (LP: #563728) + * add missing libnl-dev build dependency (LP: #563728) + + -- Alexander Sack Thu, 15 Apr 2010 12:56:23 +0200 + +ntrack (006-1) unstable; urgency=low + + * Initial packaging for ntrack-006 (Closes: #570853) + + -- Alexander Sack Sun, 21 Feb 2010 22:50:13 +0100 --- ntrack-016.orig/debian/rules +++ ntrack-016/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --enable-backend=libnl,rtnetlink \ + $(NULL) + +DEB_DH_MAKESHLIBS_ARGS_libntrack0 = -- -c4 +DEB_DH_MAKESHLIBS_ARGS_libntrack-glib2 = -- -c4 +DEB_DH_MAKESHLIBS_ARGS_libntrack-gobject1 = -- -c4 +DEB_DH_MAKESHLIBS_ARGS_libntrack-qt4-1 = -- -c1 + --- ntrack-016.orig/debian/README.source +++ ntrack-016/debian/README.source @@ -0,0 +1,10 @@ + +Author: Alexander Sack +Upstream: upstream source tarballs and bzr tree are https://launchpad.net/ntrack +Patches: To work on the package source, please use quilt push -a after setting QUILT_DIR=debian/patches. +Upgrade version: To upgrade to a new upstream releaseĀ, use uupdate on the new tarball + +Enjoy! + + - Alexander + --- ntrack-016.orig/debian/patches/series +++ ntrack-016/debian/patches/series @@ -0,0 +1 @@ +# put your quilt patches here