--- barry-0.14.orig/debian/barry-util.postinst +++ barry-0.14/debian/barry-util.postinst @@ -0,0 +1,35 @@ +#!/bin/sh -e + +everything() { + # set ownership for ppp options files + for f in /etc/ppp/peers/barry-* + do + chown root:dip "$f" + done + + # set permissions for chatscripts + for f in /etc/chatscripts/barry-*.chat + do + chown root:dip "$f" + chmod 0640 "$f" + done +} + +case "$1" in + configure) + everything + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + --- barry-0.14.orig/debian/barry-util.install +++ barry-0.14/debian/barry-util.install @@ -0,0 +1,19 @@ +debian/tmp/usr/bin/btool +debian/tmp/usr/bin/bs11nread +debian/tmp/usr/bin/bidentify +debian/tmp/usr/bin/brecsum +debian/tmp/usr/bin/bktrans +debian/tmp/usr/bin/upldif +debian/tmp/usr/bin/btranslate +debian/tmp/usr/sbin/breset +debian/tmp/usr/sbin/bcharge +debian/tmp/usr/sbin/pppob +debian/tmp/usr/share/man/man1/bcharge.1 +debian/tmp/usr/share/man/man1/bidentify.1 +debian/tmp/usr/share/man/man1/brecsum.1 +debian/tmp/usr/share/man/man1/breset.1 +debian/tmp/usr/share/man/man1/bs11nread.1 +debian/tmp/usr/share/man/man1/btool.1 +debian/tmp/usr/share/man/man1/pppob.1 +debian/tmp/usr/share/man/man1/upldif.1 + --- barry-0.14.orig/debian/copyright +++ barry-0.14/debian/copyright @@ -0,0 +1,56 @@ +This package was debianized by Chris Frey on +Fri, 29 Dec 2006 20:34:01 -0500. + +It was downloaded from http://sourceforge.net/projects/barry + +Upstream Authors: + Chris Frey + + +Copyright: + Copyright (C) 2005-2008, Net Direct Inc. (http://www.netdirect.ca/) + Copyright (C) 2007-2008, Chris Frey + Copyright (C) 2008, Brian Edginton (edge@edginton.net) + Copyright (C) 1995-9 by Cryptography Research, Inc. + Copyright (C) 2003 Ximian, Inc. 2005 Armin Bauer + For scripts in contrib/ directory: + Copyright (C) 2008 Niels de Vos + Copyright (C) 2008, ashley willis + + +License: + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + 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. + + 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + For opensync-plugin/src/vformat.[c,h]: + This library 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. + + This library 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 library; 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'. --- barry-0.14.orig/debian/barrybackup-gui.menu +++ barry-0.14/debian/barrybackup-gui.menu @@ -0,0 +1,9 @@ +?package(barrybackup-gui):\ + needs="X11"\ + section="Applications/Mobile Devices"\ + title="Barry Backup"\ + command="/usr/bin/barrybackup"\ + hints="Blackberry Backup Utility"\ + +# icon="/usr/share/pixmaps/xzgv.xpm" + --- barry-0.14.orig/debian/libbarry0.docs +++ barry-0.14/debian/libbarry0.docs @@ -0,0 +1,4 @@ +README +NEWS +AUTHORS + --- barry-0.14.orig/debian/rules +++ barry-0.14/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# Based on the multi2 sample debian/rules file: +# --- +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. + +#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +#include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# where sources are +DEB_SRCDIR = . +# in which directory to build +DEB_BUILDDIR = . +# in which directory to install the sofware +DEB_DESTDIR = $(CURDIR)/debian/tmp +#To register a debug library package libfoo-dbg for libfoo (which needs unstripped '.so') in compat mode 4: +DEB_DH_STRIP_ARGS := --dbg-package=libbarry0 --dbg-package=libbarry-dev --dbg-package=barry-util --dbg-package=barrybackup-gui --dbg-package=opensync-plugin-barry +#CDBS automatically handles common flags to pass to the configure script, +#but it is possible to give some extra parameters : +DEB_CONFIGURE_EXTRA_FLAGS := --with-boost=/usr --enable-gui --enable-opensync-plugin +COMMON_CONFIGURE_FLAGS := --prefix=/usr +DEB_INSTALL_DOCS_ALL = + +install/barry-util:: + # Install udev rules for the barry-util package + install -d $(CURDIR)/debian/barry-util/etc/udev/rules.d + install -m 0644 $(CURDIR)/udev/10-blackberry.rules.Debian $(CURDIR)/debian/barry-util/etc/udev/rules.d/10-blackberry.rules + # Install modprobe blacklist file for bcharge, into barry-util package + install -d $(CURDIR)/debian/barry-util/etc/modprobe.d + install -m 0644 $(CURDIR)/modprobe/blacklist-berry_charge $(CURDIR)/debian/barry-util/etc/modprobe.d/blacklist-berry_charge + # Install default ppp options and chat scripts + install -d $(CURDIR)/debian/barry-util/etc/ppp/peers + install -m 0644 $(CURDIR)/ppp/barry-rogers $(CURDIR)/ppp/barry-verizon $(CURDIR)/ppp/barry-sprint $(CURDIR)/ppp/barry-o2ireland $(CURDIR)/debian/barry-util/etc/ppp/peers + install -d $(CURDIR)/debian/barry-util/etc/chatscripts + install -m 0640 $(CURDIR)/ppp/barry-rogers.chat $(CURDIR)/ppp/barry-verizon.chat $(CURDIR)/ppp/barry-sprint.chat $(CURDIR)/ppp/barry-o2ireland.chat $(CURDIR)/debian/barry-util/etc/chatscripts --- barry-0.14.orig/debian/opensync-plugin-barry.install +++ barry-0.14/debian/opensync-plugin-barry.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/opensync/* +debian/tmp/usr/share/opensync/defaults/barry-sync + --- barry-0.14.orig/debian/compat +++ barry-0.14/debian/compat @@ -0,0 +1 @@ +4 --- barry-0.14.orig/debian/libbarry-dev.docs +++ barry-0.14/debian/libbarry-dev.docs @@ -0,0 +1,12 @@ +README +NEWS +TODO +AUTHORS +ChangeLog +doc/Exceptions +doc/Hacking +doc/TimeZones.txt +doc/USB-capture.txt +doc/VersionNotes +doc/bb_task_format.txt +examples/addcontact.cc --- barry-0.14.orig/debian/libbarry-dbg.install +++ barry-0.14/debian/libbarry-dbg.install @@ -0,0 +1,2 @@ +libbarry-dbg/usr/lib/debug/* + --- barry-0.14.orig/debian/barrybackup-gui.install +++ barry-0.14/debian/barrybackup-gui.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/barrybackup +debian/tmp/usr/share/barry/glade/* +debian/tmp/usr/share/man/man1/barrybackup.1 + --- barry-0.14.orig/debian/opensync-plugin-barry-dbg.install +++ barry-0.14/debian/opensync-plugin-barry-dbg.install @@ -0,0 +1,2 @@ +opensync-plugin-barry-dbg/usr/lib/debug/* + --- barry-0.14.orig/debian/barry-util-dbg.install +++ barry-0.14/debian/barry-util-dbg.install @@ -0,0 +1,2 @@ +barry-util-dbg/usr/lib/debug/* + --- barry-0.14.orig/debian/changelog +++ barry-0.14/debian/changelog @@ -0,0 +1,106 @@ +barry (0.14-2) unstable; urgency=low + + * debian/rules: Fix libbarry-dbg name + * debian/: some debhelper control files were missing in latest release, + making binary packages almost empty. Thanks to Michael Banck for pointing it. + * debian/control: change opensync plugin package name to match naming scheme + for other opensync plugins. Thanks to Michael Banck. + * debian/compat: force level 4 to make easier building of -dbg package + + -- Jose Carlos Garcia Sogo Tue, 21 Oct 2008 23:28:05 +0200 + +barry (0.14-1) unstable; urgency=low + + * New upstream release. + + -- Jose Carlos Garcia Sogo Sun, 28 Sep 2008 16:43:58 +0200 + +barry (0.13-1) unstable; urgency=low + + [ Jose Carlos Garcia Sogo ] + * Upload to Debian (Closes: #450504) + * debian/copyright: + + Add copyright holders + + Add LGPL as license for vformat.[c,h] files + * debian/control: + + Change maintainer + + Bump Standards-Version to 3.8.0 + + Rename libbary to libbary0 to follow policy. + + Add a dependency on exact binary:Version for each -dbg and -dev package + + libbarry-dev binary depends on libusb-dev + * debian/changelog: + + Merge different versions in 0.13-* packages in a new 0.13-1 one, so it + can be uploaded into Debian + * debian/rules: no need to call autotools + * barrybackup-gui.menu: use Applications/Mobile Devices menu, as per Policy + + [ Chris Frey ] + * From 0.13-1.1 upstream package + * added brecsum + * added ppp options and chat scripts + * fixed lintian description warnings + + [ Jason Thomas ] + * Makefile.am and opensync-plugin/Makefile: add ACLOCAL_FLAGS for autoreconf + * debian/control: add build-depends: libglib2.0-dev + * debian/control: change build-depends: libopensync0 to libopensync0-dev + + -- Jose Carlos Garcia Sogo Sun, 21 Sep 2008 18:59:37 +0200 + +barry (0.12-1) unstable; urgency=low + + * version bump + + -- Chris Frey Fri, 07 Dec 2007 16:25:11 -0500 + +barry (0.11-1) unstable; urgency=low + + * version bump + + -- Chris Frey Fri, 30 Nov 2007 22:35:11 -0500 + +barry (0.10-1) unstable; urgency=low + + * renamed ktrans and translate to bktrans and btranslate + * added bidentify + + -- Chris Frey Fri, 30 Nov 2007 15:49:11 -0500 + +barry (0.9-1) unstable; urgency=low + + * updated for version 0.9 release + * converted build scripts to use cdbs + * added opensync plugin package + + -- Chris Frey Thu, 28 Sep 2007 15:55:11 -0500 + +barry (0.8-1) unstable; urgency=low + + * updated for version 0.8 release + * removed postinst, as the latest stable Debian has a current udev version + * split packaging into 4 separate packages: libbarry, libbarry-dev, + barry-util, barrybackup-gui + * added menu support for barrybackup-gui + + -- Chris Frey Fri, 11 May 2007 16:38:11 -0500 + +barry (0.6-1) unstable; urgency=low + + * adapted for Debian Etch. has a newer version of udev, and plugdev + available. Also added btool in addition to only bcharge available + + -- Peter Silva Fri, 06 Apr 2007 00:00:01 -0500 + +barry (0.1-2) unstable; urgency=low + + * Make this work on ubuntu as well. Ubuntu has a newer version of udev + than Debian stable, and needs different rules. + + -- Chris Frey Fri, 04 Jan 2007 16:23:01 -0500 + +barry (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Chris Frey Fri, 29 Dec 2006 20:34:01 -0500 + --- barry-0.14.orig/debian/libbarry-dev.install +++ barry-0.14/debian/libbarry-dev.install @@ -0,0 +1,6 @@ +debian/tmp/usr/lib/libbarry.a +debian/tmp/usr/lib/libbarry.la +debian/tmp/usr/lib/libbarry.so +debian/tmp/usr/include/barry/* +debian/tmp/usr/lib/pkgconfig/* + --- barry-0.14.orig/debian/barrybackup-gui-dbg.install +++ barry-0.14/debian/barrybackup-gui-dbg.install @@ -0,0 +1,2 @@ +barrybackup-gui-dbg/usr/lib/debug/* + --- barry-0.14.orig/debian/control +++ barry-0.14/debian/control @@ -0,0 +1,103 @@ +Source: barry +Section: misc +Priority: optional +Maintainer: Jose Carlos Garcia Sogo +Build-Depends: debhelper (>= 4.0.0), g++ (>= 4.1), cdbs, autoconf, automake, libtool, pkg-config, libusb-dev, libboost-serialization-dev, libtar-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, libopensync0-dev (>= 0.22), libopensync0-dev (<< 0.30) +Standards-Version: 3.8.0 + +Package: libbarry0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: Library for using the BlackBerry handheld on Linux + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains shared libraries. + +Package: libbarry0-dbg +Section: libs +Priority: extra +Architecture: any +Depends: libbarry0 (= ${binary:Version}) +Description: Library for using the BlackBerry handheld on Linux + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains the debug version of the libbary shared library. + +Package: libbarry-dev +Section: libdevel +Architecture: any +Depends: libbarry0 (= ${binary:Version}), libusb-dev +Description: Development files for libbarry + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains the header files required for building applications + based on libbarry. + +Package: barry-util +Section: utils +Architecture: any +Depends: udev (>= 0.056), ${shlibs:Depends} +Suggests: ppp +Description: Command line utilities for working with the RIM BlackBerry Handheld + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains command line utilities, such as bcharge, btool, + breset, etc. + +Package: barry-util-dbg +Section: utils +Priority: extra +Architecture: any +Depends: barry-util (= ${binary:Version}) +Description: Command line utilities for working with the RIM BlackBerry Handheld + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains the debug versions of the command line utilities. + +Package: barrybackup-gui +Section: utils +Architecture: any +Depends: ${shlibs:Depends} +Description: GTK+ based GUI for backing up the RIM BlackBerry Handheld + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains a GUI application for making backups and restores. + +Package: barrybackup-gui-dbg +Section: utils +Priority: extra +Architecture: any +Depends: barrybackup-gui (= ${binary:Version}) +Description: GTK+ based GUI for backing up the RIM BlackBerry Handheld + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains the debug version of the backup GUI. + +Package: opensync-plugin-barry +Section: libs +Architecture: any +Depends: libopensync0 (>= 0.22), libopensync0 (<< 0.30), ${shlibs:Depends} +Description: Opensync Blackberry plugin, based on the Barry project + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains an opensync plugin for use with libopensync 0.22. + +Package: opensync-plugin-barry-dbg +Section: libs +Priority: extra +Architecture: any +Depends: libopensync0 (>= 0.22), libopensync0 (<< 0.30), opensync-plugin-barry (= ${binary:Version}) +Description: Opensync Blackberry plugin, based on the Barry project + Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. + . + This package contains the debug version of the Barry opensync plugin. + +#Package: barry-doc +#Architecture: all +#Description: Documentation for barry +# Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. +# It comes with a command line tool for exploring the device and for making quick +# backups. The goal of this project is to create a fully functional syncing +# mechanism on Linux. + --- barry-0.14.orig/debian/libbarry0.install +++ barry-0.14/debian/libbarry0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libbarry.so.* +