Update to 0.3.1
Tidy up RC scripts PR: ports/70858 Submitted by: maintainer
This commit is contained in:
parent
61727442d1
commit
f895406643
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117235
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= openupsd
|
||||
PORTVERSION= 0.3.0
|
||||
PORTVERSION= 0.3.1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://frmb.org/download/
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user