#
PORTNAME= openupsd
PORTVERSION= 0.3.0
PORTVERSION= 0.3.1
CATEGORIES= sysutils
MASTER_SITES= http://frmb.org/download/
MD5 (openupsd-0.3.0.tar.gz) = 99cecb372895a8a08d9ae5b2d428a606
MD5 (openupsd-0.3.1.tar.gz) = 68b192b007fa80c0a26c13d2917be0d2
SIZE (openupsd-0.3.0.tar.gz) = 120596
SIZE (openupsd-0.3.1.tar.gz) = 122229
name="openupsd"
rcvar=`set_rcvar`
start_cmd="${name}_start"
pidfile=/var/run/${name}.pid
stop_cmd="${name}_stop"
required_files=%%PREFIX%%/etc/${name}.conf
openupsd_start()
command=%%PREFIX%%/sbin/openupsd
{
command_args="-p ${pidfile}"
%%PREFIX%%/sbin/openupsd
}
openupsd_stop()
killall openupsd
load_rc_config $name
run_rc_command "$1"
--- support.c.bak Sun Aug 15 16:26:05 2004
+++ support.c Sun Aug 15 16:26:13 2004
@@ -23,7 +23,6 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#include <malloc.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <termios.h>