--- fdutils-5.5-20060227.orig/doc/superformat.1 +++ fdutils-5.5-20060227/doc/superformat.1 @@ -102,7 +102,7 @@ \&\fR\&\f(CWmformat\fR in order to put an MS-DOS filesystem on it. You may ignore this filesystem, if you don't need it. .PP -Supeformat allows to format 2m formats. Be aware, however, that these +Superformat allows to format 2m formats. Be aware, however, that these \&\fR\&\f(CW2m\fR formats were specifically designed to hold an MS-DOS filesystem, and that they take advantage of the fact that the MS-DOS filesystem uses redundant sectors on the first track (the FAT, which is @@ -293,7 +293,7 @@ \&\fR .PP -N.B. For simplicitie's sake, this example expresses skews in units of +N.B. For simplicity's sake, this example expresses skews in units of sectors. In reality, superformat expects the skews to be expressed in raw bytes. .PP --- fdutils-5.5-20060227.orig/doc/floppymeter.texi +++ fdutils-5.5-20060227/doc/floppymeter.texi @@ -33,7 +33,7 @@ issued many times in a row. During this phase, the number of rotations til the start of the test, the average time per rotation til the start, and a sliding average of the times of the last 30 rotations is printed, -and updated continously. +and updated continuously. The data transfer rate is deduced from the two parameters above. @@ -72,7 +72,7 @@ @item -f Runs the measurement non interactively. With this option, the program -doesn't ask for confirmation, and doesn't display the continously +doesn't ask for confirmation, and doesn't display the continuously updated values during the rotation speed measurement. @item -W @var{Window} --- fdutils-5.5-20060227.orig/doc/floppycontrol.1 +++ fdutils-5.5-20060227/doc/floppycontrol.1 @@ -578,28 +578,28 @@ are performed at the next retry. The counter is reset when the read or write finally terminates, whether successfully or not. .TP -\&\fR\&\f(CW-a\ \fIoperation-abort-trshld\fR\&\f(CW\ \fR\ +\&\fR\&\f(CW-a\ \fIoperation-abort-threshold\fR\&\f(CW\ \fR\ .TQ -\&\fR\&\f(CW--abort\ \fI\ operation-abort-trshld\fR\&\f(CW\fR +\&\fR\&\f(CW--abort\ \fI\ operation-abort-threshold\fR\&\f(CW\fR Tell the floppy driver to stop trying to read/write a sector after -\&\fIoperation-abort-trshld\fR +\&\fIoperation-abort-threshold\fR retries, and signal the I/O error to the user. .TP -\&\fR\&\f(CW-t\ \fIread-track-trshld\fR\&\f(CW\ \fR\ +\&\fR\&\f(CW-t\ \fIread-track-threshold\fR\&\f(CW\ \fR\ .TQ -\&\fR\&\f(CW--readtrack\ \fI\ read-track-trshld\fR\&\f(CW\fR +\&\fR\&\f(CW--readtrack\ \fI\ read-track-threshold\fR\&\f(CW\fR Tell the floppy driver to switch from track-reading mode to sector-at-a-time-mode after -\&\fIread-track-trshld\fR +\&\fIread-track-threshold\fR retries. .TP -\&\fR\&\f(CW-r\ \fIrecalibrate-trshld\fR\&\f(CW\ \fR\ +\&\fR\&\f(CW-r\ \fIrecalibrate-threshold\fR\&\f(CW\ \fR\ .TQ -\&\fR\&\f(CW--recalibrate\ \fI\ recalibrate-trshld\fR\&\f(CW\fR +\&\fR\&\f(CW--recalibrate\ \fI\ recalibrate-threshold\fR\&\f(CW\fR Tell the floppy driver to recalibrate the drive after -\&\fIrecalibrate-trshld\fR retries. +\&\fIrecalibrate-threshold\fR retries. .TP -\&\fR\&\f(CW-R\ \fIreset-treshold\fR\&\f(CW\ \fR\ +\&\fR\&\f(CW-R\ \fIreset-threshold\fR\&\f(CW\ \fR\ .TQ \&\fR\&\f(CW--reset\ \fI\ reset-threshold\fR\&\f(CW\fR Tell the floppy driver to reset the controller after @@ -607,11 +607,11 @@ driver also recalibrates all drives connected to that controller. .IP .TP -\&\fR\&\f(CW-e\ \fIerror-report-trshld\fR\&\f(CW\ \fR\ +\&\fR\&\f(CW-e\ \fIerror-report-threshold\fR\&\f(CW\ \fR\ .TQ -\&\fR\&\f(CW--reporting\ \fI\ error-report-trshld\fR\&\f(CW\fR +\&\fR\&\f(CW--reporting\ \fI\ error-report-threshold\fR\&\f(CW\fR Tell the floppy driver to start printing error messages to the console -after \fIerror-report-trshld\fR retries. +after \fIerror-report-threshold\fR retries. .PP .SH Write\ error\ reporting .PP --- fdutils-5.5-20060227.orig/doc/floppymeter.1 +++ fdutils-5.5-20060227/doc/floppymeter.1 @@ -111,7 +111,7 @@ issued many times in a row. During this phase, the number of rotations til the start of the test, the average time per rotation til the start, and a sliding average of the times of the last 30 rotations is printed, -and updated continously. +and updated continuously. .PP The data transfer rate is deduced from the two parameters above. .PP @@ -149,7 +149,7 @@ .TP \&\fR\&\f(CW-f\fR\ Runs the measurement non interactively. With this option, the program -doesn't ask for confirmation, and doesn't display the continously +doesn't ask for confirmation, and doesn't display the continuously updated values during the rotation speed measurement. .TP \&\fR\&\f(CW-W\ \fIWindow\fR\&\f(CW\fR\ --- fdutils-5.5-20060227.orig/doc/utilities.texi +++ fdutils-5.5-20060227/doc/utilities.texi @@ -6,7 +6,7 @@ @table @code @item floppycontrol -This program sets the various error tresholds (error reporting, +This program sets the various error thresholds (error reporting, operation abortion, and read track), prints out drive drive types, and flushes buffers. There is a -h help option. This program provides examples on how to use the new ioctl's. --- fdutils-5.5-20060227.orig/doc/superformat.texi +++ fdutils-5.5-20060227/doc/superformat.texi @@ -24,7 +24,7 @@ @code{mformat} in order to put an MS-DOS filesystem on it. You may ignore this filesystem, if you don't need it. -Supeformat allows to format 2m formats. Be aware, however, that these +Superformat allows to format 2m formats. Be aware, however, that these @code{2m} formats were specifically designed to hold an MS-DOS filesystem, and that they take advantage of the fact that the MS-DOS filesystem uses redundant sectors on the first track (the FAT, which is @@ -216,7 +216,7 @@ track 2 head 1: 3,4,5,6,1,2 (skew=4) @end example -N.B. For simplicitie's sake, this example expresses skews in units of +N.B. For simplicity's sake, this example expresses skews in units of sectors. In reality, superformat expects the skews to be expressed in raw bytes. --- fdutils-5.5-20060227.orig/doc/makefloppies.1 +++ fdutils-5.5-20060227/doc/makefloppies.1 @@ -1,4 +1,4 @@ -.TH makefloppies 1 "03Mar05" fdutils-5.5 +.TH makefloppies 8 "03Mar05" fdutils-5.5 .SH Name MAKEFLOPPIES - Creates the default floppy device nodes. '\" t --- fdutils-5.5-20060227.orig/doc/fdrawcmd.texi +++ fdutils-5.5-20060227/doc/fdrawcmd.texi @@ -8,7 +8,7 @@ @example @code{fdrawcmd} [@code{drive=}@var{drive}] [@code{rate=}@var{rate}] [@code{length=}@var{length}] [@code{repeat=}@var{repeat}] -[@code{cylinder=}@var{physical-cyl}] @var{command} [@var{paramters} @dots{}] [@var{mode}] +[@code{cylinder=}@var{physical-cyl}] @var{command} [@var{parameters} @dots{}] [@var{mode}] @end example @code{fdrawcmd} @@ -158,12 +158,12 @@ Sets the perpendicular mode. Use 0 for normal, 2 for 500kb/s perpendicular, and 3 for 1 Mb/s perpendicular. -@item seek-out @var{drvsel n} +@item seek_out @var{drvsel n} does a relative seek of @var{n} cylinders towards cylinder 0. -@item seek-in @var{drvsel n} +@item seek_in @var{drvsel n} does a relative seek of @var{n} cylinders away from cylinder 0. @end table --- fdutils-5.5-20060227.orig/doc/README +++ fdutils-5.5-20060227/doc/README @@ -303,7 +303,7 @@ Included utilities: =================== - 1. floppycontrol. This program sets the various error tresholds + 1. floppycontrol. This program sets the various error thresholds (error reporting, operation abortion, and read track), prints out drive drive types, and flushes buffers. There is a -h help option. This program provides examples on how to use the new ioctl's. --- fdutils-5.5-20060227.orig/doc/floppycontrol.texi +++ fdutils-5.5-20060227/doc/floppycontrol.texi @@ -504,34 +504,34 @@ are performed at the next retry. The counter is reset when the read or write finally terminates, whether successfully or not. @table @code -@item -a @var{operation-abort-trshld} -@itemx --abort @var{ operation-abort-trshld} +@item -a @var{operation-abort-threshold} +@itemx --abort @var{ operation-abort-threshold} Tell the floppy driver to stop trying to read/write a sector after -@var{operation-abort-trshld} +@var{operation-abort-threshold} retries, and signal the I/O error to the user. -@item -t @var{read-track-trshld} -@itemx --readtrack @var{ read-track-trshld} +@item -t @var{read-track-threshold} +@itemx --readtrack @var{ read-track-threshold} Tell the floppy driver to switch from track-reading mode to sector-at-a-time-mode after -@var{read-track-trshld} +@var{read-track-threshold} retries. -@item -r @var{recalibrate-trshld} -@itemx --recalibrate @var{ recalibrate-trshld} +@item -r @var{recalibrate-threshold} +@itemx --recalibrate @var{ recalibrate-threshold} Tell the floppy driver to recalibrate the drive after -@var{recalibrate-trshld} retries. +@var{recalibrate-threshold} retries. -@item -R @var{reset-treshold} +@item -R @var{reset-threshold} @itemx --reset @var{ reset-threshold} Tell the floppy driver to reset the controller after @var{reset-threshold} retries. After a controller reset, the floppy driver also recalibrates all drives connected to that controller. -@item -e @var{error-report-trshld} -@itemx --reporting @var{ error-report-trshld} +@item -e @var{error-report-threshold} +@itemx --reporting @var{ error-report-threshold} Tell the floppy driver to start printing error messages to the console -after @var{error-report-trshld} retries. +after @var{error-report-threshold} retries. @end table --- fdutils-5.5-20060227.orig/doc/fdrawcmd.1 +++ fdutils-5.5-20060227/doc/fdrawcmd.1 @@ -81,7 +81,7 @@ .in +0.3i \&\fR\&\f(CWfdrawcmd [\fR\&\f(CWdrive=\fIdrive\fR\&\f(CW] [\fR\&\f(CWrate=\fIrate\fR\&\f(CW] [\fR\&\f(CWlength=\fIlength\fR\&\f(CW] [\fR\&\f(CWrepeat=\fIrepeat\fR\&\f(CW] -[\fR\&\f(CWcylinder=\fIphysical-cyl\fR\&\f(CW] \fIcommand\fR\&\f(CW [\fIparamters\fR\&\f(CW \&...] [\fImode\fR\&\f(CW] +[\fR\&\f(CWcylinder=\fIphysical-cyl\fR\&\f(CW] \fIcommand\fR\&\f(CW [\fIparameters\fR\&\f(CW \&...] [\fImode\fR\&\f(CW] .fi .in -0.3i .ft R @@ -233,12 +233,12 @@ Sets the perpendicular mode. Use 0 for normal, 2 for 500kb/s perpendicular, and 3 for 1 Mb/s perpendicular. .TP -\&\fR\&\f(CWseek-out\ \fIdrvsel\ n\fR\&\f(CW\fR\ +\&\fR\&\f(CWseek_out\ \fIdrvsel\ n\fR\&\f(CW\fR\ does a relative seek of \&\fIn\fR cylinders towards cylinder 0. .TP -\&\fR\&\f(CWseek-in\ \ \fIdrvsel\ n\fR\&\f(CW\fR\ +\&\fR\&\f(CWseek_in\ \ \fIdrvsel\ n\fR\&\f(CW\fR\ does a relative seek of \fIn\fR cylinders away from cylinder 0. .PP .SS Commands\ available\ on\ 82077AA\ and\ later --- fdutils-5.5-20060227.orig/src/fdmount.c +++ fdutils-5.5-20060227/src/fdmount.c @@ -22,7 +22,9 @@ #include #endif -#include +/* JV: the following breaks with linux-kernel-headers 2.5.999-test7-bk-9 */ +/* #include */ +#include "ext2-stuff.h" #ifdef HAVE_LINUX_XIA_FS_H #include --- fdutils-5.5-20060227.orig/src/mediaprm +++ fdutils-5.5-20060227/src/mediaprm @@ -774,7 +774,7 @@ # CMD FD2000 disk drive, a third party floppy disk drive for the # Commodore line of computers with double of the capacity: "CMDFD2M": - DS HD sect=10 cyl=81 ssize=1024 fmt_gap=100 gap=12 swapsides + DS HD sect=10 cyl=81 ssize=1024 fmt_gap=100 gap=12 swapsides # Color computer, sides 1 and 2 "COCO1": --- fdutils-5.5-20060227.orig/src/MAKEFLOPPIES +++ fdutils-5.5-20060227/src/MAKEFLOPPIES @@ -10,6 +10,13 @@ set -e set -u + +# check for devfs +if [ -e /dev/.devfsd ]; then + echo "devfs found, skipping MAKEFLOPPIES..." >&2 + exit 0 +fi + MAJOR=2 TMPDEVICE=/dev/tmpfloppy$$ if [ ! -b /dev/fd0 ] ; then @@ -47,7 +54,7 @@ { if [ $# -lt 1 ]; then return fi - if [ "$1" -lt 1 -o "$1" -ge $# ]; then + if [ "$1" -lt 1 ] || [ "$1" -ge $# ]; then return fi shift $1 @@ -101,7 +108,7 @@ # main() PERMISSION=666 -while [ $# -ge 1 -o -n "${REMAINDER}" ]; do +while [ $# -ge 1 ] || [ -n "${REMAINDER}" ]; do if [ -n "$REMAINDER" ]; then ## Continue processing options stuck together ARG=$REMAINDER @@ -203,23 +210,23 @@ fi FORMATS=`getword "$CMOS" $CMOSFORMATS` - if [ -n "$VERBOSE" -o -n "$DRYRUN" ]; then + if [ -n "$VERBOSE" ] || [ -n "$DRYRUN" ]; then echo rm -f "$FILE"* fi if [ -z "$DRYRUN" ]; then rm -f "$FILE"* fi - if [ -z "$CMOS" -o -z "$CN" ]; then + if [ -z "$CMOS" ] || [ -z "$CN" ]; then echo "Skipping invalid drive \"$FILE\"" >&2 continue fi echo "Creating \"$FILE\", ID=$DRIVE, Type=$CMOS ($CN)" if [ -z "$DRYRUN" ]; then mknod "$FILE" b "$MAJOR" "$BASENUMBER" - chown root.floppy "$FILE" + chown root:floppy "$FILE" chmod ${PERMISSION} "$FILE" fi - if [ -n "$VERBOSE" -o -n "$DRYRUN" ]; then + if [ -n "$VERBOSE" ] || [ -n "$DRYRUN" ]; then echo mknod "$FILE" b "$MAJOR" "$BASENUMBER" fi @@ -240,10 +247,10 @@ fi if [ -z "$DRYRUN" ]; then mknod "${FILE}${NAME}" b "$MAJOR" "$MINOR" - chown root.floppy "${FILE}${NAME}" + chown root:floppy "${FILE}${NAME}" chmod ${PERMISSION} "${FILE}${NAME}" fi - if [ -n "$VERBOSE" -o -n "$DRYRUN" ]; then + if [ -n "$VERBOSE" ] || [ -n "$DRYRUN" ]; then echo mknod "${FILE}${NAME}" b "$MAJOR" "$MINOR" fi fi --- fdutils-5.5-20060227.orig/src/superformat.c +++ fdutils-5.5-20060227/src/superformat.c @@ -486,6 +486,21 @@ #define DRIVE_DEFAULTS (drive_defaults[drivedesc.type.cmos]) +static int +file_exists (const char *filename) +{ + struct stat buf; + int res; + res = stat (filename, &buf); + if (! res) return 1; + if (res && errno != ENOENT) { + fprintf (stderr, "error: cannot stat %s (%s)\n", + filename, strerror (errno)); + exit (1); + } + return 0; +} + int main(int argc, char **argv) { int nseqs; /* number of sequences used */ @@ -494,7 +509,7 @@ struct params fd[MAX_SECTORS], fd0; int ch,i; short density = DENS_UNKNOWN; - char drivename[10]; + char drivename[15]; int have_geom = 0; int margin=50; @@ -756,7 +771,12 @@ ioctl(fd[0].fd, FDGETPRM, &geometry); have_geom = 1; close(fd[0].fd); - snprintf(drivename,9,"/dev/fd%d", fd[0].drive); + + if (file_exists ("/dev/.devfsd")) { + snprintf(drivename,14,"/dev/floppy/%d", fd[0].drive); + } else { + snprintf(drivename,9,"/dev/fd%d", fd[0].drive); + } fd[0].name = drivename; continue; } --- fdutils-5.5-20060227.orig/src/enh_options.c +++ fdutils-5.5-20060227/src/enh_options.c @@ -529,6 +529,7 @@ /* setting of variables out of environment */ +/* Commented out on 1998-08-28 by AF, Re: Debian Bug#12166 for( option_index=0; option_index. + * + * This file contains a copy of all the necessary declarations. These + * are ripped of "ext2_fs.h" from the kernel-headers-2.4.22-1 package. + * + * This file is Copyright 2003 Jochen Voss . + * You may redistribute it under the terms of the GPL version 2. + */ + +#ifndef EXT2_STUFF_SEEN +#define EXT2_STUFF_SEEN + +#define EXT2_SUPER_MAGIC 0xEF53 +struct ext2_super_block { + __u32 s_inodes_count; /* Inodes count */ + __u32 s_blocks_count; /* Blocks count */ + __u32 s_r_blocks_count; /* Reserved blocks count */ + __u32 s_free_blocks_count; /* Free blocks count */ + __u32 s_free_inodes_count; /* Free inodes count */ + __u32 s_first_data_block; /* First Data Block */ + __u32 s_log_block_size; /* Block size */ + __s32 s_log_frag_size; /* Fragment size */ + __u32 s_blocks_per_group; /* # Blocks per group */ + __u32 s_frags_per_group; /* # Fragments per group */ + __u32 s_inodes_per_group; /* # Inodes per group */ + __u32 s_mtime; /* Mount time */ + __u32 s_wtime; /* Write time */ + __u16 s_mnt_count; /* Mount count */ + __s16 s_max_mnt_count; /* Maximal mount count */ + __u16 s_magic; /* Magic signature */ + __u16 s_state; /* File system state */ + __u16 s_errors; /* Behaviour when detecting errors */ + __u16 s_minor_rev_level; /* minor revision level */ + __u32 s_lastcheck; /* time of last check */ + __u32 s_checkinterval; /* max. time between checks */ + __u32 s_creator_os; /* OS */ + __u32 s_rev_level; /* Revision level */ + __u16 s_def_resuid; /* Default uid for reserved blocks */ + __u16 s_def_resgid; /* Default gid for reserved blocks */ + /* + * These fields are for EXT2_DYNAMIC_REV superblocks only. + * + * Note: the difference between the compatible feature set and + * the incompatible feature set is that if there is a bit set + * in the incompatible feature set that the kernel doesn't + * know about, it should refuse to mount the filesystem. + * + * e2fsck's requirements are more strict; if it doesn't know + * about a feature in either the compatible or incompatible + * feature set, it must abort and not try to meddle with + * things it doesn't understand... + */ + __u32 s_first_ino; /* First non-reserved inode */ + __u16 s_inode_size; /* size of inode structure */ + __u16 s_block_group_nr; /* block group # of this superblock */ + __u32 s_feature_compat; /* compatible feature set */ + __u32 s_feature_incompat; /* incompatible feature set */ + __u32 s_feature_ro_compat; /* readonly-compatible feature set */ + __u8 s_uuid[16]; /* 128-bit uuid for volume */ + char s_volume_name[16]; /* volume name */ + char s_last_mounted[64]; /* directory where last mounted */ + __u32 s_algorithm_usage_bitmap; /* For compression */ + /* + * Performance hints. Directory preallocation should only + * happen if the EXT2_COMPAT_PREALLOC flag is on. + */ + __u8 s_prealloc_blocks; /* Nr of blocks to try to preallocate*/ + __u8 s_prealloc_dir_blocks; /* Nr to preallocate for dirs */ + __u16 s_padding1; + __u32 s_reserved[204]; /* Padding to the end of the block */ +}; + +#endif /* EXT2_STUFF_SEEN */ --- fdutils-5.5-20060227.orig/debian/postinst +++ fdutils-5.5-20060227/debian/postinst @@ -0,0 +1,50 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +#DEBHELPER# + +case "$1" in + configure) + install-info --description='Linux floppy utilities' \ + --section "Disk Management" "Disk Management" \ + --quiet /usr/share/info/fdutils.info.gz + + if [ -e /etc/fdmount.conf ]; then + TMPFILE="$(mktemp -q /tmp/fdmount.conf.tmp.XXXXXX)" + db_get fdutils/fdmount_setuid + if [ "$RET" = true ] \ + && grep -q '^is_suid=n.*' /etc/fdmount.conf; then + sed -e 's/^is_suid=.*$/is_suid=yes/' >"$TMPFILE" + chmod 644 "$TMPFILE" + mv "$TMPFILE" /etc/fdmount.conf + dpkg-statoverride --update --add root floppy 4750 /usr/bin/fdmount + elif [ "$RET" = false ] \ + && grep -q '^is_suid=y.*' /etc/fdmount.conf; then + sed -e 's/^is_suid=.*$/is_suid=no/' >"$TMPFILE" + chmod 644 "$TMPFILE" + mv "$TMPFILE" /etc/fdmount.conf + chmod u-s /usr/bin/fdmount + dpkg-statoverride --remove /usr/bin/fdmount + fi + if [ -e "$TMPFILE" ]; then + rm -f "$TMPFILE" + fi + fi + + if [ -e "/etc/fdprm" ]; then + echo "Fdutils-5.0 introduced two new configuration files: /etc/mediaprm and" >&2 + echo "/etc/driveprm. They replace the old /etc/fdprm." >&2 + echo "Renaming old file /etc/fdprm to /etc/fdprm.obsolete ..." >&2 + mv -f /etc/fdprm /etc/fdprm.obsolete + echo >&2 + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + ;; +esac --- fdutils-5.5-20060227.orig/debian/templates +++ fdutils-5.5-20060227/debian/templates @@ -0,0 +1,19 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# debian-l10n-english@lists.debian.org for advice. +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: fdutils/fdmount_setuid +Type: boolean +Default: false +_Description: Should fdmount be installed 'setuid root'? + In order to enable ordinary users to mount a floppy disk, + the fdmount program can be installed with the set-user-ID bit set, so + that it will run with the permissions of the superuser. + . + Such a setting may have security implications in the case of + vulnerabilities in fdmount's code. --- fdutils-5.5-20060227.orig/debian/dirs +++ fdutils-5.5-20060227/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/sbin +etc +usr/share/doc-base --- fdutils-5.5-20060227.orig/debian/changelog +++ fdutils-5.5-20060227/debian/changelog @@ -0,0 +1,575 @@ +fdutils (5.5-20060227-2) unstable; urgency=low + + [ Anibal Monsalve Salazar ] + + * ACKed NMU. Closes: #402236, #408214, #412305 + * Bumped Standards-Version to 3.7.3 + * Fixed the following lintian messages: + - fdutils source: debian-rules-ignores-make-clean-error line 39 + - fdutils source: out-of-date-standards-version 3.7.2 (current is 3.7.3) + + [ Christian Perrier ] + + * This upload fixes pending l10n issues + * Debconf templates and debian/control reviewed by the debian-l10n- + english team as part of the Smith review project. Closes: #459225 + * [Debconf translation updates] + - Galician. Closes: #459987 + - Vietnamese. Closes: #460035 + - Finnish. Closes: #460284 + - German. Closes: #460941 + - Italian. Closes: #461561 + - Japanese. Closes: #461936 + - Basque. Closes: #462022 + - Russian. Closes: #462132 + - Catalan. Closes: #462170 + - Czech. Closes: #462438 + - Portuguese. Closes: #462571 + - French. Closes: #463103 + - Spanish. Closes: #473576 + * Fix debian/watch file to report upstream version. Closes: #449648 + * [Lintian] Reformat the earlier entries of debian/changelog + * [Lintian] Move doc-base section to System/Hardware + * [Lintian] Use debian/compat to set debhelper compatibility + + -- Anibal Monsalve Salazar Sat, 05 Apr 2008 19:10:53 +1000 + +fdutils (5.5-20060227-1.1) unstable; urgency=low + + * Non-maintainer upload to fix pending l10n issues. + * Debian translations: + - Spanish. Closes: #402236 + - Galician. Closes: #408214 + - Catalan. Closes: #412305 + + -- Christian Perrier Mon, 26 Feb 2007 07:33:25 +0100 + +fdutils (5.5-20060227-1) unstable; urgency=low + + * Applied upstream's patch fdutils-5.5-20060227.diff.gz to + create fdutils_5.5-20060227.orig.tar.gz. + * Set Standards-Version to 3.7.2. + * New German debconf translation, closes: #355553. + Patch by Mathias Klein . + * New Portuguese debconf translation, closes: #362985. + Patch by Miguel Figueiredo . + * New Dutch debconf translation, closes: #363044. + Patch by Kurt De Bree . + * Fixed package-uses-deprecated-debhelper-compat-version. + + -- Anibal Monsalve Salazar Thu, 22 Jun 2006 11:10:44 +1000 + +fdutils (5.5-20050303-2) unstable; urgency=low + + * Fixed "fdutils: postinst doesn't remove temporary file", closes: + #317039. + * Added Japanese debconf translation, closes: #312356. + Patch by Hideki Yamane . + * Added Italian debconf translation, closes: #325620. + Patch by Luca Monducci . + * Added Swedish debconf translation, closes: #331472. + Patch by Daniel Nylander . + * Set Section to utils and Standards-Version to 3.6.2 in + debian/control and DH_COMPAT to 4 in debian/rules. + * Updated FSF postal address in debian/copyright. + + -- Anibal Monsalve Salazar Sat, 08 Oct 2005 20:49:10 +1000 + +fdutils (5.5-20050303-1) unstable; urgency=low + + * New upstream release. + * Added Vietnamese debconf translation, closes: #311647. + Patch by Clytie Siddall . + * Added French debconf translation, closes: #311693. + Patch by Steve . + * Added Czech debconf translation, closes: #311097. + Patch by Martin Sín . + + -- Anibal Monsalve Salazar Sat, 04 Jun 2005 18:15:35 +1000 + +fdutils (5.4-20040228-4) unstable; urgency=low + + * Fixed "Mistake in man page of fdrawcmd", closes: #270432. + Patch by Loic Le Guyader . + * Fixed "man page typos", closes: #302148. Patch by A Costa + . + * Fixed "improve initial message with (y/N)", closes: #306097, + #298046. Patch by Jari Aalto . + * Fixed "Should use debconf to ask questions", closes: #230684. + Patch by Colin Watson . + + -- Anibal Monsalve Salazar Tue, 17 May 2005 20:18:31 +1000 + +fdutils (5.4-20040228-3) unstable; urgency=low + + * New maintainer, closes: #298758. + + -- Anibal Monsalve Salazar Sat, 09 Apr 2005 09:53:02 +1000 + +fdutils (5.4-20040228-2) unstable; urgency=low + + * orphan the package: since my laptop died I do no longer own a machine + with a floppy drive + + -- Jochen Voss Wed, 9 Mar 2005 18:21:10 +0000 + +fdutils (5.4-20040228-1) unstable; urgency=low + + * new upstream (only incorporates one of our patches) + * update config.sub and config.guess + * fix the manual section in the MAKEFLOPPIES manual page + * remove XSIisms and replace use of /bin/bash with /bin/sh. + Thanks, David Weinehall (closes: #254933) + + -- Jochen Voss Sat, 19 Jun 2004 00:11:51 +0100 + +fdutils (5.4-20030718-3) unstable; urgency=low + + * mention in the documentation that USB floppies are not + supported (closes: #79362) + * reencode the changelog in UTF-8 + * update Standards-Version to 3.6.0 + + -- Jochen Voss Wed, 25 Feb 2004 20:32:52 +0000 + +fdutils (5.4-20030718-2) unstable; urgency=low + + * Fix the kernel-headers breakage by including a copy + of all the necessary stuff into the package. + * Fix the media parameters for the CBM1581 format. + Thanks, Peter Karlsson (Closes: #212964) + + -- Jochen Voss Tue, 2 Dec 2003 10:27:29 +0000 + +fdutils (5.4-20030718-1) unstable; urgency=low + + * new upstream release (only minor fixes) + * change the relation to the mtools package into a "Recommends" + (Closes: #200180) + * src/MAKEFLOPPIES, debian/rules: Fix the chown calls to use ':' + instead of '.' (Closes: #205367) + * Convert all the annoying stuff at the top of the manual pages into + less annoying stuff near the end. + * Explain in the manual how to switch off the "--verify_later" + option. + * Fix some compiler warnings. + * Upgrade to policy version 3.6.0: implement the "noopt" and + "nostrip" keywords for DEB_BUILD_OPTIONS. + + -- Jochen Voss Wed, 20 Aug 2003 14:26:01 +0200 + +fdutils (5.4-20030528-1) unstable; urgency=low + + * New upstream release: + - Makefile fixes + - More appropirate skew for 3 1/2 XDF disks + (20% performance increase) + - Fixes to the -3 format + * Upgrade to policy version 3.5.4 (no changes necessary) + * Fix a mistake in the debian/rules clean target + * Extend the long package description + + -- Jochen Voss Fri, 6 Jun 2003 17:22:17 +0200 + +fdutils (5.4-20021102-1) unstable; urgency=low + + * New upstream release. + This incorporates many of our patches :-) + + -- Jochen Voss Tue, 5 Nov 2002 18:28:00 +0100 + +fdutils (5.4-20020222-3) unstable; urgency=low + + * Fixed the package description (Closes: #149216) + * Work around bug #148587 by always enabling --verify_later for now. + This should be reverted, once the problem is fixed upstream. + (Closes: #148587) + + -- Jochen Voss Sun, 30 Jun 2002 12:42:26 +0200 + +fdutils (5.4-20020222-2) unstable; urgency=low + + * superformat: use /dev/floppy/%d instead of /dev/fd%d on + devfs-systems. I cannot test this myself, so please + check and report any remaining problems. (Closes: #110225) + + -- Jochen Voss Tue, 4 Jun 2002 19:34:09 +0200 + +fdutils (5.4-20020222-1) unstable; urgency=low + + * New upstream release (bug fixes) + * Add support for DEB_BUILD_OPTIONS to debian/rules + * Incorporate patch from John. R. Daily (Closes: #124365) + + -- Jochen Voss Tue, 21 May 2002 15:43:17 +0200 + +fdutils (5.4-1) unstable; urgency=low + + * New upstream release (Closes: #79618). + It comes late, but here it is. + + -- Jochen Voss Tue, 21 May 2002 14:13:54 +0200 + +fdutils (5.3-7) unstable; urgency=low + + * The fixing-some-typos-release: + + * Fix the doc-base control file (Closes: #137537) + * Fix the fdutilsconfig help message (Closes: #134749) + * Fix the error message for formating write protected disks + (backported from fdutils-5.4) (Closes: #133957) + * Remove spurious "diskseek" from the diskseekd manual page + (Closes: #99522) + + -- Jochen Voss Mon, 11 Mar 2002 19:32:01 +0100 + +fdutils (5.3-6) unstable; urgency=high + + * Urgency is high, because some noninteractive installs did + not work properly with previous versions. + + * Ignore case of $DEBIAN_FRONTEND (Closes: #134380) + * Backport fixes for MAKEFLOPPIES from the new upstream version + (Closes: #129492) + * Improved README file. Mention fdutils from the util-linux package, + to help people who suffer from the superformat problems. + + -- Jochen Voss Mon, 18 Feb 2002 20:35:26 +0100 + +fdutils (5.3-5) unstable; urgency=low + + * This upload should really move into woody eventually, because + revision 5.3-3.6 suffers from the problems described in bugs + #130805 and #130473. I left the urgency at "low", to give my + changes for 5.3-4 enough time for testing. + + * Do not attempt to create floppy device nodes in the postinst. + They should be created by debootstrap. You could use MAKEDEV at + any time to recreate them, if they get lost. (closes: #130748) + * Remove makedev from the Depends line + * Update README.Debian + + * Change the section to "base" (match the override file). + + -- Jochen Voss Sun, 27 Jan 2002 00:08:41 +0100 + +fdutils (5.3-4) unstable; urgency=low + + * New maintainer (with permission from Vaidhy Mayilrangam) + + * Use /sbin/MAKEDEV instead of MAKEFLOPPIES, because MAKEFLOPPIES is + broken. Change the version requirement for the makedev + dependency to 2.3.1-24. (Closes: #55668, #130473) + * Call umount(2) with mountpoint instead of device. + Did the old version actually work for anybody? (Closes: #120114) + * Use dpkg-statoverride in the fdutilsconfig helper script instead of + obsolete suidmanger. Restrict access to members of group + "floppy". (Closes: #63677) + * Remove confusing postinst message about fdformat being obsolete + (Closes: #127853) + * Improvements to the debian/rules file. Use debhelper, + add the missing debhelper tokens to prerm and postinst. + * Remove dh-make template debian/menu.ex (Closes: #126846) + * Rename "makefloppies.1" manpage to "MAKEFLOPPIES.8". + * Package is now lintian clean + + * Acknowledge NMUs. Closes: #96655, #74121, #90789, #96845, #97545, + #99125, #96151, #67426, #81999, #95835, #51368, #82000 + + -- Jochen Voss Tue, 15 Jan 2002 23:40:15 +0100 + +fdutils (5.3-3.6) unstable; urgency=high + + * Non-maintainer upload. + * _Really_ don't create device nodes on devfs systems. + (use test -e instead of test -f for /dev/.devfsd) + * This really should use MAKEDEV, but this method introduces a minimum + of changes (one character in MAKEFLOPPIES). (Closes: #96845) + + -- Matt Zimmerman Tue, 15 Jan 2002 20:49:03 -0500 + +fdutils (5.3-3.5) unstable; urgency=low + + * Non-maintainer upload. + * Don't create device nodes on devfs systems. + * (Closes: #96845, #106576, #111089, #121713) + + -- Steve Kowalik Sat, 5 Jan 2002 00:00:48 +1100 + +fdutils (5.3-3.4) unstable; urgency=low + + * Non-maintainer upload (sorry for this, but we are freezing). + * Fixed references from docbase file to /usr/doc (closes: #74121) + + -- Bas Zoetekouw Wed, 28 Nov 2001 16:27:24 +0100 + +fdutils (5.3-3.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix printf-is-a-macro issue (gcc 3.0). Closes: #99125 + + -- LaMont Jones Mon, 9 Jul 2001 21:39:34 -0600 + +fdutils (5.3-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Remove/replace some linux/ headers files to try to get fdutils to build + on arm again. Thanks the Phil Blundell for the patch. + (Closes: Bug#97031, Bug#97545) + * Bumped Standards-Version + + -- Anthony Towns Mon, 28 May 2001 14:33:12 +1000 + +fdutils (5.3-3.1) unstable; urgency=high + + * Non-maintainer upload. + * Add build dependencies, closes: #82000 + * Build-depend on and use kernel-headers-2.2.19, closes: #90789, #81999 + * Downgrade mtools recommendation to a suggestion, closes: #51368, #95835 + * Remove /usr/doc/fdutils link in prerm, thanks to Adrian Bunk, + closes: #67426 + * Noninteractive postinst if DEBIAN_FRONTEND=Noninteractive, closes: #96151 + * Urgency high, since the latter is needed for boot-floppies + + -- Anthony Towns Sat, 5 May 2001 18:13:51 +1000 + +fdutils (5.3-3) unstable; urgency=low + + * Fixes buffer overflow with fdmount. Thanks to Colin Phipps + * closes: #51400 + + -- Vaidhyanathan G Mayilrangam Fri, 3 Dec 1999 16:08:54 -0500 + +fdutils (5.3-2) unstable; urgency=low + + * New Maintainer + * Fixed MAKEFLOPPIES, closes: Bug #51040 + * Already fixed in pervious versions, closes: Bug #12166, + Bug #30782, #35891, #36596 + * fdformat obselete, closes: Bug #8975, #10292 + + -- Vaidhyanathan G Mayilrangam Thu, 25 Nov 1999 11:54:01 -0500 + +fdutils (5.3-1) unstable; urgency=low + + * New upstream release. + * Partially upgraded to standards version 3.0.1: + - Updated copyright to point to /usr/share/common-licenses + - First step towards FHS-compliance: Man and info pages are now + installed under /usr/share. + + -- Anthony Fok Thu, 26 Aug 1999 05:05:59 -0600 + +fdutils (5.2.0.1998-07-01-3) frozen unstable; urgency=medium + + * [Security]: /usr/bin/fdmount is no longer installed suid root + unless the user wishes to. Thanks to the configuration scripts + from gnuplot. Also thanks to Thomas Rössler + for the bug report and suggestion (closes: Bug#27050). + * [doc/man-warning.texi,doc/*.{1,4}]: s/this items/these items/; + * [debian/control]: + - Now depends on debianutils (>= 1.7) due to the use of mktemp in + /usr/sbin/fdutilsconfig. + - Upgraded to standards version 2.5.0.0 (no changes). + * [/usr/share/doc-base/fdutils]: Removed the "DVI" and "info" format + entries to prevent warning messages from install-docs. + + -- Anthony Fok Sun, 24 Jan 1999 19:26:43 -0700 + +fdutils (5.2.0.1998-07-01-2) unstable; urgency=low + + * Removed debian/info because debhelper does not support it. + * [debian/postinst,debian/prerm]: Added calls to install-info + and install-docs. + * [debian/rules]: Installs doc/floppy_formats. + * Fdutils manual and FAQ are now registered with doc-base rather + than with debian/menu (dwww). + * Updated debian/copyright. + + -- Anthony Fok Tue, 8 Sep 1998 04:21:53 -0600 + +fdutils (5.2.0.1998-07-01-1) unstable; urgency=low + + * New upstream release: + Fixed a few bugs listed in the Debian buglist posted to + linux.debian.bugs.dis + 1. Lessen dependancy of superformat on mtools by not failing if + mformat cannot be called: low-level verify will still be done, but + mbadblocks will be skipped (closes: Bug#6562, Bug#7892) + 2. Fixed a few instances where the return value of getopt was + misdeclared as a char instead of an integer + (closes: Bug#10775, Bug#10777, Bug#10778) + 3. Fixed device names in fd.4 (closes: Bug#8343) + * Updated config.guess and config.sub from the latest autoconf (2.12-9). + * [debian/postinst]: Runs "/usr/sbin/MAKEFLOPPIES -g" instead of + "/dev/MAKEDEV floppy-all". (Yes, I decided to flip-flop. :-) + (closes: #19925) + * [debian/control]: Updated author's e-mail address, and fixed a typo + s/www.tug.org/www.tux.org/ of the upstream website. (Oops!) :-) + * [src/enh_options.c]: Commented out the undocumented and somewhat + problematic "setting of variables out of environment" section. + Will discuss with upstream author (closes: Bug#12166). + + -- Anthony Fok Fri, 28 Aug 1998 06:12:43 -0600 + +fdutils (5.2pl4-3) frozen unstable; urgency=low + + * Removed dh_du from debian/rules. + (Fixed Lintian error: fdutils: unknown-control-file du) + * Revised /usr/doc/fdutils/copyright. + (Fixed Lintian error: fdutils: copyright-refers-to-compressed-license + usr/doc/copyright/GPL.gz) + * Upgraded to standards version 2.4.1.0 (no changes). + + -- Anthony Fok Mon, 11 May 1998 04:19:51 -0600 + +fdutils (5.2pl4-2) unstable; urgency=low + + * closes=6113 7899 10199 12509 12619 15004 + * postinst: + - Added "#DEBHELPER#". + - No longer stops and prompts the user. (Bug#7899,#12619) + - Runs "/dev/MAKEDEV floppy-all" instead of "/usr/sbin/MAKEFLOPPIES -g". + (Bug#10199) + * debian/control: + - Depends: makedev (>= 1.6-28) (Bug#10199) + - Recommends: mtools (instead of Suggests) (Bug#6113,#15004) + * Changed my maintainer e-mail address to . :) + * Cleaned up debian/rules. + * Closed an aesthetic bug report. (Bug#12509) + * Removed /usr/bin/fdformat and its manpage. fdformat is obsolete, + and the simulation script is buggy and I don't know how to fix it. + Use superformat instead! + + -- Anthony Fok Tue, 6 Jan 1998 04:04:36 -0700 + +fdutils (5.2pl4-1) unstable; urgency=low + + * New upstream release: Applied upstream patch dated 1997-11-04. + * Upgraded to standards version 2.3.0.1 + * debian/rules: Now uses debhelper. + * Did some minor clean-up and applied some patches to original source. + * Sorry, there are still lots of bugs that I haven't fixed yet. :) + + -- Anthony Fok Sun, 23 Nov 1997 07:01:24 -0700 + +fdutils (5.2pl3-2) unstable; urgency=low + + * Changed permission of /usr/bin/fdmount to 4755 + * Modified sh script /usr/bin/fdformat to make it work with the new + getfdprm and superformat in fdutils 5.x. + + -- Anthony Fok Mon, 4 Aug 1997 07:44:57 -0600 + +fdutils (5.2pl3-1) unstable; urgency=low + + * Added a note about the new /etc/mediaprm and /etc/driveprm + in postinst. (/etc/fdprm is obsolete.) + * Added a menu entry (dwww) for Fdutils_toc.html and FAQ.html + * Added documentation in info, html and DVI formats + * Now suggests the "mtools" package. + * Compiled with libc6. (#11215) + * Upgraded to standards version 2.2.0.0. + * New (temporary) maintainer. :) + * New upstream release, including patches dated 1997-06-29. (#11679) + + -- Anthony Fok Sat, 2 Aug 1997 03:19:06 -0600 + +fdutils (4.3-6) unstable; urgency=low + + * Initial conversion of fdutils 4.3-5 to new packaging standard. + + -- Mark W. Eichin Mon, 17 Feb 1997 20:20:21 -0500 + +fdutils (4.3-5) unstable; urgency=low + + * Corrected fdmount mode back to 4750 (Bug#4051) + + -- Mark W. Eichin Mon, 17 Feb 1997 20:20:21 -0500 + +fdutils (4.3-4) unstable; urgency=low + + * Corrected fdmount mode to 4755 (Bug#4051) + * Usage of fdmount is still restricted to group floppy + * Applied upstream patche 2108 + + -- Mark W. Eichin Mon, 17 Feb 1997 20:20:21 -0500 + +fdutils (4.3-3) unstable; urgency=low + + * Applied upstream patch 2406 + * One more fix to postinst script (Bug#3412) + + -- Mark W. Eichin Thu, 27 Jun 1996 21:57:56 -0500 + +fdutils (4.3-2) unstable; urgency=low + + * Applied upstream patch 2205 + * Corrected debian.rules for new naming scheme + * Replaced fdformat by a shell script that calls superformat + * Minor correction to debian.postinst + + -- Mark W. Eichin Thu, 20 Jun 1996 09:19:53 -0500 + +fdutils (4.3-1) unstable; urgency=low + + * New upstream version + + -- Mark W. Eichin Wed, 15 May 1996 12:34:39 -0500 + +fdutils (4.2-6) unstable; urgency=low + + * Added 'Replaces' field to control file (Bug#2932) + + -- Mark W. Eichin Mon, 13 May 1996 11:40:17 -0500 + +fdutils (4.2-5) unstable; urgency=low + + * Corrected some minor bugs in fdrawcmd.c and FAQ + (fdutils-4.2-2104.diff) + * Corrected MAKEFLOPPIES to not generate world writable devices + (Bug# 2782, Bug# 2827) + + -- Mark W. Eichin Thu, 25 Apr 1996 13:59:13 -0500 + +fdutils (4.2-4) unstable; urgency=low + + * Corrected some minor bugs (fdutils-4.2-2503.diff) + * Added "Replaces: miscutils" to control file (Bug# 2324) + * Changed fdprm (Bug# 1004) + + -- Mark W. Eichin Thu, 11 Apr 1996 13:43:50 -0500 + +fdutils (4.2-3) unstable; urgency=low + + * Added call to MAKEFLOPPIES to postinst script (user is asked + before starting it) + * Corrected some minor bugs (fdutils-4.2-1602.diff) + + -- Mark W. Eichin Fri, 01 Mar 1996 13:42:44 -0500 + +fdutils (4.2-2) unstable; urgency=low + + * Added -s flag for fdformat + * renamed fdumountd to fdmountd as proposed in fdutils-diffs 310196 + * Added -g to CFLAGS + + -- Mark W. Eichin Sun, 04 Feb 1996 16:04:48 -0500 + +fdutils (4.2-1) unstable; urgency=low + + * Corrected controls file + * Added fdformat for those who want to compare it to superformat. + It is not decided yet, what we will do with this program in the + future. + + -- Mark W. Eichin Fri, 26 Jan 1996 12:24:23 -0500 + +fdutils (4.2-0) unstable; urgency=low + + * Added Debian GNU/Linux package maintenance system files. + * Configured Makefile: + - Added DESTDIR-Variable for being able to install into + debian-tmp + + -- Mark W. Eichin Tue, 09 Jan 1996 16:01:15 -0500 --- fdutils-5.5-20060227.orig/debian/config +++ fdutils-5.5-20060227/debian/config @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e + +. /usr/share/debconf/confmodule + +if [ -e /etc/fdmount.conf ]; then + if grep -q '^is_suid=y.*$' /etc/fdmount.conf; then + db_set fdutils/fdmount_setuid true + else + db_set fdutils/fdmount_setuid false + fi +fi + +if [ "$1" = reconfigure ] || [ ! -e /etc/fdmount.conf ] \ + || dpkg --compare-versions "$2" lt 5.2.0.1998-07-01-3; then + db_input medium fdutils/fdmount_setuid || true + db_go || true +fi --- fdutils-5.5-20060227.orig/debian/copyright +++ fdutils-5.5-20060227/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Vaidhyanathan G Mayilrangam + on Thu, 25 Nov 1999 11:54:01 -0500. At +the beginning of year 2002 it was taken over by Jochen Voss +. + +This package is currently maintained by +Anibal Monsalve Salazar . + +It was downloaded from + ftp://ftp.tux.org/pub/knaff/fdutils/fdutils-5.5.tar.gz + +Copyright: + + fdutils -- Linux floppy utilities + Copyright (C) 1993-1999 Alain Knaff + + 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. + + +All the other scripts and control files for building and installing +fdutils under Debian GNU/Linux are also under the GNU General Public +License (GPL) version 2 or later. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in '/usr/share/common-licenses/GPL'. --- fdutils-5.5-20060227.orig/debian/README.Debian +++ fdutils-5.5-20060227/debian/README.Debian @@ -0,0 +1,45 @@ +Fdutils + +Fdutils is set of tools to handle floppy disk drives. +It includes the following items + + * superformat: formats high capacity disks of (up to 1992k for + high density disks or up to 3984k for extra density disks) + * fdmount/fdmountd: automatically mounts/unmounts disks when they + are inserted/removed. + * xdfcopy: formats, reads and writes OS/2's XDF disks. + * MAKEFLOPPIES: creates the floppy devices in /dev + * getfdprm: prints the current disk geometry (number of sectors, + track and heads etc) + * setfdprm: sets the current disk geometry + * fdrawcmd: sends raw commands to the floppy driver + * floppycontrol: configure the floppy driver + * General documentation about the floppy driver + +Note, that the utilities do not work for USB floppy +drives, because these are handled by the system as +emulated SCSI disks, and the tools cannot access the +floppy controller there. + +In order to make use of the more exotic floppy formats +you may have to create the corresponding device files +in /dev/. To do so you can use (as root) the command + + MAKEFLOPPIES -g + +which will probe the floppy driver in the kernel and +create just the devices your kernel supports. +Or you can use MAKEDEV to create a default set of devices. + +To make full use of fdmount you may want to set the suid bit +for the fdmount executable. To do so, you can use the +fdutilsconfig script, which is distributed with fdutils. + +There are some known issues with superformat on non-i386 +and devfs systems. If superformat does not work for you, +you can try "fdformat" from the util-linux package, +instead. + +Jochen + + -- Jochen Voss , Wed Feb 25 20:37:24 2004 --- fdutils-5.5-20060227.orig/debian/fdutilsconfig.8 +++ fdutils-5.5-20060227/debian/fdutilsconfig.8 @@ -0,0 +1,44 @@ +.\" dummy line +.TH FDUTILSCONFIG 8 "24 January 1999" +.UC 4 +.SH NAME +fdutilsconfig \- configure the suid bit of fdmount +.SH SYNOPSIS +.B fdutilsconfig +.br +.SH DESCRIPTION +The +.B fdutilsconfig +script provides an interactive way to configure the suid bit of +the +.BR fdmount "(1)" +binary. It asks you some questions, give you a hint +if needed, and enters your choice to +.I /etc/fdmount.conf +file. +.PP +When upgrading the Debian fdutils package, the suid bit information stored in +.I /etc/fdmount.conf +is used to tell the new fdmount binary to keep your old suid bit settings. +.PP +The script makes use of the +.BR suidmanager +Debian package, if it is installed. If the script cannot find it, +it manipulates the suid bit directly via `chmod u+s' command. +.SH FILES +.B fdutilsconfig +reads and writes the configuration from /etc/fdmount.conf. This file is +usually created when the fdutils package is installed for the first time. +Please don't edit /etc/fdmount.conf manually! Use +.B fdutilsconfig +instead. +.SH NOTE +This script was written exclusively for the Debian GNU/Linux distribution. +It is not a part of the upstream fdutils sources. +.SH AUTHORS +.B fdutilsconfig +was adapted by Anthony Fok from the +.B gnuplotconfig +script written by Tibor Simko . +.SH SEE ALSO +.BR fdmount "(1), " suidregister "(8), " suidunregister "(8)" --- fdutils-5.5-20060227.orig/debian/postrm +++ fdutils-5.5-20060227/debian/postrm @@ -0,0 +1,9 @@ +#! /bin/sh + +#DEBHELPER# + +if [ "$1" = "purge" ]; then + if dpkg-statoverride --list /usr/bin/fdmount >/dev/null; then + dpkg-statoverride --remove /usr/bin/fdmount + fi +fi --- fdutils-5.5-20060227.orig/debian/rules +++ fdutils-5.5-20060227/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# Copyright (c) 2005 Anibal Monsalve Salazar + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# support the DEB_BUILD_OPTIONS variable +CFLAGS = -Wall -g +LDFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +export CFLAGS +export LDFLAGS + +INSTALL_PROGRAM = /usr/bin/install -p +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +export INSTALL_PROGRAM + +build: build-stamp +build-stamp: + dh_testdir + ./configure --prefix=/usr --sysconfdir=/etc \ + --infodir='$${prefix}/share/info' \ + --mandir='$${prefix}/share/man' + + $(MAKE) all html + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) -C src spotless + [ ! -f Makefile ] || $(MAKE) clean + rm -f doc/texi-linearize doc/Fdutils.texi doc/Fdutils.html src/floppymeter src/convertfdprm + rm -f Makefile src/Makefile doc/Makefile + rm -f config.log config.cache config.status config.h + dh_clean + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/share/lintian/overrides + + $(MAKE) install prefix=`pwd`/debian/fdutils/usr \ + sysconfdir=`pwd`/debian/fdutils/etc + ( cd debian/fdutils/usr/share/man && mv man1/makefloppies.1 man8/MAKEFLOPPIES.8 ) + chown root:floppy debian/fdutils/usr/bin/fdmount + chmod 750 debian/fdutils/usr/bin/fdmount + ( cd debian/fdutils && mv usr/bin/MAKEFLOPPIES usr/sbin/ ) + install -p -m 644 debian/fdmount.conf debian/fdutils/etc/ + install -p -m 755 debian/fdutilsconfig debian/fdutils/usr/sbin/ + install -p -m 644 debian/fdutilsconfig.8 debian/fdutils/usr/share/man/man8/ + + cp debian/fdutils.lintian-overrides debian/fdutils/usr/share/lintian/overrides/fdutils + + dh_installdocs CREDITS doc/README doc/*.html doc/*.dvi \ + doc/floppy_formats + + dh_installman + dh_installchangelogs Changelog + dh_installdebconf + 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 --- fdutils-5.5-20060227.orig/debian/prerm +++ fdutils-5.5-20060227/debian/prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +install-info --quiet --remove /usr/share/info/fdutils.info.gz + +#DEBHELPER# --- fdutils-5.5-20060227.orig/debian/po/fi.po +++ fdutils-5.5-20060227/debian/po/fi.po @@ -0,0 +1,41 @@ +msgid "" +msgstr "" +"Project-Id-Version: fdutils\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-11 21:54+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: Finland\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Tulisiko fdmount asentaa asetuksella ”setuid root”?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Jotta tavalliset käyttäjät voisivat liittää levykkeitä järjestelmään, " +"ohjelma fdmount voidaan asentaa bitti set-user-ID asetettuna, jolloin se " +"ajetaan pääkäyttäjäoikeuksilla." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Tämä asetus voi aiheuttaa turvariskejä, jos fdmountin koodissa on " +"haavoittuvuuksia." --- fdutils-5.5-20060227.orig/debian/po/ru.po +++ fdutils-5.5-20060227/debian/po/ru.po @@ -0,0 +1,47 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2008. +msgid "" +msgstr "" +"Project-Id-Version: 5.5-20060227-1.2\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-22 21:20+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Установить fdmount как 'setuid root'?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Чтобы разрешить обычным пользователям монтировать дискеты, программа fdmount " +"может быть установлена с битом set-user-ID, для того чтобы она выполнялась с " +"правами суперпользователя." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Такая установка может привести к проблемам с безопасностью в случае наличия " +"уязвимостей в коде fdmount." --- fdutils-5.5-20060227.orig/debian/po/nl.po +++ fdutils-5.5-20060227/debian/po/nl.po @@ -0,0 +1,62 @@ +# translation of fdutils_5.5-20050303-2_templates.po to Dutch +# +# This file is distributed under the same license as the fdutils package. +# Please see debian/copyright. +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils_5.5-20050303-2_templates\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2006-04-11 15:35\n" +"Last-Translator: Kurt De Bree \n" +"Language-Team: Nederlands \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +#, fuzzy +#| msgid "" +#| "In order to enable ordinary users to mount a floppy disk using fdmount, " +#| "fdmount needs to be set up as set-user-id root. Please note that this is " +#| "usually considered to be a security hazard." +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Om gewone gebruikers in staat te stellen een diskette te koppelen met " +"fdmount, dient de \"set-user-id\" van fdmount als root ingesteld te worden. " +"Let op: dit wordt over het algemeen als een beveiligingsrisico beschouwd." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "Wilt u de set-user-id bit van fdmount als root instellen?" --- fdutils-5.5-20060227.orig/debian/po/vi.po +++ fdutils-5.5-20060227/debian/po/vi.po @@ -0,0 +1,49 @@ +# Vietnamese Translation for fdutils. +# Copyright © 2008 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.5-20060227-1.2\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-10 18:50+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b1\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Có nên cài đặt fdmount « setuid root » không?" + +# msgid "" +# In order to enable ordinary users to mount a floppy disk using fdmount, +# fdmount needs to be set up as set-user-id root. Please note that this is +# usually considered to be a security hazard. +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Để cho phép những người dùng bình thường gắn kết đĩa mềm, bạn có thể cài đặt " +"chương trình fdmount với bit đặt mã số người dùng (set-user-ID) đã bật, để " +"chương trình chạy với quyền của siêu người dùng." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Thiết lập như vậy có thể rủi ro bảo mật trong trường hợp mã nguồn fdmount dễ " +"bị tấn công." --- fdutils-5.5-20060227.orig/debian/po/fr.po +++ fdutils-5.5-20060227/debian/po/fr.po @@ -0,0 +1,56 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils_5.4-20040228-4\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2005-05-20 09:14+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Faut-il exécuter fdmount avec les privilèges du superutilisateur ?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Pour que les utilisateurs non privilégiés puissent monter une disquette avec " +"fdmount, ce programme doit s'exécuter avec les privilèges du " +"superutilisateur (« setuid root »)." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Cette configuration peut affaiblir la sécurité du système dans le cas d'une " +"vulnérabilité du code de fdmount." + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "fdmout doit-il s'exécuter avec les privilèges du superutilisateur ?" --- fdutils-5.5-20060227.orig/debian/po/templates.pot +++ fdutils-5.5-20060227/debian/po/templates.pot @@ -0,0 +1,40 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" --- fdutils-5.5-20060227.orig/debian/po/es.po +++ fdutils-5.5-20060227/debian/po/es.po @@ -0,0 +1,64 @@ +# fdutils po-debconf translation to Spanish +# Copyright (C) 2005 Software in the Public Interest +# This file is distributed under the same license as the fdutils package. +# +# Changes: +# - Initial translation +# César Gómez Martín +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Equipo de traducción al español, por favor, lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2005-08-12 17:33+0100\n" +"Last-Translator: César Gómez Martín \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "¿Debería instalarse fdmount como 'setuid root'?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Para que los usuarios normales puedan montar un disco flexible el programa " +"fdmount puede instalarse con el bit set-user-ID activado, de forma que se " +"ejecute con permisos de superusuario." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Esta opción puede tener consecuencias indeseadas de seguridad en caso de " +"vulnerabilidades en el código de fdmount." --- fdutils-5.5-20060227.orig/debian/po/cs.po +++ fdutils-5.5-20060227/debian/po/cs.po @@ -0,0 +1,55 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.4\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-24 21:27+0100\n" +"Last-Translator: Martin Sin \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Má být fdmount nainstalován s 'setuid root'" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Aby mohli běžní uživatelé připojovat diskety pomocí fdmountu, je nutné " +"nastavit fdmountu id uživatele root (tzv. setuid), takže bude běžet s právy " +"superuživatele." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Takové nastavení může být bezpečnostním problémem, zejména pokud se v kódu " +"fdmount objeví nějaké chyby." + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "Přejete si vytvořit fdmount s nastaveným id uživatele root?" --- fdutils-5.5-20060227.orig/debian/po/pt.po +++ fdutils-5.5-20060227/debian/po/pt.po @@ -0,0 +1,46 @@ +# translation of fdutils debconf to Portuguese +# Portuguese translation for fdutils +# This file is distributed under the same license as the fdutils package. +# +# André Costa , 2006. +# Américo Monteiro , 2008. +msgid "" +msgstr "" +"Project-Id-Version: fdutils \n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-25 19:23+0000\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Deverá o fdmount ser instalado em modo 'setuid root'?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"De modo a permitir a utilizadores normais montar uma disquete, o programa " +"fdmount pode ser instalado com o bit set-user-ID activo, o que o fará correr " +"com as permissões do super utilizador." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Tal opção pode ter implicações de segurança no caso de vulnerabilidades no " +"código do fdmount." --- fdutils-5.5-20060227.orig/debian/po/it.po +++ fdutils-5.5-20060227/debian/po/it.po @@ -0,0 +1,44 @@ +# Italian (it) translation of debconf templates for fdutils +# Copyright (C) 2005 Free Software Foundation, Inc. +# This file is distributed under the same license as the fdutils package. +# Luca Monducci , 2005-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.5-20060227 debconf templates\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-19 09:25+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Installare fdmount con \"setuid root\"?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Per permettere ai normali utenti di montare dischetti con fdmount, è " +"possibile installare il programma fdmount con il bit set-user-ID attivo in " +"modo da essere eseguito con i permessi di superuser." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Questa impostazione potrebbe avere ripercussioni sulla sicurezza se nel " +"codice di fdmount sono presenti delle vulnerabilità." --- fdutils-5.5-20060227.orig/debian/po/ca.po +++ fdutils-5.5-20060227/debian/po/ca.po @@ -0,0 +1,49 @@ +# +# Catalan translations for fdutils package. +# Copyright (C) 2008 Anibal Monsalve Salazar. +# This file is distributed under the same license as the fdutils package. +# +# Jordà Polo , 2007, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: 5.5-20060227-1\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-22 20:11+0100\n" +"Last-Translator: Jordà Polo \n" +"Language-Team: Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Voleu que fdmount s'instal·li amb «setuid root»?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Per permetre que els usuaris regulars puguin muntar disquets utilitzant " +"fdmount, aquest s'ha d'instal·lar amb el bit «set-user-ID» activat, i per " +"tant executar-se amb permisos de superusuari." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Aquesta opció pot tenir implicacions pel que fa a la seguretat en cas que es " +"trobin vulnerabilitats al codi de l'fdmount." + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "Voleu fer que fdmount sigui «set-user-id root»?" --- fdutils-5.5-20060227.orig/debian/po/sv.po +++ fdutils-5.5-20060227/debian/po/sv.po @@ -0,0 +1,57 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.5-20050303-1\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2005-10-04 19:21+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:2001 +#, fuzzy +#| msgid "" +#| "In order to enable ordinary users to mount a floppy disk using fdmount, " +#| "fdmount needs to be set up as set-user-id root. Please note that this is " +#| "usually considered to be a security hazard." +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Fr att vanliga anvndare ska kunna montera en floppy diskett med fdmount " +"mste fdmount sttas upp som suid root. Notera att detta normalt sett kan " +"innebra en skerhetsrisk." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "Vill du gra fdmount suid root?" --- fdutils-5.5-20060227.orig/debian/po/eu.po +++ fdutils-5.5-20060227/debian/po/eu.po @@ -0,0 +1,46 @@ +# translation of fdutils-eu.po to Euskara +# Aitor Ibanez ,2007. +# Aitor Ibanez ,2008. +# Piarres Beobide , 2007. +# Piarres Beobide , 2008. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +msgid "" +msgstr "" +"Project-Id-Version: fdutils-eu\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-22 00:22+0100\n" +"Last-Translator: Aitor Ibanez \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "fdmount 'setuid root' bezala instalatu?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Erabiltzaile arruntek flopy diskoa muntatu ahal izateko, fdmount programan " +"set-user-ID bita aktibatuta duela instalatu daiteke, supererabiltzailearen " +"baimenekin exekutatua izan dadin." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Konfigurazio honek segurtasunean arazoak sor ditzake, fdmount kodean " +"erasanerrazak diren zatiak egon daitezkelako." --- fdutils-5.5-20060227.orig/debian/po/ja.po +++ fdutils-5.5-20060227/debian/po/ja.po @@ -0,0 +1,53 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.5-20060227-1.2\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-21 07:46+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "fdmount を root に setuid してインストールしますか?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"一般ユーザがフロッピーディスクをマウントできるようにするためには、fdmount プ" +"ログラムは set-user-ID ビットの設定を加えてインストールされています。そのた" +"め、fdmount 管理者権限で動作します。" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"この設定は、fdmount のコードに脆弱性がある場合にセキュリティ問題が起こる可能" +"性があります。" --- fdutils-5.5-20060227.orig/debian/po/de.po +++ fdutils-5.5-20060227/debian/po/de.po @@ -0,0 +1,47 @@ +# Translation of fdutils debconf templates to German +# Copyright (C) Mathias Klein , 2006. +# Copyright (C) Helge Kreutzmann , 2008. +# This file is distributed under the same license as the fdutils package. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils 5.5-20060227-1.2\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-10 22:19+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "Soll Fdmount setuid root installiert werden?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Um es normalen Benutzern zu erlauben, Disketten einzuhngen, kann das " +"Programm Fdmount mit gesetztem set-user-ID-Bit installiert werden, so dass " +"es mit den Rechten des Superusers (root) luft." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Eine solche Einstellung knnte Auswirkungen auf die Sicherheit haben, falls " +"im Code von Fdmount Verwundbarkeiten gefunden werden." + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "Mchten Sie fr fdmount das SUID-Recht (set-user-id root) vergeben?" --- fdutils-5.5-20060227.orig/debian/po/gl.po +++ fdutils-5.5-20060227/debian/po/gl.po @@ -0,0 +1,46 @@ +# Galician translation of fdutils's debconf templates +# This file is distributed under the same license as the fdutils package. +# Jacobo Tarrio , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: fdutils\n" +"Report-Msgid-Bugs-To: fdutils@packages.debian.org\n" +"POT-Creation-Date: 2008-01-09 21:08+0100\n" +"PO-Revision-Date: 2008-01-09 23:44+0000\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Should fdmount be installed 'setuid root'?" +msgstr "¿Quere instalar fdmount con \"setuid root\"?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"In order to enable ordinary users to mount a floppy disk, the fdmount " +"program can be installed with the set-user-ID bit set, so that it will run " +"with the permissions of the superuser." +msgstr "" +"Para permitirlle aos usuarios normais montar un disquete, pódese instalar o " +"programa fdmount co bit de set-user-ID establecido para que funcione cos " +"permisos do superusuario." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Such a setting may have security implications in the case of vulnerabilities " +"in fdmount's code." +msgstr "" +"Esta configuración pode causar problemas se aparecen vulnerabilidades no " +"código de fdmount." + +#~ msgid "Do you want to make fdmount set-user-id root?" +#~ msgstr "¿Quere darlle autoridade de administrador a fdmount?" --- fdutils-5.5-20060227.orig/debian/po/POTFILES.in +++ fdutils-5.5-20060227/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- fdutils-5.5-20060227.orig/debian/fdutils.doc-base.faq +++ fdutils-5.5-20060227/debian/fdutils.doc-base.faq @@ -0,0 +1,9 @@ +Document: fdutils-faq +Title: Fdutils FAQ +Author: Alain Knaff +Abstract: Frequently asked question about the Linux floppy driver. +Section: System/Hardware + +Format: HTML +Index: /usr/share/doc/fdutils/FAQ.html +Files: /usr/share/doc/fdutils/FAQ.html --- fdutils-5.5-20060227.orig/debian/watch +++ fdutils-5.5-20060227/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/-(\d*)// \ +ftp://sunsite.unc.edu/pub/Linux/utils/disk-management/fdutils-(.*).tar.gz debian uupdate --- fdutils-5.5-20060227.orig/debian/compat +++ fdutils-5.5-20060227/debian/compat @@ -0,0 +1 @@ +5 --- fdutils-5.5-20060227.orig/debian/fdutils.lintian-overrides +++ fdutils-5.5-20060227/debian/fdutils.lintian-overrides @@ -0,0 +1 @@ +fdutils: syntax-error-in-debian-changelog line 440 "badly formatted heading line" --- fdutils-5.5-20060227.orig/debian/fdutils.doc-base +++ fdutils-5.5-20060227/debian/fdutils.doc-base @@ -0,0 +1,14 @@ +Document: fdutils +Title: Fdutils: Linux floppy utilities +Author: Alain Knaff +Abstract: Fdutils is a collection of utilities for configuring and + using the Linux floppy driver, for formatting extra capacity disks (up + to 1992K on a high density disk), for sending raw commands to the + floppy controller, for automatic floppy disk mounting and unmounting, + etc. This manual describes these utilities, and also the floppy + driver itself. +Section: System/Hardware + +Format: HTML +Index: /usr/share/doc/fdutils/Fdutils.html +Files: /usr/share/doc/fdutils/Fdutils.html --- fdutils-5.5-20060227.orig/debian/fdmount.conf +++ fdutils-5.5-20060227/debian/fdmount.conf @@ -0,0 +1,7 @@ +# /etc/fdmount.conf - system configuration file for fdmount in fdutils. +# Originally written by Tibor Simko for gnuplot. +# Adapted by Anthony Fok for fdutils. +# Description: this file serves only to keep track of suid bit handling. +# Note: this file should be modified via `/usr/sbin/fdutilsconfig' only! + +is_suid=no --- fdutils-5.5-20060227.orig/debian/control +++ fdutils-5.5-20060227/debian/control @@ -0,0 +1,35 @@ +Source: fdutils +Section: utils +Priority: optional +Maintainer: Anibal Monsalve Salazar +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 5), texi2html, flex, tetex-bin, texinfo, po-debconf +Homepage: http://www.tux.org/pub/knaff/fdutils/ + +Package: fdutils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, debianutils (>= 1.7) +Recommends: mtools (>= 3.8-1) +Replaces: miscutils, manpages (<< 1.11-3) +Description: Linux floppy utilities + This package contains utilities for formatting extra capacity + disks, automatic floppy disk mounting and unmounting, etc. + . + The package includes the following items: + . + - superformat: formats high capacity disks (up to 1992k + for high density disks or up to 3984k for extra density + disks); + - fdmount: automatically mounts/unmounts disks when they are + inserted/removed; + - xdfcopy: formats, reads and writes OS/2's XDF disks; + - MAKEFLOPPIES: creates the floppy devices in /dev; + - getfdprm: prints the current disk geometry (number of + sectors, track and heads etc.); + - setfdprm: sets the current disk geometry; + - fdrawcmd: sends raw commands to the floppy driver; + - floppycontrol: configures the floppy driver; + - general documentation about the floppy driver. + . + Note that these utilities do not work for USB floppy drives, because + these do not allow direct access to the floppy controller. --- fdutils-5.5-20060227.orig/debian/fdutilsconfig +++ fdutils-5.5-20060227/debian/fdutilsconfig @@ -0,0 +1,77 @@ +#!/bin/sh +# /usr/sbin/fdutilsconfig - configuration script for suid bit of fdmount. +# Originally written by Tibor Simko for gnuplot. +# Adapted by Anthony Fok for fdmount in fdutils. +# note: this script modifies `/etc/fdmount.conf' configuration file. + +set -e +set -C + +if [ "root" != "`whoami`" ] +then + echo "Sorry, only root can run this script. Exiting." + exit 1 +fi + +echo "Fdmount suid configuration:" +echo + +if [ ! -e /etc/fdmount.conf ] +then + echo "Sorry, /etc/fdmount.conf not found. Exiting." + exit 1 +fi + +TMPFILE=`mktemp -q /tmp/fdmount.conf.tmp.XXXXXX` +if [ $? -ne 0 ]; then + echo "$0: Can't create temp file, exiting..." + exit 1 +fi + +if grep -q "^is_suid=y.*$" /etc/fdmount.conf; then old=y; else old=n; fi + +while true; do + +if [ "$old" = "y" ] +then + echo " Currently, fdmount is set up as setuid root, beware!" +else + echo " Currently, fdmount is not set up as setuid root. Good." +fi +echo -n " Do you want to change it? (y/n/?) [n] " +read yn +echo +test -n "$yn" || yn="n" +case "$yn" in + [Nn]*) + echo "Okay, keeping the old configuration." + exit 0 + ;; + [Yy]*) + if [ "$old" = "n" ] + then + sed -e "s/^is_suid=.*$/is_suid=yes/" >$TMPFILE + chmod 644 $TMPFILE + mv $TMPFILE /etc/fdmount.conf + dpkg-statoverride --update --add root floppy 4750 /usr/bin/fdmount + exit 0 + else + sed -e "s/^is_suid=.*$/is_suid=no/" >$TMPFILE + chmod 644 $TMPFILE + mv $TMPFILE /etc/fdmount.conf + chmod u-s /usr/bin/fdmount + dpkg-statoverride --remove /usr/bin/fdmount + echo "Okay, fdmount is not set up as setuid root anymore." + exit 0 + fi + ;; + *) + echo " In order to enable ordinary users to mount a floppy disk" + echo " using fdmount, fdmount needs to be set up as setuid root." + echo " Please note that this is usually considered to" + echo " be a security hazard." + echo + ;; +esac + +done