This commit is contained in:
commit
cace0dc2ce
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
11
mtools-3.9.10-aliasing.diff
Normal file
11
mtools-3.9.10-aliasing.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- file.c
|
||||||
|
+++ file.c
|
||||||
|
@@ -572,7 +572,7 @@
|
||||||
|
Pattern.loopDetectRel = 0;
|
||||||
|
Pattern.loopDetectAbs = first;
|
||||||
|
if(!hash_lookup(filehash, (T_HashTableEl) &Pattern,
|
||||||
|
- (T_HashTableEl **)&File, 0)){
|
||||||
|
+ (T_HashTableEl **)(void *)&File, 0)){
|
||||||
|
File->refs++;
|
||||||
|
This->refs--;
|
||||||
|
return (Stream_t *) File;
|
65
mtools-3.9.10-autoconf.diff
Normal file
65
mtools-3.9.10-autoconf.diff
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
--- Makefile.in
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -26,11 +26,13 @@
|
||||||
|
srcdir=@srcdir@
|
||||||
|
VPATH=@srcdir@
|
||||||
|
|
||||||
|
+DESTDIR =
|
||||||
|
+
|
||||||
|
prefix = @prefix@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
-bindir = @bindir@
|
||||||
|
-infodir = @infodir@
|
||||||
|
-mandir = @mandir@
|
||||||
|
+bindir = $(DESTDIR)@bindir@
|
||||||
|
+infodir = $(DESTDIR)@infodir@
|
||||||
|
+mandir = $(DESTDIR)@mandir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
|
||||||
|
CC = @CC@
|
||||||
|
--- configure.in
|
||||||
|
+++ configure.in
|
||||||
|
@@ -95,10 +95,10 @@
|
||||||
|
dnl
|
||||||
|
AC_MSG_CHECKING(whether llseek declared in unistd.h)
|
||||||
|
AC_CACHE_VAL(mtools_cv_have_llseek_prototype,
|
||||||
|
- AC_TRY_COMPILE(
|
||||||
|
+ [AC_TRY_COMPILE(
|
||||||
|
[#include <unistd.h>], [extern int llseek(int);],
|
||||||
|
[mtools_cv_have_llseek_prototype=no],
|
||||||
|
- [mtools_cv_have_llseek_prototype=yes]))
|
||||||
|
+ [mtools_cv_have_llseek_prototype=yes])])
|
||||||
|
AC_MSG_RESULT($mtools_cv_have_llseek_prototype)
|
||||||
|
if test "$mtools_cv_have_llseek_prototype" = yes; then
|
||||||
|
AC_DEFINE([HAVE_LLSEEK_PROTOTYPE],1,[Define when you have an LLSEEK prototype])
|
||||||
|
@@ -106,13 +106,13 @@
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(whether lseek64 declared in unistd.h)
|
||||||
|
AC_CACHE_VAL(mtools_cv_have_lseek64_prototype,
|
||||||
|
- AC_TRY_COMPILE(
|
||||||
|
+ [AC_TRY_COMPILE(
|
||||||
|
[
|
||||||
|
#include "sysincludes.h"
|
||||||
|
#include <unistd.h>
|
||||||
|
], [extern int lseek64(int);],
|
||||||
|
[mtools_cv_have_lseek64_prototype=no],
|
||||||
|
- [mtools_cv_have_lseek64_prototype=yes]))
|
||||||
|
+ [mtools_cv_have_lseek64_prototype=yes])])
|
||||||
|
AC_MSG_RESULT($mtools_cv_have_lseek64_prototype)
|
||||||
|
if test "$mtools_cv_have_lseek64_prototype" = yes; then
|
||||||
|
AC_DEFINE([HAVE_LSEEK64_PROTOTYPE],1,[Define when you have an LSEEK64 prototype])
|
||||||
|
@@ -145,12 +145,12 @@
|
||||||
|
dnl
|
||||||
|
AC_DEFUN(SFS_CHECK_OFF_T_64,
|
||||||
|
[AC_CACHE_CHECK(for 64-bit off_t, sfs_cv_off_t_64,
|
||||||
|
-AC_TRY_COMPILE([
|
||||||
|
+[AC_TRY_COMPILE([
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
],[
|
||||||
|
switch (0) case 0: case (sizeof (off_t) <= 4):;
|
||||||
|
-], sfs_cv_off_t_64=no, sfs_cv_off_t_64=yes))
|
||||||
|
+], sfs_cv_off_t_64=no, sfs_cv_off_t_64=yes)])
|
||||||
|
if test $sfs_cv_off_t_64 = yes; then
|
||||||
|
AC_DEFINE([HAVE_OFF_T_64],1,[Define when the system has a 64 bit off_t type])
|
||||||
|
fi])
|
58
mtools-3.9.10-conf.diff
Normal file
58
mtools-3.9.10-conf.diff
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
--- mtools.conf
|
||||||
|
+++ mtools.conf
|
||||||
|
@@ -1,22 +1,18 @@
|
||||||
|
-# Example mtools.conf files. Uncomment the lines which correspond to
|
||||||
|
-# your architecture and comment out the "SAMPLE FILE" line below
|
||||||
|
-SAMPLE FILE
|
||||||
|
+drive a: file="/dev/fd0" exclusive mformat_only cylinders=80 heads=2 sectors=18
|
||||||
|
+drive b: file="/dev/fd1" exclusive mformat_only cylinders=80 heads=2 sectors=18
|
||||||
|
|
||||||
|
-# # Linux floppy drives
|
||||||
|
-# drive a: file="/dev/fd0" exclusive
|
||||||
|
-# drive b: file="/dev/fd1" exclusive
|
||||||
|
+# 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 floppy image
|
||||||
|
-# drive m: file="/var/lib/dosemu/diskimage"
|
||||||
|
+#dosemu hdimage
|
||||||
|
+drive n: file="/var/lib/dosemu/hdimage.first" MTOOLS_SKIP_CHECK=1 MTOOLS_LOWER_CASE=1 MTOOLS_NO_VFAT=1 partition=1 offset=128
|
||||||
|
|
||||||
|
-# # dosemu hdimage
|
||||||
|
-# drive n: file="/var/lib/dosemu/diskimage" offset=3840
|
||||||
|
|
||||||
|
# # Atari ramdisk image
|
||||||
|
# drive o: file="/tmp/atari_rd" offset=136
|
||||||
|
@@ -44,21 +40,4 @@
|
||||||
|
# ZIP drive on SCSI ID 6
|
||||||
|
#drive z: file="/dev/scsi_disk_060" offset=16384 fat_bits=16
|
||||||
|
|
||||||
|
-# SCO Unix 3.2v4
|
||||||
|
-# # Floppy disk drives
|
||||||
|
-#
|
||||||
|
-# drive a: file="/dev/install" exclusive
|
||||||
|
-# drive b: file="/dev/install1" exclusive
|
||||||
|
-#
|
||||||
|
-# # SCSI hard disk partitions
|
||||||
|
-#
|
||||||
|
-# drive c: file="/dev/dsk/0sC"
|
||||||
|
-# drive d: file="/dev/dsk/0sD"
|
||||||
|
-# drive e: file="/dev/dsk/0sE"
|
||||||
|
-# drive f: file="/dev/dsk/0sF"
|
||||||
|
-# drive g: file="/dev/dsk/0sG"
|
||||||
|
-# drive h: file="/dev/dsk/0sH"
|
||||||
|
-
|
||||||
|
-# # uncomment the following line to display all file names in lower
|
||||||
|
-# # case by default
|
||||||
|
-# mtools_lower_case=1
|
||||||
|
+mtools_lower_case=1
|
11
mtools-3.9.10-fat-bits.diff
Normal file
11
mtools-3.9.10-fat-bits.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- fat.c
|
||||||
|
+++ fat.c
|
||||||
|
@@ -706,7 +706,7 @@
|
||||||
|
if(check_media_type(This,boot, tot_sectors))
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
- if(This->num_clus >= FAT12) {
|
||||||
|
+ if(This->num_clus >= FAT12 || config_fat_bits == 16) {
|
||||||
|
set_fat16(This);
|
||||||
|
/* third FAT byte must be 0xff */
|
||||||
|
if(!mtools_skip_check && readByte(This, 3) != 0xff)
|
13
mtools-3.9.10-memset.diff
Normal file
13
mtools-3.9.10-memset.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- fat.c
|
||||||
|
+++ fat.c
|
||||||
|
@@ -447,8 +447,8 @@
|
||||||
|
InfoSector_t *infoSector;
|
||||||
|
infoSector = (InfoSector_t *) safe_malloc(This->sector_size);
|
||||||
|
set_dword(infoSector->signature1, INFOSECT_SIGNATURE1);
|
||||||
|
- memset(infoSector->filler1, sizeof(infoSector->filler1),0);
|
||||||
|
- memset(infoSector->filler2, sizeof(infoSector->filler2),0);
|
||||||
|
+ memset(infoSector->filler1,0,sizeof(infoSector->filler1));
|
||||||
|
+ memset(infoSector->filler2,0,sizeof(infoSector->filler2));
|
||||||
|
set_dword(infoSector->signature2, INFOSECT_SIGNATURE2);
|
||||||
|
set_dword(infoSector->pos, This->last);
|
||||||
|
set_dword(infoSector->count, This->freeSpace);
|
77
mtools-3.9.10-prototypes.diff
Normal file
77
mtools-3.9.10-prototypes.diff
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
--- mformat.c
|
||||||
|
+++ mformat.c
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define DONT_NEED_WAIT
|
||||||
|
+#define DONT_NEED_IN
|
||||||
|
|
||||||
|
#include "sysincludes.h"
|
||||||
|
#include "msdos.h"
|
||||||
|
@@ -31,7 +32,7 @@
|
||||||
|
|
||||||
|
#define _LINUX_STRING_H_
|
||||||
|
#define kdev_t int
|
||||||
|
-#include "linux/fs.h"
|
||||||
|
+#include "sys/mount.h"
|
||||||
|
#undef _LINUX_STRING_H_
|
||||||
|
|
||||||
|
#endif
|
||||||
|
--- mmount.c
|
||||||
|
+++ mmount.c
|
||||||
|
@@ -60,7 +60,7 @@
|
||||||
|
if ( argc > 2 )
|
||||||
|
execvp("mount", argv + 1 );
|
||||||
|
else
|
||||||
|
- execlp("mount", "mount", name, 0);
|
||||||
|
+ execlp("mount", "mount", name, NULL);
|
||||||
|
perror("exec mount");
|
||||||
|
exit(1);
|
||||||
|
default:
|
||||||
|
@@ -77,7 +77,7 @@
|
||||||
|
if ( argc > 2 )
|
||||||
|
execvp("mount", argv);
|
||||||
|
else
|
||||||
|
- execlp("mount", "mount","-r", name, 0);
|
||||||
|
+ execlp("mount", "mount","-r", name, NULL);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
--- mpartition.c
|
||||||
|
+++ mpartition.c
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
* mformat.c
|
||||||
|
*/
|
||||||
|
#define DONT_NEED_WAIT
|
||||||
|
+#define DONT_NEED_IN
|
||||||
|
|
||||||
|
#include "sysincludes.h"
|
||||||
|
#include "msdos.h"
|
||||||
|
@@ -20,7 +21,7 @@
|
||||||
|
|
||||||
|
#define _LINUX_STRING_H_
|
||||||
|
#define kdev_t int
|
||||||
|
-#include "linux/fs.h"
|
||||||
|
+#include "sys/mount.h"
|
||||||
|
#undef _LINUX_STRING_H_
|
||||||
|
|
||||||
|
#endif
|
||||||
|
--- sysincludes.h
|
||||||
|
+++ sysincludes.h
|
||||||
|
@@ -268,12 +268,16 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_NETINET_IN_H
|
||||||
|
+#ifndef DONT_NEED_IN
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
+#ifndef DONT_NEED_IN
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_NETDB_H
|
||||||
|
#include <netdb.h>
|
18
mtools-3.9.10-script.diff
Normal file
18
mtools-3.9.10-script.diff
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- scripts/mcomp
|
||||||
|
+++ scripts/mcomp
|
||||||
|
@@ -3,5 +3,5 @@
|
||||||
|
dosfile=$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
-mcopy $dosfile - | cmp $@
|
||||||
|
+mcopy $dosfile - | cmp "$@"
|
||||||
|
|
||||||
|
--- scripts/mxtar
|
||||||
|
+++ scripts/mxtar
|
||||||
|
@@ -5,5 +5,5 @@
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
|
||||||
|
-mcopy $dosfile - | tar $taropt - $@
|
||||||
|
+mcopy $dosfile - | tar $taropt - "$@"
|
||||||
|
|
3
mtools-3.9.10.tar.bz2
Normal file
3
mtools-3.9.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:28b37283003a7fd33c5221347a1dcf2d5cac8b5689da28a4aaae38fa10481efa
|
||||||
|
size 291876
|
267
mtools.changes
Normal file
267
mtools.changes
Normal file
@ -0,0 +1,267 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 6 21:21:18 CET 2006 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- bransh mtools-floppy to prevent dependecy on X11 (#146102)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:38:26 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 16:35:32 CET 2005 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed swapped memset() arguments.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 3 15:02:06 CEST 2005 - mjancar@suse.cz
|
||||||
|
|
||||||
|
- update to 3.9.10
|
||||||
|
- drop obsolete patches:
|
||||||
|
* mtools-3.9.9-20030718.diff.gz
|
||||||
|
* mtools-execNULL.diff
|
||||||
|
- split mtools-3.9.9.diff into:
|
||||||
|
* mtools-3.9.10-autoconf.diff
|
||||||
|
* mtools-3.9.10-conf.diff
|
||||||
|
* mtools-3.9.10-prototypes.diff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 5 15:12:34 CEST 2005 - mmj@suse.de
|
||||||
|
|
||||||
|
- execl(..., 0) --> execl(..., NULL);
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 13 17:20:29 CET 2005 - ro@suse.de
|
||||||
|
|
||||||
|
- added libpng to nfb (for tetex)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 24 17:15:59 CET 2005 - meissner@suse.de
|
||||||
|
|
||||||
|
- fixed one execl call, fixed one lvalue cast.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 13 12:21:39 CEST 2004 - schwab@suse.de
|
||||||
|
|
||||||
|
- Allow overriding fat bits.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 22 17:46:02 CEST 2004 - tcrhak@suse.cz
|
||||||
|
|
||||||
|
- strict aliasing fix
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 10 16:23:20 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- build as user
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 31 18:03:11 CEST 2003 - uli@suse.de
|
||||||
|
|
||||||
|
- fixed to build on 64-bit archs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 29 10:27:10 CEST 2003 - tcrhak@suse.cz
|
||||||
|
|
||||||
|
- update to version 3.9.9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 19 17:08:28 CET 2002 - tcrhak@suse.cz
|
||||||
|
|
||||||
|
- updated patch to mtools-3.9.8-20021118.diff.bz2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- removed bogus self-provides
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 3 17:52:48 CEST 2001 - tcrhak@suse.cz
|
||||||
|
|
||||||
|
- updated patch to mtools-3.9.8-20011127.diff.bz2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 1 17:23:50 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix quoting in shell scripts.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 13 17:28:45 CEST 2001 - adostal@suse.cz
|
||||||
|
|
||||||
|
- upgrade to 3.9.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 14:35:28 CEST 2001 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix configure script.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 3 11:13:15 CEST 2001 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 26 10:30:09 CEST 2001 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 9 14:20:21 CET 2001 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- removed lx_suse from neededforbuild
|
||||||
|
- do not include kernel headers
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 8 15:58:15 CET 2001 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- fixed to compile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 9 15:16:07 CET 2001 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 5 07:36:47 CET 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 22 12:06:14 CET 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 9 14:30:56 CET 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- improved BuildRoot
|
||||||
|
- fixed file list
|
||||||
|
- bzipped sources
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 08:30:57 CEST 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 8 15:18:02 CEST 2000 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix typo in configure script and pass -D_GNU_SOURCE to compiler
|
||||||
|
(obsoletes last change for alpha)
|
||||||
|
- Add suse_update_config.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 28 18:45:15 CEST 2000 - ro@suse.de
|
||||||
|
|
||||||
|
- fixed to compile on alpha
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 16 15:29:35 CEST 2000 - cihlar@suse.cz
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 24 17:43:54 CEST 2000 - kasal@suse.de
|
||||||
|
|
||||||
|
- updated patchkit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 19 21:00:37 MEST 2000 - kasal@suse.de
|
||||||
|
|
||||||
|
- upgrade to 3.9.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 26 08:15:55 CEST 2000 - kasal@suse.de
|
||||||
|
|
||||||
|
- upgrade to mtools-3.9.6-20000417.diff.gz
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 12 10:34:25 CEST 2000 - kasal@suse.cz
|
||||||
|
|
||||||
|
- upgrade to mtools-3.9.6-20000410.diff.gz
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 27 10:37:19 CEST 2000 - kasal@suse.cz
|
||||||
|
|
||||||
|
- added patch mtools-3.9.6-20000320b.diff.gz (fixes BUG# 2590)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 1 16:34:25 CET 2000 - kasal@suse.de
|
||||||
|
|
||||||
|
- moved manpages to %{_mandir}
|
||||||
|
- added buildroot and shortened %filelist
|
||||||
|
- added mtools.info* files (and texinfo to #neededforbuild)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 20 19:58:38 CEST 1999 - uli@suse.de
|
||||||
|
|
||||||
|
- fixed #include conflict showing up on PPC
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 9 15:33:01 MEST 1999 - uli@suse.de
|
||||||
|
|
||||||
|
- update -> 3.9.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 23 14:01:51 MET 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- don't use -O4 ; strip binaries
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 23 00:45:56 MET 1999 - ro@suse.de
|
||||||
|
|
||||||
|
- update to 3.9.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 11 15:02:50 MET 1998 - rj@suse.de
|
||||||
|
|
||||||
|
- parameters in mtools.conf for 1,44MB disks hardcoded
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 29 00:41:30 MET 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- respect change in 2.1.126 SCSI_DISK_MAJOR
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 26 14:51:14 MEST 1998 - bs@suse.de
|
||||||
|
|
||||||
|
- used old config file again.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 21 17:54:41 MEST 1998 - bs@suse.de
|
||||||
|
|
||||||
|
- update to version 3.9.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 24 11:38:03 MET 1998 - ro@suse.de
|
||||||
|
|
||||||
|
- removed man-pages mread and mwrite
|
||||||
|
(contain no information, just texinfos blabla)
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
Thu Jun 12 17:33:42 CEST 1997 - rj@suse.de
|
||||||
|
|
||||||
|
- modification in /etc/mtools.conf
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
Fri Apr 18 17:02:37 CEST 1997 - rj@suse.de
|
||||||
|
|
||||||
|
- new version 3.6
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
Mon Mar 3 11:43:17 CET 1997 - rj@suse.de
|
||||||
|
|
||||||
|
- new version 3.3
|
||||||
|
|
||||||
|
----------------------------------------------------------------------------
|
||||||
|
Tue Feb 25 14:53:24 CET 1997 - rj@suse.de
|
||||||
|
|
||||||
|
- new version 3.2
|
||||||
|
- /usr/doc/packages/mtools now included
|
||||||
|
- xdf Support
|
||||||
|
|
223
mtools.spec
Normal file
223
mtools.spec
Normal file
@ -0,0 +1,223 @@
|
|||||||
|
#
|
||||||
|
# spec file for package mtools (Version 3.9.10)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: mtools
|
||||||
|
BuildRequires: libpng te_ams te_latex xorg-x11 xorg-x11-devel
|
||||||
|
Version: 3.9.10
|
||||||
|
Release: 4
|
||||||
|
Autoreqprov: on
|
||||||
|
Group: System/Filesystems
|
||||||
|
License: GPL
|
||||||
|
URL: http://www.tux.org/pub/knaff/mtools/index.html
|
||||||
|
Summary: Access Files on an MS-DOS File System
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-%{version}-conf.diff
|
||||||
|
Patch1: %{name}-%{version}-autoconf.diff
|
||||||
|
Patch2: %{name}-%{version}-script.diff
|
||||||
|
Patch3: %{name}-%{version}-aliasing.diff
|
||||||
|
Patch4: %{name}-%{version}-fat-bits.diff
|
||||||
|
Patch5: %{name}-%{version}-prototypes.diff
|
||||||
|
Patch6: %{name}-%{version}-memset.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%package floppyd
|
||||||
|
Group: System/Filesystems
|
||||||
|
Summary: floppy daemon for remote access to floppy drive
|
||||||
|
|
||||||
|
%description
|
||||||
|
Mtools allows uncomplicated access to an MS-DOS file system on disk
|
||||||
|
without mounting it. It includes commands for working with MS-DOS
|
||||||
|
files: mdir, mcd, mcopy, and mformat.
|
||||||
|
|
||||||
|
XDF support for OS/2 is also provided.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Alain Knaff <Alain.Knaff@imag.fr>
|
||||||
|
David C. Niemi <niemidc@erols.com>
|
||||||
|
|
||||||
|
|
||||||
|
%description floppyd
|
||||||
|
Floppyd is used as a server to grant access to the floppy drive to
|
||||||
|
clients running on a remote machine, just as an X server grants access
|
||||||
|
to the display to remote clients.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Alain Knaff <Alain.Knaff@imag.fr>
|
||||||
|
David C. Niemi <niemidc@erols.com>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
%patch1
|
||||||
|
%patch2
|
||||||
|
%patch3
|
||||||
|
%patch4
|
||||||
|
%patch5
|
||||||
|
%patch6
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{suse_update_config -f}
|
||||||
|
autoconf --force
|
||||||
|
CC=gcc INSTALL_PROGRAM="install" CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
|
./configure \
|
||||||
|
--build=%{_target_cpu}-suse-linux \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--includedir=/usr/src/linux/include
|
||||||
|
make all dvi info
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
cp -p mtools.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config %{_sysconfdir}/mtools.conf
|
||||||
|
%doc *.dvi Release.notes Changelog COPYING README*
|
||||||
|
%doc %{_mandir}/man?*/[a-eg-z]*
|
||||||
|
%doc %{_infodir}/mtools.info*
|
||||||
|
%{_bindir}/[a-eg-z]*
|
||||||
|
|
||||||
|
%files floppyd
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_mandir}/man?*/f*
|
||||||
|
%{_bindir}/f*
|
||||||
|
|
||||||
|
%changelog -n mtools
|
||||||
|
* Mon Feb 06 2006 - mjancar@suse.cz
|
||||||
|
- bransh mtools-floppy to prevent dependecy on X11 (#146102)
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Fri Nov 18 2005 - meissner@suse.de
|
||||||
|
- fixed swapped memset() arguments.
|
||||||
|
* Wed Aug 03 2005 - mjancar@suse.cz
|
||||||
|
- update to 3.9.10
|
||||||
|
- drop obsolete patches:
|
||||||
|
* mtools-3.9.9-20030718.diff.gz
|
||||||
|
* mtools-execNULL.diff
|
||||||
|
- split mtools-3.9.9.diff into:
|
||||||
|
* mtools-3.9.10-autoconf.diff
|
||||||
|
* mtools-3.9.10-conf.diff
|
||||||
|
* mtools-3.9.10-prototypes.diff
|
||||||
|
* Tue Apr 05 2005 - mmj@suse.de
|
||||||
|
- execl(..., 0) --> execl(..., NULL);
|
||||||
|
* Sun Feb 13 2005 - ro@suse.de
|
||||||
|
- added libpng to nfb (for tetex)
|
||||||
|
* Mon Jan 24 2005 - meissner@suse.de
|
||||||
|
- fixed one execl call, fixed one lvalue cast.
|
||||||
|
* Sun Jun 13 2004 - schwab@suse.de
|
||||||
|
- Allow overriding fat bits.
|
||||||
|
* Thu Apr 22 2004 - tcrhak@suse.cz
|
||||||
|
- strict aliasing fix
|
||||||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||||||
|
- build as user
|
||||||
|
* Thu Jul 31 2003 - uli@suse.de
|
||||||
|
- fixed to build on 64-bit archs
|
||||||
|
* Tue Jul 29 2003 - tcrhak@suse.cz
|
||||||
|
- update to version 3.9.9
|
||||||
|
* Thu Dec 19 2002 - tcrhak@suse.cz
|
||||||
|
- updated patch to mtools-3.9.8-20021118.diff.bz2
|
||||||
|
* Tue Sep 17 2002 - ro@suse.de
|
||||||
|
- removed bogus self-provides
|
||||||
|
* Mon Dec 03 2001 - tcrhak@suse.cz
|
||||||
|
- updated patch to mtools-3.9.8-20011127.diff.bz2
|
||||||
|
* Mon Oct 01 2001 - schwab@suse.de
|
||||||
|
- Fix quoting in shell scripts.
|
||||||
|
* Wed Jun 13 2001 - adostal@suse.cz
|
||||||
|
- upgrade to 3.9.8
|
||||||
|
* Tue Jun 12 2001 - schwab@suse.de
|
||||||
|
- Fix configure script.
|
||||||
|
* Tue Apr 03 2001 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Mon Mar 26 2001 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Fri Feb 09 2001 - cihlar@suse.cz
|
||||||
|
- removed lx_suse from neededforbuild
|
||||||
|
- do not include kernel headers
|
||||||
|
* Thu Feb 08 2001 - cihlar@suse.cz
|
||||||
|
- fixed to compile
|
||||||
|
* Tue Jan 09 2001 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Tue Dec 05 2000 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Wed Nov 22 2000 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Thu Nov 09 2000 - cihlar@suse.cz
|
||||||
|
- improved BuildRoot
|
||||||
|
- fixed file list
|
||||||
|
- bzipped sources
|
||||||
|
* Fri Oct 20 2000 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Fri Sep 08 2000 - schwab@suse.de
|
||||||
|
- Fix typo in configure script and pass -D_GNU_SOURCE to compiler
|
||||||
|
(obsoletes last change for alpha)
|
||||||
|
- Add suse_update_config.
|
||||||
|
* Mon Aug 28 2000 - ro@suse.de
|
||||||
|
- fixed to compile on alpha
|
||||||
|
* Wed Aug 16 2000 - cihlar@suse.cz
|
||||||
|
- updated patchkit
|
||||||
|
* Sat Jun 24 2000 - kasal@suse.de
|
||||||
|
- updated patchkit
|
||||||
|
* Mon Jun 19 2000 - kasal@suse.de
|
||||||
|
- upgrade to 3.9.7
|
||||||
|
* Wed Apr 26 2000 - kasal@suse.de
|
||||||
|
- upgrade to mtools-3.9.6-20000417.diff.gz
|
||||||
|
* Wed Apr 12 2000 - kasal@suse.cz
|
||||||
|
- upgrade to mtools-3.9.6-20000410.diff.gz
|
||||||
|
* Mon Mar 27 2000 - kasal@suse.cz
|
||||||
|
- added patch mtools-3.9.6-20000320b.diff.gz (fixes BUG# 2590)
|
||||||
|
* Wed Mar 01 2000 - kasal@suse.de
|
||||||
|
- moved manpages to %%{_mandir}
|
||||||
|
- added buildroot and shortened %%filelist
|
||||||
|
- added mtools.info* files (and texinfo to #neededforbuild)
|
||||||
|
* Mon Sep 20 1999 - uli@suse.de
|
||||||
|
- fixed #include conflict showing up on PPC
|
||||||
|
* Mon Sep 13 1999 - bs@suse.de
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
* Fri Jul 09 1999 - uli@suse.de
|
||||||
|
- update -> 3.9.6
|
||||||
|
* Tue Mar 23 1999 - ro@suse.de
|
||||||
|
- don't use -O4 ; strip binaries
|
||||||
|
* Tue Mar 23 1999 - ro@suse.de
|
||||||
|
- update to 3.9.4
|
||||||
|
* Fri Dec 11 1998 - rj@suse.de
|
||||||
|
- parameters in mtools.conf for 1,44MB disks hardcoded
|
||||||
|
* Thu Oct 29 1998 - ro@suse.de
|
||||||
|
- respect change in 2.1.126 SCSI_DISK_MAJOR
|
||||||
|
* Sun Jul 26 1998 - bs@suse.de
|
||||||
|
- used old config file again.
|
||||||
|
* Tue Jul 21 1998 - bs@suse.de
|
||||||
|
- update to version 3.9.1
|
||||||
|
* Tue Feb 24 1998 - ro@suse.de
|
||||||
|
- removed man-pages mread and mwrite
|
||||||
|
(contain no information, just texinfos blabla)
|
||||||
|
* Thu Jun 12 1997 - rj@suse.de
|
||||||
|
- modification in /etc/mtools.conf
|
||||||
|
* Fri Apr 18 1997 - rj@suse.de
|
||||||
|
- new version 3.6
|
||||||
|
* Mon Mar 03 1997 - rj@suse.de
|
||||||
|
- new version 3.3
|
||||||
|
* Tue Feb 25 1997 - rj@suse.de
|
||||||
|
- new version 3.2
|
||||||
|
- /usr/doc/packages/mtools now included
|
||||||
|
- xdf Support
|
Loading…
Reference in New Issue
Block a user