--- connman-0.19.orig/debian/control +++ connman-0.19/debian/control @@ -0,0 +1,32 @@ +Source: connman +Section: net +Priority: optional +Maintainer: Alexander Sack +Homepage: http://www.moblin.org +Build-Depends: cdbs, + debhelper (>= 5.0.37.2), + dpkg-dev (>= 1.13.19), + quilt, + libudev-dev, + libpolkit-dev, + libpolkit-dbus-dev, + dhcp3-client, + ppp-dev +Standards-Version: 3.7.3 +Vcs-Bzr: https://code.launchpad.net/~asac/connman/connman.ubuntu.head + +Package: connman +Section: net +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dhcp3-client +Description: Intel Connection Manager daemon + The Linux Connection Manager project provides a daemon for managing + Internet connections within embedded devices running the Linux + operating system. The Connection Manager is designed to be slim and to + use as few resources as possible, so it can be easily integrated in + other Moblin-based embedded systems. It is fully modular system that + can be extended through plug-ins, to support all kinds of wired or + wireless technologies. Also, configuration methods like DHCP and + domain name resolving are implemented using plug-ins. The plug-in + approach allows for easy adaption and modification for various use cases. + --- connman-0.19.orig/debian/rules +++ connman-0.19/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +GIT_URL := git://git.kernel.org/pub/scm/network/connman/connman.git + +DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //') +DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //') +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//') + +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_DESTDIR = $(CURDIR)/debian/tmp/ + +DEB_CONFIGURE_EXTRA_FLAGS += \ + --enable-dhclient \ + --enable-ethernet \ + --enable-loopback \ + --enable-pie \ + --enable-wifi \ + --enable-hso \ + --enable-novatel \ + --enable-ppp \ + --with-pppd=/usr/sbin/pppd \ + --enable-bluetooth \ + --enable-udev \ + --enable-polkit \ + --enable-client \ + --enable-huawei \ + --enable-modemmgr \ + $(NULL) + +get-orig-source:: + set -e; if echo $(DEB_VERSION) | grep -c "git"; \ + then \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9]*\.\)*\(.*\)-.*$$/\2/g'`; \ + else \ + git_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + tmpdir=`mktemp -d -t`; \ + cd $$tmpdir; \ + echo "cloning upstream repository ..."; \ + git clone $(GIT_URL); echo "getting specific upstream revision/tag: $$git_version"; \ + cd `ls | head -n 1`; git checkout -b orig $$git_version; \ + echo "gtkdocize ..."; \ + gtkdocize --copy --docdir doc; \ + echo "autotools bootstrapping ..."; \ + ./bootstrap; \ + echo "cleaning up autotools caches (autom4te.cache) ..."; \ + rm -rf autom4te.cache; \ + cd ..; tar --exclude=.git -cvzf $(CURDIR)/$(DEB_SOURCE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz `ls | head -n 1`; \ + cd $(CURDIR); rm -rf $$tmpdir + + --- connman-0.19.orig/debian/connman.install +++ connman-0.19/debian/connman.install @@ -0,0 +1,9 @@ +debian/tmp/etc/ +debian/tmp/usr/sbin/ +debian/tmp/usr/share/PolicyKit +debian/tmp/usr/lib/connman/plugins/*.so +debian/tmp/usr/lib/connman/scripts/dhclient.conf +debian/tmp/usr/lib/connman/scripts/dhclient-script +debian/tmp/usr/lib/connman/scripts/pppd-plugin.so + + --- connman-0.19.orig/debian/connman.prerm +++ connman-0.19/debian/connman.prerm @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +case "$1" in + remove) + RESULT=0 + invoke-rc.d connman stop + ;; +esac + +#DEBHELPER# + +exit 0 --- connman-0.19.orig/debian/changelog +++ connman-0.19/debian/changelog @@ -0,0 +1,68 @@ +connman (0.19-0ubuntu1~ppa1) jaunty; urgency=low + + * Jaunty backport + + -- Pierre Paysant-Le Roux (Ubuntu PPA) Mon, 29 Jun 2009 21:45:19 +0200 + +connman (0.19-0ubuntu1) karmic; urgency=low + + * new upstream release 0.19 + + -- Tony Espy Mon, 25 May 2009 12:18:32 +0200 + +connman (0.17-0ubuntu1) karmic; urgency=low + + * new upstream release 0.17 + * fix get-orig-source target to create tarball in topsrcdir + - update debian/rules + + -- Alexander Sack Mon, 25 May 2009 12:13:33 +0200 + +connman (0.15+git.1.864cd602c-0ubuntu1) karmic; urgency=low + + * new upstream snapshot 0.15 + git 864cd602c + * drop upstreamed patches + - delete debian/patches/fix_dhclient_configure_typo.patch + - delete debian/patches/fix_ubuntu_init_script.patch + - update debian/patches/series + * enable more plugins: modemmgr and ethernet + - update debian/rules + * make debian/rules in bzr executable + - update debian/rules + * add get-orig-source target that parses changelog to guess git commit + id or tag + - update debian/rules + + -- Alexander Sack Thu, 14 May 2009 18:47:17 +0200 + +connman (0.10+git20090203t223225-1) unstable; urgency=low + + * Initial upload to Debian - Closes: #475022 + * debian/control: add Vcs-Bzr info pointing to + + https://code.launchpad.net/~asac/connman/connman.ubuntu.head + + -- Alexander Sack Fri, 03 Apr 2009 14:02:57 +0200 + +connman (0.10+git20090203t223225-0ubuntu3) jaunty; urgency=low + + * debian/connman.postinst: making update-notifier optional, as + otherwise we would need a dependency on it (LP: #332217) + + -- bojo42 Fri, 20 Feb 2009 17:22:28 +0100 + +connman (0.10+git20090203t223225-0ubuntu2) jaunty; urgency=low + + * debian/patches/fix_ubuntu_init_script.patch: pass --make-pidfile to + start-stop-daemon invokation as connman doesnt create its own PIDFILE + * debian/patches/series: new series file + * debian/copyright: fix copyright/licensing details + * debian/control: fix Section: net + + -- Alexander Sack Tue, 17 Feb 2009 20:41:25 +0100 + +connman (0.10+git20090203t223225-0ubuntu1) jaunty; urgency=low + + * Initial release of upstream 0.10 + git snapshot + Tue Feb 3 23:32:25 2009 +0100 + + -- Alexander Sack Tue, 17 Feb 2009 11:58:09 +0100 --- connman-0.19.orig/debian/connman.postrm +++ connman-0.19/debian/connman.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|purge) + update-rc.d -f connman remove + ;; +esac + +#DEBHELPER# + +exit 0 --- connman-0.19.orig/debian/connman.postinst +++ connman-0.19/debian/connman.postinst @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + update-rc.d connman start 28 2 3 4 5 . + + if [ -x /usr/share/update-notifier/notify-reboot-required ]; then + /usr/share/update-notifier/notify-reboot-required + fi + ;; +esac + +#DEBHELPER# + +exit 0 --- connman-0.19.orig/debian/copyright +++ connman-0.19/debian/copyright @@ -0,0 +1,45 @@ +Packaging +============== +This package was debianized by Alexander Sack : + Copyright (C) 2009 Canonical Ltd. All rights reserved + +Packaging licensed under the terms of the GNU General Public +License 3 (or any later version), see: + /usr/share/common-licenses/GPL + +Connman Sources +================ +Download: + Connman was exported from git://git.moblin.org/connman, the git repository + of http://www.moblin.org. + +Copyright: + Copyright (C) 2007-2009 Intel Corporation. All rights reserved. + +License: + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + See /usr/share/common-licenses/GPL-2 + +Individual files with different license: + +./ltmain.sh: GPL (v2 or later) + [Copyright: 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc] +./gdbus/watch.c: GPL (v2 or later) + [Copyright: 2004-2009 Marcel Holtmann ] +./gdbus/mainloop.c: GPL (v2 or later) + [Copyright: 2004-2009 Marcel Holtmann ] +./gdbus/object.c: GPL (v2 or later) + [Copyright: 2004-2009 Marcel Holtmann ] +