Update clex to 4.6.4. based on maintainer update request by PR 45960. * * * CLEX Revision History * * * 4.6.4 released on 21-MAY-2011 Problems fixed: * Name completion did not expand a single tilde as a home directory. * A mouseclick on a certain screen area of the help panel could lead to a crash. New or improved functionality: * The English documentation was proofread and corrected, the service was kindly contributed by Richard Harris. * Text file preview function was added. * The initial working directory for the secondary file panel is now set by a bookmark named DIR2. This replaces the configuration parameter DIR2. * The initial working directory for the primary file panel can be now set by a bookmark named DIR1. * New configuration parameter TIME_DATE controls the display of date and time. * Changes to the mouse control were made. * The recommendation against using alt-R for normal file renaming was dropped. 4.5 released on 24-SEP-2009 Problems fixed: * Name completion could not complete user and group names containing a dot, comma or a dash character. New or improved functionality: * A mouse is supported on xterm-compatible terminals. * The location of configuration files has been moved again in order to comply with the XDG Specification. The standard place for these files is from now on the ~/.config/clex directory. Use the 'cfg-clex' utility to move the files to the new location. * There is a new option in the completion panel which allows completion of a name which is a part of a longer word. The option has a self-explaining description: 'name to be completed starts at the cursor position'. * Configuration parameter C_PANEL_SIZE (completion panel size) cannot be set to AUTO (screen size) because this size is often uncomfortably small. * The Unicode soft hyphen character is displayed as a control character. * In the history panel a command separator is automatically inserted into the input line when a command is appended to the end of another command. * Configuration parameters CMD_Fn accept a new control sequence $~ which disables the 'Press enter to continue' prompt. The control is returned to CLEX immediately after the command execution terminates provided that: * the command has not been modified; and * the command terminates successfully (exit code zero). * The $! control sequence can appear anywhere in a configuration parameter CMD_Fn, not only at the end. * New function: alt-Z places the current line to the center of the panel. People using cluster-ssh might find it useful. 4.4 released on 07-APR-2009 Problems fixed: * In the help text there were few UTF-8 characters which are now eliminated because they could not be displayed properly in non-UTF-8 encodings. New or improved functionality: * New function was added: change into a subdirectory showing the contents in the other file panel (alt-X). This function allows a return into the original directory simply by switching panels (ctrl-X). 4.3 released on 29-MAR-2009 Problems fixed: * A newly added bookmark did not appear on the screen immediately. * A misleading message 'Ignoring the DIR2 configuration parameter' was logged when the 'DIR2' was set to 'HOME'. New or improved functionality: * The bookmark organizer has been merged with the regular bookmark panel. * Bookmarks can have descriptive names. * The current working directory can be bookmarked from the file panel (ctrl-D). * The 'B_PANEL_SIZE' config parameter was removed. 4.2 released on 15-MAR-2009 Problems fixed: * In some cases the 'cfg-clex' utility was generating an unusable template for the copy command (F5). * Under certain circumstances a crash was occurring on exit when CLEX was used over a ssh connection. New or improved functionality: * All configuration files now reside in the .clex subdirectory. Use the 'cfg-clex' utility to move the files to new location. 4.1 released on 09-FEB-2009 Problems fixed: * Usage of uninitialized memory during the start-up has been corrected. It caused a crash on the Apple Mac OS X platform. Systems where CLEX starts normally are not affected by this bug. * A compilation problem on Apple Mac OS X was fixed. * The xterm title change feature did not work on remote telnet or ssh connections. New or improved functionality: * If a directory comparison is restricted to regular files, then only information about this type of file is displayed in the summary. * A small program named 'kbd-test' was added. It is a utility for CLEX 4.0 released on 22-DEC-2008 This is the initial release of the CLEX 4 branch. Main new features are: * Unicode support was implemented. * Several configuration parameters have been converted to options which are saved automatically. * The log panel and optional logging to a file for auditing and troubleshooting were added. * There is now 'cfg-clex' utility. * A built-in function for renaming files with invalid or unprintable characters was added. Enhancements (compared to previous releases) include: * Configuring prompt, time format and date format is more flexible. * The help is not limited to one link per line. * The user interface of the directory compare function was redesigned. * Changes in the pattern matching routine were made * Panel filtering is now available in two more panels. * A new tool for inserting control characters into the input line was added.diff -r1.4 -r1.5 pkgsrc/sysutils/clex/Makefile
(obache)
@@ -1,18 +1,30 @@ | @@ -1,18 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2010/03/17 14:17:49 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2012/02/17 13:23:28 obache Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= clex-3.16 | 4 | DISTNAME= clex-4.6.4 | |
5 | CATEGORIES= sysutils | 5 | CATEGORIES= sysutils | |
6 | MASTER_SITES= http://www.clex.sk/download/ | 6 | MASTER_SITES= http://www.clex.sk/download/ | |
7 | 7 | |||
8 | MAINTAINER= bartosz.kuzma@gmail.com | 8 | MAINTAINER= bartosz.kuzma@gmail.com | |
9 | HOMEPAGE= http://www.clex.sk/download/ | 9 | HOMEPAGE= http://www.clex.sk/ | |
10 | COMMENT= File manager with a full-screen user interface | 10 | COMMENT= File manager with a full-screen user interface | |
11 | LICENSE= gnu-gpl-v2 | |||
11 | 12 | |||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 14 | |||
14 | USE_NCURSES= yes # enter_{bold,reverse,underline}_mode | 15 | USE_NCURSES= yes # enter_{bold,reverse,underline}_mode | |
15 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
16 | 17 | |||
17 | .include "../../devel/ncurses/buildlink3.mk" | 18 | # for easy to maintain patches | |
19 | post-extract: | |||
20 | cd ${WRKSRC} && ${RM} -f src/*.orig | |||
21 | ||||
22 | .include "../../mk/bsd.prefs.mk" | |||
23 | ||||
24 | # libtinfo in DragonFly is linked with libncurses | |||
25 | .if ${OPSYS} == "DragonFly" | |||
26 | BUILDLINK_TRANSFORM+= rm:-ltinfo | |||
27 | .endif | |||
28 | ||||
29 | .include "../../devel/ncursesw/buildlink3.mk" | |||
18 | .include "../../mk/bsd.pkg.mk" | 30 | .include "../../mk/bsd.pkg.mk" |
@@ -1,3 +1,7 @@ | @@ -1,3 +1,7 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 03:54:26 minskim Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2012/02/17 13:23:28 obache Exp $ | |
2 | bin/cfg-clex | |||
2 | bin/clex | 3 | bin/clex | |
4 | bin/kbd-test | |||
5 | man/man1/cfg-clex.1 | |||
3 | man/man1/clex.1 | 6 | man/man1/clex.1 | |
7 | man/man1/kbd-test.1 |
@@ -1,14 +1,7 @@ | @@ -1,14 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2007/07/12 12:43:20 obache Exp $ | 1 | $NetBSD: distinfo,v 1.4 2012/02/17 13:23:28 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (clex-3.16.tar.gz) = e92c5c596fead2cf09c22cd484b3bbff536c58e0 | 3 | SHA1 (clex-4.6.4.tar.gz) = 601091677349dbd8613f185a594361a8d78c65ab | |
4 | RMD160 (clex-3.16.tar.gz) = 69ab253a9c451559cc4db1650ef13b24ecccbd2c | 4 | RMD160 (clex-4.6.4.tar.gz) = 6f1ea4a1ca1c4b26f34c429ef458a04491950695 | |
5 | Size (clex-3.16.tar.gz) = 186313 bytes | 5 | Size (clex-4.6.4.tar.gz) = 243297 bytes | |
6 | SHA1 (patch-aa) = b6cd477159c3b2279f1d9d3f8dc04709115de57c | 6 | SHA1 (patch-src_cfg-clex) = 4fb8995131195b4f54a53c72eac85da2cd6f14a2 | |
7 | SHA1 (patch-ab) = 0b6e36eca7ab1bc85af0a488d6d8be97f52480d5 | 7 | SHA1 (patch-src_clexheaders.h) = d60ec230f3b2656063c1f51257fc4e29267cf8b7 | |
8 | SHA1 (patch-ac) = f658ab8f033f60f49d5f0a2e2982a60d961a61fa | |||
9 | SHA1 (patch-ad) = 318d238e46ce31102f83d9857e6f61fb671ad58b | |||
10 | SHA1 (patch-ae) = 0c72744fde6b0315941396b0a62281cccb49e4dd | |||
11 | SHA1 (patch-af) = 1532776758559542bdecc86b720ce2900c107867 | |||
12 | SHA1 (patch-ag) = ee108f63473474f7af42e25e158a22a49f0a764d | |||
13 | SHA1 (patch-ah) = 21ed59c002e0a99df1091e04775807ad2b6b9a29 | |||
14 | SHA1 (patch-ai) = be0490fc358c252ef953d71f520efd641f7ac46f |
$NetBSD: patch-src_cfg-clex,v 1.1 2012/02/17 13:23:28 obache Exp $
* portability fix
--- src/cfg-clex.orig 2009-05-20 08:58:50.000000000 +0000
+++ src/cfg-clex
@@ -144,7 +144,7 @@ convert_config() {
if [ x"$CLEX_ACTIVE_LAYOUT" != x ] ; then
CLEX_LAYOUT_ACTIVE=`expr $CLEX_ACTIVE_LAYOUT + 1`
fi
- if [ x"$CLEX_XTERM_TITLE" == x'2' ] ; then
+ if [ x"$CLEX_XTERM_TITLE" = x'2' ] ; then
CLEX_XTERM_TITLE='1'
fi
if [ x"$CLEX_LAYOUT1" != x ] ; then
$NetBSD: patch-src_clexheaders.h,v 1.1 2012/02/17 13:23:28 obache Exp $
* Need to treat *BSD same as FreeBSD.
--- src/clexheaders.h.orig 2009-01-11 19:44:35.000000000 +0000
+++ src/clexheaders.h
@@ -1,4 +1,4 @@
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
# define _XOPEN_SOURCE 600
#endif