Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 13:34:11 +0100
From:      Tim Bishop <tim@bishnet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tim@bishnet.net
Subject:   ports/70858: [MAINTAINER] sysutils/openupsd: update to 0.3.1
Message-ID:  <E1BzE1b-0003Hx-1N@pendennis.ukc.ac.uk>
Resent-Message-ID: <200408231240.i7NCeH4v068082@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70858
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/openupsd: update to 0.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 12:40:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Bishop
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Sun Jul 18 15:23:54 BST 2004
>Description:
- Update to 0.3.1
- Tidy up RC scripts

Removed file(s):
- files/patch-support.c

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- openupsd-0.3.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /u1/freebsd/cvs/ports/sysutils/openupsd/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	17 Aug 2004 09:25:37 -0000	1.1
+++ Makefile	22 Aug 2004 10:51:55 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	openupsd
-PORTVERSION=	0.3.0
+PORTVERSION=	0.3.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://frmb.org/download/
 
Index: distinfo
===================================================================
RCS file: /u1/freebsd/cvs/ports/sysutils/openupsd/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	17 Aug 2004 09:25:37 -0000	1.1
+++ distinfo	22 Aug 2004 10:52:10 -0000
@@ -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
Index: files/openupsd.sh
===================================================================
RCS file: /u1/freebsd/cvs/ports/sysutils/openupsd/files/openupsd.sh,v
retrieving revision 1.1
diff -u -r1.1 openupsd.sh
--- files/openupsd.sh	17 Aug 2004 09:25:37 -0000	1.1
+++ files/openupsd.sh	23 Aug 2004 12:29:29 -0000
@@ -13,18 +13,11 @@
 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"
Index: files/patch-support.c
===================================================================
RCS file: files/patch-support.c
diff -N files/patch-support.c
--- files/patch-support.c	17 Aug 2004 09:25:37 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -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>
--- openupsd-0.3.1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BzE1b-0003Hx-1N>