ports/65370: Update port: sysutils/wmfsm to 0.34
KATO Tsuguru
tkato at prontomail.com
Fri Apr 9 15:10:14 UTC 2004
>Number: 65370
>Category: ports
>Synopsis: Update port: sysutils/wmfsm to 0.34
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 09 08:10:13 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Update to version 0.34
New file:
files/patch-wmfsm::wmfsm.c
Remove file:
files/patch-aa
files/patch-ab
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/sysutils/wmfsm/Makefile sysutils/wmfsm/Makefile
--- /usr/ports/sysutils/wmfsm/Makefile Thu Mar 18 13:57:20 2004
+++ sysutils/wmfsm/Makefile Fri Apr 9 23:32:44 2004
@@ -6,20 +6,24 @@
#
PORTNAME= wmfsm
-PORTVERSION= 0.31
+PORTVERSION= 0.34
CATEGORIES= sysutils windowmaker
-MASTER_SITES= http://netpedia.net/hosting/wmfsm/source/ \
- http://e.dyn.mdn.de/mirror/wmfsm/
+MASTER_SITES= http://www.cs.ubc.ca/~cmg/
MAINTAINER= ports at FreeBSD.org
COMMENT= Displays filesystem usage of mountpoints in a nice WindowMaker dockapp
-WRKSRC= ${WRKDIR}/${DISTNAME}/wmfsm
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GETOPT_LONG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-MAKEFILE= Makefile.bsd
+MAN1= wmfsm.1
PLIST_FILES= bin/wmfsm
-USE_X_PREFIX= yes
-USE_XPM= yes
+CPPFLAGS= -I${X11BASE}/include
+LDFLAGS= -L${X11BASE}/lib
.include <bsd.port.mk>
diff -urN /usr/ports/sysutils/wmfsm/distinfo sysutils/wmfsm/distinfo
--- /usr/ports/sysutils/wmfsm/distinfo Fri Mar 19 18:13:55 2004
+++ sysutils/wmfsm/distinfo Fri Apr 9 23:32:47 2004
@@ -1,2 +1,2 @@
-MD5 (wmfsm-0.31.tar.gz) = 9b47b44ed9102b8b659168383a0c379e
-SIZE (wmfsm-0.31.tar.gz) = 18522
+MD5 (wmfsm-0.34.tar.gz) = 5ec81127146d8340a698cc5e26a66e43
+SIZE (wmfsm-0.34.tar.gz) = 105220
diff -urN /usr/ports/sysutils/wmfsm/files/patch-aa sysutils/wmfsm/files/patch-aa
--- /usr/ports/sysutils/wmfsm/files/patch-aa Mon Feb 5 07:44:33 2001
+++ sysutils/wmfsm/files/patch-aa Thu Jan 1 09:00:00 1970
@@ -1,41 +0,0 @@
-
-$FreeBSD: ports/sysutils/wmfsm/files/patch-aa,v 1.1 2001/02/04 22:44:33 sobomax Exp $
-
---- wmfsm.c.orig Thu Aug 26 09:42:39 1999
-+++ wmfsm.c Mon Feb 5 00:38:13 2001
-@@ -59,7 +59,7 @@
- #elif defined(SunOS)
- # define STATFS(a,b) statfs(a,b,sizeof(struct statfs),0)
- # include <sys/statfs.h>
--#elif defined(__OpenBSD__)
-+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
- # define STATFS(a,b) statfs(a,b)
- # include <sys/param.h>
- # include <sys/mount.h>
-@@ -362,7 +362,7 @@
-
- void readFileSystems(){
- /* Look for the goods between #if defined(__OpenBSD__) -- tschroed */
--#if defined(__OpenBSD__)
-+#if defined(__OpenBSD__) || defined(__FreeBSD__)
- #define MAXMOUNT 32
- struct statfs sfs[MAXMOUNT];
- int fscount;
-@@ -379,7 +379,7 @@
- { numberfs--; fscount--; }
- else
- mp[numberfs]=strdup(sfs[numberfs].f_mntonname);
--#else /* __OpenBSD__ */
-+#else /* __OpenBSD__ || __FreeBSD__ */
-
- FILE *fp;
- char mountPoint[255],dummy[255],fstype[255],options[255];
-@@ -424,7 +424,7 @@
- mp[numberfs++]=strdup(mountPoint);
- }
- }
--#endif /* __OpenBSD__ */
-+#endif /* __OpenBSD__ || __FreeBSD__ */
- excludeFileSystems();
- }
- void excludeFileSystems(){
diff -urN /usr/ports/sysutils/wmfsm/files/patch-ab sysutils/wmfsm/files/patch-ab
--- /usr/ports/sysutils/wmfsm/files/patch-ab Mon Feb 5 07:44:33 2001
+++ sysutils/wmfsm/files/patch-ab Thu Jan 1 09:00:00 1970
@@ -1,26 +0,0 @@
-
-$FreeBSD: ports/sysutils/wmfsm/files/patch-ab,v 1.1 2001/02/04 22:44:33 sobomax Exp $
-
---- Makefile.bsd.orig Wed Jun 16 09:54:34 1999
-+++ Makefile.bsd Mon Feb 5 00:38:13 2001
-@@ -1,9 +1,9 @@
--CC = gcc
-+CC ?= gcc
- #CC = /usr/pure/purify-4.1-irix6/purify cc
--CFLAGS =
--INCDIR = -I/usr/X11R6/include/X11 -I/home/p-sgi2/eilemann/IRIX64/include -I/usr/X11R6/include
--DESTDIR= /usr/X11R6
--LIBDIR = -L/usr/X11R6/lib
-+CFLAGS +=
-+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
-+DESTDIR= ${PREFIX}
-+LIBDIR = -L${X11BASE}/lib
- # for linux & irix
- LIBS = -lXpm -lX11 -lXext
-
-@@ -33,4 +33,4 @@
- rm -f wmfsm
-
- install:: wmfsm
-- install -s -m 0755 wmfsm $(DESTDIR)/bin
-+ ${BSD_INSTALL_PROGRAM} wmfsm $(DESTDIR)/bin
diff -urN /usr/ports/sysutils/wmfsm/files/patch-wmfsm::wmfsm.c sysutils/wmfsm/files/patch-wmfsm::wmfsm.c
--- /usr/ports/sysutils/wmfsm/files/patch-wmfsm::wmfsm.c Thu Jan 1 09:00:00 1970
+++ sysutils/wmfsm/files/patch-wmfsm::wmfsm.c Fri Apr 9 23:35:58 2004
@@ -0,0 +1,28 @@
+--- wmfsm/wmfsm.c.orig Sat Jul 13 13:06:35 2002
++++ wmfsm/wmfsm.c Fri Apr 9 23:35:48 2004
+@@ -54,6 +54,12 @@
+ #include <sys/systeminfo.h>
+ #endif /* SVR4 */
+
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
++#ifdef HAVE_SYS_TYPES_H
++#include <sys/types.h>
++#endif
+ #ifdef HAVE_SYS_VFS_H
+ #include <sys/vfs.h>
+ #endif
+@@ -62,12 +68,6 @@
+ #endif
+ #ifdef HAVE_SYS_MOUNT_H
+ #include <sys/mount.h>
+-#endif
+-#ifdef HAVE_SYS_PARAM_H
+-#include <sys/param.h>
+-#endif
+-#ifdef HAVE_SYS_TYPES_H
+-#include <sys/types.h>
+ #endif
+
+ #ifdef STATFS_2_ARGUMENTS
diff -urN /usr/ports/sysutils/wmfsm/pkg-descr sysutils/wmfsm/pkg-descr
--- /usr/ports/sysutils/wmfsm/pkg-descr Mon Feb 5 07:44:32 2001
+++ sysutils/wmfsm/pkg-descr Fri Apr 9 23:32:28 2004
@@ -1,7 +1,7 @@
Wmfsm monitors your filesystem usage. It features three display modes,
different colorschemes and exclusion of filesystems (eg /cdrom).
-WWW: http://freshmeat.net/projects/wmfsm/homepage/
+WWW: http://www.cs.ubc.ca/~cmg/
- Steven
panic at subphase.de
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list