[96199] trunk/dports/sysutils/FDclone
takanori at macports.org
takanori at macports.org
Fri Aug 3 03:06:11 PDT 2012
Revision: 96199
https://trac.macports.org/changeset/96199
Author: takanori at macports.org
Date: 2012-08-03 03:06:08 -0700 (Fri, 03 Aug 2012)
Log Message:
-----------
FDclone: version 3.01
Modified Paths:
--------------
trunk/dports/sysutils/FDclone/Portfile
trunk/dports/sysutils/FDclone/files/patch-archive.c.diff
trunk/dports/sysutils/FDclone/files/patch-fd.h.diff
Added Paths:
-----------
trunk/dports/sysutils/FDclone/files/patch-custom.c.diff
Removed Paths:
-------------
trunk/dports/sysutils/FDclone/files/patch-catalog.c.diff
trunk/dports/sysutils/FDclone/files/patch-shell.c.diff
Modified: trunk/dports/sysutils/FDclone/Portfile
===================================================================
--- trunk/dports/sysutils/FDclone/Portfile 2012-08-03 09:11:27 UTC (rev 96198)
+++ trunk/dports/sysutils/FDclone/Portfile 2012-08-03 10:06:08 UTC (rev 96199)
@@ -3,7 +3,7 @@
PortSystem 1.0
name FDclone
-version 3.00m
+version 3.01
categories sysutils shells
maintainers takanori openmaintainer
description File & Directory Maintenance Tool
@@ -17,9 +17,8 @@
distname FD-${version}
patchfiles patch-Makefile.in.diff \
patch-archive.c.diff \
- patch-fd.h.diff \
- patch-shell.c.diff
-checksums rmd160 26d8d4a0c0b02f3d34b7acb8a861c27b4d9b36c4
+ patch-fd.h.diff
+checksums rmd160 17195ddc131f7c0f05df3fc786bf5bfd41382db6
depends_lib port:ncurses
@@ -43,7 +42,7 @@
}
variant engmes description {Print messages in English} {
- patchfiles-append patch-catalog.c.diff
+ patchfiles-append patch-custom.c.diff
}
variant nojpnmes requires engmes description {Legacy compatibility variant} {}
Modified: trunk/dports/sysutils/FDclone/files/patch-archive.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-archive.c.diff 2012-08-03 09:11:27 UTC (rev 96198)
+++ trunk/dports/sysutils/FDclone/files/patch-archive.c.diff 2012-08-03 10:06:08 UTC (rev 96199)
@@ -1,6 +1,6 @@
---- archive.c.orig 2012-04-21 00:00:00.000000000 +0900
-+++ archive.c 2012-04-21 12:03:55.000000000 +0900
-@@ -210,12 +210,14 @@
+--- archive.c.orig 2012-08-03 00:00:00.000000000 +0900
++++ archive.c 2012-08-03 10:59:02.000000000 +0900
+@@ -213,12 +213,14 @@
{"*.tar.Z", "zcat %C|tar tvf -", PM_TAR, 0},
{"*.tar.gz", "gzip -cd %C|tar tvf -", PM_TAR, 0},
{"*.tar.bz2", "bzip2 -cd %C|tar tvf -", PM_TAR, 0},
@@ -15,7 +15,7 @@
{"*.txz", "xz -cd %C|tar tvf -", PM_TAR, 0},
#endif /* !MSDOS */
{NULL, NULL, PM_NULL, 0}
-@@ -252,6 +254,8 @@
+@@ -255,6 +257,8 @@
"gzip -cd %C|tar xf - %TA", 0},
{"*.tar.bz2", "tar cf - %T|bzip2 -c > %C",
"bzip2 -cd %C|tar xf - %TA", 0},
@@ -24,7 +24,7 @@
{"*.tar.xz", "tar cf - %T|xz -c > %C",
"xz -cd %C|tar xf - %TA", 0},
# ifndef CYGWIN
-@@ -262,6 +266,8 @@
+@@ -265,6 +269,8 @@
"gzip -cd %C|tar xf - %TA", 0},
{"*.tgz", "tar cf - %T|gzip -c > %C",
"gzip -cd %C|tar xf - %TA", 0},
Deleted: trunk/dports/sysutils/FDclone/files/patch-catalog.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-catalog.c.diff 2012-08-03 09:11:27 UTC (rev 96198)
+++ trunk/dports/sysutils/FDclone/files/patch-catalog.c.diff 2012-08-03 10:06:08 UTC (rev 96199)
@@ -1,11 +0,0 @@
---- catalog.c.orig 2012-06-30 00:00:00.000000000 +0900
-+++ catalog.c 2012-07-01 00:05:59.000000000 +0900
-@@ -23,7 +23,7 @@
- static int NEAR opencatalog __P_((CONST char *));
-
- char *cattblpath = NULL;
--CONST char *catname = NULL;
-+CONST char *catname = "C";
-
- static u_char *catbuf = NULL;
- static ALLOC_T catsize = (ALLOC_T)0;
Added: trunk/dports/sysutils/FDclone/files/patch-custom.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-custom.c.diff (rev 0)
+++ trunk/dports/sysutils/FDclone/files/patch-custom.c.diff 2012-08-03 10:06:08 UTC (rev 96199)
@@ -0,0 +1,21 @@
+--- custom.c.orig 2012-08-03 00:00:00.000000000 +0900
++++ custom.c 2012-08-03 18:22:28.000000000 +0900
+@@ -557,7 +557,7 @@
+ {"FD_URLKCODE", &urlkcode, DEFVAL(NOCNV), URLKC_E, T_KNAM},
+ #endif
+ #if !defined (_NOENGMES) && !defined (_NOJPNMES)
+- {"FD_MESSAGELANG", &messagelang, DEFVAL(NOCNV), MESL_E, T_MESLANG},
++ {"FD_MESSAGELANG", &messagelang, DEFVAL("C"), MESL_E, T_MESLANG},
+ #endif
+ #ifdef DEP_FILECONV
+ {"FD_SJISPATH", &sjispath, DEFVAL(SJISPATH), SJSP_E, T_KPATHS},
+@@ -852,7 +852,9 @@
+ #if defined (DEP_KCONV) || (!defined (_NOENGMES) && !defined (_NOJPNMES))
+ case T_MESLANG:
+ # ifndef _NOCATALOG
++ if (!cp) cp = def_str(no);
+ catname = cp;
++ chkcatalog();
+ /*FALLTHRU*/
+ # endif
+ case T_KIN:
Modified: trunk/dports/sysutils/FDclone/files/patch-fd.h.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-fd.h.diff 2012-08-03 09:11:27 UTC (rev 96198)
+++ trunk/dports/sysutils/FDclone/files/patch-fd.h.diff 2012-08-03 10:06:08 UTC (rev 96199)
@@ -1,6 +1,6 @@
---- fd.h.orig 2010-09-25 00:00:00.000000000 +0900
-+++ fd.h 2012-03-09 18:33:23.000000000 +0900
-@@ -106,15 +106,15 @@
+--- fd.h.orig 2012-08-03 00:00:00.000000000 +0900
++++ fd.h 2012-08-03 11:05:23.000000000 +0900
+@@ -103,15 +103,15 @@
* variables nor run_com file nor command line option *
****************************************************************/
#define BASICCUSTOM 0
@@ -20,7 +20,27 @@
#define USEGETCURSOR 0
#define DEFCOLUMNS 2
#define MINFILENAME 12
-@@ -150,7 +150,7 @@
+@@ -131,8 +131,8 @@
+ #define DIRHIST 50
+ #define SAVEHIST 50
+ #define SAVEDIRHIST 50
+-#define HISTUMASK 022
+-#define DIRHISTUMASK 022
++#define HISTUMASK 077
++#define DIRHISTUMASK 077
+ #define DIRCOUNTLIMIT 50
+ #define DOSDRIVE 0
+ #define SECOND 0
+@@ -152,7 +152,7 @@
+ #else /* !MSDOS */
+ #define FREQFILE "~/.fd_freq"
+ #endif /* !MSDOS */
+-#define FREQUMASK 022
++#define FREQUMASK 077
+ #define ANSICOLOR 0
+ #define ANSIPALETTE ""
+ #define EDITMODE "emacs"
+@@ -162,7 +162,7 @@
#else
#define TMPDIR "/tmp"
#endif
@@ -29,7 +49,7 @@
#define RRPATH ""
#define PRECEDEPATH ""
#if FD >= 2
-@@ -179,7 +179,7 @@
+@@ -191,7 +191,7 @@
#define HTTPPROXY ""
#define HTTPLOGFILE ""
#define HTMLLOGFILE ""
Deleted: trunk/dports/sysutils/FDclone/files/patch-shell.c.diff
===================================================================
--- trunk/dports/sysutils/FDclone/files/patch-shell.c.diff 2012-08-03 09:11:27 UTC (rev 96198)
+++ trunk/dports/sysutils/FDclone/files/patch-shell.c.diff 2012-08-03 10:06:08 UTC (rev 96199)
@@ -1,11 +0,0 @@
---- shell.c.orig 2012-07-27 00:00:00.000000000 +0900
-+++ shell.c 2012-07-27 09:18:47.000000000 +0900
-@@ -1716,7 +1716,7 @@
- if (!histfile[n] || !*(histfile[n]) || savehist[n] <= 0) return(0);
- if (!history[n] || !history[n][0]) return(-1);
- lck = lockfopen(histfile[n], "w",
-- O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 0);
-+ O_BINARY | O_WRONLY | O_CREAT | O_TRUNC, 077);
- if (!lck || !(lck -> fp)) {
- lockclose(lck);
- return(-1);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120803/6c294f3f/attachment.html>
More information about the macports-changes
mailing list