--- gnu-fdisk-1.0.orig/autotools/config.guess
+++ gnu-fdisk-1.0/autotools/config.guess
@@ -1,9 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2005-12-13'
+timestamp='2006-07-02'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -106,7 +107,7 @@
 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
 : ${TMPDIR=/tmp} ;
- { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
  { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
  { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
@@ -206,8 +207,11 @@
     *:ekkoBSD:*:*)
 	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
 	exit ;;
+    *:SolidBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+	exit ;;
     macppc:MirBSD:*:*)
-	echo powerppc-unknown-mirbsd${UNAME_RELEASE}
+	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
 	exit ;;
     *:MirBSD:*:*)
 	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
@@ -764,7 +768,14 @@
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit ;;
     *:FreeBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	case ${UNAME_MACHINE} in
+	    pc98)
+		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    amd64)
+		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    *)
+		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	esac
 	exit ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
@@ -779,8 +790,11 @@
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
 	exit ;;
-    x86:Interix*:[345]*)
-	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
+    x86:Interix*:[3456]*)
+	echo i586-pc-interix${UNAME_RELEASE}
+	exit ;;
+    EM64T:Interix*:[3456]*)
+	echo x86_64-unknown-interix${UNAME_RELEASE}
 	exit ;;
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
 	echo i${UNAME_MACHINE}-pc-mks
@@ -817,6 +831,9 @@
     arm*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
+    avr32*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     cris:Linux:*:*)
 	echo cris-axis-linux-gnu
 	exit ;;
@@ -851,7 +868,11 @@
 	#endif
 	#endif
 EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     mips64:Linux:*:*)
@@ -870,7 +891,11 @@
 	#endif
 	#endif
 EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^CPU/{
+		s: ::g
+		p
+	    }'`"
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     or32:Linux:*:*)
@@ -967,7 +992,7 @@
 	LIBC=gnulibc1
 	# endif
 	#else
-	#if defined(__INTEL_COMPILER) || defined(__PGI)
+	#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
 	LIBC=gnu
 	#else
 	LIBC=gnuaout
@@ -977,7 +1002,11 @@
 	LIBC=dietlibc
 	#endif
 EOF
-	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`"
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
+	    /^LIBC/{
+		s: ::g
+		p
+	    }'`"
 	test x"${LIBC}" != x && {
 		echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
 		exit
--- gnu-fdisk-1.0.orig/autotools/config.sub
+++ gnu-fdisk-1.0/autotools/config.sub
@@ -1,9 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+#   Inc.
 
-timestamp='2005-12-11'
+timestamp='2006-07-02'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -240,7 +241,7 @@
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 	| am33_2.0 \
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 	| bfin \
 	| c4x | clipper \
 	| d10v | d30v | dlx | dsp16xx \
@@ -248,7 +249,8 @@
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
-	| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
+	| m32c | m32r | m32rle | m68000 | m68k | m88k \
+	| maxq | mb | microblaze | mcore \
 	| mips | mipsbe | mipseb | mipsel | mipsle \
 	| mips16 \
 	| mips64 | mips64el \
@@ -268,16 +270,17 @@
 	| mn10200 | mn10300 \
 	| mt \
 	| msp430 \
+	| nios | nios2 \
 	| ns16k | ns32k \
 	| or32 \
 	| pdp10 | pdp11 | pj | pjl \
 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
 	| pyramid \
-	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
+	| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
-	| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
-	| sparcv8 | sparcv9 | sparcv9b \
-	| strongarm \
+	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+	| spu | strongarm \
 	| tahoe | thumb | tic4x | tic80 | tron \
 	| v850 | v850e \
 	| we32k \
@@ -285,9 +288,6 @@
 	| z8k)
 		basic_machine=$basic_machine-unknown
 		;;
-	m32c)
-		basic_machine=$basic_machine-unknown
-		;;
 	m6811 | m68hc11 | m6812 | m68hc12)
 		# Motorola 68HC11/12.
 		basic_machine=$basic_machine-unknown
@@ -317,7 +317,7 @@
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
-	| avr-* \
+	| avr-* | avr32-* \
 	| bfin-* | bs2000-* \
 	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
 	| clipper-* | craynv-* | cydra-* \
@@ -328,7 +328,7 @@
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
 	| ip2k-* | iq2000-* \
-	| m32r-* | m32rle-* \
+	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
 	| m88110-* | m88k-* | maxq-* | mcore-* \
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
@@ -350,17 +350,18 @@
 	| mmix-* \
 	| mt-* \
 	| msp430-* \
+	| nios-* | nios2-* \
 	| none-* | np1-* | ns16k-* | ns32k-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
 	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
 	| pyramid-* \
 	| romp-* | rs6000-* \
-	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
+	| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-	| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
+	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 	| sparclite-* \
-	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
 	| tahoe-* | thumb-* \
 	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
 	| tron-* \
@@ -371,8 +372,6 @@
 	| ymp-* \
 	| z8k-*)
 		;;
-	m32c-*)
-		;;
 	# Recognize the various machine names and aliases which stand
 	# for a CPU type and a company and sometimes even an OS.
 	386bsd)
@@ -818,6 +817,12 @@
 	pc532 | pc532-*)
 		basic_machine=ns32k-pc532
 		;;
+	pc98)
+		basic_machine=i386-pc
+		;;
+	pc98-*)
+		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pentium | p5 | k5 | k6 | nexgen | viac3)
 		basic_machine=i586-pc
 		;;
@@ -1120,7 +1125,7 @@
 	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
 		basic_machine=sh-unknown
 		;;
-	sparc | sparcv8 | sparcv9 | sparcv9b)
+	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 		basic_machine=sparc-sun
 		;;
 	cydra)
@@ -1193,7 +1198,8 @@
 	      | -aos* \
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+	      | -openbsd* | -solidbsd* \
 	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
 	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
@@ -1208,7 +1214,7 @@
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
 	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-	      | -skyos* | -haiku* | -rdos*)
+	      | -skyos* | -haiku* | -rdos* | -toppers*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1360,6 +1366,9 @@
 # system, and we'll never get to this point.
 
 case $basic_machine in
+        spu-*)
+		os=-elf
+		;;
 	*-acorn)
 		os=-riscix1.2
 		;;
@@ -1369,9 +1378,9 @@
 	arm*-semi)
 		os=-aout
 		;;
-    c4x-* | tic4x-*)
-        os=-coff
-        ;;
+        c4x-* | tic4x-*)
+        	os=-coff
+		;;
 	# This must come before the *-dec entry.
 	pdp10-*)
 		os=-tops20
--- gnu-fdisk-1.0.orig/debian/changelog
+++ gnu-fdisk-1.0/debian/changelog
@@ -0,0 +1,54 @@
+gnu-fdisk (1.0-2~bpo40+1) etch-backports; urgency=low
+
+  * etch backport.
+
+ -- Robert Millan <rmh@aybabtu.com>  Sun, 29 Jun 2008 15:52:53 +0200
+
+gnu-fdisk (1.0-2) unstable; urgency=low
+
+  * Set myself in the Maintainer field. Thanks to Julien for his work.
+  * Bump Standards-Version to 3.7.3.
+  * Remove dpatch from the Build-Depends field.
+  * Remove dpatch stuff from debian/rules.
+  * Remove superfluous debian/dirs.
+  * Fix "Linux" spelling in short and long descriptions.
+  * Fix manpages doc/cfdisk.8 and doc/fdisk.8 whatis entries.
+  * Rework debian/copyright.
+
+ -- AurÃ©lien GÃ‰RÃ”ME <ag@debian.org>  Fri, 06 Jun 2008 02:33:30 +0200
+
+gnu-fdisk (1.0-1) unstable; urgency=low
+
+  * New Upstream Version
+  * Update debian/copyright
+  * Remove udebs since they are not approved by the d-i team
+    (Closes: #430023).
+  * Fix dangling symlinks (Closes: #430072).
+
+ -- Julien Louis <ptitlouis@sysif.net>  Sat, 04 Aug 2007 09:58:20 +0200
+
+gnu-fdisk (0.9.4-2) unstable; urgency=low
+
+  * Fix dangling symlinks (Closes: #430072).
+  * Fix typo in long description (Closes: #430073).
+  * Build udeb for gnu-fdisk and gnu-cfdisk (Closes: #430023).
+  * Build with --with-gnu-ext (Closes: #430025).
+
+ -- Julien Louis <ptitlouis@sysif.net>  Fri, 22 Jun 2007 21:28:45 +0200
+
+gnu-fdisk (0.9.4-1) unstable; urgency=low
+
+  * New Upstream Version.
+  * First upload into unstable.
+  * Build-Depends against libparted1.7-dev.
+  * Drop 01_fix_cfdisk_delete_key, 10_fix_symlink_location,
+    11_autotools_update, 20_gettext_update patches applied upstream.
+  * Install binaries in /sbin instead of /usr/sbin (Closes: #421962).
+
+ -- Julien Louis <ptitlouis@sysif.net>  Mon, 28 May 2007 23:46:46 +0200
+
+gnu-fdisk (0.9.1-1) experimental; urgency=low
+
+  * Initial release (Closes: #403506)
+
+ -- Julien Louis <ptitlouis@sysif.net>  Sat, 17 Mar 2007 12:57:08 +0100
--- gnu-fdisk-1.0.orig/debian/postrm
+++ gnu-fdisk-1.0/debian/postrm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+remove_divert() {
+  if [ ! -z "$(dpkg-divert --list $1)" ]; then
+    dpkg-divert --remove --package gnu-fdisk --rename \
+      --divert $1.distrib $1
+  fi
+}
+
+if [ "$1" = "remove" ]; then
+  remove_divert /sbin/cfdisk
+  remove_divert /sbin/fdisk
+  remove_divert /usr/share/man/man8/cfdisk.8.gz
+  remove_divert /usr/share/man/man8/fdisk.8.gz
+fi
+
+#DEBHELPER#
--- gnu-fdisk-1.0.orig/debian/control
+++ gnu-fdisk-1.0/debian/control
@@ -0,0 +1,20 @@
+Source: gnu-fdisk
+Section: utils
+Priority: extra
+Maintainer: AurÃ©lien GÃ‰RÃ”ME <ag@debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, libncurses5-dev, uuid-dev, libparted1.7-dev, check (>= 0.8.2)
+Standards-Version: 3.7.3
+
+Package: gnu-fdisk
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Linux fdisk replacement based on libparted
+ GNU fdisk is a replacement to the old Linux fdisk. It provides the same
+ features as the original fdisk provides plus some interesting ones like:
+  * partition resizing
+  * creating filesystem on newly created partitions
+  * partition integrity checking
+  * copying/moving partition
+ .
+ GNU fdisk also intend to be a valid replacement for mac-fdisk and FreeBSD
+ fdisk.
--- gnu-fdisk-1.0.orig/debian/links
+++ gnu-fdisk-1.0/debian/links
@@ -0,0 +1,4 @@
+sbin/fdisk sbin/lfdisk
+sbin/fdisk sbin/gfdisk
+usr/share/man/man8/fdisk.8.gz usr/share/man/man8/lfdisk.8.gz
+usr/share/man/man8/fdisk.8.gz usr/share/man/man8/gfdisk.8.gz
--- gnu-fdisk-1.0.orig/debian/watch
+++ gnu-fdisk-1.0/debian/watch
@@ -0,0 +1,10 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+ftp://ftp.gnu.org/gnu/fdisk/fdisk-(.*)\.tar\.gz
+
--- gnu-fdisk-1.0.orig/debian/compat
+++ gnu-fdisk-1.0/debian/compat
@@ -0,0 +1 @@
+5
--- gnu-fdisk-1.0.orig/debian/rules
+++ gnu-fdisk-1.0/debian/rules
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+CONFIGURE_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --exec-prefix=/ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info LDFLAGS="-Wl,-z,defs"
+
+config.status:
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure $(CONFIGURE_FLAGS) --with-gnu-ext CFLAGS="$(CFLAGS)"
+
+build: build-stamp
+
+build-stamp: config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	touch $@
+
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub autotools/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess autotools/config.guess
+endif
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/fdisk.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/gnu-fdisk install
+
+
+# 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_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- gnu-fdisk-1.0.orig/debian/preinst
+++ gnu-fdisk-1.0/debian/preinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+check_divert() {
+	if [ -z "$(dpkg-divert --list $1)" ]; then
+		dpkg-divert --add --package gnu-fdisk --rename \
+		  --divert $1.distrib $1
+	fi
+}
+
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ]
+then
+
+	check_divert /usr/share/man/man8/cfdisk.8.gz
+	check_divert /usr/share/man/man8/fdisk.8.gz
+	check_divert /sbin/fdisk
+	check_divert /sbin/cfdisk
+
+fi
+
+#DEBHELPER#
--- gnu-fdisk-1.0.orig/debian/docs
+++ gnu-fdisk-1.0/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
--- gnu-fdisk-1.0.orig/debian/info
+++ gnu-fdisk-1.0/debian/info
@@ -0,0 +1,2 @@
+doc/fdisk.info
+doc/cfdisk.info
--- gnu-fdisk-1.0.orig/debian/copyright
+++ gnu-fdisk-1.0/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Julien Louis <ptitlouis@sysif.net> on
+Thu, 14 Dec 2006 13:05:42 +0100.
+
+It was downloaded from <ftp://ftp.gnu.org/gnu/fdisk>.
+
+Upstream Authors:
+
+  Harley D. Eades III <hde@foobar-qux.org>
+  Leslie P. Polzer    <polzer@gnu.org>
+  Milko Krachounov    <exabyte@3mhz.net>
+
+Copyright Notice:
+
+  Copyright (C) 1999, 2000, 2006 Free Software Foundation, Inc.
+
+Licenses:
+
+  * The Debian packaging is (C) 2006, Julien Louis <ptitlouis@sysif.net>
+    and is licensed under the GPL v2 or higher.
+
+  * gnu-fdisk is licensed under the GPL v3 or higher.
+
+    On Debian systems, the complete text of the GNU General Public
+    License can be found in the /usr/share/common-licenses/GPL file.
+
+  * doc/{cfdisk.info,cfdisk.texi,fdisk.info,fdisk.texi} are licenced
+    under the GFDL with no invariant sections.
+
+    On Debian systems, the complete text of the GNU Free Documentation
+    License can be found in the /usr/share/common-licenses/GFDL file.
--- gnu-fdisk-1.0.orig/po/fr.po
+++ gnu-fdisk-1.0/po/fr.po
@@ -0,0 +1,1285 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: fdisk 1.0\n"
+"Report-Msgid-Bugs-To: bug-fdisk@gnu.org\n"
+"POT-Creation-Date: 2007-07-07 08:20+0200\n"
+"PO-Revision-Date: 2007-07-15 22:23+0200\n"
+"Last-Translator: Julien Louis <ptitlouis@sysif.net>\n"
+"Language-Team: french <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/common.c:165
+#, c-format
+msgid "Partition %s is being used.  You must unmount it before you modify it."
+msgstr "La partition %s est en utilisée. Vous devez la démonter avant de la modifier."
+
+#: src/common.c:182
+#, c-format
+msgid "Partition(s) on %s are being used."
+msgstr "Les partitions sur %s sont en cours d'utilisation."
+
+#: src/common.c:201
+msgid ""
+"The extended partition is not empty. Deleting it will delete any partitions "
+"inside it. Do you want to continue?"
+msgstr "La partition étendue n'est pas vide. La supprimer entrainera la suppression de toutes les partitions contenue à l'intérieur. Voulez-vous continuer ?"
+
+#: src/common.c:607
+#, c-format
+msgid "Size (min %s, max %s)"
+msgstr "Taille (min %s, max %s)"
+
+#: src/common.c:610 src/cfdisk.c:1980
+msgid "Size"
+msgstr "Taille"
+
+#: src/common.c:629
+#, c-format
+msgid "%s is an invalid partition size"
+msgstr "%s est une taille de partition invalide"
+
+#: src/common.c:737
+#, c-format
+msgid "%s number (1-%d)"
+msgstr "%s nombre (1-%d)"
+
+#: src/common.c:743
+msgid "Expecting a partition number."
+msgstr "Un numéro de partition est attendu"
+
+#: src/common.c:750
+msgid "Partition doesn't exist."
+msgstr "La partition n'existe pas."
+
+#: src/common.c:778
+msgid "Expecting a disk label type."
+msgstr ""
+
+#: src/common.c:805
+msgid "primary"
+msgstr "primaire"
+
+#: src/common.c:809
+msgid "extended"
+msgstr "étendu"
+
+#: src/common.c:813
+msgid "logical"
+msgstr "logique"
+
+#: src/common.c:818
+msgid "Can't create any more partitions."
+msgstr "Ne peut créer d'avantage de partitions."
+
+#: src/common.c:835
+msgid "Expecting a partition type."
+msgstr "Un type de partition est attendu"
+
+#: src/common.c:878
+msgid "Expecting a file system type."
+msgstr "Un type de système de fichier est attendu"
+
+#: src/common.c:884
+#, c-format
+msgid "Unknown file system type \"%s\"."
+msgstr "Système de fichier « %s » inconnu."
+
+#: src/common.c:919
+msgid "Expecting a flag."
+msgstr "Une marque est attendue"
+
+#: src/common.c:925
+#, c-format
+msgid "Unknown flag \"%s\"."
+msgstr "Marque inconnue « %s »."
+
+#: src/common.c:1085
+msgid "First cylinder"
+msgstr "Premier cylindre"
+
+#: src/common.c:1086
+msgid "Last cylinder or +size or +sizeMB or +sizeKB"
+msgstr "Dernier cylindre ou +taille ou +tailleMB ou +tailleKB"
+
+#: src/common.c:1089
+msgid "First sector"
+msgstr "Premier secteur"
+
+#: src/common.c:1090
+msgid "Last sector or +size or +sizeMB or +sizeKB"
+msgstr "Dernier secteur ou +taille ou +tailleMB ou +taileKB"
+
+#: src/common.c:1093
+msgid "Start"
+msgstr "Démarrer"
+
+#: src/common.c:1094
+msgid "End or +size"
+msgstr "Fin ou +taille"
+
+#: src/common.c:1126 src/common.c:1283 src/common.c:1636 src/common.c:1733
+#: src/common.c:1973 src/common.c:2071 src/common.c:2094 src/common.c:2115
+#: src/common.c:2139
+msgid "Partition"
+msgstr "Partition"
+
+#: src/common.c:1166 src/common.c:1276 src/common.c:1594 src/common.c:1628
+#: src/common.c:1921 src/common.c:1978
+msgid "WARNING: This writes all data to disk automatically, continue?"
+msgstr "ATTENTION: cette étape écrit automatitquement toutes les données sur le disque, continuer ?"
+
+#: src/common.c:1173
+msgid "Source device"
+msgstr "Périphérique d'origine"
+
+#: src/common.c:1177
+msgid "Source partition"
+msgstr "Partition d'origine"
+
+#: src/common.c:1181
+msgid "Can't copy an extended partition."
+msgstr "Impossible de copier une partition étendue."
+
+#: src/common.c:1187
+msgid "Destination partition"
+msgstr "Partition de destination"
+
+#: src/common.c:1249
+msgid "New disk label type"
+msgstr ""
+
+#: src/common.c:1290
+msgid "File system"
+msgstr "Système de fichier"
+
+#: src/common.c:1300
+#, c-format
+msgid "The partition is too small to create %s filesystem on it."
+msgstr "La partition est trop petite pour créer un système de fichier %s dessus."
+
+#: src/common.c:1306
+#, c-format
+msgid "The partition is too big to create %s filesystem on it"
+msgstr "La partition est trop grande pour créer un système de fichier %s dessus."
+
+#: src/common.c:1364 src/cfdisk.c:1850
+msgid "Partition type"
+msgstr "Type de partition"
+
+#: src/common.c:1372
+msgid "An extended partition cannot hold a file system."
+msgstr "Une partition étendue ne peut contenir de système de fichier."
+
+#: src/common.c:1378 src/common.c:1599 src/common.c:2118
+msgid "File system type"
+msgstr "Type de système de fichier"
+
+#: src/common.c:1387 src/common.c:1740 src/cfdisk.c:1853
+msgid "Partition name"
+msgstr "Nom de la partition"
+
+#: src/common.c:1459
+#, c-format
+msgid ""
+"You requested a partition from %s to %s.\n"
+"The closest location we can manage is %s to %s.  Is this still acceptable to "
+"you?"
+msgstr ""
+
+#: src/common.c:1490
+#, c-format
+msgid "The size of the partition is too small for %s filesystem"
+msgstr "La taille de la partition est trop petite pour le système de fichier %s."
+
+#: src/common.c:1493
+#, c-format
+msgid "The size of the partition is too big for %s filesystem"
+msgstr "La taille de la partition est trop important pour le système de fichier %s."
+
+#: src/common.c:1642
+msgid "Can't move an extended partition."
+msgstr "Impossible de déplacer une partition étendue."
+
+#: src/common.c:1683
+msgid "Can't move a partition onto itself.  Try using resize, perhaps?"
+msgstr "Impossible de déplacer une partition sur elle-même. Essayez peut-être en utilisant redimensionner ?"
+
+#: src/common.c:1697
+msgid "Couldn't run the partition copy"
+msgstr "Impossible de lancer la copie de la partition"
+
+#: src/common.c:1816
+#, c-format
+msgid ""
+"A %s %s partition was found at %s -> %s.  Do you want to add it to the "
+"partition table?"
+msgstr ""
+
+#: src/common.c:1855
+msgid "searching for file systems"
+msgstr "À la recherche de système de fichier"
+
+#: src/common.c:2142
+msgid "Flag to change"
+msgstr "Marque à changer"
+
+#: src/common.c:2147
+msgid "New state"
+msgstr "Nouvel état"
+
+#: src/common.c:2166
+msgid "WARNING: This writes all data to disk, continue?"
+msgstr "Attention : Cela écrit toutes les données sur le disque, continuer ?"
+
+#: src/common.c:2233
+#, c-format
+msgid "Fixing partition order on %s partition label type not implemented."
+msgstr ""
+
+#: src/common.c:2355
+#, c-format
+msgid "Partition %i does not end on cylinder boundary."
+msgstr ""
+
+#: src/common.c:2386
+#, c-format
+msgid "Total allocated sectors %lld greater than the maximum %lld"
+msgstr ""
+
+#: src/common.c:2391
+#, c-format
+msgid "%lld unallocated sectors"
+msgstr "%lld secteurs non alloués"
+
+#: src/common.c:2480
+msgid "open"
+msgstr "ouvrir"
+
+#: src/common.c:2481
+msgid "create"
+msgstr "créer"
+
+#: src/common.c:2482
+msgid "check"
+msgstr "vérifier"
+
+#: src/common.c:2483
+msgid "copy"
+msgstr "copier"
+
+#: src/common.c:2484
+msgid "resize"
+msgstr "redimensionner"
+
+#: src/cfdisk.c:82
+msgid ""
+"Copyright (C) 2006 Free Software Foundation, Inc.\n"
+"This is free software.  You may redistribute copies of it under the terms "
+"of\n"
+"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n"
+"There is NO WARRANTY, to the extent permitted by law.\n"
+msgstr ""
+
+#: src/cfdisk.c:88
+msgid "Usage: cfdisk [OPTION]... [DEVICE]\n"
+msgstr "Usage: cfdisk [OPTION]... [PÉRIPHÉRIQUE]\n"
+
+#: src/cfdisk.c:93
+msgid "displays this help message"
+msgstr "Affiche ce message d'aide"
+
+#: src/cfdisk.c:94
+msgid "displays the version"
+msgstr "Affiche la version"
+
+#: src/cfdisk.c:95
+msgid "use an arrow cursor instead of reverse video"
+msgstr ""
+
+#: src/cfdisk.c:96
+msgid "create a new partition table on the disk"
+msgstr "Créer une nouvelle table de partition sur le disque"
+
+#: src/cfdisk.c:97
+msgid "UNIT"
+msgstr ""
+
+#: src/cfdisk.c:97
+msgid "sets the default display units to UNIT"
+msgstr ""
+
+#: src/cfdisk.c:98
+msgid "displays a list of supported partition types"
+msgstr "Affiche une liste des types de partitions supportées"
+
+#: src/cfdisk.c:104
+msgid ""
+"This is a curses-based disk partition manipulation program, which allows you "
+"create, destroy, resize, move and copy partitions on a hard drive.\n"
+"\n"
+"Copyright (C) 2006 Free Software Foundation, Inc.\n"
+"\n"
+"Key\tFunction\n"
+"---\t--------\n"
+"\n"
+" n\tCreate a new partition residing on the free space.\n"
+" d\tDelete the selected partition.\n"
+" c\tCheck the selected partition for consistency.\n"
+" r\tResize the selected partition or change the size of the entry in the "
+"partition table\n"
+" o\tMove the partition to another place on the drive.\n"
+" y\tCopies another partition over the selected one.\n"
+" s\tLook for deleted file systems in the selected free space.\n"
+" b\tDisplay or change partition flags, such as the bootable flag.\n"
+" t\tChange the system type on the partition in the partition in case it is "
+"currently wrong.\n"
+" m\tChange the partition name, if supported.\n"
+" x\tMaximize the extended partition.\n"
+" z\tMinimize the extended partition.\n"
+" u\tChange the display units.\n"
+" i\tDisplay partition info.\n"
+" w\tWrite the changes to the disk.\n"
+" q\tQuit the program.\n"
+" h\tDisplay this help.\n"
+msgstr ""
+
+#: src/cfdisk.c:581 src/cfdisk.c:689 src/cfdisk.c:694 src/cfdisk.c:772
+#: src/cfdisk.c:1775 src/cfdisk.c:1778 src/cfdisk.c:1804
+msgid "Invalid key"
+msgstr "Touche invalide"
+
+#: src/cfdisk.c:660
+msgid "No more text"
+msgstr ""
+
+#: src/cfdisk.c:660
+msgid "No more choices"
+msgstr "Plus de choix disponible"
+
+#: src/cfdisk.c:756
+msgid "Bug in the program. The programmer is an idiot."
+msgstr "Anomalie dans le programme. Le développeur est bête."
+
+#: src/cfdisk.c:829
+msgid "No more characters to delete"
+msgstr "Plus de caractère à supprimer"
+
+#: src/cfdisk.c:841
+msgid "String too long"
+msgstr "Chaîne trop longue"
+
+#: src/cfdisk.c:858 src/cfdisk.c:926
+msgid "Yes"
+msgstr "Oui"
+
+#: src/cfdisk.c:859 src/cfdisk.c:927
+msgid "No"
+msgstr "Non"
+
+#: src/cfdisk.c:925
+msgid "Fix"
+msgstr "Corriger"
+
+#: src/cfdisk.c:928
+msgid "OK"
+msgstr "Ok"
+
+#: src/cfdisk.c:929
+msgid "Retry"
+msgstr "Réessayer"
+
+#: src/cfdisk.c:930
+msgid "Ignore"
+msgstr "Ignorer"
+
+#: src/cfdisk.c:931 src/cfdisk.c:1094 src/cfdisk.c:1101 src/cfdisk.c:1108
+#: src/cfdisk.c:1234 src/cfdisk.c:1240 src/cfdisk.c:1332 src/cfdisk.c:1433
+#: src/cfdisk.c:1599 src/cfdisk.c:2115
+msgid "Cancel"
+msgstr "Abandonner"
+
+#: src/cfdisk.c:950
+msgid "Information"
+msgstr "Information"
+
+#: src/cfdisk.c:953
+msgid "Warning!"
+msgstr "Attention!"
+
+#: src/cfdisk.c:956
+msgid "Error!"
+msgstr "Erreur!"
+
+#: src/cfdisk.c:959
+msgid "Fatal exception!"
+msgstr "Erreur fatale !"
+
+#: src/cfdisk.c:962
+msgid "Bug in the program"
+msgstr "Anomalie dans le programme"
+
+#: src/cfdisk.c:965
+msgid "Unsupported"
+msgstr "Non supporté"
+
+#: src/cfdisk.c:1012
+#, c-format
+msgid "We are now %s."
+msgstr ""
+
+#: src/cfdisk.c:1014
+#, c-format
+msgid "An operation is now taking place."
+msgstr "Une opération est actuellement en cours."
+
+#: src/cfdisk.c:1016
+#, c-format
+msgid "Progress: %3.1f%%   Time left: %4.2d:%.2d"
+msgstr "Progression : %3.1f%%   Temp restant : %4.2d:%.2d"
+
+#: src/cfdisk.c:1049
+msgid "Press any key to continue"
+msgstr "Appuyez sur une touche pour continuer"
+
+#: src/cfdisk.c:1091 src/cfdisk.c:1231 src/cfdisk.c:1329
+msgid "Begining"
+msgstr "Commencement"
+
+#: src/cfdisk.c:1091
+msgid "Create the partition at the begining of the free space"
+msgstr "Créer la partition au début de l'espace disque disponible"
+
+#: src/cfdisk.c:1092 src/cfdisk.c:1232 src/cfdisk.c:1330
+msgid "End"
+msgstr "Fin"
+
+#: src/cfdisk.c:1092
+msgid "Create the partition at the end of the free space"
+msgstr "Créer la partition à la fin de l'espace disque disponible"
+
+#: src/cfdisk.c:1093 src/cfdisk.c:1233 src/cfdisk.c:1331 src/cfdisk.c:1432
+#: src/cfdisk.c:1598
+msgid "Custom"
+msgstr ""
+
+#: src/cfdisk.c:1093 src/cfdisk.c:1233 src/cfdisk.c:1331
+msgid "Select custom start and end position of the partition"
+msgstr ""
+
+#: src/cfdisk.c:1094 src/cfdisk.c:1101 src/cfdisk.c:1108
+msgid "Do not create a partition"
+msgstr "Ne pas créer de partition"
+
+#: src/cfdisk.c:1098 src/cfdisk.c:1849 src/cfdisk.c:2029 src/cfdisk.c:2033
+msgid "Primary"
+msgstr "Primaire"
+
+#: src/cfdisk.c:1098
+msgid "Create primary partition"
+msgstr "Créer une partition primaire"
+
+#: src/cfdisk.c:1099 src/cfdisk.c:1847 src/cfdisk.c:2024
+msgid "Extended"
+msgstr "Étentue"
+
+#: src/cfdisk.c:1099
+msgid "Create extended partition"
+msgstr "Créer une partition étendue"
+
+#: src/cfdisk.c:1100
+msgid "BSD disklabel"
+msgstr "disklabel BSD"
+
+#: src/cfdisk.c:1100
+msgid "Create a new BSD disklabel"
+msgstr "Créer un nouvel disklabel BSD"
+
+#: src/cfdisk.c:1105
+msgid "FreeBSD"
+msgstr "FreeBSD"
+
+#: src/cfdisk.c:1105
+msgid "Create a FreeBSD partition type"
+msgstr "Créer une partition de type FreeBSD"
+
+#: src/cfdisk.c:1106
+msgid "OpenBSD"
+msgstr "OpenBSD"
+
+#: src/cfdisk.c:1106
+msgid "Create a OpenBSD partition type"
+msgstr "Créer une partition de type OpenBSD"
+
+#: src/cfdisk.c:1107
+msgid "NetBSD"
+msgstr "NetBSD"
+
+#: src/cfdisk.c:1107
+msgid "Create a NetBSD partition type"
+msgstr "Créer une partition de type NetBSD"
+
+#: src/cfdisk.c:1122
+msgid "Report a bug in the function menu_new and win a cookie."
+msgstr ""
+
+#: src/cfdisk.c:1130
+msgid "Cannot create more primary partitions"
+msgstr "Impossible de créer davantage de partitions primaire"
+
+#: src/cfdisk.c:1137
+msgid "Type of partition you want to create"
+msgstr "Type de la partition que vous souhaitez créer"
+
+#: src/cfdisk.c:1155
+msgid "Where do you want to put the partition"
+msgstr "Où voulez-vous placer votre partition"
+
+#: src/cfdisk.c:1168
+msgid "Can't create partition."
+msgstr "Impossible de créer une partition"
+
+#: src/cfdisk.c:1185
+msgid ""
+"Editing a BSD label, before writing the msdos partition table is not "
+"supported in GNU fdisk."
+msgstr "Modifier une étiquette BSD avant d'écrire la table de partition MS DOS n'est pas supporté dans GNU fdisk."
+
+#: src/cfdisk.c:1195
+msgid ""
+"This partition seems to contain a filesystem. This is going to destroy it. "
+"Are you sure you want to continue?"
+msgstr "Cette partition semble contenir un système de fichiers. Cela va le détruire. Êtes-vous certain de vouloir continuer ?"
+
+#: src/cfdisk.c:1210
+msgid "There is no BSD label on this partition. Do you want to create one?"
+msgstr "Il n'y a pas d'étiquette BSD sur cette partition, voulez-vous en créer un ?"
+
+#: src/cfdisk.c:1229
+msgid "Fixed start"
+msgstr ""
+
+#: src/cfdisk.c:1229
+msgid "Don't move the beginning of the partition"
+msgstr ""
+
+#: src/cfdisk.c:1231
+msgid "Place it as back as possible on partitions that support it"
+msgstr ""
+
+#: src/cfdisk.c:1232
+msgid "Place it as forward as possible on partitions that support it"
+msgstr ""
+
+#: src/cfdisk.c:1234 src/cfdisk.c:1240
+msgid "Do not resize the partition"
+msgstr "Ne pas redimensionner la partition"
+
+#: src/cfdisk.c:1238 src/cfdisk.c:2093
+msgid "Resize"
+msgstr "Redimensionner"
+
+#: src/cfdisk.c:1238
+msgid "Resize the filesystem"
+msgstr "Redimensionner le système de fichiers"
+
+#: src/cfdisk.c:1239
+msgid "Change size"
+msgstr "Changer la taille"
+
+#: src/cfdisk.c:1239
+msgid "Change the size of the partition (if you know what you are doing)"
+msgstr "changer la taille de la partition (si vous savez ce que vous faites)"
+
+#: src/cfdisk.c:1252
+msgid "What do you want to do?"
+msgstr "Que voulez-vous faire ?"
+
+#: src/cfdisk.c:1257
+msgid "Can't resize the partition. Alter the size? (For experts only)"
+msgstr "Impossible de redimensionner la partition. Faut-il modifier la taille ? (pour experts seulement)"
+
+#: src/cfdisk.c:1265
+msgid "Could not open the filesystem for resizing"
+msgstr "Impossible d'ouvrir le système de fichier pour le redimensionnement"
+
+#: src/cfdisk.c:1270
+msgid "We can't resize this filesystem type"
+msgstr "Nous ne pouvons redimensionner ce type de système de fichier"
+
+#: src/cfdisk.c:1304
+msgid "Where to place the resized partition"
+msgstr "Où placer la partition redimensionnée"
+
+#: src/cfdisk.c:1316
+msgid "Couldn't resize partition."
+msgstr "Impossible de redimenssioner la partition"
+
+#: src/cfdisk.c:1329
+msgid "Move the partition to the begining of the free space"
+msgstr "Déplacer la partition au début de l'espace libre"
+
+#: src/cfdisk.c:1330
+msgid "Move the partition to the end of the free space"
+msgstr "Déplacer la partition à la fin de l'espace libre"
+
+#: src/cfdisk.c:1332
+msgid "Do not move the partition"
+msgstr "Ne pas déplacer la partition"
+
+#: src/cfdisk.c:1343
+msgid "Can't open the filesystem"
+msgstr "Impossible d'ouvrir le système de fichiers"
+
+#: src/cfdisk.c:1348
+msgid "We can't move this partition"
+msgstr "Impossible de déplacer cette partition"
+
+#: src/cfdisk.c:1352
+msgid "Select free space to move the partition to"
+msgstr "Sélectionner l'espace libre sur lequel déplacer la partition"
+
+#: src/cfdisk.c:1367
+msgid "You can't move this partition here"
+msgstr "Impossible de déplacer la partition ici."
+
+#: src/cfdisk.c:1375
+msgid "Where do you want to move the partition"
+msgstr "Où voulez-vous déplacer la partition"
+
+#: src/cfdisk.c:1383
+msgid "Partition move failed"
+msgstr "Le déplacement de la partition à échoué"
+
+#: src/cfdisk.c:1400
+#, c-format
+msgid "The partition has %s set as a filesystem. Use it?"
+msgstr "La partition a comme système de fichier %s, faut-il l'utiliser ?"
+
+#: src/cfdisk.c:1406
+#, c-format
+msgid "Can't create filesystem %s, you'll have to choose another"
+msgstr "Impossible de créer le système de fichier %s, vous devez en choisir un autre."
+
+#: src/cfdisk.c:1411
+msgid "The filesystem was not created successfully"
+msgstr "Le système de fichier n'a pu être créer avec succès"
+
+#: src/cfdisk.c:1414
+msgid "The filesystem was created successfully."
+msgstr "LE système de fichier a été créé avec succès."
+
+#: src/cfdisk.c:1421
+msgid "The consistency check failed."
+msgstr ""
+
+#: src/cfdisk.c:1424
+msgid "The consistency of the partition seems to be OK."
+msgstr ""
+
+#: src/cfdisk.c:1431
+msgid "Continue"
+msgstr "Continuer"
+
+#: src/cfdisk.c:1431
+msgid "Proceed with the rescue"
+msgstr ""
+
+#: src/cfdisk.c:1432
+msgid "Select custom area to look for partitions (for experts only)"
+msgstr ""
+
+#: src/cfdisk.c:1433
+msgid "Return to the main menu"
+msgstr "Retour au menu principal"
+
+#: src/cfdisk.c:1441
+msgid "This will try to rescue broken or deleted partitions"
+msgstr ""
+
+#: src/cfdisk.c:1452
+msgid "There was an error during rescue"
+msgstr ""
+
+#: src/cfdisk.c:1465
+msgid "Finished looking for partitions"
+msgstr ""
+
+#: src/cfdisk.c:1473
+msgid "Partition not copied successfully"
+msgstr "La partition n'a pu être copiée avec succès"
+
+#: src/cfdisk.c:1476
+msgid "Partition copied successfully"
+msgstr "Partition copiée avec succès"
+
+#: src/cfdisk.c:1486
+msgid "You should not delete this partition."
+msgstr "Vous ne devriez par supprimer cette partition."
+
+#: src/cfdisk.c:1494
+msgid "Do you want to delete this partition?"
+msgstr "Voulez-vous supprimer cette partition ?"
+
+#: src/cfdisk.c:1497
+msgid "Can't delete partition"
+msgstr "Impossible de supprimer une partition"
+
+#: src/cfdisk.c:1510
+msgid "Couldn't maximize this partition"
+msgstr ""
+
+#: src/cfdisk.c:1526
+msgid "Couldn't minimize the extended partition"
+msgstr ""
+
+#: src/cfdisk.c:1542
+msgid "Commit failed."
+msgstr ""
+
+#: src/cfdisk.c:1545
+msgid "Partition table successfully written."
+msgstr "Table de partition écrite avec succès."
+
+#: src/cfdisk.c:1552
+msgid "Sectors"
+msgstr "Secteurs"
+
+#: src/cfdisk.c:1552
+msgid "Show the sizes in sectors"
+msgstr "Afficher les tailles en secteurs"
+
+#: src/cfdisk.c:1553
+msgid "Bytes"
+msgstr "Octets"
+
+#: src/cfdisk.c:1553
+msgid "Show the sizes in bytes"
+msgstr "Afficher la taille en octets"
+
+#: src/cfdisk.c:1554
+msgid "Kilobytes"
+msgstr "Kilo-octet"
+
+#: src/cfdisk.c:1554
+msgid "Use 1,000 bytes as unit size"
+msgstr "Utiliser 1 000 octets comme unité de mesure"
+
+#: src/cfdisk.c:1555
+msgid "Megabytes"
+msgstr "Méga-octets"
+
+#: src/cfdisk.c:1555
+msgid "Use 1,000,000 bytes as unit size"
+msgstr "Utilisez 1 000 000 octets comme unité de mesure"
+
+#: src/cfdisk.c:1556
+msgid "Gigabytes"
+msgstr "Giga-octets"
+
+#: src/cfdisk.c:1556
+msgid "Use 1,000,000,000 bytes as unit size"
+msgstr "Utiliser 1 000 000 00 d'octets comme unité de mesure"
+
+#: src/cfdisk.c:1557
+msgid "Terabytes"
+msgstr "Tera-octets"
+
+#: src/cfdisk.c:1557
+msgid "Use 1,000,000,000,000 bytes as unit size"
+msgstr "Utiliser 1 000 000 000 000 d'octets comme unité de mesure"
+
+#: src/cfdisk.c:1558
+msgid "Percents"
+msgstr "Pourcentage"
+
+#: src/cfdisk.c:1558
+msgid "Show the sizes in percents"
+msgstr "Afficher les tailles en pourcentage"
+
+#: src/cfdisk.c:1559
+msgid "Compact"
+msgstr ""
+
+#: src/cfdisk.c:1559
+msgid "Show the size in most appropriate units"
+msgstr "Afficher la taille dans l'unité la plus appropriée"
+
+#: src/cfdisk.c:1560
+msgid "Kibibytes"
+msgstr "Kibioctets"
+
+#: src/cfdisk.c:1560
+msgid "Use 1,024 bytes as unit size"
+msgstr ""
+
+#: src/cfdisk.c:1561
+msgid "Mebibytes"
+msgstr "Mebioctets"
+
+#: src/cfdisk.c:1561
+msgid "Use 1,048,576 bytes as unit size"
+msgstr ""
+
+#: src/cfdisk.c:1562
+msgid "Gibibytes"
+msgstr "Gibioctets"
+
+#: src/cfdisk.c:1562
+msgid "Use 1,073,741,824 bytes as unit size"
+msgstr ""
+
+#: src/cfdisk.c:1563
+msgid "Tebibytes"
+msgstr "Tebioctets"
+
+#: src/cfdisk.c:1563
+msgid "Use 1,099,511,627,776 bytes as unit size"
+msgstr ""
+
+#: src/cfdisk.c:1564
+msgid "Cylinders"
+msgstr "Cylindres"
+
+#: src/cfdisk.c:1564
+msgid "Show the sizes in cylinders"
+msgstr "Afficher les tailles en cylindres"
+
+#: src/cfdisk.c:1565
+msgid "CHS"
+msgstr "CHS"
+
+#: src/cfdisk.c:1565
+msgid "Show the sizes in CHS units"
+msgstr "Afficher les tailles en CHS"
+
+#: src/cfdisk.c:1597
+msgid "Auto"
+msgstr "Auto"
+
+#: src/cfdisk.c:1597
+msgid "Try to automatically set the correct type"
+msgstr ""
+
+#: src/cfdisk.c:1598
+msgid "Select a custom filesystem type (for experts only)"
+msgstr ""
+
+#: src/cfdisk.c:1599
+msgid "Do not change the filesystem type"
+msgstr ""
+
+#: src/cfdisk.c:1605
+msgid "Set the filesystem type of the partition"
+msgstr ""
+
+#: src/cfdisk.c:1613
+msgid "Couldn't change the filesystem type"
+msgstr "Impossible de changer le type de système de fichiers"
+
+#: src/cfdisk.c:1622
+msgid "The partition label doesn't support partition names"
+msgstr ""
+
+#: src/cfdisk.c:1626
+msgid "Name wasn't changed successfully."
+msgstr ""
+
+#: src/cfdisk.c:1629
+msgid "Name was changed successfully."
+msgstr ""
+
+#: src/cfdisk.c:1642 src/cfdisk.c:2020
+msgid "Bootable"
+msgstr ""
+
+#: src/cfdisk.c:1643
+msgid "Root"
+msgstr "Racine"
+
+#: src/cfdisk.c:1644
+msgid "Swap"
+msgstr "Swap"
+
+#: src/cfdisk.c:1645
+msgid "Hidden"
+msgstr "Cachée"
+
+#: src/cfdisk.c:1646
+msgid "RAID"
+msgstr "RAID"
+
+#: src/cfdisk.c:1647
+msgid "LVM"
+msgstr "LVM"
+
+#: src/cfdisk.c:1648
+msgid "LBA"
+msgstr "LBA"
+
+#: src/cfdisk.c:1649
+msgid "HP Service"
+msgstr ""
+
+#: src/cfdisk.c:1650
+msgid "Palo"
+msgstr "Palo"
+
+#: src/cfdisk.c:1651
+msgid "Prep"
+msgstr "Prep"
+
+#: src/cfdisk.c:1652
+msgid "MSFT Reserved"
+msgstr ""
+
+#: src/cfdisk.c:1698
+msgid "Partition flags (press Esc two times to end)"
+msgstr ""
+
+#: src/cfdisk.c:1710
+msgid "Other partition flags (for experts only):"
+msgstr ""
+
+#: src/cfdisk.c:1748
+msgid "No flags can be changed for this partition"
+msgstr ""
+
+#: src/cfdisk.c:1785 src/cfdisk.c:1793
+msgid "No more flags"
+msgstr ""
+
+#: src/cfdisk.c:1812
+msgid "cfdisk help"
+msgstr ""
+
+#: src/cfdisk.c:1835
+msgid "Possible partition device"
+msgstr ""
+
+#: src/cfdisk.c:1840
+msgid "Free space inside an extended partition"
+msgstr ""
+
+#: src/cfdisk.c:1842 src/cfdisk.c:2039
+msgid "Free space"
+msgstr "Espace disponible"
+
+#: src/cfdisk.c:1845 src/cfdisk.c:2026
+msgid "Logical"
+msgstr "Logique"
+
+#: src/cfdisk.c:1859
+msgid "Partition size in bytes"
+msgstr ""
+
+#: src/cfdisk.c:1862
+msgid "Partition size in sectors"
+msgstr ""
+
+#: src/cfdisk.c:1865
+msgid "Portion of the hard disk"
+msgstr ""
+
+#: src/cfdisk.c:1873
+msgid "Filesystem type"
+msgstr ""
+
+#: src/cfdisk.c:1880
+msgid "System type"
+msgstr ""
+
+#: src/cfdisk.c:1885
+msgid "System type name"
+msgstr ""
+
+#: src/cfdisk.c:1891
+msgid "Position"
+msgstr ""
+
+#: src/cfdisk.c:1895
+msgid "Start (cyl,heads,sector)"
+msgstr ""
+
+#: src/cfdisk.c:1898
+msgid "End (cyl,heads,sector)"
+msgstr ""
+
+#: src/cfdisk.c:1905 src/cfdisk.c:1974 src/cfdisk.c:2085
+msgid "Flags"
+msgstr ""
+
+#: src/cfdisk.c:1910
+msgid "Partition info"
+msgstr "Information sur la partition"
+
+#: src/cfdisk.c:1973
+msgid "Number"
+msgstr "Nombre"
+
+#: src/cfdisk.c:1975
+msgid "Part Type"
+msgstr "Type de partition"
+
+#: src/cfdisk.c:1976
+msgid "Filesystem"
+msgstr "Système de fichiers"
+
+#: src/cfdisk.c:1977
+msgid "Label"
+msgstr "Étiquette"
+
+#: src/cfdisk.c:2029
+msgid "Pri/Ext"
+msgstr "Pri/ext"
+
+#: src/cfdisk.c:2031
+msgid "None"
+msgstr "aucun"
+
+#: src/cfdisk.c:2085
+msgid "Change the flags of the current partition"
+msgstr ""
+
+#: src/cfdisk.c:2086
+msgid "New"
+msgstr "Nouvelle"
+
+#: src/cfdisk.c:2086
+msgid "Create new partition from free space"
+msgstr ""
+
+#: src/cfdisk.c:2087
+msgid "Edit"
+msgstr "Modifier"
+
+#: src/cfdisk.c:2087
+msgid "Edit this BSD disklabel"
+msgstr ""
+
+#: src/cfdisk.c:2088
+msgid "Rescue"
+msgstr ""
+
+#: src/cfdisk.c:2088
+msgid "Look for deleted and corrupted partitions in the free space"
+msgstr ""
+
+#: src/cfdisk.c:2089
+msgid "Make FS"
+msgstr ""
+
+#: src/cfdisk.c:2089
+msgid "Creates a filesystem on the partition"
+msgstr ""
+
+#: src/cfdisk.c:2090
+msgid "Check"
+msgstr "Vérifier"
+
+#: src/cfdisk.c:2090
+msgid "Check partition for consistency"
+msgstr ""
+
+#: src/cfdisk.c:2091
+msgid "Rename"
+msgstr "Renomer"
+
+#: src/cfdisk.c:2091
+msgid "Change partition name"
+msgstr ""
+
+#: src/cfdisk.c:2092
+msgid "Copy"
+msgstr "Copier"
+
+#: src/cfdisk.c:2092
+msgid "Write another partition over this one (requires commit)"
+msgstr ""
+
+#: src/cfdisk.c:2093
+msgid "Resizes the current partition (requires commit)"
+msgstr ""
+
+#: src/cfdisk.c:2094
+msgid "Maximize"
+msgstr "Maximiser"
+
+#: src/cfdisk.c:2094
+msgid "Enlarges the partition to the maximum possible size"
+msgstr ""
+
+#: src/cfdisk.c:2095
+msgid "Minimize"
+msgstr ""
+
+#: src/cfdisk.c:2095
+msgid "Shrinks the partition to the minimum possible size"
+msgstr ""
+
+#: src/cfdisk.c:2096
+msgid "Move"
+msgstr "Déplacer"
+
+#: src/cfdisk.c:2096
+msgid "Moves the current partition (requires commit)"
+msgstr ""
+
+#: src/cfdisk.c:2097
+msgid "Delete"
+msgstr "Supprimer"
+
+#: src/cfdisk.c:2097
+msgid "Delete the current partition"
+msgstr "Supprimer la partition courante"
+
+#: src/cfdisk.c:2098
+msgid "Type"
+msgstr "Type"
+
+#: src/cfdisk.c:2098
+msgid "Set the filesystem type (doesn't convert the filesystem)"
+msgstr ""
+
+#: src/cfdisk.c:2099
+msgid "Units"
+msgstr "Unités"
+
+#: src/cfdisk.c:2099
+msgid "Change units of the partition size display"
+msgstr ""
+
+#: src/cfdisk.c:2100
+msgid "Commit"
+msgstr ""
+
+#: src/cfdisk.c:2100
+msgid "Write the changes to the disk"
+msgstr ""
+
+#: src/cfdisk.c:2101 src/cfdisk.c:2402 src/cfdisk.c:2407
+msgid "Quit"
+msgstr "Quit"
+
+#: src/cfdisk.c:2101
+msgid "End editing this partition table"
+msgstr ""
+
+#: src/cfdisk.c:2102
+msgid "Info"
+msgstr "Info"
+
+#: src/cfdisk.c:2102
+msgid "Display additional partition information"
+msgstr ""
+
+#: src/cfdisk.c:2103
+msgid "Help"
+msgstr "Aide"
+
+#: src/cfdisk.c:2103
+msgid "Display help"
+msgstr "Afficher l'aide"
+
+#: src/cfdisk.c:2114
+msgid "Select"
+msgstr "Sélectionner"
+
+#: src/cfdisk.c:2114
+msgid "Select this as the source partition"
+msgstr ""
+
+#: src/cfdisk.c:2115
+msgid "Abort partition copy"
+msgstr ""
+
+#: src/cfdisk.c:2131
+msgid "Partition table has changed, are you sure you want to quit?"
+msgstr ""
+
+#: src/cfdisk.c:2136
+msgid "Are you sure you want to quit?"
+msgstr ""
+
+#: src/cfdisk.c:2291 src/cfdisk.c:2306
+msgid "No more partitions"
+msgstr ""
+
+#: src/cfdisk.c:2365
+#, c-format
+msgid "Disk: %s   Disk type: %s    Size: %s"
+msgstr ""
+
+#: src/cfdisk.c:2369
+#, c-format
+msgid "Disk: %s   Disk type: %s"
+msgstr ""
+
+#: src/cfdisk.c:2374
+#, c-format
+msgid "Heads: %s   Sectors per track: %s   Cylinders: %s"
+msgstr ""
+
+#: src/cfdisk.c:2401
+msgid "Choose"
+msgstr "Choisir"
+
+#: src/cfdisk.c:2401
+msgid "Prompt for device address"
+msgstr ""
+
+#: src/cfdisk.c:2402 src/cfdisk.c:2407
+msgid "Quit program"
+msgstr "Quitter le programme"
+
+#: src/cfdisk.c:2406
+msgid "Create"
+msgstr "Créer"
+
+#: src/cfdisk.c:2406
+msgid "Create new partition table"
+msgstr "Créer une nouvelle table de partition"
+
+#: src/cfdisk.c:2412
+msgid "Cannot find a device automatically"
+msgstr ""
+
+#: src/cfdisk.c:2416 src/cfdisk.c:2426
+msgid "Invalid device"
+msgstr "Périphérique invalide"
+
+#: src/cfdisk.c:2420
+msgid "Enter path to the device"
+msgstr ""
+
+#: src/cfdisk.c:2439
+msgid "Cannot find a partition table on the disk"
+msgstr "Impossible de trouver une table de partition sur le disque"
+
+#: src/cfdisk.c:2442 src/cfdisk.c:2450
+msgid "Creation of partition table failed"
+msgstr "La création de la table de partition a échoué"
+
+#: src/cfdisk.c:2464
+#, c-format
+msgid "%s, %s"
+msgstr "%s, %s"
+
+#: src/cfdisk.c:2472
+msgid "Device file"
+msgstr ""
+
+#: src/cfdisk.c:2538
+msgid "OPTIONs:"
+msgstr "OPTIONS:"
+
+#: src/cfdisk.c:2609 src/cfdisk.c:2620
+#, c-format
+msgid "Invalid device\n"
+msgstr "Périphérique invalide\n"
--- gnu-fdisk-1.0.orig/doc/cfdisk.8
+++ gnu-fdisk-1.0/doc/cfdisk.8
@@ -1,6 +1,6 @@
 .TH CFDISK 8 "16 June, 2006" fdisk "GNU cfdisk Manual"
 .SH NAME
-GNU cfdisk - a curses-based partition table manipulation program
+cfdisk \- a curses-based partition table manipulation program
 .SH SYNOPSIS
 .B cfdisk
 [options] [device]
@@ -82,4 +82,4 @@
 .BR info(1)
 format
 .IR "GNU cfdisk User Manual"
-manual.
\ No newline at end of file
+manual.
--- gnu-fdisk-1.0.orig/doc/fdisk.8
+++ gnu-fdisk-1.0/doc/fdisk.8
@@ -1,6 +1,6 @@
 .TH CFDISK 8 "18 August, 2006" fdisk "GNU fdisk Manual"
 .SH NAME
-GNU fdisk, lfdisk, gfdisk - manipulate partition tables on a hard drive
+fdisk, lfdisk, gfdisk \- manipulate partition tables on a hard drive
 .SH SYNOPSIS
 .B fdisk
 [options] [device]
@@ -71,4 +71,4 @@
 .BR info(1)
 format
 .IR "GNU fdisk User Manual"
-manual.
\ No newline at end of file
+manual.
