Commit Graph

61 Commits

Author SHA1 Message Date
charnier
3d2e5f4b7c Typo fix: Alan Turning is aka Alan Turing. 1997-06-23 06:52:58 +00:00
charnier
2d49da06e0 Use err(3). Abort if strdup() returns NULL. 1997-06-23 06:52:13 +00:00
ache
dad173c0c8 Add yet one holiday 1997-06-11 16:32:11 +00:00
ache
72be0dfd4c Change holiday name to official one 1997-05-01 14:39:55 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
mpp
28e9c6477d Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
mpp
4aefb4bc22 Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
ache
524a72e3d1 Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
peter
ca6ca83982 Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
mpp
85bd6daaf1 Don't call sendmail with "-f root" when run with "-a". This
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
1997-02-16 18:24:44 +00:00
mpp
4cb95f035d Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
mpp
60aa846017 Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
mpp
dd8002bd0b Initialize the group list when we switch uids when run as
root with "calendar -a".  Drop all privs when execing other
programs.

Obtained from: OpenBSD
1997-02-06 05:42:49 +00:00
mpp
0e1fbde21d Fix calendar so that it doesn't report strange results on
Jan 1st (and probably other dates as well) for some variable
events.  E.g.

01/SunThird	whatever...

Was being printed as:

Jan  0	Whatever

when calendar was run on January 1st.

Closes PR#2461.
1997-02-02 07:37:46 +00:00
mpp
d292298ce7 Correct the year that Sydney Australia was settled.
Submitted by:	 <stephen.ma@jtec.com.au>
Obtained from:  NetBSD-bugs PR#3115
1997-01-31 02:22:29 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mpp
2494654b02 Fix calendar so that you can run it like:
calendar -t 0101 -f file

Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
1997-01-12 18:35:14 +00:00
mpp
1ff202e3f3 Remove an extra tab. 1997-01-08 07:24:52 +00:00
mpp
2aa8829be4 Replace a bunch of tabs by spaces, since they
should not be used in man page text.
1996-12-21 20:03:02 +00:00
mpp
29017ebe0b Grammar/spelling/style fixes.
2.2 candidate.
1996-12-21 19:57:14 +00:00
ache
89c99ff0c6 Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
mpp
a951e1ba65 Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
ache
cba2f6032a Add yet one holiday 1996-06-07 15:53:44 +00:00
ache
bbacd01bad Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
ache
3683fd396b Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
ache
f9a86966d5 Describe russian calendar 1996-05-10 22:26:02 +00:00
ache
0d422cfa72 Add russian data handling 1996-05-10 21:39:38 +00:00
ache
34e186d98c Russian calendar 1996-05-10 21:36:56 +00:00
ache
9fe3b1633a Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
ache
32706d589a Fix typing error 1996-05-10 17:36:33 +00:00
ache
df58ec580d Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
ache
e187821820 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
wosch
48b2e5079b Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
mpp
8c881f139a Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
jdp
12bc0ec742 Removed the definition of the make variable SHAREDIR. It was clashing
with the definition in bsd.own.mk, causing "make world" to fall over.
1996-04-02 22:26:18 +00:00
mpp
c9191eed55 Fix some grammer problems. 1996-03-11 04:50:13 +00:00
wosch
54cbaa1475 Submitted by: bruce
replace shell loop with make(1) builtin loop
1996-02-18 19:29:45 +00:00
wosch
579d5f3c48 more verbose output during install foreign calendar files 1996-02-18 01:42:44 +00:00
wosch
763baf4d95 Submitted by: Slaven Rezic (Tomic) <eserte@cs.tu-berlin.de>
croatian calendar
1996-02-09 14:35:02 +00:00
ache
cb030b238b Don't make directory here, it is mtree task 1996-02-05 17:35:17 +00:00
wosch
e20f3b0b19 Submitted by: pst
add forgotten file calendar.h. Sorry.
1996-02-03 10:58:11 +00:00
wosch
44dd497d49 _de_DE_ISO8859_1_* -> _de_DE_ISO_8859_1_*
+ Muttertag
+ first german newspaper(s) in WWW
+ Konrad Zuse
1996-02-02 06:05:20 +00:00
wosch
ced7d52dbc easter and easter depending day 1996-02-02 06:04:06 +00:00
wosch
f351e4d35e - handle events that move around from year to year, i.e.,
``the last Monday in April'
- handle easter

new options
	-f calendarfile
	-A days
	-B days

Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
1996-02-02 06:02:41 +00:00
mpp
f3a0046930 Fix some spelling errors in the calendar files. 1996-01-31 13:40:40 +00:00
wosch
8e69a08160 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 1996-01-30 23:36:43 +00:00
peter
868b4a08b4 de_DE.ISO8859-1 -> de_DE.ISO_8859-1 after repository operation on
Andrey's request.
1996-01-30 18:24:32 +00:00
wosch
fa485dc0b6 german calenda 1996-01-29 00:34:18 +00:00
wosch
f9c3c02826 include preprocessor commands like
#ifndef _calendar_christian_
#define _calendar_christian_
[...]
#endif
1996-01-29 00:33:02 +00:00