Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 16:18:35 GMT
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183593: [maintainer][patch] sysutils/wmupmon: stagedir support
Message-ID:  <201311021618.rA2GIZdB017958@oldred.freebsd.org>
Resent-Message-ID: <201311021620.rA2GK0El033982@freefall.freebsd.org>

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

>Number:         183593
>Category:       ports
>Synopsis:       [maintainer][patch] sysutils/wmupmon: stagedir support
>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:   Sat Nov 02 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        11.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257540: Sat Nov  2 10:17:13 CET 2013     xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX  amd64
>Description:
- Support staging
- Proper manpage handling
- Substitute leading article in pkg-descr

>How-To-Repeat:
Some 'minor' problem remains. I was not able to find a solution for the following warning on 11.0-CURRENT with clang:

main.c:168:17: warning: implicit declaration of function 'get_uptime' is invalid in C99 [-Wimplicit-function-declaration]
   total_secs = get_uptime();
                ^

If anyone does know how to fix it, I would be glad. Thanks in advance.
>Fix:
The appended patch should apply and work proper.

Patch attached with submission follows:

diff -u wmupmon.orig/Makefile wmupmon/Makefile
--- wmupmon.orig/Makefile	2013-10-04 07:48:39.000000000 +0200
+++ wmupmon/Makefile	2013-11-02 16:29:09.000000000 +0100
@@ -16,8 +16,6 @@
 USE_AUTOTOOLS=	autoheader
 CONFIGURE_ARGS=	--program-prefix=""
 
-MAN1=		wmupmon.1
-PLIST_FILES=	bin/wmupmon
+PLIST_FILES=	bin/wmupmon man/man1/wmupmon.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
Common subdirectories: wmupmon.orig/files and wmupmon/files
diff -u wmupmon.orig/pkg-descr wmupmon/pkg-descr
--- wmupmon.orig/pkg-descr	2013-06-20 17:41:45.000000000 +0200
+++ wmupmon/pkg-descr	2013-11-02 16:29:40.000000000 +0100
@@ -1,4 +1,4 @@
-A dockapp that displays your system uptime
+WindowMaker dockapp that displays your system uptime
 
 WWW: http://freecode.com/projects/wmupmon
      http://dockapps.windowmaker.org/file.php/id/188


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



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