stubify completely

This commit is contained in:
matt 2002-03-24 22:49:05 +00:00
parent 160c224e3a
commit 0cf76dfc75
9 changed files with 6 additions and 417 deletions

View File

@ -1,19 +1,12 @@
# $OpenBSD: Makefile,v 1.14 2002/03/24 21:40:12 matt Exp $
# $FreeBSD: Makefile,v 1.10 1999/02/18 16:05:47 steve Exp $
# $OpenBSD: Makefile,v 1.15 2002/03/24 22:49:05 matt Exp $
IGNORE= "superseded by tightvnc"
COMMENT= "superseded by tightvnc"
COMMENT= "cross-platform remote desktop access"
COMMENT-viewer= "client for cross-platform remote desktop access"
VERSION= 3.3.3r2
PKGNAME= vnc-${VERSION}
PKGNAME-viewer= vnc-viewer-${VERSION}
DISTNAME= ${PKGNAME}_unixsrc
PKGNAME= vnc-3.3.3r2
CATEGORIES= net
NEED_VERSION= 1.498
NEED_VERSION= 1.516
DISTFILES=
HOMEPAGE= http://www.uk.research.att.com/vnc/
MAINTAINER= Matt Behrens <matt@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
@ -21,37 +14,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.uk.research.att.com/vnc/dist/
DISTFILES= ${DISTNAME}.tgz ${IGNOREFILES}
IGNOREFILES= vnc-latest_doc.tgz
MULTI_PACKAGES= -viewer
SUBPACKAGE?=
CONFIGURE_STYLE=imake
WRKDIST= ${WRKDIR}/vnc_unixsrc
ALL_TARGET= World
NO_REGRESS= Yes
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/Xvnc/programs/Xserver/Xvnc \
${PREFIX}/bin/Xvnc
${INSTALL_PROGRAM} ${WRKSRC}/vncviewer/vncviewer \
${PREFIX}/bin/vncviewer
${INSTALL_PROGRAM} ${WRKSRC}/vncpasswd/vncpasswd \
${PREFIX}/bin/vncpasswd
${INSTALL_PROGRAM} ${WRKSRC}/vncconnect/vncconnect \
${PREFIX}/bin/vncconnect
sed -e s%/usr/local/vnc/classes%${TRUEPREFIX}/share/vnc/classes% \
< ${WRKSRC}/vncserver \
> ${WRKSRC}/vncserver.local
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.local ${PREFIX}/bin/vncserver
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vnc
${INSTALL_DATA} ${WRKDIR}/vnc_docs/* ${PREFIX}/share/doc/vnc/
${INSTALL_DATA_DIR} ${PREFIX}/share/vnc/classes
${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/share/vnc/classes/
IGNORE= "superseded by tightvnc"
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (vnc-3.3.3r2_unixsrc.tgz) = 6fc83e1b6153d3252649953267713f17
MD5 (vnc-latest_doc.tgz) = IGNORE
RMD160 (vnc-3.3.3r2_unixsrc.tgz) = 3c70c386065d8b0254b1a0627455fb7bc03846ae
SHA1 (vnc-3.3.3r2_unixsrc.tgz) = 98e9d2e2c2d0f4f9cb9cafee22d21a868189b176

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Imakefile,v 1.1 2001/05/22 19:30:16 matt Exp $
--- Imakefile.orig Thu Oct 26 09:28:32 2000
+++ Imakefile Tue May 22 10:17:59 2001
@@ -11,6 +11,8 @@ World:
@echo Built $(SUBDIRS).
@echo 'To build Xvnc, do "cd Xvnc", followed by "make World"'
@echo ""
+ (cd Xvnc; make World)
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
+

View File

@ -1,74 +0,0 @@
$OpenBSD: patch-vncserver,v 1.1 2001/05/22 19:30:17 matt Exp $
--- vncserver.orig Thu Oct 26 11:16:37 2000
+++ vncserver Tue May 22 14:19:07 2001
@@ -46,13 +46,23 @@ $defaultXStartup
"xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
"twm &\n");
+$defaultFontPath
+ = (
+ "/usr/X11R6/lib/X11/fonts/Type1/,".
+ "/usr/X11R6/lib/X11/fonts/Speedo/,".
+ "/usr/X11R6/lib/X11/fonts/cyrillic/,".
+ "/usr/X11R6/lib/X11/fonts/misc/,".
+ "/usr/X11R6/lib/X11/fonts/75dpi/,".
+ "/usr/X11R6/lib/X11/fonts/100dpi/"
+ );
+
chop($host = `uname -n`);
# Check command line options
&ParseOptions("-geometry",1,"-depth",1,"-pixelformat",1,"-name",1,"-kill",1,
- "-help",0,"-h",0,"--help",0);
+ "-help",0,"-h",0,"--help",0,"-fp",1);
&Usage() if ($opt{'-help'} || $opt{'-h'} || $opt{'--help'});
@@ -74,6 +84,26 @@ if ($opt{'-pixelformat'}) {
}
&CheckGeometryAndDepth();
+# bmah: Construct font path. Starting from a list of possible font directorie
+
+# bmah: make up the set of those that have fonts.dir files we can read.
+# bmah: Probably there are way better methods of doing this.
+
+if (!$opt{'-fp'}) {
+ $opt{'-fp'} = $defaultFontPath;
+}
+
+@fontPathElements = split(/,/, "$opt{'-fp'}");
+
+$fontPath = '';
+
+foreach $i (0.."$#fontPathElements") {
+ if (-r "$fontPathElements[$i]/fonts.dir") {
+ $fontPath .= "$fontPathElements[$i],";
+ }
+}
+chop $fontPath;
+
if ($opt{'-name'}) {
$desktopName = $opt{'-name'};
@@ -145,8 +175,8 @@ $cmd .= " -rfbauth $vncUserDir/passwd";
$cmd .= " -rfbport $vncPort";
# Add font path and color database stuff here, e.g.:
-#
-# $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
+# bmah: Bring in the fontpath we computed earlier.
+$cmd .= " -fp $fontPath";
# $cmd .= " -co /usr/lib/X11/rgb";
#
@@ -190,6 +220,7 @@ if (-e "/tmp/.X11-unix/X$displayNumber")
$ENV{DISPLAY}= "$host:$displayNumber";
}
$ENV{VNCDESKTOP}= $desktopName;
+$ENV{XAUTHORITY}= $xauthorityFile;
system("$vncUserDir/xstartup >> " . &quotedString($desktopLog) . " 2>&1 &");

View File

@ -1,9 +0,0 @@
$OpenBSD: patch-vncviewer_Imakefile,v 1.1 2001/05/22 19:30:17 matt Exp $
--- vncviewer/Imakefile.orig Fri Aug 13 05:29:34 1999
+++ vncviewer/Imakefile Tue May 22 10:39:24 2001
@@ -35,4 +35,4 @@ SRCS = \
OBJS = $(SRCS:.c=.o)
-ComplexProgramTarget(vncviewer)
+ComplexProgramTargetNoMan(vncviewer)

View File

@ -1,7 +0,0 @@
VNC stands for Virtual Network Computing. It is, in essence, a
remote display system which allows you to view a computing 'desktop'
environment not only on the machine where it is running, but from
anywhere on the Internet and from a wide variety of machine
architectures.
WWW: ${HOMEPAGE}

View File

@ -1,7 +0,0 @@
VNC stands for Virtual Network Computing. It is, in essence, a
remote display system which allows you to view a computing 'desktop'
environment not only on the machine where it is running, but from
anywhere on the Internet and from a wide variety of machine
architectures.
WWW: ${HOMEPAGE}

View File

@ -1,139 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2001/10/11 19:29:20 espie Exp $
@pkgcfl vnc-viewer-*
@pkgcfl tightvnc-*
bin/Xvnc
bin/vncconnect
bin/vncpasswd
bin/vncserver
bin/vncviewer
share/doc/vnc/Xvnc.gif
share/doc/vnc/ach.jpg
share/doc/vnc/alicebobcharlie.gif
share/doc/vnc/alicecharlie.gif
share/doc/vnc/announcement.html
share/doc/vnc/attbutton.gif
share/doc/vnc/attlogo.gif
share/doc/vnc/backbutton.gif
share/doc/vnc/badgeshad.gif
share/doc/vnc/bgdot.gif
share/doc/vnc/bluepix.gif
share/doc/vnc/button.gif
share/doc/vnc/cdplay.gif
share/doc/vnc/cevncviewer.html
share/doc/vnc/cim.jpg
share/doc/vnc/clientserver.gif
share/doc/vnc/collage.gif
share/doc/vnc/collagesmaller.gif
share/doc/vnc/conndlg.gif
share/doc/vnc/contribbutton.gif
share/doc/vnc/contribs.html
share/doc/vnc/docbutton.gif
share/doc/vnc/docs.html
share/doc/vnc/download.htm
share/doc/vnc/download.html
share/doc/vnc/downloadbutton.gif
share/doc/vnc/downloadtemplate.html
share/doc/vnc/extras.html
share/doc/vnc/faq.dtd
share/doc/vnc/faq.html
share/doc/vnc/faq.xml
share/doc/vnc/faqbutton.gif
share/doc/vnc/faqtemplate.html
share/doc/vnc/free.html
share/doc/vnc/freebutton.gif
share/doc/vnc/gpl.html
share/doc/vnc/help.html
share/doc/vnc/helpbutton.gif
share/doc/vnc/homebutton.gif
share/doc/vnc/howitworks.html
share/doc/vnc/ie1.gif
share/doc/vnc/ie1_small.gif
share/doc/vnc/iemacwin.gif
share/doc/vnc/iemacwin_small.gif
share/doc/vnc/iemacx.gif
share/doc/vnc/iemacx_small.gif
share/doc/vnc/index.html
share/doc/vnc/internalversion.html
share/doc/vnc/intouch.html
share/doc/vnc/intouchbutton.gif
share/doc/vnc/invalid-download.html
share/doc/vnc/javavncviewer.html
share/doc/vnc/jnw.jpg
share/doc/vnc/join.html
share/doc/vnc/krw.jpg
share/doc/vnc/machistory.html
share/doc/vnc/macshot.gif
share/doc/vnc/macshot_small.gif
share/doc/vnc/macvnc.html
share/doc/vnc/macvncviewer.html
share/doc/vnc/mailinglist.html
share/doc/vnc/newlogosmall2.gif
share/doc/vnc/ns1.gif
share/doc/vnc/ns1_small.gif
share/doc/vnc/platforms.html
share/doc/vnc/pmw.jpg
share/doc/vnc/protocol.html
share/doc/vnc/qsf.jpg
share/doc/vnc/rfbcounter.gif
share/doc/vnc/rfbcounter.html
share/doc/vnc/rfbproto.pdf
share/doc/vnc/rfbprotoheader.pdf
share/doc/vnc/screenbutton.gif
share/doc/vnc/screenshots.html
share/doc/vnc/searchbutton.gif
share/doc/vnc/sidebarbg.gif
share/doc/vnc/sideblank.gif
share/doc/vnc/sidelogo.gif
share/doc/vnc/spacer.gif
share/doc/vnc/sshvnc.html
share/doc/vnc/sshwin.html
share/doc/vnc/start.html
share/doc/vnc/startbutton.gif
share/doc/vnc/styles.css
share/doc/vnc/template.html
share/doc/vnc/tjr.jpg
share/doc/vnc/twmideas.html
share/doc/vnc/videos.html
share/doc/vnc/videos1.jpg
share/doc/vnc/videos2.jpg
share/doc/vnc/videos3.jpg
share/doc/vnc/viewertray.gif
share/doc/vnc/vinci1.gif
share/doc/vnc/vinci1_small.gif
share/doc/vnc/virus.html
share/doc/vnc/vnc.gif
share/doc/vnc/vncce1.jpg
share/doc/vnc/vncce1_medium.jpg
share/doc/vnc/vncce1_small.jpg
share/doc/vnc/vncce2.jpg
share/doc/vnc/vncce2_small.jpg
share/doc/vnc/vncce3.jpg
share/doc/vnc/vncce3_small.jpg
share/doc/vnc/vnchistory.html
share/doc/vnc/vncpeople.html
share/doc/vnc/vncpeoplebutton.gif
share/doc/vnc/vnctitle.gif
share/doc/vnc/winhistory.html
share/doc/vnc/winviewer1.gif
share/doc/vnc/winviewer1_small.gif
share/doc/vnc/winvnc.html
share/doc/vnc/winvnctray.GIF
share/doc/vnc/winvncviewer.html
share/doc/vnc/xlibvncviewer.html
share/doc/vnc/xvnc.html
share/doc/vnc/xvnchistory.html
share/doc/vnc/xvncviewer.html
share/vnc/classes/DesCipher.class
share/vnc/classes/animatedMemoryImageSource.class
share/vnc/classes/authenticationPanel.class
share/vnc/classes/clipboardFrame.class
share/vnc/classes/index.vnc
share/vnc/classes/optionsFrame.class
share/vnc/classes/rfbProto.class
share/vnc/classes/shared.vnc
share/vnc/classes/vncCanvas.class
share/vnc/classes/vncviewer.class
share/vnc/classes/vncviewer.jar
@dirrm share/vnc/classes
@dirrm share/vnc
@dirrm share/doc/vnc

View File

@ -1,122 +0,0 @@
@comment $OpenBSD: PLIST-viewer,v 1.2 2001/10/11 19:29:20 espie Exp $
@pkgcfl vnc-*
@pkgcfl tightvnc-*
bin/vncviewer
share/doc/vnc/Xvnc.gif
share/doc/vnc/ach.jpg
share/doc/vnc/alicebobcharlie.gif
share/doc/vnc/alicecharlie.gif
share/doc/vnc/announcement.html
share/doc/vnc/attbutton.gif
share/doc/vnc/attlogo.gif
share/doc/vnc/backbutton.gif
share/doc/vnc/badgeshad.gif
share/doc/vnc/bgdot.gif
share/doc/vnc/bluepix.gif
share/doc/vnc/button.gif
share/doc/vnc/cdplay.gif
share/doc/vnc/cevncviewer.html
share/doc/vnc/cim.jpg
share/doc/vnc/clientserver.gif
share/doc/vnc/collage.gif
share/doc/vnc/collagesmaller.gif
share/doc/vnc/conndlg.gif
share/doc/vnc/contribbutton.gif
share/doc/vnc/contribs.html
share/doc/vnc/docbutton.gif
share/doc/vnc/docs.html
share/doc/vnc/download.htm
share/doc/vnc/download.html
share/doc/vnc/downloadbutton.gif
share/doc/vnc/downloadtemplate.html
share/doc/vnc/extras.html
share/doc/vnc/faq.dtd
share/doc/vnc/faq.html
share/doc/vnc/faq.xml
share/doc/vnc/faqbutton.gif
share/doc/vnc/faqtemplate.html
share/doc/vnc/free.html
share/doc/vnc/freebutton.gif
share/doc/vnc/gpl.html
share/doc/vnc/help.html
share/doc/vnc/helpbutton.gif
share/doc/vnc/homebutton.gif
share/doc/vnc/howitworks.html
share/doc/vnc/ie1.gif
share/doc/vnc/ie1_small.gif
share/doc/vnc/iemacwin.gif
share/doc/vnc/iemacwin_small.gif
share/doc/vnc/iemacx.gif
share/doc/vnc/iemacx_small.gif
share/doc/vnc/index.html
share/doc/vnc/internalversion.html
share/doc/vnc/intouch.html
share/doc/vnc/intouchbutton.gif
share/doc/vnc/invalid-download.html
share/doc/vnc/javavncviewer.html
share/doc/vnc/jnw.jpg
share/doc/vnc/join.html
share/doc/vnc/krw.jpg
share/doc/vnc/machistory.html
share/doc/vnc/macshot.gif
share/doc/vnc/macshot_small.gif
share/doc/vnc/macvnc.html
share/doc/vnc/macvncviewer.html
share/doc/vnc/mailinglist.html
share/doc/vnc/newlogosmall2.gif
share/doc/vnc/ns1.gif
share/doc/vnc/ns1_small.gif
share/doc/vnc/platforms.html
share/doc/vnc/pmw.jpg
share/doc/vnc/protocol.html
share/doc/vnc/qsf.jpg
share/doc/vnc/rfbcounter.gif
share/doc/vnc/rfbcounter.html
share/doc/vnc/rfbproto.pdf
share/doc/vnc/rfbprotoheader.pdf
share/doc/vnc/screenbutton.gif
share/doc/vnc/screenshots.html
share/doc/vnc/searchbutton.gif
share/doc/vnc/sidebarbg.gif
share/doc/vnc/sideblank.gif
share/doc/vnc/sidelogo.gif
share/doc/vnc/spacer.gif
share/doc/vnc/sshvnc.html
share/doc/vnc/sshwin.html
share/doc/vnc/start.html
share/doc/vnc/startbutton.gif
share/doc/vnc/styles.css
share/doc/vnc/template.html
share/doc/vnc/tjr.jpg
share/doc/vnc/twmideas.html
share/doc/vnc/videos.html
share/doc/vnc/videos1.jpg
share/doc/vnc/videos2.jpg
share/doc/vnc/videos3.jpg
share/doc/vnc/viewertray.gif
share/doc/vnc/vinci1.gif
share/doc/vnc/vinci1_small.gif
share/doc/vnc/virus.html
share/doc/vnc/vnc.gif
share/doc/vnc/vncce1.jpg
share/doc/vnc/vncce1_medium.jpg
share/doc/vnc/vncce1_small.jpg
share/doc/vnc/vncce2.jpg
share/doc/vnc/vncce2_small.jpg
share/doc/vnc/vncce3.jpg
share/doc/vnc/vncce3_small.jpg
share/doc/vnc/vnchistory.html
share/doc/vnc/vncpeople.html
share/doc/vnc/vncpeoplebutton.gif
share/doc/vnc/vnctitle.gif
share/doc/vnc/winhistory.html
share/doc/vnc/winviewer1.gif
share/doc/vnc/winviewer1_small.gif
share/doc/vnc/winvnc.html
share/doc/vnc/winvnctray.GIF
share/doc/vnc/winvncviewer.html
share/doc/vnc/xlibvncviewer.html
share/doc/vnc/xvnc.html
share/doc/vnc/xvnchistory.html
share/doc/vnc/xvncviewer.html
@dirrm share/doc/vnc