summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-04-16 08:00:43 +0000
committerzuntum <zuntum@pkgsrc.org>2001-04-16 08:00:43 +0000
commit057a011d7074260a51dd465ee34ed8fd77f361e3 (patch)
tree834df14c047c3db03ca183c6e0e2abf0ae8de6c2
parentd1eff9ecae560fbe41abd89979dc81534d6c5e6d (diff)
downloadpkgsrc-057a011d7074260a51dd465ee34ed8fd77f361e3.tar.gz
Update devtodo to 0.1.4:
* Added version checking so that the binary won't accept databases from future versions. The actual behaviour is that minor revision differences produce a warning while major revision differences cause an error. * Added a patch from Arthur Korn that allows the bash scripts to cd into directories with spaces. * Fixed a few man page problems, again courtesy of Arthur (I swear this guy doesn't sleep!) * Changed primary binary to 'devtodo', with a convenience symlink, 'todo'. Also changed the man page filename to reflect this. The user should see no actual difference though, as symlinks with the old names exist. * Fixed a bug where todo would segfault if ^D was pressed while editing a line. Thanks to Matt Kraai for picking this up. The problem was due to not handling a NULL return value from readline. * More man page fixes (this time, thanks again go to Matt). * You can now specify more than one item index on the command line as seperate arguments. Previously, a comma was required and if multiple arguments were used the last one was used. Arthur picked this one up. * Added parsing of /etc/todorc (actually, the location is specified by the --sysconfdir argument to configure, so it will probably be /usr/local/etc/todorc on most peoples systems). * Added awareness of the TODORC environment variable. This specifies the RC file to parse on startup. TODORC=$HOME/.todorc is the default behaviour. This idea was thanks to Claude. Claude also suggests, quite rightly, that it would be useful for specifying a system-wide todorc file by putting TODORC=/etc/todorc in /etc/profile or somewhere similar. * Added two new arguments for modifying the database used. The first is --database <file> which is used to change the default filename used. eg. --database .todo is the default behaviour. The other is --fallback-database <file> which specifies the database to use if no other can be found. By default there is no fallback database. Both of these options can be specified in the .todorc. * Environment variables can now be used in the ~/.todorc. This is especially useful for something like 'fallback-database $HOME/.todo'. * Finally fixed the bug where &gt; and &amp; were not being correctly interpreted. * Fixed a long-time bug where wraptext() was wrapping the first line prematurely. * Fixed a bug where if the sort order changed, visible indices would not match parameter indices. * --verbose now displays time between when an item was created and when it was completed. * Added --date-format for formatting the display of dates (currently only used with --verbose). The format is that used by strftime(3) but if strftime is not available on a system, ctime(3) is used. * Added fully-featured sorting via the --sort parameter. It is now possible to sort on pretty much anything you can think of; creation time, completed time, duration of item, text body, priority and whether an item is done or not. * Added --paranoid option that enables some warnings about permissions. This is in response to a user request to not make the .todo file group/world accessible. This option will make devtodo warn the user if such a database is created. * Removed --sync and --no-sync. You can generate the TODO file with --TODO.
-rw-r--r--time/devtodo/Makefile4
-rw-r--r--time/devtodo/files/md54
-rw-r--r--time/devtodo/pkg/PLIST13
3 files changed, 14 insertions, 7 deletions
diff --git a/time/devtodo/Makefile b/time/devtodo/Makefile
index 964a10604de..936071c2c5a 100644
--- a/time/devtodo/Makefile
+++ b/time/devtodo/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2001/03/28 11:02:43 abs Exp $
+# $NetBSD: Makefile,v 1.3 2001/04/16 08:00:43 zuntum Exp $
#
-DISTNAME= devtodo-0.1.3
+DISTNAME= devtodo-0.1.4
CATEGORIES= time
MASTER_SITES= http://ftp1.sourceforge.net/devtodo/
diff --git a/time/devtodo/files/md5 b/time/devtodo/files/md5
index 3cf84704d90..8315d653609 100644
--- a/time/devtodo/files/md5
+++ b/time/devtodo/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 2001/03/20 21:45:55 mjl Exp $
+$NetBSD: md5,v 1.2 2001/04/16 08:00:44 zuntum Exp $
-SHA1 (devtodo-0.1.3.tar.gz) = f572815a9192855679582b15c461972a7f9c676f
+SHA1 (devtodo-0.1.4.tar.gz) = dc505b89a4830e1fffad6fbbcf096b41684787f0
diff --git a/time/devtodo/pkg/PLIST b/time/devtodo/pkg/PLIST
index 37d7aa33428..a6c66d9c80a 100644
--- a/time/devtodo/pkg/PLIST
+++ b/time/devtodo/pkg/PLIST
@@ -1,7 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/20 21:45:55 mjl Exp $
-bin/todo
+@comment $NetBSD: PLIST,v 1.2 2001/04/16 08:00:44 zuntum Exp $
+bin/devtodo
bin/tda
-bin/tdr
bin/tdd
bin/tde
+bin/tdr
+bin/todo
+etc/todorc
+man/man1/devtodo.1
+man/man1/tda.1
+man/man1/tdd.1
+man/man1/tde.1
+man/man1/tdr.1
man/man1/todo.1