--- abootimg-0.6.orig/debian/control +++ abootimg-0.6/debian/control @@ -0,0 +1,20 @@ +Source: abootimg +Section: admin +Priority: extra +Maintainer: Heiko Stuebner +Build-Depends: debhelper (>= 7), cdbs (>= 0.4.49), libblkid-dev +Standards-Version: 3.9.2 +Homepage: http://gitorious.org/ac100/abootimg + +Package: abootimg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Tool to read/write/update android boot images + Android devices use a special partition format to boot any + operating system on the devices. These boot-images contain + a kernel image, a ramdisk, optionally a 2nd stage boot loader + and the commandline passed to the kernel when booting. + The original mkbootimg from Android can only create these images + where abootimg can also extract and modify them. + Handling android boot images is necessary when bringing other + operating systems to android devices. \ No newline at end of file --- abootimg-0.6.orig/debian/rules +++ abootimg-0.6/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk + +DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') +VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') + +configure/abootimg:: + echo '#define VERSION_STR "$(VERSION)"' > version.h + +binary-install/abootimg:: + dh_installman $(CURDIR)/debian/abootimg.1 + install $(CURDIR)/abootimg $(CURDIR)/debian/abootimg/usr/bin + install -T $(CURDIR)/pack-initrd $(CURDIR)/debian/abootimg/usr/bin/abootimg-pack-initrd + install -T $(CURDIR)/unpack-initrd $(CURDIR)/debian/abootimg/usr/bin/abootimg-unpack-initrd + +clean:: + rm -rf files/agtl.egg-info + rm -rf tmp --- abootimg-0.6.orig/debian/dirs +++ abootimg-0.6/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/abootimg --- abootimg-0.6.orig/debian/changelog +++ abootimg-0.6/debian/changelog @@ -0,0 +1,27 @@ +abootimg (0.6-1) unstable; urgency=low + + * New upstream release + + -- Heiko Stuebner Thu, 14 Jul 2011 20:54:33 +0200 + +abootimg (0.5+git20110704-1) unstable; urgency=low + + * New upstream snapshot + * Fix build on GNU-Hurd + * Bump standards to 3.9.2 + + -- Heiko Stuebner Mon, 04 Jul 2011 18:34:17 +0200 + +abootimg (0.5+git20110609-1) unstable; urgency=low + + * New upstream release (Closes: #631719) + * Relax packaging license (Closes: #631720) + * Install helper scripts for initramfs handling + + -- Heiko Stuebner Sat, 02 Jul 2011 12:46:35 +0200 + +abootimg (0.3-1) unstable; urgency=low + + * Initial release (Closes: #612096) + + -- Heiko Stuebner Sat, 12 Feb 2011 12:04:10 +0100 --- abootimg-0.6.orig/debian/docs +++ abootimg-0.6/debian/docs @@ -0,0 +1 @@ +README --- abootimg-0.6.orig/debian/gbp.conf +++ abootimg-0.6/debian/gbp.conf @@ -0,0 +1,16 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +# the default build command: +#builder = debuild -i -I +# the default clean command: +#cleaner = debuild clean +# the default branch for upstream sources: +#upstream-branch = upstream +# the default branch for the debian patch: +#debian-branch = master +# the default tag formats used: +#upstream-tag = upstream/%(version)s +#debian-tag = debian/%(version)s +# use pristine-tar: +pristine-tar = True --- abootimg-0.6.orig/debian/abootimg.1 +++ abootimg-0.6/debian/abootimg.1 @@ -0,0 +1,69 @@ +.TH ABOOTIMG 1 +.SH NAME +abootimg \- manipulate Android Boot Images. +.SH DESCRIPTION +Tool to read/write/update android boot images + +.SH SYNOPSIS +.B abootimg + \-i +.br +.B abootimg + \-x [ [ [ []]]] +.br +.B abootimg + \-u [\-c "param=value"] [\-f ] [\-k ] [\-r ] [\-s ] +.br +.B abootimg + \-\-create [\-c "param=value"] [\-f ] \-k \-r [\-s ] + +.SH OPTIONS +.TP +.B \-i +print boot imgage informations +.TP +.B \-x +Extract a boot image +.TP +.B \-u +Update a boot image +.TP +.B \-\-create +Create a boot image + +.SS "Options for extracting boot images" +.TP +.B bootimg +Existing bootimage to use +.TP +.B bootimg.cfg +Name for the bootimg.cfg file, defaults to bootimg.cfg +.TP +.B kernel +Name for the kernel image, defaults to zImage +.TP +.B ramdisk +Name for the ramdisk image, defaults to initrd.img +.TP +.B secondstage +Name for the second-stage image, defaults to stage2.img + +.SS "Options for updating and creating boot images" +.TP +.B bootimg +Existing bootimage to use +.TP +.B \-c "param=value" +Existing bootimage to use +.TP +.B \-f +Update bootimg.cfg with the named file +.TP +.B \-k +Update kernel with the named file +.TP +.B \-r +Update ramdisk with the named file +.TP +.B \-s +Update secondstage image with the named file --- abootimg-0.6.orig/debian/copyright +++ abootimg-0.6/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Heiko Stuebner on +Sat, 12 Feb 2011 10:44:12 +0100. + +It was downloaded from http://gitorious.org/ac100/abootimg + +Upstream Author: + + Gilles Grandou + +Copyright: + + Copyright (c) 2010 Gilles Grandou + +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. + + 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 Library + General Public License can be found in `/usr/share/common-licenses/GPL-2'. + + except bootimg.h + + Copyright 2007, The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + On Debian systems, the complete text of the Apache License Version 2.0 + can be found in `/usr/share/common-licenses/Apache-2.0'. + + +The Debian packaging is copyright 2011, Heiko Stuebner and +is licensed under the GPL version 2, or (at your option) any later version, +see `/usr/share/common-licenses/GPL-2'. --- abootimg-0.6.orig/debian/compat +++ abootimg-0.6/debian/compat @@ -0,0 +1 @@ +7