Import of wmifinfo-0.06

wmifinfo is a simple applet showing basic network info for all
available interfaces. It shows IP address, netmask, gateway and MAC
address.
This commit is contained in:
wilfried 2002-06-07 15:41:12 +00:00
parent 2baea93db3
commit bd057651bd
5 changed files with 83 additions and 0 deletions

33
net/wmifinfo/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/06/07 15:41:12 wilfried Exp $
COMMENT= "wm-dockapp; shows basic network info"
DISTNAME= wmifinfo-0.06
CATEGORIES= net x11 x11/windowmaker
NEED_VERSION= 1.531
HOMEPAGE= http://www.zevv.nl/wmifinfo/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
USE_X11= Yes
NO_REGRESS= Yes
post-extract:
@rm -f ${WRKSRC}/nwn.o
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmifinfo ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmifinfo/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmifinfo/
.include <bsd.port.mk>

3
net/wmifinfo/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (wmifinfo-0.06.tgz) = 461da493fe22448cc63b8268106c0c2d
RMD160 (wmifinfo-0.06.tgz) = 43a797cb9f57de12f1907d4e613dfddb5d1f7a33
SHA1 (wmifinfo-0.06.tgz) = 99f68aaac920e3d1ad5befbe54cb2a8e457116bb

View File

@ -0,0 +1,34 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2002/06/07 15:41:12 wilfried Exp $
--- Makefile.orig Sun Jun 2 23:28:10 2002
+++ Makefile Thu Jun 6 19:52:36 2002
@@ -11,27 +11,20 @@ ENABLE_NWN_SUPPORT=n
VERSION=0.05
NAME=wmifinfo
-CC = gcc
-LD = gcc
-COPTS = -Wall -O2 -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"'
-LDOPTS = -lX11 -L/usr/X11R6/lib -lXpm -lXext
+COPTS = ${CFLAGS} -I${X11BASE}/include -D'VERSION="$(VERSION)"' -D'NAME="$(NAME)"'
+LDOPTS = -lX11 -L${X11BASE}/lib -lXpm -lXext
BINDIR = /usr/local/bin
BIN = wmifinfo
FILES = wmifinfo.o xutils.o
-ifeq ("$(ENABLE_NWN_SUPPORT)", "y")
-FILES += nwn.o
-COPTS += -DENABLE_NWN_SUPPORT
-endif
-
all: $(BIN)
.c.o:
$(CC) $(COPTS) -c $<
$(BIN): $(FILES)
- $(LD) -o $@ $(FILES) $(LDOPTS)
+ $(CC) -o $@ $(FILES) $(LDOPTS)
clean:
rm -f $(FILES) $(BIN) core

9
net/wmifinfo/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
wmifinfo is a simple applet showing basic network info for all
available interfaces. It shows IP address, netmask, gateway and MAC
address. A bit like ifconfig.
Left-button click moves to the next interface, right-button click
calls up/down scripts. These can be set with the -u and -d options.
The '%s' variable is replaced with the interface name.
WWW: ${HOMEPAGE}

4
net/wmifinfo/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/07 15:41:12 wilfried Exp $
bin/wmifinfo
share/doc/wmifinfo/README
@dirrm share/doc/wmifinfo