diff options
author | grant <grant@pkgsrc.org> | 2002-08-23 03:12:25 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-08-23 03:12:25 +0000 |
commit | 1e578733958e52278c1787ea7618cde2a020c86e (patch) | |
tree | e4c114c77f0e5793e7201e330ec3465292091c1b | |
parent | f29f673a5c75cca4aa501250689c808cc5482278 (diff) | |
download | pkgsrc-1e578733958e52278c1787ea7618cde2a020c86e.tar.gz |
Initial import of rdesktop-1.0.0 into the NetBSD packages collection.
rdesktop is an open-source RDP client for connecting to Windows NT
and Windows 2000 terminal servers.
This is version 1.0.0 with unified patches, from
http://bibl4.oru.se/projects/rdesktop/, and is better behaved than
net/rdesktop on non-x86 X servers.
-rw-r--r-- | net/rdesktop10/DESCR | 2 | ||||
-rw-r--r-- | net/rdesktop10/Makefile | 25 | ||||
-rw-r--r-- | net/rdesktop10/PLIST | 3 | ||||
-rw-r--r-- | net/rdesktop10/distinfo | 5 | ||||
-rw-r--r-- | net/rdesktop10/patches/patch-aa | 81 |
5 files changed, 116 insertions, 0 deletions
diff --git a/net/rdesktop10/DESCR b/net/rdesktop10/DESCR new file mode 100644 index 00000000000..79cc5c063ec --- /dev/null +++ b/net/rdesktop10/DESCR @@ -0,0 +1,2 @@ +rdesktop is an open-source RDP client for connecting to Windows NT +and Windows 2000 terminal servers. diff --git a/net/rdesktop10/Makefile b/net/rdesktop10/Makefile new file mode 100644 index 00000000000..d4365ae4d96 --- /dev/null +++ b/net/rdesktop10/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/23 03:12:25 grant Exp $ +# + +DISTNAME= rdesktop-1.0.0-pl19-8-0 +PKGNAME= rdesktop-1.0.0.19.8.0 +CATEGORIES= net +MASTER_SITES= http://bibl4.oru.se/projects/rdesktop/dist/tar/src/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= grant@netbsd.org +HOMEPAGE= http://www.rdesktop.org/ +COMMENT= Open-source Remote Desktop Protocol client + +USE_GMAKE= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS+= --prefix=${LOCALBASE} +CONFIGURE_ARGS+= --with-openssl + +CFLAGS+= -Icrypto +LDFLAGS+= -lcrypto + +USE_X11= yes + +.include "../../security/openssl/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/rdesktop10/PLIST b/net/rdesktop10/PLIST new file mode 100644 index 00000000000..a8e20088b77 --- /dev/null +++ b/net/rdesktop10/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/23 03:12:25 grant Exp $ +bin/rdesktop +man/man1/rdesktop.1 diff --git a/net/rdesktop10/distinfo b/net/rdesktop10/distinfo new file mode 100644 index 00000000000..f358808b0f7 --- /dev/null +++ b/net/rdesktop10/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/23 03:12:25 grant Exp $ + +SHA1 (rdesktop-1.0.0-pl19-8-0.tar.bz2) = 3be3d0d8d8238d3c4259963eb95d051b7389c1e0 +Size (rdesktop-1.0.0-pl19-8-0.tar.bz2) = 122417 bytes +SHA1 (patch-aa) = ba621a9cac0657a1eeba5868ca97bf3721d31a3d diff --git a/net/rdesktop10/patches/patch-aa b/net/rdesktop10/patches/patch-aa new file mode 100644 index 00000000000..13993f7ea7e --- /dev/null +++ b/net/rdesktop10/patches/patch-aa @@ -0,0 +1,81 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/23 03:12:26 grant Exp $ + +--- Makefile.orig Wed Dec 19 20:19:56 2001 ++++ Makefile +@@ -6,12 +6,9 @@ + + # Configuration defaults + +-CC = gcc +-CFLAGS = -O2 -Wall +-INCLUDES = -I/usr/X11R6/include -I$(shell pwd) +-LDLIBS = -L/usr/X11R6/lib -lX11 ++INCLUDES = -I$(X11BASE)/include -I$(shell pwd) ++LDLIBS = -lX11 + +-PREFIX = /usr/local + EPREFIX = $(PREFIX) + BINDIR = $(EPREFIX)/bin + MANDIR = $(PREFIX)/man +@@ -24,6 +21,7 @@ GNUOBJ = gnu/getopt.o gnu/getopt1.o + OS = $(shell uname -s) + MACH = $(shell uname -m) + ++LDLIBS+= $(LDFLAGS) + + # add architecture specific stuff here. + ifeq "$(MACH)" "ppc" +@@ -35,7 +33,7 @@ ifeq "$(OS)" "UnixWare" + LDLIBS += -l socket + endif + ifeq "$(OS)" "SunOS" +-LDLIBS += -lsocket -lnsl -R$(X11DIR)/lib ++LDLIBS += -lsocket -lnsl + endif + ifeq "$(OS)" "OSF1" + LDLIBS += -Wl,-rpath,$(X11DIR)/lib +@@ -79,25 +77,22 @@ localendian.h: endian + endian: tests/endian.c + $(CC) -o tests/endian tests/endian.c + +-rdesktop: $(RDPOBJ) $(CRYPTOBJ) +- $(CC) $(CFLAGS) -o rdesktop $(RDPOBJ) $(CRYPTOBJ) $(LDDIRS) $(LDLIBS) ${GNUOBJ} ++rdesktop: $(RDPOBJ) $(CRYPTOBJ) $(GNUOBJ) ++ $(CC) $(CFLAGS) -o rdesktop $(LDDIRS) $(LDLIBS) $(RDPOBJ) $(CRYPTOBJ) $(GNUOBJ) + +-rdp-srvr: $(GNUOBJ) $(RDPSOBJ) +- $(CC) $(CFLAGS) -o rdp-srvr $(RDPSOBJ) $(CRYPTOBJ) $(LDDIRS) $(LDLIBS) ${GNUOBJ} ++rdp-srvr: $(GNUOBJ) $(RDPSOBJ) $(GNUOBJ) ++ $(CC) $(CFLAGS) -o rdp-srvr $(LDDIRS) $(LDLIBS) $(RDPSOBJ) $(CRYPTOBJ) $(GNUOBJ) + + Makeconf: + ./configure + +-install: installbin ++install: installbin installman + +-installbin: rdesktop rdp-srvr ++installbin: rdesktop + mkdir -p $(BINDIR) + cp rdesktop $(BINDIR) +- cp rdp-srvr $(BINDIR) + strip $(BINDIR)/rdesktop +- strip $(BINDIR)/rdp-srvr + chmod 755 $(BINDIR)/rdesktop +- chmod 755 $(BINDIR)/rdp-srvr + + installman: rdesktop.1 + mkdir -p $(MANDIR)/man1 +@@ -130,6 +125,12 @@ tcp-s.o: tcp.c + + xwin-s.o: xwin.c keymap_wrap.c keymap.c + $(CC) $(CFLAGS) -DSERVER -o $@ -c $< ++ ++gnu/getopt.o: gnu/getopt.c ++ $(CC) -o $@ -c $< ++ ++gnu/getopt1.o: gnu/getopt1.c ++ $(CC) -o $@ -c $< + + .SUFFIXES: + .SUFFIXES: .c .o |