summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mtoolsfm/ChangeLog25
-rw-r--r--app-misc/mtoolsfm/Manifest5
-rw-r--r--app-misc/mtoolsfm/files/digest-mtoolsfm-1.9.31
-rw-r--r--app-misc/mtoolsfm/files/mtoolsfm.c.diff62
-rw-r--r--app-misc/mtoolsfm/metadata.xml9
-rw-r--r--app-misc/mtoolsfm/mtoolsfm-1.9.3.ebuild28
6 files changed, 130 insertions, 0 deletions
diff --git a/app-misc/mtoolsfm/ChangeLog b/app-misc/mtoolsfm/ChangeLog
new file mode 100644
index 000000000000..c806a7ab10ba
--- /dev/null
+++ b/app-misc/mtoolsfm/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for sys-fs/mtoolsfm
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mtoolsfm/ChangeLog,v 1.4 2003/09/17 14:03:50 lanius Exp $
+
+*mtoolsfm-1.9.3 (17 Sep 2003)
+
+ 17 Sep 2003; Heinrich Wendel <lanius@gentoo.org> metadata.xml,
+ mtoolsfm-1.9.3.ebuild, files/mtoolsfm.c.diff:
+ moved from sys-fs to app-misc
+
+*mtoolsfm-1.9.3 (16 Sep 2003)
+
+ 16 Sep 2003; Seemant Kulleen <seemant@gentoo.org> metadata.xml,
+ mtoolsfm-1.9.3.ebuild, files/mtoolsfm.c.diff:
+ changed dependency to sys-fs/mtools, and moved this to sys-fs as well
+
+ 29 Jul 2003; lanius@gentoo.org mtoolsfm-1.9.3.ebuild:
+ stable bump
+
+*mtoolsfm-1.9.3 (15 Jul 2003)
+
+ 15 Jul 2003; Heinrich Wendel <lanius@gentoo.org> mtoolsfm-1.9.3.ebuild,
+ files/mtoolsfm.c.diff:
+ initial release
+
diff --git a/app-misc/mtoolsfm/Manifest b/app-misc/mtoolsfm/Manifest
new file mode 100644
index 000000000000..62bbd27e92a3
--- /dev/null
+++ b/app-misc/mtoolsfm/Manifest
@@ -0,0 +1,5 @@
+MD5 55a982151784471bf0d2ca8aeb4b31c5 mtoolsfm-1.9.3.ebuild 740
+MD5 25fb35bd3680991ae67bd7910019a801 ChangeLog 828
+MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
+MD5 87ef961e5ed3682a37f8b66f2e0f9aaf files/mtoolsfm.c.diff 1767
+MD5 d1d9def37127f9c318c473026de352be files/digest-mtoolsfm-1.9.3 66
diff --git a/app-misc/mtoolsfm/files/digest-mtoolsfm-1.9.3 b/app-misc/mtoolsfm/files/digest-mtoolsfm-1.9.3
new file mode 100644
index 000000000000..1aac6212c19a
--- /dev/null
+++ b/app-misc/mtoolsfm/files/digest-mtoolsfm-1.9.3
@@ -0,0 +1 @@
+MD5 5ce76261ad969209c86b28e49924fc43 MToolsFM-1.9-3.tar.gz 177388
diff --git a/app-misc/mtoolsfm/files/mtoolsfm.c.diff b/app-misc/mtoolsfm/files/mtoolsfm.c.diff
new file mode 100644
index 000000000000..cc7b12e95fc4
--- /dev/null
+++ b/app-misc/mtoolsfm/files/mtoolsfm.c.diff
@@ -0,0 +1,62 @@
+--- src/mtoolsfm.c 2001-08-27 08:45:25.000000000 +0200
++++ src/mtoolsfm.c.1 2003-07-04 20:24:03.000000000 +0200
+@@ -85,6 +85,10 @@
+ char *homedir;
+ int debug=0;
+
++char *leftpath = "";
++char *rightpath = "";
++int sidecount=0;
++
+ /* should a configuration file ~/.mtoolsfm be written in user's homedir ? */
+ #ifdef DEFAULT_NOSAVE
+ int nosave=1;
+@@ -652,6 +656,7 @@
+ char *nextposition;
+ unsigned int path_length=50;
+ unsigned int path_add=50;
++ sidecount++;
+
+ if (debug) {
+ printf ("In gethdpath()\n");
+@@ -660,11 +665,19 @@
+ clearpath (whichside);
+ errno = 0;
+ path = malloc (path_length * sizeof (char));
++ if (sidecount == 1 && strlen(leftpath) != 0) {
++ strcpy(path, leftpath);
++ }
++ else if (sidecount == 2 && strlen(rightpath) != 0) {
++ strcpy(path, rightpath);
++ }
++ else {
+ while ((!getcwd (path, path_length - 2)) && (errno == ERANGE))
+ {
+ if (debug) printf(" getcwd buffer resize: errno=%d, path_length=%d, path=%s\n",errno,path_length,path);
+ path = g_realloc (path, (path_length+=path_add) * sizeof (char));
+ }
++ }
+ strcat (path, "/");
+ if (debug)
+ printf (" path: %s\n", path);
+@@ -2920,6 +2933,20 @@
+ debug = 1;
+ else if (!strcmp (argv[i], "--debug"))
+ debug = 1;
++ else if (!strncmp (argv[i], "--leftpath", 10)) {
++ leftpath = strchr(argv[i], '=');
++ if(leftpath) {
++ *leftpath = 0;
++ leftpath++;
++ }
++ }
++ else if (!strncmp (argv[i], "--rightpath", 11)) {
++ rightpath = strchr(argv[i], '=');
++ if(rightpath) {
++ *rightpath = 0;
++ rightpath++;
++ }
++ }
+ else if (!strcmp (argv[i], "--help")) {
+ g_print ("\n%s%s\n%s%s%s\n",ABOUTMTOOLSFM_1,ABOUTMTOOLSFM_2,
+ MTOOLSFMOPTIONS_1,CONFFILE,MTOOLSFMOPTIONS_2);
diff --git a/app-misc/mtoolsfm/metadata.xml b/app-misc/mtoolsfm/metadata.xml
new file mode 100644
index 000000000000..c3504b40c506
--- /dev/null
+++ b/app-misc/mtoolsfm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lanius@gentoo.org</email>
+ <name>Heinrich Wendel</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/mtoolsfm/mtoolsfm-1.9.3.ebuild b/app-misc/mtoolsfm/mtoolsfm-1.9.3.ebuild
new file mode 100644
index 000000000000..18598a38149c
--- /dev/null
+++ b/app-misc/mtoolsfm/mtoolsfm-1.9.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mtoolsfm/mtoolsfm-1.9.3.ebuild,v 1.6 2003/09/17 14:03:50 lanius Exp $
+
+inherit eutils
+
+S=${WORKDIR}/MToolsFM-${PV}
+DESCRIPTION="easy floppy-access under linux / UNIX"
+HOMEPAGE="http://www.core-coutainville.org/MToolsFM/"
+SRC_URI="http://www.core-coutainville.org/MToolsFM/archive/SOURCES/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ sys-fs/mtools"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S} || die
+ epatch ${FILESDIR}/mtoolsfm.c.diff
+}
+
+src_install() {
+ einstall install_prefix=${D}
+ dodoc AUTHORS COPYING ChangeLog NEWS README THANKS
+}