--- mtd-utils-20080508.orig/debian/changelog +++ mtd-utils-20080508/debian/changelog @@ -0,0 +1,139 @@ +mtd-utils (20080508-1) unstable; urgency=low + + [ Riku Voipio ] + * New upstream snapshot + * remove mtd-tools conflict to allow proper migration + + [ Artem Bityutskiy ] + * ubi-utils: fix long options + * ubi-utils: make sure only one volume is auto-resize + * ubi-utils: improve input parameters checks + * mtd-utils: fix input parameter checks + * ubi-utils: fix percent output in ubiformat + * ubi-utils: fix the output print + * ubi-utils: improve input parameters checks + * ubi-utils: add ubiformat + * ubi-utils: add libscan + * ubi-utils: add libmtd + * ubi-utils: various clean-ups and preparations + * ubi-utils: use common.h in libubi + * Teach libubi_open not to prirnt error message + * ubinize: correctly calculate VID offset when min I/O unit is 1 + * ubi-utils: fix a typo + + [ Siarhei Siamashka ] + * mkfs.jffs2.c: fix issue with crashing when using lzo compression + + -- Riku Voipio Thu, 08 May 2008 22:05:36 +0300 + +mtd-utils (20080411-1) unstable; urgency=low + + [ Artem Bityutskiy ] + * ubi-utils: fix printing typos + + [ Hamish Moffatt ] + * ubi-utils: don't use argp.h + + [ Otavio Salvador ] + * do not ignore make clean failures during build + + [ Riku Voipio ] + * Use LSB locations for manpages + * compr_lzo.c: allocate enough memory for lzo compressor. + * Actually include some information in the copyright file + + [ Zoltan Sogor ] + * ubi-utils: fix wrong variable printout + + -- Riku Voipio Fri, 11 Apr 2008 13:17:14 +0300 + +mtd-utils (20080224-1) unstable; urgency=low + + [ Otavio Salvador ] + * import debian/ from 20061007-1 package + * change source and binary packages to mtd-utils, following upstream + * add myself as uploader + * add liblzo2-dev as build-dependency + * unubi.c: fix compilation with gcc 4.2.3 + * unubi_analyze.c: fix compilation warnings with gcc 4.2.3 + * eb_chain.c: fix compilation warnings with gcc 4.2.3 + * properly install files on the package + * ubi-utils: fix compilation warnings in unubi.c when using gcc 4.2.3 + * add a transitional package to easy upgrades + * update package description since it has been renamed + + [ Riku Voipio ] + * Add homepage: and Vcs: fields + + [ David Woodhouse ] + * Fix recv_image compilation with new glibc + + -- Otavio Salvador Wed, 05 Mar 2008 17:35:13 -0300 + +mtd (20061007-1) unstable; urgency=low + + * New upstream snapshot, Closes: #391095 + * flash-eraseall now works: Closes: #386753 + * update to latest debhelper and policy + + -- Riku Voipio Sat, 7 Oct 2006 18:43:49 +0300 + +mtd (20050122-2) unstable; urgency=low + + * Fix the version, darn + * Get rid of historic conflict, closes: #160614 + + -- Riku Voipio Sun, 23 Jan 2005 12:56:16 +0000 + +mtd (20050122) unstable; urgency=low + + * New upstream snapshot + * Upstream contains big-endian fixes, Closes: #291182 + * Apply gcc-4 fix from Andreas Jochens, Closes: #287678 + + -- Riku Voipio Sun, 23 Jan 2005 12:25:28 +0000 + +mtd (20041007-1) unstable; urgency=low + + * New upstream version, closes: #239954 + * New maintainer + * Images created with mkfs.jffs2 actually work, closes: #260029 + * Hardlink work nowadays too, closes: #156311 + + -- Riku Voipio Fri, 8 Oct 2004 11:16:21 +0000 + +mtd (20011217-4) unstable; urgency=low + + * Add conflict with fsh, since both contain /usr/bin/fcp. (Closes: #160614) + + -- David Schleef Thu, 12 Sep 2002 01:18:43 -0700 + +mtd (20011217-3) unstable; urgency=low + + * Few more fixes for usage of asm headers, from Anders Boström. + Should build on ARM now. (Closes #94591) + * Added additional documentation files. + * Added more entries to debian/undocumented. + + -- David Schleef Mon, 14 Jan 2002 12:52:36 -0800 + +mtd (20011217-2) unstable; urgency=low + + * Fix usage of asm headers (Closes #94591) + + -- David Schleef Fri, 11 Jan 2002 16:14:21 -0800 + +mtd (20011217-1) unstable; urgency=low + + * New snapshot. + * Update standards-version. + * Add zlib1g-dev to build-deps. + + -- David Schleef Mon, 17 Dec 2001 18:45:48 -0800 + +mtd (20010425-1) unstable; urgency=low + + * Initial Release. Closes BUG#82115 + + -- David Schleef Wed, 25 Apr 2001 06:10:39 -0700 + --- mtd-utils-20080508.orig/debian/compat +++ mtd-utils-20080508/debian/compat @@ -0,0 +1 @@ +5 --- mtd-utils-20080508.orig/debian/control +++ mtd-utils-20080508/debian/control @@ -0,0 +1,28 @@ +Source: mtd-utils +Section: utils +Priority: extra +Maintainer: Riku Voipio +Uploaders: Otavio Salvador +Build-Depends: debhelper (>= 5.0), zlib1g-dev, libacl1-dev, liblzo2-dev +Standards-Version: 3.7.3 +Homepage: http://www.linux-mtd.infradead.org/ +Vcs-Git: git://git.debian.org/git/collab-maint/mtd-utils.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/mtd-utils.git + +Package: mtd-utils +Architecture: any +Depends: ${shlibs:Depends} +Provides: mtd-tools +Replaces: mtd-tools +Description: Memory Technology Device Utilities + Utilities for manipulating memory technology devices, such as flash + memory, Disk-On-Chip, or ROM. Includes mkfs.jffs2, a tool to create + JFFS2 (journaling flash file system) filesystems. + +Package: mtd-tools +Architecture: all +Depends: mtd-utils +Description: dummy package for transition purposes + This package is a dummy package for transition purposes, and only + exists to depend on mtd-utils. You may safely remove it if it will + not remove other packages. --- mtd-utils-20080508.orig/debian/copyright +++ mtd-utils-20080508/debian/copyright @@ -0,0 +1,152 @@ +This package was debianized by David Schleef on +Sat, 13 Jan 2001 10:48:08 -0800. + +It was downloaded from: git://git.infradead.org/mtd-utils.git +Main web page for the project: http://www.linux-mtd.infradead.org/ + +Upstream Author: David Woodhouse and others + +Copyright: + +mtd-tools is copyrighted by following entities: + + Copyright (C) 2007-2008 Nokia Corporation. All rights reserved. + 2006 KaiGai Kohei + 2005 Daniel Measurement and Control, Inc + Copyright (C) 2005 Sean Young + Copyright (C) 2004 Ferenc Havasi , + 2004 Patrik Kluba , + 2004 Zoltan Sogor , + 2004 University of Szeged, Hungary + Copyright (C) 2003 Thomas Gleixner (tglx@linutronix.de) + Copyright (C) 2002 Axis Communications AB + Copyright (C) 2001-2003 Red Hat, Inc. + Copyright (C) 2001, 2002 Erik Andersen + Copyright (C) 2001 Jari Kirma + 2001 David A. Schleef + Copyright (C) 2000 Arcom Control System Ltd + 2000 David Woodhouse (dwmw2@infradead.org) + 2000 Steven J. Hill (sjhill@realitydiluted.com) + Copyright (C) 1999 David A. Hinds. All Rights Reserved. + (C) 1999 Andrea Arcangeli + +most of mtd-tools is licensed under the terms of GNU GPL v2 ; +the licence header is: + + 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 St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + + flashcp.c, mtd_debug.c: + + * Copyright (c) 2d3D, Inc. + * Written by Abraham vd Merwe + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the author nor the names of other contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + fec.c is: + + (C) 1997-98 Luigi Rizzo (luigi@iet.unipi.it) + + * Portions derived from code by Phil Karn (karn@ka9q.ampr.org), + * Robert Morelos-Zaragoza (robert@spectra.eng.hawaii.edu) and Hari + * Thirumoorthy (harit@spectra.eng.hawaii.edu), Aug 1995 + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + * OF SUCH DAMAGE. + + crc32.c is: + + COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or + code or tables extracted from it, as desired without restriction. + + ubi-tools is GPL-2: + + Copyright (c) International Business Machines Corp., 2006-2008 + 2007 Frank Haverkamp + Copyright (C) 2007, 2008 Nokia Corporation + Copyright (c) Artem Bityutskiy, 2007 + Copyright (C) 2000-2004 Steven J. Hill (sjhill@realitydiluted.com) + Toshiba America Electronics Components, Inc + + + libiniparser is: + +Copyright (c) 2000-2007 by Nicolas Devillard. +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + + --- mtd-utils-20080508.orig/debian/mtd-utils.dirs +++ mtd-utils-20080508/debian/mtd-utils.dirs @@ -0,0 +1,2 @@ +usr/sbin +usr/share/man/man1 --- mtd-utils-20080508.orig/debian/rules +++ mtd-utils-20080508/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. + +build: build-stamp +build-stamp: + dh_testdir + + # skip building here since make install will make anyway +# $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ -f Makefile ] && $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install DESTDIR=`pwd`/debian/mtd-utils + #for each in $(shell file util/*|grep ELF.*executable|sed 's/:.*//'); do \ + # install $$each debian/tmp/usr/bin/; \ + #done + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installman + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here. + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install