Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 1999 10:07:24 +0200 (CEST)
From:      ob@seicom.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12294: Port for xmx-1.1 of Brown University
Message-ID:  <199906190807.KAA26173@hq.seicom.net>

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

>Number:         12294
>Category:       ports
>Synopsis:       Port for xmx-1.1 of Brown University
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 19 01:10:03 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Breuninger
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
>Environment:
>Description:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmx-1.1
#	xmx-1.1/pkg
#	xmx-1.1/pkg/COMMENT
#	xmx-1.1/pkg/DESCR
#	xmx-1.1/pkg/PLIST
#	xmx-1.1/files
#	xmx-1.1/files/md5
#	xmx-1.1/files/diff.rc
#	xmx-1.1/patches
#	xmx-1.1/patches/patch-aa
#	xmx-1.1/Makefile
#
echo c - xmx-1.1
mkdir -p xmx-1.1 > /dev/null 2>&1
echo c - xmx-1.1/pkg
mkdir -p xmx-1.1/pkg > /dev/null 2>&1
echo x - xmx-1.1/pkg/COMMENT
sed 's/^X//' >xmx-1.1/pkg/COMMENT << 'END-of-xmx-1.1/pkg/COMMENT'
XXMX is an X protocol multiplexor. 
END-of-xmx-1.1/pkg/COMMENT
echo x - xmx-1.1/pkg/DESCR
sed 's/^X//' >xmx-1.1/pkg/DESCR << 'END-of-xmx-1.1/pkg/DESCR'
X
XXMX is an X protocol multiplexor.  It is a standalone utility for displaying
Xan X Windows session on multiple displays.  XMX takes advantage of the
Xnetworked nature of the X Window System by tapping the communication link
Xbetween an X client and an X server.  In this way, XMX works with any
XX clients and any X servers, without the need to modify either.
X
XIt's tempting to call this "broadcast software," and that is certainly the
Xeffect.  In reality, though, XMX is "multicast" software.  It must know
Xall the slave machines ahead of time and it connects to each one directly.
XXMX is more like mail than news.
X
XXMX connects to N servers like an X client, then accepts connections from
XM clients like an X server.  One of those servers is designated the "master"
Xfrom which input is directed to the clients.  The other servers are "slaves."
XSlave servers receive only those protocol requests that are necessary for
Xthem to maintain a visual look-alike of the master server's display.
X
XThis software was developed at Brown University for use in our electronic
Xclassroom.  Some version of it has been in use here since 1988.
X
END-of-xmx-1.1/pkg/DESCR
echo x - xmx-1.1/pkg/PLIST
sed 's/^X//' >xmx-1.1/pkg/PLIST << 'END-of-xmx-1.1/pkg/PLIST'
Xbin/xmx
Xman/man1/xmx.1
END-of-xmx-1.1/pkg/PLIST
echo c - xmx-1.1/files
mkdir -p xmx-1.1/files > /dev/null 2>&1
echo x - xmx-1.1/files/md5
sed 's/^X//' >xmx-1.1/files/md5 << 'END-of-xmx-1.1/files/md5'
XMD5 (xmx-1.1.tar.Z) = 8ea77b5f3472ea549c4eed0f7a789978
END-of-xmx-1.1/files/md5
echo x - xmx-1.1/files/diff.rc
sed 's/^X//' >xmx-1.1/files/diff.rc << 'END-of-xmx-1.1/files/diff.rc'
X#! /bin/csh
X#
X
Xcd ../work/xmx-1.1
Xdiff --unified=2 Makefile.orig Makefile > ../../patch-aa
END-of-xmx-1.1/files/diff.rc
echo c - xmx-1.1/patches
mkdir -p xmx-1.1/patches > /dev/null 2>&1
echo x - xmx-1.1/patches/patch-aa
sed 's/^X//' >xmx-1.1/patches/patch-aa << 'END-of-xmx-1.1/patches/patch-aa'
X--- Makefile.orig	Wed Apr 13 18:22:21 1994
X+++ Makefile	Sun Mar  7 11:58:59 1999
X@@ -1,70 +1,52 @@
X-#
X-#	Makefile for xmx
X-#
X-OPTFG=	-O
X-DBGFG=	-g -DDEBUG -DMALLOC_DEBUG
X-CFLAGS= -g
X-
X-LIB=
X-
X-XMX=	xmx
X-OFILES=\
X-	bufio.o\
X-	connect.o\
X-	error.o\
X-	genreq.o\
X-	main.o\
X-	map.o\
X-	pointer.o\
X-	reply.o\
X-	request.o\
X-	resource.o\
X-	socket.o
X-
X-CFILES= `echo $(OFILES) | sed 's/\.o/.c/g'`
X-DEBUGLIB= /usr/lib/debug/malloc.o /usr/lib/debug/mallocmap.o $(LIB)
X-
X-$(XMX):	$(OFILES)
X-	cc $(CFLAGS) -o $(XMX) $(OFILES) $(LIB)
X+LIBPATH		= -L/usr/X11R6/lib 
X+INCPATH		= -I/usr/X11R6/include
X 
X-debug:
X-	make xmxd CFLAGS="$(DBGFG)" LIB="$(DEBUGLIB)"
X-
X-opt:
X-	make xmx CFLAGS="$(OPTFG)"
X-
X-lint:
X-	lint -hz $(CFILES)
X+BIN		= /usr/local/bin
X+MANPATH		= /usr/local/man
X+LIB		= -lX11 -lm  
X+OBJ		= bufio.o connect.o error.o genreq.o main.o map.o \
X+		pointer.o reply.o request.o resource.o socket.o
X+
X+TARGET_FILE	= xmx
X+
X+#	-02	= enable all optimazions 
X+#	-s	= make output smaller (without debug/link-informations)
X+OPTION		= -O2 -s
X+
X+# if yu dont have "gcc" use instead of "gcc" "cc"   
X+CC		= gcc
X+
X+all: $(TARGET_FILE)
X+
X+$(TARGET_FILE): $(OBJ)
X+	$(CC) $(OPTION) -o $(TARGET_FILE)  $(OBJ)  $(LIBPATH) $(INCPATH) $(LIB)
X+bufio.o: bufio.c
X+	$(CC) $(OPTION) -c bufio.c	$(LIBPATH) $(INCPATH)
X+connect.o: connect.c
X+	$(CC) $(OPTION) -c connect.c	$(LIBPATH) $(INCPATH) 
X+error.o: error.c
X+	$(CC) $(OPTION) -c error.c	$(LIBPATH) $(INCPATH) 
X+genreq.o: genreq.c
X+	$(CC) $(OPTION) -c genreq.c	$(LIBPATH) $(INCPATH) 
X+main.o: main.c
X+	$(CC) $(OPTION) -c main.c	$(LIBPATH) $(INCPATH) 
X+map.o: map.c
X+	$(CC) $(OPTION) -c map.c	$(LIBPATH) $(INCPATH) 
X+pointer.o: pointer.c
X+	$(CC) $(OPTION) -c pointer.c	$(LIBPATH) $(INCPATH) 
X+reply.o: reply.c
X+	$(CC) $(OPTION) -c reply.c	$(LIBPATH) $(INCPATH) 
X+request.o: request.c
X+	$(CC) $(OPTION) -c request.c	$(LIBPATH) $(INCPATH) 
X+resource.o: resource.c
X+	$(CC) $(OPTION) -c resource.c	$(LIBPATH) $(INCPATH) 
X+socket.o: socket.c
X+	$(CC) $(OPTION) -c socket.c	$(LIBPATH) $(INCPATH) 
X 
X clean:
X-	rm -f *.o xmx xmxd core
X-
X-cs:
X-	cp $(CFILES) xmx.h resource.h Makefile xmx.1 README doc/lab.me /cs/src/xmx
X-
X-howbig:
X-	wc $(CFILES)
X-
X-src:
X-	@echo $(CFILES) xmx.h resource.h
X-
X-listhost:	listhost.c
X-	cc -g -o listhost listhost.c -lX
X-
X-testhash:	testhash.o hash.o error.o
X-	cc -g -o testhash testhash.o hash.o error.o
X-
X-testsocket:	testsocket.o socket.o error.o
X-	cc -g -o testsocket testsocket.o socket.o error.o
X-
X-xcoltest:	xcoltest.o
X-	cc -g -o xcoltest xcoltest.o -lX11
X-
X-xcmaptest:	xcmaptest.o
X-	cc -g -o xcmaptest xcmaptest.o -lX11
X-
X-onecol:	onecol.o
X-	cc -g -o onecol onecol.o -lX11
X+	rm -f *.o xmx xmxd *.core
X 
X-genreq.o resource.o: resource.h
X-$(OFILES): xmx.h
X+install: all
X+	cp xmx $(BIN)
X+	cp xmx.1 $(MANPATH)/man1
X+	chmod 755 $(BIN)/xmx
END-of-xmx-1.1/patches/patch-aa
echo x - xmx-1.1/Makefile
sed 's/^X//' >xmx-1.1/Makefile << 'END-of-xmx-1.1/Makefile'
X# New ports collection makefile for:	xmx 1.1
X# Version required:	1.1
X# Date created:		February 23, 1999
X# Whom:			Oliver Breuninger <ob@seicom.NET>
X#
X# $Id: $
X
XDISTNAME=	xmx-1.1
XCATEGORIES=	x11
XMASTER_SITES=	ftp://ftp.cs.brown.edu/pub/xmx/
XMAINTAINER=	ob@seicom.NET
XEXTRACT_SUFX=	.tar.Z
X
X.include <bsd.port.mk>
X
END-of-xmx-1.1/Makefile
exit


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 


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




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