Update to 0.3.1

Tidy up RC scripts

PR:		ports/70858
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-08-25 09:14:06 +00:00
parent 61727442d1
commit f895406643
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117235
4 changed files with 7 additions and 24 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= openupsd
PORTVERSION= 0.3.0
PORTVERSION= 0.3.1
CATEGORIES= sysutils
MASTER_SITES= http://frmb.org/download/

View File

@ -1,2 +1,2 @@
MD5 (openupsd-0.3.0.tar.gz) = 99cecb372895a8a08d9ae5b2d428a606
SIZE (openupsd-0.3.0.tar.gz) = 120596
MD5 (openupsd-0.3.1.tar.gz) = 68b192b007fa80c0a26c13d2917be0d2
SIZE (openupsd-0.3.1.tar.gz) = 122229

View File

@ -13,18 +13,11 @@ openupsd_enable=${openupsd_enable:-"NO"}
name="openupsd"
rcvar=`set_rcvar`
start_cmd="${name}_start"
stop_cmd="${name}_stop"
pidfile=/var/run/${name}.pid
required_files=%%PREFIX%%/etc/${name}.conf
openupsd_start()
{
%%PREFIX%%/sbin/openupsd
}
openupsd_stop()
{
killall openupsd
}
command=%%PREFIX%%/sbin/openupsd
command_args="-p ${pidfile}"
load_rc_config $name
run_rc_command "$1"

View File

@ -1,10 +0,0 @@
--- 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>