Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 21:39:37 +0100 (CET)
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47869: Maintainer update: misc/upclient (5.0.b7)
Message-ID:  <200302032039.h13Kdbi8092754@mail.gits.dyndns.org>

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

>Number:         47869
>Category:       ports
>Synopsis:       Maintainer update: misc/upclient (5.0.b7)
>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 Feb 03 12:40:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.7-STABLE FreeBSD 4.7-STABLE #32: Thu Jan 23 00:09:17 CET 2003 root@gits:/disk2/freebsd/stable/src/sys/compile/CUSTOM i386
>Description:
	version bump.

	Makefile
		PORTVERSION bump
		USE_GMAKE no more needed
		sample file installed as kmem group for later use ?
	distinfo
		updated
	pkg-list
		locales updated
	files/patch-aa (src/Makefile)
	files/patch-ab (src/conf/upclient.conf)
	files/patch-stats-bsd.c
	files/upclient.sh
		updated
>How-To-Repeat:
	cd /usr/ports/misc/upclient; make
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile	3 Jan 2003 06:35:32 -0000	1.18
+++ Makefile	3 Feb 2003 19:11:59 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	upclient
-PORTVERSION=	5.0.b6
+PORTVERSION=	5.0.b7
 CATEGORIES=	misc
 MASTER_SITES=	http://uptimes.wonko.com/files/
 DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
@@ -19,7 +19,6 @@
 LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
 
 USE_REINPLACE=	yes
-USE_GMAKE=	yes
 ALL_TARGET=	bsd
 BUILD_WRKSRC=	${WRKSRC}/src
 
@@ -74,7 +73,7 @@
 		${MAN8PREFIX}/man/man8
 
 install-sample:
-	@${INSTALL_DATA} -m 600 ${WRKSRC}/src/products/upclient.conf \
+	@${INSTALL_DATA} -g kmem -m 640 ${WRKSRC}/src/products/upclient.conf \
 		${PREFIX}/etc/upclient.conf.sample
 
 install-script:
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	3 Jan 2003 06:35:32 -0000	1.6
+++ distinfo	3 Feb 2003 19:08:09 -0000
@@ -1 +1 @@
-MD5 (upclient-5.0b6.tar.gz) = 3d4c45addb947a51deabf2205188b82e
+MD5 (upclient-5.0b7.tar.gz) = ad56ed3309ce2fadae1f2c0339a4bc80
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	3 Jan 2003 06:35:32 -0000	1.5
+++ pkg-plist	3 Feb 2003 19:40:25 -0000
@@ -16,5 +16,8 @@
 %%PORTDOCS%%share/doc/upclient/TODO
 %%PORTDOCS%%share/doc/upclient/UptimesProtocol5
 share/locale/de/LC_MESSAGES/upclient.mo
+share/locale/es/LC_MESSAGES/upclient.mo
 share/locale/fr/LC_MESSAGES/upclient.mo
+share/locale/it/LC_MESSAGES/upclient.mo
+share/locale/nl/LC_MESSAGES/upclient.mo
 %%PORTDOCS%%@dirrm share/doc/upclient
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/files/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- files/patch-aa	3 Jan 2003 06:35:32 -0000	1.5
+++ files/patch-aa	3 Feb 2003 19:18:51 -0000
@@ -1,33 +1,35 @@
---- src/Makefile.orig	Sat Nov 30 03:29:55 2002
-+++ src/Makefile	Wed Dec 18 01:29:34 2002
+--- src/Makefile.orig	Wed Dec 18 01:01:16 2002
++++ src/Makefile	Mon Feb  3 20:18:03 2003
 @@ -34,7 +34,7 @@
  #
-   PROGRAMNAME = upclient
- # UPCLIENT_VERSION = "5.0b6"
+   PROGRAMNAME = UpClient
+ # UPCLIENT_VERSION = "5.0b7"
 -  UPCLIENT_VERSION = `grep '\#define UPCLIENT_VERSION ' version.h | sed -e 's@\#define UPCLIENT_VERSION @@g' | tr -d '"'`
-+  UPCLIENT_VERSION = `sed -n 's/"//g;/\#define UPCLIENT_VERSION /s///p' version.h`
- ################################################################################
++  UPCLIENT_VERSION =  `sed -n 's/"//g;/\#define UPCLIENT_VERSION /s///p' version.h`
+ #########################################################################
  
- binname = upclient
-@@ -44,7 +44,7 @@
  
+@@ -46,7 +46,7 @@
+ OPTIMIZATION_CFLAGS=-O3
  
  # System directories
 -prefix = /usr/local
 +prefix = %%PREFIX%%
  #prefix = /sw
- #prefix = /opt/${PROGRAMNAME}
- 
-@@ -55,7 +55,7 @@
- sbindir = ${exec_prefix}/sbin
+ #prefix = /opt/${binname}
+ #prefix = /tmp/upclient
+@@ -59,8 +59,8 @@
  datadir = ${prefix}/share
  sysconfdir = ${prefix}/etc
+ #sysconfdir = /etc
 -localstatedir = ${prefix}/var
+-#localstatedir = /var
++#localstatedir = ${prefix}/var
 +localstatedir = /var
+ destdir=
+ 
  
- # Further Reading
- # Filesystem Hierarchy Standard 2.2 May 24, 2001
-@@ -82,9 +82,9 @@
+@@ -90,9 +90,9 @@
  
  ## [x86] FreeBSD (4.7-RC)
  ## assumes gettext installed in /usr/local
Index: files/patch-ab
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/files/patch-ab,v
retrieving revision 1.6
diff -u -r1.6 patch-ab
--- files/patch-ab	3 Jan 2003 06:35:32 -0000	1.6
+++ files/patch-ab	3 Feb 2003 19:19:42 -0000
@@ -2,7 +2,7 @@
 +++ src/conf/upclient.conf	Wed Dec 18 02:31:09 2002
 @@ -9,7 +9,7 @@
  
- AuthKey = <your_authkey>	# Your Authorization key
+ AuthKey = your_authkey	# Your Authorization key
  
 -Interval     = 300			# Transmit interval
 +Interval     = 550			# Transmit interval
Index: files/patch-stats-bsd.c
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/files/patch-stats-bsd.c,v
retrieving revision 1.4
diff -u -r1.4 patch-stats-bsd.c
--- files/patch-stats-bsd.c	3 Jan 2003 06:35:32 -0000	1.4
+++ files/patch-stats-bsd.c	3 Feb 2003 19:22:02 -0000
@@ -1,5 +1,5 @@
---- src/stats-bsd.c.orig	Sat Nov 30 03:27:16 2002
-+++ src/stats-bsd.c	Wed Dec 18 03:28:16 2002
+--- src/stats-bsd.c.orig	Wed Dec 18 01:01:17 2002
++++ src/stats-bsd.c	Mon Feb  3 20:20:12 2003
 @@ -64,6 +64,8 @@
  
  #include "locale.h"     /* gettext */
@@ -67,17 +67,8 @@
  }
  
  #if !defined __MACH__   /* Mach kernel stuff is in stats-mach.c */
-@@ -245,7 +245,7 @@
- 
-             for (state = 0; state < CPUSTATES; state++) {
-                 time += ctime[state] - stime[state];
--                if (!(state == CPU_STATE_IDLE)) {
-+                if (!(state == CP_IDLE)) {
-                     nonidlecpu += (float)(ctime[state] - stime[state]);
-                 }
-             }
-@@ -258,6 +258,10 @@
- 
+@@ -259,6 +259,10 @@
+            /* store values for next calculation interval */
              for (state = 0; state < CPUSTATES; state++)
                  stime[state] = ctime[state];
 +#if defined DEBUG
@@ -87,7 +78,7 @@
          }
      }
      else {
-@@ -268,17 +272,13 @@
+@@ -269,17 +273,13 @@
          cfg_SendUsage = 0;
          cfg_SendIdle = 0;
      }
@@ -106,7 +97,7 @@
  
      boottimesecs = initBoottime();
  
-@@ -293,7 +293,7 @@
+@@ -294,7 +294,7 @@
  #endif /* DEBUG */
      }
      else {
@@ -115,7 +106,7 @@
                "getUptime() boottime.tv_sec");
      }
  }
-@@ -306,19 +306,18 @@
+@@ -307,19 +307,18 @@
           double *IdlePercent, char *osname, char *osversion, char *cpu,
           double *loadavg)
  {
Index: files/upclient.sh
===================================================================
RCS file: /home/ncvs/ports/misc/upclient/files/upclient.sh,v
retrieving revision 1.3
diff -u -r1.3 upclient.sh
--- files/upclient.sh	3 Jan 2003 06:35:32 -0000	1.3
+++ files/upclient.sh	3 Feb 2003 19:13:33 -0000
@@ -49,7 +49,7 @@
 			"${config_path}."
                 exit 72
 	fi
-	if grep -qs "^[$ws]*AuthKey[$ws]*=[$ws]*<your_authkey>" ${config_path}
+	if grep -qs "^[$ws]*AuthKey[$ws]*=[$ws]*your_authkey" ${config_path}
 	then
 		logger -sp ${syslog_facility} -t ${program_file} \
 			"unable to start: AuthKey isn't configured in" \
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302032039.h13Kdbi8092754>