--- modemmanager-0.2.git.20090923t083842.f2a3825.orig/debian/compat +++ modemmanager-0.2.git.20090923t083842.f2a3825/debian/compat @@ -0,0 +1 @@ +5 --- modemmanager-0.2.git.20090923t083842.f2a3825.orig/debian/copyright +++ modemmanager-0.2.git.20090923t083842.f2a3825/debian/copyright @@ -0,0 +1,21 @@ + +I. Copyright + +Copyright (C) 2008 - 2009 Novell, Inc. +Copyright (C) 2009 Red Hat, Inc. +ModemManager code is Licensed under GPL version 2 (or any later version). +See: /usr/share/common-licenses/GPL-2 + +ModemManager is maintained at http://cgit.freedesktop.org/ModemManager/ModemManager/ +The git repository used to export from can be cloned by: +git://anongit.freedesktop.org/ModemManager/ModemManager + + +II. Packaging Copyright + +Packaging is (C) 2009 Canonical Ltd. +and licensed under the GPL version 3 (or any later version). +See: /usr/share/common-licenses/GPL + +The url of the packaging bzr branch is documented in debian/control + --- modemmanager-0.2.git.20090923t083842.f2a3825.orig/debian/rules +++ modemmanager-0.2.git.20090923t083842.f2a3825/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_AUTOHEADER = 2.50 +DEB_AUTO_UPDATE_AUTOCONF = 2.50 + +# use automake 1.10 ... or 1.11 +ifneq (,$(wildcard /usr/bin/aclocal-1.11)) +DEB_AUTO_UPDATE_ACLOCAL = 1.11 +DEB_AUTO_UPDATE_AUTOMAKE = 1.11 -a -c -f +else +DEB_AUTO_UPDATE_ACLOCAL = 1.10 +DEB_AUTO_UPDATE_AUTOMAKE = 1.10 -a -c -f +endif + +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_MAJOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/git.*//') + +DEB_INSTALL_DOCS_ALL := README AUTHORS + +DEB_CONFIGURE_EXTRA_FLAGS += \ + $(NULL) + +GIT_URL := git://anongit.freedesktop.org/ModemManager/ModemManager +GIT_BRANCH := "master" +LOCAL_BRANCH_NAME := ModemManager + +ifneq (,$(LOCAL_BRANCH)) +LOCAL_REAL_BRANCH = $(realpath $(LOCAL_BRANCH)) +endif + +pre-build:: + # workaround cdbs that does not run aclocal if no aclocal.m4 file exists + touch aclocal.m4 + +GET_SOURCE = \ + set -e; \ + tmpdir=`mktemp -d -t`; \ + cd $$tmpdir; \ + echo "cloning upstream repository ..."; \ + git clone $(if $(LOCAL_BRANCH),$(call LOCAL_REAL_BRANCH)/$(LOCAL_BRANCH_NAME),$(GIT_URL)); \ + echo "getting specific upstream revision/tag: $(1)"; \ + cd `ls | head -n 1`; git checkout -b orig $(1); \ + commit_id=`git log -n1 --abbrev-commit | grep '^commit ' | sed -e 's/commit //'`; \ + raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y%m%dt%H%M%S"`; \ + if echo $(1) | grep -c "orig" > /dev/null || echo $(DEB_VERSION) | grep -c "git" > /dev/null; \ + then \ + upstream_version=$(DEB_MAJOR_VERSION)git.$$raw.$$commit_id; \ + else \ + upstream_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + cd ..; tar --exclude=.git -czf $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$$upstream_version.orig.tar.gz `ls | head -n 1`; \ + cd $(CURDIR); rm -rf $$tmpdir; + +binary-post-install/modemmanager:: + find $(CURDIR)/debian/modemmanager/ -name \*.a | xargs rm + find $(CURDIR)/debian/modemmanager/ -name \*.la | xargs rm + +get-current-source:: $(if $(LOCAL_BRANCH), update-local-branch) + set -e; if echo $(DEB_VERSION) | grep -c "git" > /dev/null; \ + then \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \ + else \ + git_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + $(call GET_SOURCE, $$git_version, "current") + +get-orig-source:: $(if $(LOCAL_BRANCH), update-local-branch) + $(call GET_SOURCE, $(GIT_BRANCH), "orig") + +update-local-branch:: + @echo "updating local branch: $(LOCAL_BRANCH) ..." + @set -e; if ! test -d $(LOCAL_BRANCH); then mkdir -p $(LOCAL_BRANCH); fi + @set -e; if ! test -d $(LOCAL_BRANCH)/$(LOCAL_BRANCH_NAME); then git clone $(GIT_URL) $(LOCAL_BRANCH)/$(LOCAL_BRANCH_NAME); fi + @set -e; cd $(LOCAL_BRANCH)/$(LOCAL_BRANCH_NAME); git pull -f + @echo "updated local branch: $(LOCAL_BRANCH)." + --- modemmanager-0.2.git.20090923t083842.f2a3825.orig/debian/control +++ modemmanager-0.2.git.20090923t083842.f2a3825/debian/control @@ -0,0 +1,27 @@ +Source: modemmanager +Section: net +Priority: optional +Maintainer: Ubuntu Network Manager Team +Uploaders: Alexander Sack +Build-Depends: debhelper (>= 5.0.0), + automake (>= 1:1.10), automake (<< 1:1.12), + cdbs, + quilt, + libtool, + libdbus-glib-1-dev (>= 0.75), + libgudev-1.0-dev +Standards-Version: 3.8.0 +Vcs-Bzr: https://code.launchpad.net/~modemmanager/modemmanager/ubuntu + +Package: modemmanager +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: D-Bus service for managing modems + Provides a D-Bus interface to communicate with mobile broadband (GSM, CDMA, + UMTS, ...) cards. Implements a loadable plugin interface to add work-arounds + for non standard devices. Also provides patches to use networkmanager (and + the applet) with modem manager. + . + Git Repository (mainline): http://git.gitorious.org/modemmanager/mainline.git + --- modemmanager-0.2.git.20090923t083842.f2a3825.orig/debian/changelog +++ modemmanager-0.2.git.20090923t083842.f2a3825/debian/changelog @@ -0,0 +1,115 @@ +modemmanager (0.2.git.20090923t083842.f2a3825-0ubuntu1) karmic; urgency=low + + New upstream snapshot 2009-09-23 08:38:42 (GMT) + + commit: f2a3825f9d10ecebc63ce3c8602473cbbb6ab72c + + fix LP: #430576 - refuse to connect over Nokia N85, turns off the handset + + fix various F3507g related issues on first connect + + -- Alexander Sack Thu, 24 Sep 2009 11:41:08 +0200 + +modemmanager (0.2.git.20090909t142854.64b7be7-1) unstable; urgency=low + + * initial upload to debian (Closes: #546587) + + -- Alexander Sack Mon, 14 Sep 2009 14:53:24 +0200 + +modemmanager (0.2.git.20090909t142854.64b7be7-0ubuntu1) karmic; urgency=low + + New upstream snapshot 2009-09-09 14:28:54 (GMT) + + commit: 64b7be7460c3a9dbb3c9981de5754b330a8d2cdd + + fix LP: #414604 - Modem Manager setting bad baud rate, breaking pppd + connections. + + fix LP: #416418 - First connection attempt via F3507g fails + + fix LP: #424603 - Not closing modems when disconnected + + [ Alexander Sack ] + * address MIR comments (LP: #410259) + + cleanup debian/copyright + + set debhelper compat level to 5, matching debian/control + - add debian/compat + + remove not used patches + - delete debian/patches/ftbfs_hardy_glib_include_signal_h.patch + + use proper automake lower and upper version bounds matching the + versions referred to in debian/rules + - update debian/control + + don't redefine cdbs variables DEB_SOURCE, DEB_VERSION and + DEB_UPSTREAM_VERSION; in turn move DEB_MAJOR_VERSION definition + below the cdbs includes and use DEB_SOURCE_PACKAGE in GET_SOURCE + function + - update debian/rules + + document why we touch aclocal.m4 in pre-build:: + - update debian/rules + + use Ubuntu Network Manager Team as Maintainer and add asac@debian.org + to Uploaders + - update debian/control + + -- Alexander Sack Mon, 14 Sep 2009 11:38:05 +0200 + +modemmanager (0.2.git.20090820t183237.cd75023-0ubuntu1) karmic; urgency=low + + [ Tony Espy ] + * upstream snapshot 2009-08-20 18:32:37 (GMT) + + cd750230687177b45c2b8e507a0f0b22095aeb02 + - includes gsm and mbm fixes + + [ Alexander Sack ] + * add LOCAL_BRANCH feature to play nicely with fta's build bot + - update debian/rules + * use automake 1.10 vs. 1.11 depending on what is currently available + on the system + - update debian/rules + + -- Tony Espy Thu, 20 Aug 2009 15:06:51 -0400 + +modemmanager (0.2.git.20090806t105932.354a4cb-0ubuntu3) karmic; urgency=low + + [ Tony Espy ] + * update automake1.10 to automake in Build-Depends:, as automake + provides automake1.10 now + - update debian/control + + [ Alexander Sack ] + * fix LP: #410261 - do not ship .la and .a files in pkglibdir for + plugins; we strop .a and .la files in cdbs binary-post-install/modemmanager:: + - update debian/rules + + -- Alexander Sack Tue, 11 Aug 2009 13:38:38 +0200 + +modemmanager (0.2.git.20090806t105932.354a4cb-0ubuntu2) karmic; urgency=low + + * fix LP: #409943 - modemmanager debian/copyright has LGPL, + but upstream source is GPL + - update debian/copyright + + -- Tony Espy Thu, 06 Aug 2009 17:13:08 +0100 + +modemmanager (0.2.git.20090806t105932.354a4cb-0ubuntu1) karmic; urgency=low + + [ Tony Espy ] + * upstream snapshot 2009-08-06 10:59:32 (GMT) + + fixes license problems (LP: #403009) + + git://anongit.freedesktop.org/ModemManager/ModemManager + * drop patches superseded by upstream code base + - delete debian/patches/fix_makefile.patch + - update debian/patches/series + * add tarball generation code; added get-curr-source to + grab a specific version, and get-orig-source grabs the tip + of variable GIT_BRANCH; adjusted changelog version to the + new scheme. + - update debian/rules + * add real copyright notices and update git URL + - update debian/copyright + + [ Alexander Sack ] + * Initial release. (Closes: #XXXXXX) + * replace hal with gudev build dependency + - update debian/control + * signal.h is not implicitly included by hardy glib.h; add patch to + explicitly include this in src/main.c when SIGUSR1 is not defined + - add debian/patches/ftbfs_hardy_glib_include_signal_h.patch + - update debian/patches/series + * fix build failure due to gcc pickiness (committed upstream) + - add debian/patches/ftbfs_serial_quickfix.patch + - update debian/patches/series + + -- Tony Espy Thu, 06 Aug 2009 12:50:45 +0100