hitchhiker (0.01~20091129+bzr41-1) debian-dir only changes

Summary

 debian/README.source       |    9 ++
 debian/changelog           |    5 +
 debian/clean               |    1 
 debian/compat              |    1 
 debian/control             |   23 +++++++
 debian/copyright           |   40 +++++++++++++
 debian/debian-vars.mk      |  103 +++++++++++++++++++++++++++++++++
 debian/docs                |    1 
 debian/hitchhiker.1.pod    |  138 +++++++++++++++++++++++++++++++++++++++++++++
 debian/hitchhiker.install  |    1 
 debian/hitchhiker.manpages |    1 
 debian/pod2man.mk          |   62 ++++++++++++++++++++
 debian/rules               |   40 +++++++++++++
 debian/watch               |    3 
 14 files changed, 428 insertions(+)

    
download this patch

Patch contents

--- hitchhiker-0.01~20091129+bzr41.orig/debian/control
+++ hitchhiker-0.01~20091129+bzr41/debian/control
@@ -0,0 +1,23 @@
+Source: hitchhiker
+Section: net
+Priority: optional
+Maintainer: Jari Aalto <jari.aalto@cante.net>
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.3
+Vcs-Browser: http://git.debian.org/?p=collab-maint/hitchhiker.git
+Vcs-Git: git://git.debian.org/git/collab-maint/hitchhiker.git
+Homepage: https://launchpad.net/hitchhiker
+
+Package: hitchhiker
+Architecture: all
+Depends: python (>= 2.4), ${misc:Depends}
+Description: access locations using Bazaar transports
+ A client to access bzr transports, namely the Bazaar version control
+ repositories. This utility can be used to log into the remote host
+ and manipulate Bazaar repository content like it were a FTP or SFTP
+ client. Commands include cp, mv, rmtree etc. Use Case: command 'bzr
+ upgrade <URL> <repository format options>' is run and after the
+ process is over the backup.bzr needs to be removed. With this tool
+ the task is easy.
+ .
+ An interactive mode and pure command line mode are provided.
--- hitchhiker-0.01~20091129+bzr41.orig/debian/hitchhiker.manpages
+++ hitchhiker-0.01~20091129+bzr41/debian/hitchhiker.manpages
@@ -0,0 +1 @@
+debian/*.1
--- hitchhiker-0.01~20091129+bzr41.orig/debian/pod2man.mk
+++ hitchhiker-0.01~20091129+bzr41/debian/pod2man.mk
@@ -0,0 +1,62 @@
+# pod2man.mk -- Makefile portion to convert *.pod files to manual pages
+#
+#   Copyright information
+#
+#	Copyright (C) 2008-2009 Jari Aalto
+#
+#   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. See the GNU
+#	General Public License for more details at
+#	Visit <http://www.gnu.org/copyleft/gpl.html>.
+#
+#   Description
+#
+# 	Convert *.pod files to manual pages. Write this to 'install'
+# 	target:
+#
+#       install: build $(MANPAGE)
+
+ifneq (,)
+    This makefile requires GNU Make.
+endif
+
+# This variable *must* be set when calling
+PACKAGE		?= package
+
+# Optional variables to set
+MANSECT		?= 1
+PODCENTER	?= $$(date "+%Y-%m-%d")
+
+# Directories
+MANSRC		=
+MANDEST		= $(MANSRC)
+
+MANPOD		= $(MANSRC)$(PACKAGE).$(MANSECT).pod
+MANPAGE		= $(MANDEST)$(PACKAGE).$(MANSECT)
+
+POD2MAN		= pod2man
+POD2MAN_FLAGS	= --utf8
+
+makeman: $(MANPAGE)
+
+$(MANPAGE): $(MANPOD)
+	# make target - create manual page from a *.pod page
+	podchecker $(MANPOD)
+	LC_ALL= LANG=C $(POD2MAN) $(POD2MAN_FLAGS) \
+		--center="$(PODCENTER)" \
+		--name="$(PACKAGE)" \
+		--section="$(MANSECT)" \
+		$(MANPOD) \
+	| sed 's,[Pp]erl v[0-9.]\+,$(PACKAGE),' \
+	  > $(MANPAGE) && \
+	rm -f pod*.tmp
+
+# End of of Makefile part
--- hitchhiker-0.01~20091129+bzr41.orig/debian/README.source
+++ hitchhiker-0.01~20091129+bzr41/debian/README.source
@@ -0,0 +1,9 @@
+hitchhiker for Debian
+---------------------
+
+See Debian Alioth Git directory for package maintenance:
+
+  apt-cache showsrc hitchhiker | grep -i Vcs
+  debcheckout hitchhiker
+
+ -- Jari Aalto <jari.aalto@cante.net>, Wed, 30 Sep 2009 23:00:36 +0300
--- hitchhiker-0.01~20091129+bzr41.orig/debian/hitchhiker.install
+++ hitchhiker-0.01~20091129+bzr41/debian/hitchhiker.install
@@ -0,0 +1 @@
+hitchhiker usr/bin
--- hitchhiker-0.01~20091129+bzr41.orig/debian/clean
+++ hitchhiker-0.01~20091129+bzr41/debian/clean
@@ -0,0 +1 @@
+debian/*.1
--- hitchhiker-0.01~20091129+bzr41.orig/debian/changelog
+++ hitchhiker-0.01~20091129+bzr41/debian/changelog
@@ -0,0 +1,5 @@
+hitchhiker (0.01~20091129+bzr41-1) unstable; urgency=low
+
+  * Initial release (Closes: # 549104)
+
+ -- Jari Aalto <jari.aalto@cante.net>  Sun, 29 Nov 2009 18:35:02 +0000
--- hitchhiker-0.01~20091129+bzr41.orig/debian/rules
+++ hitchhiker-0.01~20091129+bzr41/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+PACKAGE = hitchhiker
+
+include debian/debian-vars.mk
+
+man:
+	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
+
+install: man
+	# target: install
+	dh_testdir
+	dh_prep
+	dh_installdirs
+	dh_install
+
+binary: install
+	# target: binary (binary-indep)
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_strip
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+%:
+	dh  $@
+
+.PHONY: binary install
+
+# End of file
--- hitchhiker-0.01~20091129+bzr41.orig/debian/watch
+++ hitchhiker-0.01~20091129+bzr41/debian/watch
@@ -0,0 +1,3 @@
+# See uscan(1) for format
+version=3
+# Nothing yet, the project hasn't released tar files.
--- hitchhiker-0.01~20091129+bzr41.orig/debian/docs
+++ hitchhiker-0.01~20091129+bzr41/debian/docs
@@ -0,0 +1 @@
+README.txt
--- hitchhiker-0.01~20091129+bzr41.orig/debian/hitchhiker.1.pod
+++ hitchhiker-0.01~20091129+bzr41/debian/hitchhiker.1.pod
@@ -0,0 +1,138 @@
+#  Copyright and License
+#
+#      Copyright (C) 2004-2009 Jari Aalto
+#      Released under GNU GPL v2 or (at your option) later.
+#
+#  To learn what TOP LEVEL section to use in manual pages,
+#  see POSIX/Susv standard and "tility Description Defaults" at
+#  http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
+#
+#  This is manual page in Perl POD format. Read more at
+#  http://perldoc.perl.org/perlpod.html or run command:
+#
+#     perldoc perlpod | less
+#
+#  To check the syntax:
+#
+#     podchecker *.pod
+#
+#  Create manual page with command:
+#
+#    pod2man PAGE.N.pod > PAGE.N
+#
+#  A better command to make proper headings:
+#
+#    NAME="Foo Bar" PROGRAM="myprogram" ; \
+#    LC_ALL= LANG=C \
+#       pod2man \
+#        --utf8 \
+#        --center="$NAME" \
+#        --name="$PROGRAM" \
+#        --section="1" \
+#        $PROGRAM.pod |
+#    sed "s,[Pp]erl v[0-9.]\+,$PROGRAM,"
+
+=pod
+
+=head1 NAME
+
+hitchhiker -  Access locations using Bazaar transports
+
+=head1 SYNOPSIS
+
+    hitchhiker [URL] [COMMAND] [ARGS]
+
+=head1 OPTIONS
+
+None.
+
+=head1 DESCRIPTION
+
+A client to access bzr transports, namely the Bazaar version control
+repositories. This utility can be used to log into the remote host and
+manipulate Bazaar repositoy content like it were a FTP, SFTP client.
+Command include cp, mv, rmtree etc. Use Case: command 'bzr upgrade
+<URL> <repository format options>' is run and after the process is
+over the backup.bzr needs to be removed. With this tool the task is
+easy.
+
+If no COMMAND is supplied, interactive mode is launched. If no URL is
+supplied, in interactive mode, the "open" command should be used to
+connect to a location.
+
+=head1 EXAMPLES
+
+=head2 COMMAND LINE USE
+
+To run command, like B<help> non-interactively, use URL, e.g. current
+directory:
+
+   hitchhiker . help
+
+Without options, the command line client starts in interactive mode:
+
+    hitchhiker
+    (Cmd) <cursor here>
+
+Try command B<help> for list of possibilities
+
+    (Cmd) help
+    at
+    cd
+    connect-and-wait
+    edit
+    exit
+    get
+    help
+    info
+    ls
+    lsl
+    mirror
+    mkdir
+    open
+    put
+    rename
+    rm
+    rmtree
+
+Further help is provided for each command:
+
+    (Cmd) help open
+    Usage: open LOCATION
+    Open a new location.
+
+    The location may be any URL supported by Bazaar.
+    (Cmd) exit
+
+=head2 USE CASES
+
+Upgrade a remote Bazaar baranch at http://launchpad.net Bazaar and
+remove the backup
+
+       bzr upgrade lp:~user/+brach/name --2a
+       hitchhiker lp:~user/+brach/name rmtree backup.bzr
+
+=head1 ENVIRONMENT
+
+None.
+
+=head1 FILES
+
+None.
+
+=head1 SEE ALSO
+
+C<bzr(1)>
+C<sftp(1)>
+
+=head1 AUTHORS
+
+Program was written by Aaron Bentley <aaron.bentley@canonical.com>.
+
+This manual page was written by Jari Aalto <jari.aalto@cante.net>, for
+the Debian GNU system (but may be used by others). Updated by Jari
+Aalto <jari.aalto@cante.net>. Released under license GNU GPL v2 or (at
+your option) any later version. For more information about license, visit
+<http://www.gnu.org/copyleft/gpl.html>.
+
+=cut
--- hitchhiker-0.01~20091129+bzr41.orig/debian/copyright
+++ hitchhiker-0.01~20091129+bzr41/debian/copyright
@@ -0,0 +1,40 @@
+This work was packaged for Debian by:
+
+    Jari Aalto <jari.aalto@cante.net>
+    on 2009-09-30 21:03:45+03 Wed
+
+It was downloaded from:
+
+    https://launchpad.net/hitchhiker
+    repository: bzr clone lp:hitchhiker
+
+Upstream Author:
+
+    Aaron Bentley <aaron.bentley@canonical.com>
+
+Copyright:
+
+    Copyright (C) 2008-2009 Aaron Bentley
+
+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 3 of the License, or
+    (at your option) any later version.
+
+    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 General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+The Debian packaging is licensed under the GPL version 2 or, (at your
+option) any later version, see below, and is:
+
+    Copyright (C) 2009 Jari Aalto <jari.aalto@cante.net>
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in "/usr/share/common-licenses/GPL-2".
--- hitchhiker-0.01~20091129+bzr41.orig/debian/debian-vars.mk
+++ hitchhiker-0.01~20091129+bzr41/debian/debian-vars.mk
@@ -0,0 +1,103 @@
+# debian-vars.mk -- Common variables
+#
+#   Copyright
+#
+#	Copyright (C) 2005-2009 Jari Aalto <jari.aalto@cante.net>
+#
+#   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. See the GNU
+#	General Public License for more details at
+#	<http://www.gnu.org/copyleft/gpl.html>.
+#
+#   Description
+#
+#	This is GNU makefile part, that defines common variables and
+#	macros to be used from debian/rules. To install, add this:
+#
+#	    PACKAGE = foo
+#	    include debian/debian-vars.mk
+
+ifneq (,)
+    This makefile requires GNU Make.
+endif
+
+PACKAGE		?= foo
+TOPDIR		:= $(shell pwd)
+PKGDIR		= $(CURDIR)/debian/$(PACKAGE)
+
+SHAREROOTDIR	= $(PKGDIR)/usr/share
+SHAREDIR	= $(SHAREROOTDIR)/$(PACKAGE)
+DOCROOTDIR	= $(SHAREROOTDIR)/doc
+PKGDOCDIR	= $(SHAREROOTDIR)/doc/$(PACKAGE)
+SITELISPDIR	= $(SHAREROOTDIR)/emacs/site-lisp
+PKGLISPDIR	= $(SITELISPDIR)/$(PACKAGE)
+DESKTOPDIR	= $(SHAREROOTDIR)/applications
+LOCALEDIR	= $(SHAREROOTDIR)/locale
+INFODIR		= $(SHAREROOTDIR)/info
+PIXDIR		= $(SHAREROOTDIR)/pixmaps
+
+MANROOTDIR	= $(SHAREROOTDIR)/man
+MAN1DIR		= $(MANROOTDIR)/man1
+MAN5DIR		= $(MANROOTDIR)/man5
+MAN8DIR		= $(MANROOTDIR)/man8
+
+LIBROOTDIR	= $(PKGDIR)/usr/lib
+LIBDIR		= $(LIBROOTDIR)/$(PACKAGE)
+LIBPERLDIR	= $(LIBROOTDIR)/perl
+
+BINDIR		= $(PKGDIR)/usr/bin
+SBINDIR		= $(PKGDIR)/usr/sbin
+
+INSTALL		?= /usr/bin/install
+INSTALL_DATA	= $(INSTALL) -p -m 644
+INSTALL_SCRIPT	= $(INSTALL) -p -m 755
+INSTALL_BIN	= $(INSTALL) -p -m 755
+INSTALL_DIR	= $(INSTALL) -m 755 -d
+
+#######################################################################
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+#
+# [Add this]
+# config.status: configure
+#	...
+#	./configure --host=$(DEB_HOST_GNU_TYPE) \
+#		    --build=$(DEB_BUILD_GNU_TYPE) \
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#######################################################################
+# [Add this to use multiple CPU cores]
+#	build-stamp:
+#		$(MAKE) $(MAKE_FLAGS)
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+    INSTALL_BIN += -s
+endif
+
+CFLAGS		= -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+
+MAKE_FLAGS	=
+CPU_COUNT	:= $(shell fgrep -c processor /proc/cpuinfo 2> /dev/null | \
+		     egrep "^[2-9]$$|^[0-9][0-9]$$")
+
+ifneq ($(CPU_COUNT),)
+    MAKE_FLAGS	+= -j$(CPU_COUNT)
+endif
+
+# End of Makefile part
--- hitchhiker-0.01~20091129+bzr41.orig/debian/compat
+++ hitchhiker-0.01~20091129+bzr41/debian/compat
@@ -0,0 +1 @@
+7