head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.126 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.124 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.122 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.120 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.118 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.116 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.114 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.112 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.110 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.108 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.106 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.104 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.102 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.100 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.98 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.96 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.94 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.92 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.90 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.88 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.86 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.84 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.82 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.78 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.58 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.80 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.76 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.74 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.72 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.70 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.68 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.66 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.64 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.62 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.60 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.56 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.54 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.52 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.50 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.48 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.46 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.44 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.42 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.40 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.38 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.36 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.34 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.32 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.30 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.28 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.26 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.24 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.22 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.20 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.18 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.16 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.14 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.12 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.10 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.8 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.6 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.4 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.2 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.6.0.14 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.12 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.10 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.8 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.6 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.4 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.2 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.5.0.14 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.12 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.10 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.8 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.6 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.4 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.2 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2010.09.09.11.39.58; author obache; state Exp; branches; next 1.6; 1.6 date 2008.11.10.17.46.31; author wiz; state Exp; branches; next 1.5; 1.5 date 2007.09.08.21.58.01; author jlam; state Exp; branches; next 1.4; 1.4 date 2006.10.01.08.26.56; author schwarz; state Exp; branches; next 1.3; 1.3 date 2006.07.22.09.25.54; author wiz; state Exp; branches; next 1.2; 1.2 date 2004.11.24.23.04.41; author kim; state Exp; branches; next 1.1; 1.1 date 2000.12.17.23.32.11; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.12.17.23.32.11; author wiz; state Exp; branches; next ; desc @@ 1.7 log @Update remind to 3.1.9. close PR#43791. Changes to pkgsrc * use INSTALL_SCRIPT from configure (patch-ab). * update tclsh name, current its version in pkgsrc is 8.4. CHANGES TO REMIND * Version 3.1 Patch 9 - 2010-06-20 - MAJOR ENHANCEMENT: New "purge mode" to delete expired reminders. See the PURGE MODE section of the remind man page. - ENHANCEMENT: Support DURATION in TkRemind. Thanks to Marek Marczykowski. - BUG FIX: Don't change the order of PS and PSFILE reminders. Bug found by John McGowan. - BUG FIX: "REM 1990-01-01 SATISFY 1" would yield a spurious parse error in earlier versions of Remind. - BUG FIX: Yom HaShoah is moved to Thursday if it would normally fall on a Friday. Thanks to Jonathan Kamens for pointing this out. * Version 3.1 Patch 8 - 2010-03-09 - ENHANCEMENT: Include some useful scripts in contrib/ - ENHANCEMENT: Add the $T, $Td, $Tm, $Tw, $Ty, $U, $Ud, $Um, $Uw, $Uy special variables to make reminder files less wordy. See man page for details. - MINOR ENHANCEMENT: Set an icon photo window manager resource on TkRemind. - POLICY CHANGE: Discourage use of Remind on MS Windows or Apple Mac OS X. - BUG FIX: Ignore msgprefix() and msgsuffix() on RUN-type reminders. - BUG FIX: Adjust Remind and Rem2PS so that SHADE specials don't obliterate earlier MOON specials. - BUG FIX: Fix bug in SCHED calculations if Remind is started in the middle of a SCHED interval. @ text @$NetBSD: patch-ac,v 1.6 2008/11/10 17:46:31 wiz Exp $ --- src/files.c.orig 2010-04-25 14:06:54.000000000 +0000 +++ src/files.c @@@@ -19,6 +19,7 @@@@ #include #include #include +#include #include #ifdef TM_IN_SYS_TIME @@@@ -511,16 +512,28 @@@@ int DoInclude(ParsePtr p) { DynamicBuffer buf; int r, e; + glob_t g; + char **gp; DBufInit(&buf); + memset(&g, 0, sizeof(g)); + if ( (r=ParseToken(p, &buf)) ) return r; e = VerifyEoln(p); if (e) Eprint("%s", ErrMsg[e]); - if ( (r=IncludeFile(DBufValue(&buf))) ) { - DBufFree(&buf); - return r; - } + + glob(DBufValue(&buf), GLOB_NOCHECK|GLOB_BRACE|GLOB_TILDE, NULL, &g); DBufFree(&buf); + + for (gp = g.gl_pathv; gp && *gp; gp++) { + if ( (r=IncludeFile(*gp)) ) { + globfree(&g); + return r; + } + } + + globfree(&g); + NumIfs = 0; IfFlags = 0; return OK; @ 1.6 log @Update to 3.1.5: CHANGES TO REMIND * Version 3.1 Patch 5 - 2008-04-15 - MAJOR ENHANCEMENT: If you supply a directory name on the command line or for an INCLUDE command, then Remind reads all *.rem file in that directory (in the order returned by "glob") - ENHANCEMENT: The plain-text calendar ("-c") can draw lines using VT-100 line-drawing characters if invoked as "-cl" - ENHANCEMENT: The plain-text calendar can approximate SPECIAL COLOR reminders using VT-100 color escape sequences if invoked as "-cc". (You can combine the colors and line-drawing characters with -clc or -ccl.) - ENHANCEMENT: The "-t" option can take a numeric argument n. In this case, all reminders are assumed to have a delta of +n. (Without the argument, an infinite delta is assumed, as before.) If a numeric argument is given, the new system variable $DeltaOffset is set to the argument. - MINOR ENHANCEMENT: The "-i" command-line option can be used to define a function as well as set a variable. - MINOR ENHANCEMENT: String constants can have embedded quotes "Like \"this" - MINOR ENHANCEMENT: tkremind works better on small screens like that of the Eee-PC. - BUG FIX: Minor fix to HTML output courtesy of Ian! Allen. - BUG FIX: Parse error in calendar mode was fixed. * Version 3.1 Patch 4 - 2008-02-03 - ENHANCMENT: tkremind respects the "-b1" option and operates in 24-hour clock mode if the option is supplied. - ENHANCEMENT: tkremind has been tweaked to look better with Tcl/Tk 8.5. - CLEANUP: Version is kept only in configure.in instead of two different places. - CLEANUP: Added "const" qualifier to many places in the code that previously lacked it. - BUG FIX: A rare parsing error involving interaction between SATISFY and SKIP has been fixed. - BUG FIX: rem2html would output a horribly-wrong calendar for a 28-day February starting on Sunday (such as February 2009.) This has been fixed. - BUG FIX: The "-ivar=value" command-line option failed if Remind re-execed itself because we overwrote argv[]. This has been fixed. * Version 3.1 Patch 3 - 2007-10-15 + MINOR ENHANCEMENTS - rem2html now uses CSS for a much better-looking calendar. NOTE: rem2html was completely rewritten and some of the command-line options have changed! - If a reminder has a DURATION clause, then the starting and ending times are output in calendar mode. + BUG FIXES - DST rules in "defs.rem" were updated to reflect new US/Canadian DST rules. - If a REM command cannot compute a trigger date, the SATISFY expression is not evaluated. This helps avoid spurious error messages in some reminders. * Version 3.1 Patch 2 - 2007-09-12 + MINOR ENHANCEMENTS - build.tk tries to set defaults for location, paper size, etc from an existing "remind" installation if it detects one. - In queue mode, wake up once a minute and recalibrate sleep time. This should make Remind work better on laptops that suspend or hibernate. Note that "remind -q" does *not* handle date-rollover well; it simply exits if it notices date rollover. "remind -z0" (as used by tkremind) handles date rollover properly; it rereads the reminder file and rebuilds the queue if it notices date rollover. - tkremind: Added some key bindings to make navigation easier. - tkremind: Made calendar boxes use space more efficiently. - remind: The functionality of "rem" is now built into remind. If you invoke remind as "rem", then it uses a default filename. The installer sets up "rem" as a symbolic link to "remind". + CHANGE - "remind -p" no longer sorts SPECIAL reminders before non-SPECIAL. *** THIS MAY AFFECT BACKENDS *** Backends supplied by Roaring Penguin (rem2ps, rem2html and tkremind) are known to work properly. - "remind -p" no longer suppresses any AT-time associated with SPECIAL reminders. *** THIS MAY AFFECT BACKENDS *** Backends supplied by Roaring Penguin (rem2ps, rem2html and tkremind) are known to work properly. + BUG FIXES - examples/defs.rem: A few corrections to Jewish holidays courtesy of Art Werschulz. - src/Makefile.in: Added install-nostripped target. - SPECIAL COLOR now works more like MSG, including proper support for AT and for the %" %" escape sequence. - SPECIAL COLOR is queued correctly if it has an AT clause. - Using the psshade() or psmoon() functions emits a warning on stderr. You should use SPECIAL SHADE or SPECIAL MOON instead. * Version 3.1 Patch 1 - 2007-08-23 + MAJOR ENHANCEMENTS - Added the "nonomitted" function that solves a number of moving-reminder-in-response-to-holiday problems. The real-world problems solved are the "moving-garbage-day" problem and the "six-day-school-cycle" problem. + MINOR ENHANCEMENTS - A few minor performance improvements in response to profiling runs. + BUG FIXES - Prevent compilation failure with gcc 2.95. - Fix trailing "s" bug with -k option. This was fixed in Debian's release, but the Debian maintainer never bothered to let me know. - Removed obsolete scripts: kall, rem, remind-all.sh, remind-all.csh - Made "-n" output always use "/" as date separator for consistency with "-p" and "-s". - Moon PNG images are transparent. Output of moon phases in rem2html improved slightly. - Various man-page fixes. * Version 3.1 Patch 0 - 2007-07-14 + MAJOR ENHANCEMENTS - Added the FROM clause. This lets you write reminders like: REM Mon FROM 16 July 2007 UNTIL 13 Aug 2007 MSG Some Mondays... - Remind now has a new datatype: A DATETIME object represents a date AND a time (to the nearest minute). DATETIME constants are written as '2007-09-01@@14:33'. Various operators and functions have been modified to do sensible things with DATETIMEs and several new DATETIME functions have been added. - The SPECIAL COLOR reminder type has been hacked to behave more like a MSG type. It sorts properly and is emitted as a normal reminder in non-calendar mode. Simlarly, SPECIAL HTML sorts with -g as well. + MINOR ENHANCEMENTS - TkRemind can e-mail you reminders if you don't dismiss the popup window after one minute. This is useful if you need to leave your workstation but want reminders to "follow" you via e-mail. - A new "-y" option to Remind generates tags for all reminders that lack a TAG clause. This may be useful for conversion tools that want each reminder to have a unique identifier. - A new "tzconvert" function lets you convert datetimes between different time zones. It's only as good as your C library, so test thoroughly please! Based on a patch from Stefan Wehr. - TkRemind sorts reminders by invoking Remind with the '-g' option. - The time and date separator characters can be changed at runtime by setting $TimeSep and $DateSep respectively. - The simple calendar ('-s') option can be immediately followed by an 'a'. This causes Remind to output reminders with deltas before the actual trigger date. Based loosely on an idea from Frank Terbeck. + MINOR CHANGES - Default date separator is now '-' instead of '/' - trigdate() and trigtime() behave differently - they return the integer 0 if the last reminder could not be computed or did not have an AT clause (respectively). - Maximum length of variable names has been increased from 12 to 16 characters. + BUG FIXES - Fixed a potential memory leak in queue.c - Fixed compile error on Mac OS X. - Fixed behaviour of "-sa" option so deltas correctly obey omitted days and the scheduling function (if one is used). - rem2ps would produce invalid PostScript in some rare cases (eg, for February 2007). This has been fixed. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2007/09/08 21:58:01 jlam Exp $ d3 1 a3 1 --- src/files.c.orig 2008-03-25 03:12:37.000000000 +0000 d5 1 a5 2 @@@@ -18,6 +18,7 @@@@ d7 1 d13 1 a13 1 @@@@ -445,16 +446,28 @@@@ int DoInclude(ParsePtr p) @ 1.5 log @Convert to use the features framework. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/files.c.orig 2005-09-29 23:29:32.000000000 -0400 d5 1 a5 1 @@@@ -19,6 +19,7 @@@@ static char const RCSID[] = "$Id: files. d13 2 a14 2 @@@@ -365,16 +366,27 @@@@ int DoInclude(ParsePtr p) { d24 1 a24 1 e = VerifyEoln(p); d42 1 @ 1.4 log @ added support for IRIX 5 @ text @d3 3 a5 3 --- src/files.c.orig 2005-09-30 05:29:32.000000000 +0200 +++ src/files.c 2006-09-17 19:33:26.000000000 +0200 @@@@ -19,6 +19,11 @@@@ d9 1 a9 5 +#ifdef NBCOMPAT_GLOB_H +# include +#else +# include +#endif d13 1 a13 1 @@@@ -365,16 +370,27 @@@@ @ 1.3 log @Update to 3.00.24. Ok kim@@ CHANGES TO REMIND * Version 3.0 Patch 24 + MINOR ENHANCEMENTS - Permit the DURATION of a reminder to be as high as you like. Previously, DURATIONs could be at most 23:59. Fix courtesy of Paul Pelzl. - The "-n" flag can be usefully combined with "-s", "-p" and "-l" now. Fix courtesy of Paul Pelzl. + BUG FIXES - The "-k" command escapes all characters except those known to be safe, rather than attempting to escape only characters thought to be unsafe. - Removed the crufty code that supported non-ANSI C compilers. - Removed all support for non-UNIX/non-Linux systems. - Fixed a bug in the tokenizer that could make Remind segfault. Fix courtesy of Stan Tobias. * Version 3.0 Patch 23 + MINOR ENHANCEMENTS - Added the COLOR special for putting colored reminders in the calendar. Supported by the HTML, Tcl/Tk and PostScript back-ends. - Many minor tweaks to tkremind. - Added ability to specify paper size in inches or centimetres to rem2ps. - Added the "-l" option to Remind. This outputs additional information for back-end programs that use the "-p" output format. Currently used only by the "tkremind" back-end. - Fixed dates for Yom Hazikaron and Yom Ha'atzmaut if 5 Iyar falls on a Saturday. (Hebrew calendar fix.) - Added support for the Icelandic language, courtesy of Björn Davíðsson. + BUG FIXES - Fixed parser error for unterminated date constant: '2005/01/01 @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2004/11/24 23:04:41 kim Exp $ d3 3 a5 3 --- src/files.c.orig 2005-09-30 03:29:32.000000000 +0000 +++ src/files.c @@@@ -19,6 +19,7 @@@@ static char const RCSID[] = "$Id: files. d9 5 a13 1 +#include d17 1 a17 1 @@@@ -365,16 +366,27 @@@@ int DoInclude(ParsePtr p) @ 1.2 log @Fixed the globbing in patch-ac (thanks Christos), to avoid errors from free. Closes PR pkg/26612 @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- src/files.c.orig 2000-02-17 22:45:54.000000000 -0500 +++ src/files.c 2004-11-24 18:01:56.000000000 -0500 @@@@ -19,6 +19,7 @@@@ d13 1 a13 1 @@@@ -421,16 +422,27 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2000/03/02 00:56:45 kim Exp $ d3 2 a4 2 --- src/files.c.orig Mon Apr 5 13:34:48 1999 +++ src/files.c Wed Mar 1 19:48:52 2000 d13 1 a13 1 @@@@ -421,16 +422,26 @@@@ d18 1 d34 2 a35 2 + do { + if ( (r=IncludeFile(*g.gl_pathv)) ) { d39 1 a39 1 + } while (*++g.gl_pathv != NULL); @ 1.1.1.1 log @New category: time. Move many packages here: misc/cal, misc/cardboard-schedule, misc/ical, misc/plan, misc/py-mxDateTime, misc/remind, sysutils/logtime, and 19 more from x11. @ text @@