diff options
author | Steve Price <steve@FreeBSD.org> | 2000-04-30 19:15:37 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-04-30 19:15:37 +0000 |
commit | 9ca7a015e5471ee7a5db9853f7557c6a0694e812 (patch) | |
tree | 6cee9f9410fc5edf25f07910aced7ecd7479348d /japanese/mtools/files | |
parent | Mark as being only i386. (diff) |
Update to version 3.9.6.
PR: 18222
Submitted by: Nobuyuki Koganemaru <kogane@jp.freebsd.org>
Notes
Notes:
svn path=/head/; revision=28159
Diffstat (limited to 'japanese/mtools/files')
-rw-r--r-- | japanese/mtools/files/patch-2 | 109 | ||||
-rw-r--r-- | japanese/mtools/files/patch-a | 31 | ||||
-rw-r--r-- | japanese/mtools/files/patch-b | 28 | ||||
-rw-r--r-- | japanese/mtools/files/patch-d | 11 | ||||
-rw-r--r-- | japanese/mtools/files/patch-e | 11 |
5 files changed, 140 insertions, 50 deletions
diff --git a/japanese/mtools/files/patch-2 b/japanese/mtools/files/patch-2 index bfccda0863fe..9ba7fe33cf72 100644 --- a/japanese/mtools/files/patch-2 +++ b/japanese/mtools/files/patch-2 @@ -1,25 +1,84 @@ -*** mtools.conf~ Wed Jan 31 22:02:11 1996 ---- mtools.conf Mon May 27 05:03:09 1996 -*************** -*** 2,11 **** - drive b: file="/dev/fd1" exclusive - - # First SCSI hard disk partition -! drive c: file="/dev/sda1" - - # First IDE hard disk partition -! #drive c: file="/dev/hda1" - - #dosemu floppy image - drive m: file="/var/lib/dosemu/diskimage" ---- 2,11 ---- - drive b: file="/dev/fd1" exclusive - - # First SCSI hard disk partition -! drive c: file="/dev/sd0s1" - - # First IDE hard disk partition -! #drive c: file="/dev/wd0s1" - - #dosemu floppy image - drive m: file="/var/lib/dosemu/diskimage" +--- mtools.conf.orig Sun Jan 4 01:29:32 1998 ++++ mtools.conf Thu May 7 01:35:37 1998 +@@ -1,6 +1,74 @@ + # Example mtools.conf files. Uncomment the lines which correspond to + # your architecture and comment out the "SAMPLE FILE" line below +-SAMPLE FILE ++ ++# A note on permissions: a user must have read and write permissions for the ++# devices named here in order to access the DOS file systems. You might give ++# ALL USERS access to ALL FLOPPY DISKS via the command ++# ++# chmod a+rw /dev/*fd* ++# ++# or you might give SPECIFIC GROUP MEMBERS access to a PARTICULAR FLOPPY DISK ++# via the commands ++# ++# chmod g+rw /dev/rfd0 ; chgrp staff /dev/rfd0 ++# ++# (and ensure selected people are in a group such as staff). ++ ++ ++# Floppy disks. Here, A: and B: use automatic size detection. ++# ++# Example: To prepare drive A: for use as a 1.44M floppy on FreeBSD: ++# [1] low level format with ......... fdformat /dev/rfd0.1440 ++# [2] write a file system with ...... mkdosfs -f 1440 /dev/rfd0 ++# [3] then use mcopy/mdir etc. in the usual way. ++# ++# The mformat command could also be used to build the DOS file system ++# in place of mkdosfs. ++ ++# # FreeBSD floppy drives ++drive a: file="/dev/rfd0" ++drive b: file="/dev/rfd1" ++ ++# Drive T: is a 1.72M floppy format with 80 cylinders, double sided (2 heads), ++# and 43 sectors of size 256 bytes per track. It uses the same ++# floppy disk drive (fd0) as drive A: above. ++# ++# Example: To prepare and use a 1.72M floppy on FreeBSD: ++# [1] low level format with ......... fdformat /dev/rfd0.1720 ++# [2] write a file system with ...... mformat -t 80 -h 2 -s 43 -S 1 t: ++# [3] then use mcopy/mdir etc. in the usual way. ++# ++# The above note on access permissions applies to /dev/rfd0.1720 as well. ++drive t: file="/dev/rfd0.1720" ++ ++# Drive S: is a 720K floppy format with 80 cylinders, double sided (2 heads), ++# and 43 sectors of size 256 bytes per track. It uses the same ++# floppy disk drive (fd0) as drive A: above. ++# ++# Example: To prepare and use a 720K floppy on FreeBSD: ++# [1] low level format with ......... fdformat /dev/rfd0.720 ++# [2] write a file system with ...... mkdosfs -f 720 /dev/fd0 ++# [3] then use mcopy/mdir etc. in the usual way. ++# ++drive s: file="/dev/rfd0.720" ++ ++# SCSI hard disks ++# first disk (sd0) slice 1 (s1) ++#drive c: file="/dev/rsd0s1" ++ ++# IDE hard disks ++# first disk on the first IDE interface (wd0) slice 1 (s1) ++drive c: file="/dev/rwd0s1" ++# first disk on the first IDE interface (wd0) slice 3 (s3) ++#drive d: file="/dev/rwd0s3" ++# second disk on the first IDE interface (wd1) slice 1 (s1) ++#drive d: file="/dev/rwd1s1" ++# first disk on the second IDE interface (wd2) slice 1 (s1) ++drive d: file="/dev/rwd2s1" ++ ++# PCEMU floppy boot image ++drive p: file="/usr/local/lib/pcemu/DriveA" ++ + + # # Linux floppy drives + # drive a: file="/dev/fd0" exclusive +@@ -61,4 +129,4 @@ + + # # uncomment the following line to display all file names in lower + # # case by default +-# mtools_lower_case=1 ++mtools_lower_case=1 diff --git a/japanese/mtools/files/patch-a b/japanese/mtools/files/patch-a index 83fd39545776..d9d1dd9c72a3 100644 --- a/japanese/mtools/files/patch-a +++ b/japanese/mtools/files/patch-a @@ -1,24 +1,35 @@ ---- Makefile.in.orig Sat Apr 12 15:39:59 1997 -+++ Makefile.in Tue May 27 22:45:57 1997 -@@ -97,7 +97,7 @@ - streamcache.c subdir.c toupper.c tty.o vfat.c xdf_io.c mkmanifest.c +--- Makefile.in.orig Thu Jan 28 11:08:18 1999 ++++ Makefile.in Thu Jan 28 11:14:03 1999 +@@ -55,7 +55,7 @@ + .SUFFIXES: .o .c + .SUFFIXES: .o .c .cpp +-MAN1 = floppyd.1 mattrib.1 mbadblocks.1 mcat.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 \ ++MAN1 = mattrib.1 mbadblocks.1 mcat.1 mcd.1 mcopy.1 mdel.1 mdeltree.1 mdir.1 \ + mdu.1 mformat.1 mkmanifest.1 mlabel.1 mmd.1 mmount.1 mmove.1 mpartition.1 \ + mrd.1 mread.1 mren.1 mshowfat.1 mtoolstest.1 mtools.1 mtype.1 mzip.1 + MAN1EXT = 1 +@@ -111,7 +111,7 @@ + xdf_io.c mkmanifest.c --SCRIPTS = mcheck mxtar uz tgz xcopy mcomp -+SCRIPTS = mcheck mxtar xcopy mcomp - LINKS=mattrib mcd mcopy mdel mdeltree mdir mformat minfo mlabel \ - mmd mmount mmove mpartition mrd mread mren mtype mwrite mtoolstest \ -@@ -194,11 +194,9 @@ +-SCRIPTS = mcheck mxtar uz tgz mcomp ++SCRIPTS = mcheck mxtar mcomp + + LINKS=mattrib mcat mcd mcopy mdel mdeltree mdir mdu mformat minfo mlabel \ + mmd mmount mmove mpartition mrd mread mren mtype mtoolstest mshowfat \ +@@ -228,11 +228,11 @@ install-scripts: $(bindir)/mtools @$(top_srcdir)/mkinstalldirs $(bindir) @for j in $(SCRIPTS) ; do \ - $(INSTALL_PROGRAM) $(srcdir)/scripts/$$j $(bindir)/$$j ; \ -+ install -c -o bin -g bin -m 755 $(srcdir)/scripts/$$j $(bindir)/$$j ; \ ++ $(BSD_INSTALL_SCRIPT) $(srcdir)/scripts/$$j $(bindir)/$$j ; \ echo $(bindir)/$$j ; \ done - rm -f $(bindir)/lz - $(LN_S) uz $(bindir)/lz ++ #rm -f $(bindir)/lz ++ #$(LN_S) uz $(bindir)/lz install-man: @$(top_srcdir)/mkinstalldirs $(MAN1DIR) diff --git a/japanese/mtools/files/patch-b b/japanese/mtools/files/patch-b index 70a30340a894..20eb0ba86364 100644 --- a/japanese/mtools/files/patch-b +++ b/japanese/mtools/files/patch-b @@ -1,15 +1,13 @@ -*** file.c~ Fri Apr 4 22:08:01 1997 ---- file.c Fri Apr 18 04:51:07 1997 -*************** -*** 201,208 **** ---- 201,210 ---- - #ifdef HAVE_TZSET - { - #ifndef ultrix -+ #ifndef __FreeBSD__ - /* Ultrix defines this to be a different type */ - extern long timezone; -+ #endif - #endif - tzset(); - tzone = (long) timezone; +--- file.c.orig Wed May 6 21:59:40 1998 ++++ file.c Wed May 6 22:00:24 1998 +@@ -295,8 +295,10 @@ + #ifdef HAVE_TZSET + { + #ifndef OS_ultrix ++#ifndef __FreeBSD__ + /* Ultrix defines this to be a different type */ + extern long timezone; ++#endif + #endif + tzset(); + tzone = (long) timezone; diff --git a/japanese/mtools/files/patch-d b/japanese/mtools/files/patch-d new file mode 100644 index 000000000000..befefa4fbf1e --- /dev/null +++ b/japanese/mtools/files/patch-d @@ -0,0 +1,11 @@ +--- mtools.5~ Mon May 17 14:42:34 1999 ++++ mtools.5 Mon May 17 14:48:20 1999 +@@ -18,7 +18,7 @@ + .SH Name + mtools.conf - mtools configuration files + .PP +-.SS Description ++.SH Description + .PP + This manpage describes the configuration files for mtools. They + are called \fR\&\f(CW\(if/usr/local/usr/local/etc/mtools.conf\(is\fR and \fR\&\f(CW\(if~/.mtoolsrc\(is\fR. If diff --git a/japanese/mtools/files/patch-e b/japanese/mtools/files/patch-e new file mode 100644 index 000000000000..ebe960b99866 --- /dev/null +++ b/japanese/mtools/files/patch-e @@ -0,0 +1,11 @@ +--- floppyd.c~ Thu Jul 22 00:41:08 1999 ++++ floppyd.c Thu Jul 22 00:42:36 1999 +@@ -675,7 +675,7 @@ + /* + * Ignore dead servers so no zombies should be left hanging. + */ +- signal(SIGCLD, SIG_IGN); ++ signal(SIGCHLD, SIG_IGN); + + for (;;) { + int new_sock; |