diffstat of debian/ for dosfstools_2.8-1 dosfstools_2.8-1osso4 changelog | 30 +++++++++++++++++++++++++ patches/progress-indication.diff | 46 +++++++++++++++++++++++++++++++++++++++ rules | 6 ++--- 3 files changed, 79 insertions(+), 3 deletions(-) diff -Nru dosfstools-2.8/debian/changelog dosfstools-2.8/debian/changelog --- dosfstools-2.8/debian/changelog 2019-04-09 00:36:22.000000000 +0000 +++ dosfstools-2.8/debian/changelog 2006-06-05 07:49:45.000000000 +0000 @@ -1,3 +1,33 @@ +dosfstools (2.8-1osso4) unstable; urgency=low + + * Fix for llseek() for bug N#31636. + + -- Kimmo Hämäläinen Fri, 02 Jun 2006 16:10:56 +0300 + +dosfstools (2.8-1osso3) unstable; urgency=low + + * Packaging fix for armel architecture (new Scratchbox) (N#29812). + + -- Kimmo Hämäläinen Wed, 17 May 2006 15:00:28 +0300 + +dosfstools (2.8-1osso2) unstable; urgency=low + + * Fixed compilation problem because of kernel header change (N#28584). + + -- Kimmo Hämäläinen Mon, 08 May 2006 18:27:54 +0300 + +dosfstools (2.8-1osso1) unstable; urgency=low + + * Added some stderr output to mkdosfs for progress indication. + + -- Kimmo Hämäläinen Mon, 11 Apr 2005 13:14:28 +0300 + +dosfstools (2.8-1osso) unstable; urgency=low + + * Stripped away dosfsck from package (now it provides only mkdosfs). + + -- Kimmo Hämäläinen Fri, 31 Dec 2004 09:43:59 +0200 + dosfstools (2.8-1) unstable; urgency=low * New upstream version fixing an endless loop. diff -Nru dosfstools-2.8/debian/patches/progress-indication.diff dosfstools-2.8/debian/patches/progress-indication.diff --- dosfstools-2.8/debian/patches/progress-indication.diff 1970-01-01 00:00:00.000000000 +0000 +++ dosfstools-2.8/debian/patches/progress-indication.diff 2006-06-05 07:49:45.000000000 +0000 @@ -0,0 +1,46 @@ +diff -ur ../dosfstools/mkdosfs/mkdosfs.c mkdosfs/mkdosfs.c +--- ../dosfstools/mkdosfs/mkdosfs.c 2005-04-11 12:51:07.826551072 +0300 ++++ mkdosfs/mkdosfs.c 2005-04-11 13:50:40.510420568 +0300 +@@ -1314,12 +1314,22 @@ + CF_LE_L(bs.fat32.fat32_length) : CF_LE_W(bs.fat_length); + + seekto( 0, "start of device" ); ++ { ++ /* tell the number of printed hash marks */ ++ char buf[20]; ++ snprintf(buf, 19, "%d\n", reserved_sectors + nr_fats + 3); ++ buf[19] = '\0'; ++ write(STDERR_FILENO, buf, strlen(buf)); ++ } + /* clear all reserved sectors */ +- for( x = 0; x < reserved_sectors; ++x ) ++ for( x = 0; x < reserved_sectors; ++x ) { + writebuf( blank_sector, sector_size, "reserved sector" ); ++ write(STDERR_FILENO, "#", 1); ++ } + /* seek back to sector 0 and write the boot sector */ + seekto( 0, "boot sector" ); + writebuf( (char *) &bs, sizeof (struct msdos_boot_sector), "boot sector" ); ++ write(STDERR_FILENO, "#", 1); + /* on FAT32, write the info sector and backup boot sector */ + if (size_fat == 32) + { +@@ -1332,13 +1342,17 @@ + "backup boot sector" ); + } + } ++ write(STDERR_FILENO, "#", 1); + /* seek to start of FATS and write them all */ + seekto( reserved_sectors*sector_size, "first FAT" ); +- for (x = 1; x <= nr_fats; x++) ++ for (x = 1; x <= nr_fats; x++) { + writebuf( fat, fat_length * sector_size, "FAT" ); ++ write(STDERR_FILENO, "#", 1); ++ } + /* Write the root directory directly after the last FAT. This is the root + * dir area on FAT12/16, and the first cluster on FAT32. */ + writebuf( (char *) root_dir, size_root_dir, "root directory" ); ++ write(STDERR_FILENO, "#", 1); + + if (info_sector) free( info_sector ); + free (root_dir); /* Free up the root directory space from setup_tables */ diff -Nru dosfstools-2.8/debian/rules dosfstools-2.8/debian/rules --- dosfstools-2.8/debian/rules 2019-04-09 00:36:22.000000000 +0000 +++ dosfstools-2.8/debian/rules 2006-06-05 07:49:45.000000000 +0000 @@ -19,15 +19,16 @@ docdir=$(tmpdir)/usr/share/doc/dosfstools mandir=$(tmpdir)/usr/share/man oldmandir=$(tmpdir)/usr/man -ARCH = $(shell dpkg --print-gnu-build-architecture) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -ifeq ($(ARCH),alpha) +ifeq ($(DEB_HOST_ARCH),alpha) OPTFLAGS="-fomit-frame-pointer -fno-strict-aliasing" else OPTFLAGS="-O2 -fomit-frame-pointer" endif build: + patch -p0 < debian/patches/progress-indication.diff make DEBUGFLAGS=-g OPTFLAGS=$(OPTFLAGS) touch build @@ -55,7 +56,6 @@ dh_installdocs README.Atari TODO # dh_installdocs can't install two "README" files (same name) install -m 644 mkdosfs/README $(docdir)/README.mkdosfs - install -m 644 dosfsck/README $(docdir)/README.dosfsck dh_installchangelogs CHANGES dh_strip dh_compress