Hi Kirill, Kirill Bychkov wrote on Sun, Jul 24, 2011 at 11:31:42PM +0400:
> Hi. This diff updates sysutils/apcupsd to the latest version. It also fixes > typo in MESSAGE-cgi, adds rc script, enables test driver, fixes apcupsd.conf > manual with our groff and removes abandoned SNMP support through net-snmp. The manuals are rather normal mdoc(7) manuals, except that they are a bit messy with respect to whitespace. So i'd suggest to use the following patch in place of patch-doc_apcupsd_conf_5 and remove USE_GROFF. Of course, also send the patch upstream, explaining that .Dd must be the first macro, and blank lines confuse some mdoc(7) formatters. If the upstream authors are interested, we can also provide some more cleanup of the manuals (mostly from mandoc -Tlint complaints plus some more). Yours, Ingo $OpenBSD$ --- doc/apcupsd.conf.5.orig Sun Jul 24 22:48:48 2011 +++ doc/apcupsd.conf.5 Sun Jul 24 23:00:04 2011 @@ -1,5 +1,4 @@ .\" manual page [] for apcupsd.conf version 3.14.6 -.Pp .Dd January 10, 2009 .Dt APCUPSD.CONF 5 .Os apcupsd.conf v3.14.6 @@ -82,7 +81,6 @@ for most situations. apcupsd creates a lockfile for the serial or USB port in the specified directory. It must be changed when running more than one copy of apcupsd on the same computer to control multiple UPSes. - .It SCRIPTDIR <path> .Pp Directory in which apccontrol and event scripts are located.