summaryrefslogtreecommitdiff
path: root/NEWS
blob: 723792606c06b662deafd73abc94e98d3fb2eab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
               downtimed - system downtime reporting tool

                           version history

version 1.0 released 2016-05-24

 - This is mainly a maintenance release. There are no significant new
   features. The software appears to be so stable that it is the time to
   release 1.0 now.

 - Enable downtime(1) command and manual page. It was previously commented
   out but enabled in Debian and Ubuntu packaging. The singular form
   displays just the most recent downtime entry. The original idea was that
   this is the counterpart of the uptime(1) command.

 - Add downtimed(8) command line option -F for enabling seamless
   operation with modern system service supervisors such as systemd(8) and
   others. This option disables calling daemon(3) and thus fork(2)ing into
   the background. In systemd(8) terminology this is a [Service] Type=
   "simple".

 - Eliminate #ifndef __APPLE__ in the code. OS X users must now add the -F
   option described above to their downtimed(8) launchd(8) configuration.
   The example configuration startup-scripts/com.epipe.downtimed.plist was
   updated accordingly.

 - Add systemd.service(5) file in startup-scripts/downtimed.service.

 - Add -f command line option to usage help strings. Reported and a patch
   supplied by Mats Erik Andersson. Thanks!

 - Allow disabling pid file creation with -p none.

 - Update autotools produced scripts, build-aux.

 - Moved code hosting from Launchpad to GitHub. The new location is:

     https://github.com/snabb/downtimed

   Also README was changed to README.md.

 - Miscellaneous minor improvements and changes in the documentation.


version 0.6 released 2013-07-27

 - Added startup scripts for Debian, Red Hat (RHEL/Fedora/Scientific
   Linux/CentOS/etc.), Arch Linux and OpenIndiana/OpenSolaris.

 - Implemented -f command line option for downtimes(1) and downtimed(8).
   It can be used to specify the desired time and date format for
   reporting. The default remains "%F %T".

 - Implemented -u command line option for downtimes(1) for reporting
   times in UTC. Analogous to "date -u".

 - GNU/Hurd compatibility fixes contributed by Mats Erik Andersson.

 - FreeBSD 9 compatibility fix by Douglas Thrift.


version 0.5 released 2011-03-02

 - Fixed a bug which prevented creation of the required time stamp
   files in case command line option -S was set.

 - Determine boot time on some SVR4 systems such as Solaris.

 - Compatibility for systems which do not have flock() but have lockf(),
   such as Solaris.

 - Compatibility for systems without facilitynames in <syslog.h>, such
   as Solaris.

 - Compatibility daemon(3) function for OSes which do not have it, such
   as Solaris.

 - Compatibility for systems which lack futimes(3) function, such as
   Solaris.

 - Log an error message if system boot time can not be determined.

 - Remove dependency on be64toh(3) and betoh64(3). Or betoh64(3) and
   htobe64(3). Or OSSwapBigToHostInt64(3) and OSSwapHostToBigInt64(3).
   The code became a mess because 64 bit byte swapping is not standardized.

   Also some commonly used GNU/Linux distributions such as RHEL/CentOS 5.5
   have such an old glibc that it does not include any of these functions.

   Now we just implement our own byte swapping macro and ignore whatever
   is or is not available from the system. This improves portability
   on many platforms, for example on Red Hat (RHEL) and Solaris.

 - Improve README documentation regarding startup scripts.

 - Example startup scripts have been moved to the "startup-scripts"
   sub-directory.

 - openSUSE startup script by Federico Lucifredi <flucifredi@acm.org>.

 - OpenBSD compatibility improvements.

 - Debian GNU/kFreeBSD compatibility improvements.

 - Use volatile sig_atomic_t if available for flags set by signal handlers.

 - Other minor fixes.


version 0.4 released 2010-12-25

 - Do not create the data directory /var/{db,lib}/downtimed in the
   daemon. It should be created by the system administrator or the
   package maintainer instead. Problem reported by Mats Erik Andersson
   <openbsd@gisladisker.se>.

 - OpenBSD support and other minor fixes by Mats Erik
   Andersson <openbsd@gisladisker.se>.

 - Debian GNU/kFreeBSD support by Mats Erik Andersson
   <openbsd@gisladisker.se>.

 - Change backwards lseek(2) to forward lseek(2) as the backwards seek
   fails on some platforms, by Mats Erik Andersson <openbsd@gisladisker.se>.

 - Other minor fixes.


version 0.3 released 2010-10-26

 - Mac OS X support by Henrik Ahlgren <pablo@seestieto.com>

 - Fix man page rendering on various OSes such as FreeBSD (we were
   using non-standard .SY, .YS and .OP macros) [this has no
   effect on GNU/Linux, no need to upgrade]

 - Fix printf format string to avoid compiler warnings


version 0.2 released 2010-09-22

 - implemented downtimes(1) command for displaying the contents of
   the downtime database in human readable format

 - implemented downtime database in the downtimed(8) daemon

 - moved the location of data files from /var/lib/misc/downtimed/
   to /var/lib/downtimed/ on Linux.

 - the default sleep time between time stamp updates is now 15 seconds
   instead of 5 as previously

 - minor documentation improvements


version 0.1 released 2010-05-22

 - initial release