auto-import changelog data from mtools-3.9.7-3.src.rpm
Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jun 17 2000 Trond Eivind Glomsrod <teg@redhat.com> - specify ownership Wed Jun 07 2000 Trond Eivind Glomsrd <teg@redhat.com> - Version 3.9.7 - use %{_mandir}, %{_makeinstall}, %configure, %makeinstall and %{_tmppath} Wed Feb 09 2000 Cristian Gafton <gafton@redhat.com> - get rid of mtools.texi as a doc file (we have the info file) - fix config file so mtools work (#9264) - fix references to the config file to be /etc/mtools.conf Fri Feb 04 2000 Bill Nottingham <notting@redhat.com> - expunge floppyd Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> - man pages are compressed - fix description - version 3.9.6 Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com> - patch to make the texi sources compile - fix the spec file group and description - fixed floppy drive sizes Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> - build for 6.0 - fixed invalid SAMPLE_FILE configuration file Wed Sep 02 1998 Michael Maher <mike@redhat.com> - Built package for 5.2. - Updated Source to 3.9.1. - Cleaned up spec file. Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com> - updated to 3.8 Tue Oct 21 1997 Otto Hammersmith - changed buildroot to /var/tmp, rather than /tmp - use install-info Mon Jul 21 1997 Erik Troan <ewt@redhat.com> - built against glibc Thu Apr 17 1997 Erik Troan <ewt@redhat.com> - Changed sysconfdir to be /etc Mon Apr 14 1997 Michael Fulbright <msf@redhat.com> - Updated to 3.6
This commit is contained in:
parent
1f44a45f91
commit
1455db262d
@ -0,0 +1 @@
|
||||
mtools-3.9.7.tar.gz
|
34
mtools-3.9.6-config.patch
Normal file
34
mtools-3.9.6-config.patch
Normal file
@ -0,0 +1,34 @@
|
||||
--- mtools-3.9.6/mtools.conf.fixes Sun Jan 4 04:29:32 1998
|
||||
+++ mtools-3.9.6/mtools.conf Wed Feb 9 11:41:36 2000
|
||||
@@ -1,22 +1,21 @@
|
||||
# Example mtools.conf files. Uncomment the lines which correspond to
|
||||
# your architecture and comment out the "SAMPLE FILE" line below
|
||||
-SAMPLE FILE
|
||||
|
||||
-# # Linux floppy drives
|
||||
-# drive a: file="/dev/fd0" exclusive
|
||||
-# drive b: file="/dev/fd1" exclusive
|
||||
+# Linux floppy drives
|
||||
+drive a: file="/dev/fd0" exclusive 1.44m mformat_only
|
||||
+drive b: file="/dev/fd1" exclusive 1.44m mformat_only
|
||||
|
||||
-# # First SCSI hard disk partition
|
||||
-# drive c: file="/dev/sda1"
|
||||
+# First SCSI hard disk partition
|
||||
+#drive c: file="/dev/sda1"
|
||||
|
||||
-# # First IDE hard disk partition
|
||||
-# drive c: file="/dev/hda1"
|
||||
+# First IDE hard disk partition
|
||||
+#drive c: file="/dev/hda1"
|
||||
|
||||
# # dosemu floppy image
|
||||
# drive m: file="/var/lib/dosemu/diskimage"
|
||||
|
||||
-# # dosemu hdimage
|
||||
-# drive n: file="/var/lib/dosemu/diskimage" offset=3840
|
||||
+# dosemu hdimage
|
||||
+drive n: file="/var/lib/dosemu/hdimage" offset=8832
|
||||
|
||||
# # Atari ramdisk image
|
||||
# drive o: file="/tmp/atari_rd" offset=136
|
129
mtools-3.9.6-paths.patch
Normal file
129
mtools-3.9.6-paths.patch
Normal file
@ -0,0 +1,129 @@
|
||||
--- mtools-3.9.6/mtools.5.paths Wed Feb 9 11:35:43 2000
|
||||
+++ mtools-3.9.6/mtools.5 Wed Feb 9 11:36:39 2000
|
||||
@@ -20,7 +20,7 @@
|
||||
.SS Description
|
||||
.PP
|
||||
This manpage describes the configuration files for mtools. They
|
||||
-are called \fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR and \fR\&\f(CW\(if~/.mtoolsrc\(is\fR. If
|
||||
+are called \fR\&\f(CW\(if/etc/mtools.conf\(is\fR and \fR\&\f(CW\(if~/.mtoolsrc\(is\fR. If
|
||||
the environmental variable \fR\&\f(CWMTOOLSRC\fR is set, its contents is used
|
||||
as the filename for a third configuration file. These configuration
|
||||
files describe the following items:
|
||||
@@ -37,7 +37,7 @@
|
||||
.iX "c Name of configuration files"
|
||||
.iX "c Location of configuration files"
|
||||
.PP
|
||||
-\&\fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR is the system-wide configuration file,
|
||||
+\&\fR\&\f(CW\(if/etc/mtools.conf\(is\fR is the system-wide configuration file,
|
||||
and \fR\&\f(CW\(if~/.mtoolsrc\(is\fR is the user's private configuration file.
|
||||
.PP
|
||||
On some systems, the system-wide configuration file is called
|
||||
@@ -444,7 +444,7 @@
|
||||
Mtools uses its root privileges to open the device, and to issue the
|
||||
actual SCSI I/O calls. Moreover, root privileges are only used for
|
||||
drives described in a system-wide configuration file such as
|
||||
-\&\fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR, and not for those described in
|
||||
+\&\fR\&\f(CW\(if/etc/mtools.conf\(is\fR, and not for those described in
|
||||
\&\fR\&\f(CW\(if~/.mtoolsrc\(is\fR or \fR\&\f(CW\(if$MTOOLSRC\(is\fR.
|
||||
.TP
|
||||
\&\fR\&\f(CWprivileged\fR\
|
||||
@@ -453,7 +453,7 @@
|
||||
When set to 1, this instructs mtools to use its set-uid and set-gid
|
||||
privileges for opening the given drive. This option is only valid for
|
||||
drives described in the system-wide configuration files (such as
|
||||
-\&\fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR, not \fR\&\f(CW\(if~/.mtoolsrc\(is\fR or
|
||||
+\&\fR\&\f(CW\(if/etc/mtools.conf\(is\fR, not \fR\&\f(CW\(if~/.mtoolsrc\(is\fR or
|
||||
\&\fR\&\f(CW\(if$MTOOLSRC\(is\fR). Obviously, this option is also a no op if mtools is
|
||||
not installed setuid or setgid. This option is implied by 'scsi=1', but
|
||||
again only for drives defined in system-wide configuration files.
|
||||
@@ -743,7 +743,7 @@
|
||||
compiled-in defaults
|
||||
.TP
|
||||
2.\
|
||||
-\&\fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR
|
||||
+\&\fR\&\f(CW\(if/etc/mtools.conf\(is\fR
|
||||
.TP
|
||||
3.\
|
||||
\&\fR\&\f(CW\(if/etc/mtools\(is\fR
|
||||
@@ -761,10 +761,10 @@
|
||||
Options described in the later files override those described in the
|
||||
earlier files. Drives defined in earlier files persist if they are not
|
||||
overridden in the later files. For instance, drives A and B may be
|
||||
-defined in \fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR and drives C and D may be
|
||||
+defined in \fR\&\f(CW\(if/etc/mtools.conf\(is\fR and drives C and D may be
|
||||
defined in \fR\&\f(CW\(if~/.mtoolsrc\(is\fR However, if \fR\&\f(CW\(if~/.mtoolsrc\(is\fR also
|
||||
defines drive A, this new description would override the description of
|
||||
-drive A in \fR\&\f(CW\(if/usr/local/etc/mtools.conf\(is\fR instead of adding to it. If
|
||||
+drive A in \fR\&\f(CW\(if/etc/mtools.conf\(is\fR instead of adding to it. If
|
||||
you want to add a new description to a drive already described in an
|
||||
earlier file, you need to use either the \fR\&\f(CW+drive\fR or \fR\&\f(CWdrive+\fR
|
||||
keyword.
|
||||
--- mtools-3.9.6/mtools.texi.paths Wed Feb 9 11:38:24 2000
|
||||
+++ mtools-3.9.6/mtools.texi Wed Feb 9 11:39:03 2000
|
||||
@@ -616,7 +616,7 @@
|
||||
This sections explains the syntax of the configurations files for
|
||||
mtools. The configuration files
|
||||
@c MANend-skip 5
|
||||
-are called @file{/usr/local/etc/mtools.conf} and @file{~/.mtoolsrc}. If
|
||||
+are called @file{/etc/mtools.conf} and @file{~/.mtoolsrc}. If
|
||||
the environmental variable @code{MTOOLSRC} is set, its contents is used
|
||||
as the filename for a third configuration file. These configuration
|
||||
files describe the following items:
|
||||
@@ -646,7 +646,7 @@
|
||||
@cindex Name of configuration files
|
||||
@cindex Location of configuration files
|
||||
|
||||
-@file{/usr/local/etc/mtools.conf} is the system-wide configuration file,
|
||||
+@file{/etc/mtools.conf} is the system-wide configuration file,
|
||||
and @file{~/.mtoolsrc} is the user's private configuration file.
|
||||
|
||||
On some systems, the system-wide configuration file is called
|
||||
@@ -1043,7 +1043,7 @@
|
||||
Mtools uses its root privileges to open the device, and to issue the
|
||||
actual SCSI I/O calls. Moreover, root privileges are only used for
|
||||
drives described in a system-wide configuration file such as
|
||||
-@file{/usr/local/etc/mtools.conf}, and not for those described in
|
||||
+@file{/etc/mtools.conf}, and not for those described in
|
||||
@file{~/.mtoolsrc} or @file{$MTOOLSRC}.
|
||||
|
||||
@item privileged
|
||||
@@ -1052,7 +1052,7 @@
|
||||
When set to 1, this instructs mtools to use its set-uid and set-gid
|
||||
privileges for opening the given drive. This option is only valid for
|
||||
drives described in the system-wide configuration files (such as
|
||||
-@file{/usr/local/etc/mtools.conf}, not @file{~/.mtoolsrc} or
|
||||
+@file{/etc/mtools.conf}, not @file{~/.mtoolsrc} or
|
||||
@file{$MTOOLSRC}). Obviously, this option is also a no op if mtools is
|
||||
not installed setuid or setgid. This option is implied by 'scsi=1', but
|
||||
again only for drives defined in system-wide configuration files.
|
||||
@@ -1332,7 +1332,7 @@
|
||||
@item
|
||||
compiled-in defaults
|
||||
@item
|
||||
-@file{/usr/local/etc/mtools.conf}
|
||||
+@file{/etc/mtools.conf}
|
||||
@item
|
||||
@file{/etc/mtools}
|
||||
This is for backwards compatibility only, and is only parsed if
|
||||
@@ -1348,10 +1348,10 @@
|
||||
Options described in the later files override those described in the
|
||||
earlier files. Drives defined in earlier files persist if they are not
|
||||
overridden in the later files. For instance, drives A and B may be
|
||||
-defined in @file{/usr/local/etc/mtools.conf} and drives C and D may be
|
||||
+defined in @file{/etc/mtools.conf} and drives C and D may be
|
||||
defined in @file{~/.mtoolsrc} However, if @file{~/.mtoolsrc} also
|
||||
defines drive A, this new description would override the description of
|
||||
-drive A in @file{/usr/local/etc/mtools.conf} instead of adding to it. If
|
||||
+drive A in @file{/etc/mtools.conf} instead of adding to it. If
|
||||
you want to add a new description to a drive already described in an
|
||||
earlier file, you need to use either the @code{+drive} or @code{drive+}
|
||||
keyword.
|
||||
@@ -2614,7 +2614,7 @@
|
||||
same devices are found on a large number of hosts of this type. In that
|
||||
case, could you also let me know about your new definitions, so that I
|
||||
can include them into the next release. For purely local file, I
|
||||
-recommend that you use the @code{/usr/local/etc/mtools.conf} and
|
||||
+recommend that you use the @code{/etc/mtools.conf} and
|
||||
@code{~/.mtoolsrc} configuration files.
|
||||
|
||||
However, the devices files also allows to supply geometry setting
|
119
mtools.spec
Normal file
119
mtools.spec
Normal file
@ -0,0 +1,119 @@
|
||||
Summary: Programs for accessing MS-DOS disks without mounting the disks.
|
||||
Name: mtools
|
||||
Version: 3.9.7
|
||||
Release: 3
|
||||
Copyright: GPL
|
||||
Group: Applications/System
|
||||
Source: http://mtools.linux.lu/mtools-%{version}.tar.gz
|
||||
Url: http://mtools.linux.lu/
|
||||
Buildroot: %{_tmppath}/mtools-%{version}-root
|
||||
Patch0: mtools-3.9.6-config.patch
|
||||
Patch1: mtools-3.9.6-paths.patch
|
||||
Prereq: /sbin/install-info
|
||||
|
||||
%description
|
||||
Mtools is a collection of utilities for accessing MS-DOS files.
|
||||
Mtools allow you to read, write and move around MS-DOS filesystem
|
||||
files (normally on MS-DOS floppy disks). Mtools supports Windows95
|
||||
style long file names, OS/2 XDF disks, and 2m disks.
|
||||
|
||||
Mtools should be installed if you need to use MS-DOS disks.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir}
|
||||
%makeinstall
|
||||
install -m644 mtools.conf $RPM_BUILD_ROOT/etc
|
||||
gzip -9f $RPM_BUILD_ROOT/%{_infodir}/*
|
||||
|
||||
# We aren't shipping this.
|
||||
find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \;
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/mtools.info.gz %{_infodir}/dir
|
||||
|
||||
%preun
|
||||
if [ "$1" = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/mtools.info.gz %{_infodir}/dir
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config /etc/mtools.conf
|
||||
%doc COPYING Changelog README Release.notes
|
||||
/usr/bin/*
|
||||
%{_mandir}/*/*
|
||||
%{_infodir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Sat Jun 17 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
||||
- specify ownership
|
||||
|
||||
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- Version 3.9.7
|
||||
- use %%{_mandir}, %%{_makeinstall}, %%configure, %%makeinstall
|
||||
and %%{_tmppath}
|
||||
|
||||
* Wed Feb 09 2000 Cristian Gafton <gafton@redhat.com>
|
||||
- get rid of mtools.texi as a doc file (we have the info file)
|
||||
- fix config file so mtools work (#9264)
|
||||
- fix references to the config file to be /etc/mtools.conf
|
||||
|
||||
* Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
|
||||
- expunge floppyd
|
||||
|
||||
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
|
||||
- man pages are compressed
|
||||
- fix description
|
||||
- version 3.9.6
|
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- auto rebuild in the new build environment (release 5)
|
||||
|
||||
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- patch to make the texi sources compile
|
||||
- fix the spec file group and description
|
||||
- fixed floppy drive sizes
|
||||
|
||||
* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- build for 6.0
|
||||
- fixed invalid SAMPLE_FILE configuration file
|
||||
|
||||
* Wed Sep 02 1998 Michael Maher <mike@redhat.com>
|
||||
- Built package for 5.2.
|
||||
- Updated Source to 3.9.1.
|
||||
- Cleaned up spec file.
|
||||
|
||||
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
|
||||
- translations modified for de, fr, tr
|
||||
|
||||
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
|
||||
- updated to 3.8
|
||||
|
||||
* Tue Oct 21 1997 Otto Hammersmith
|
||||
- changed buildroot to /var/tmp, rather than /tmp
|
||||
- use install-info
|
||||
|
||||
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
|
||||
- built against glibc
|
||||
|
||||
* Thu Apr 17 1997 Erik Troan <ewt@redhat.com>
|
||||
- Changed sysconfdir to be /etc
|
||||
|
||||
* Mon Apr 14 1997 Michael Fulbright <msf@redhat.com>
|
||||
- Updated to 3.6
|
Loading…
Reference in New Issue
Block a user