import vncsnapshot:
VNC Snapshot is a command-line program for VNC, based on TightVNC and RealVNC. It will save a JPEG image of the VNC server's screen. testing and ok simon@
This commit is contained in:
parent
55ba5f4684
commit
871f424efa
36
net/vncsnapshot/Makefile
Normal file
36
net/vncsnapshot/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
|
||||
|
||||
COMMENT= connect to VNC server and save screen images
|
||||
|
||||
V= 1.2a
|
||||
DISTNAME= vncsnapshot-$V-src
|
||||
PKGNAME= vncsnapshot-$V
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://vncsnapshot.sourceforge.net/
|
||||
|
||||
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= jpeg::graphics/jpeg
|
||||
|
||||
WANTLIB += c m stdc++ z
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vncsnapshot/}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/vncsnapshot ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vncsnapshot
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vncsnapshot
|
||||
|
||||
WRKDIST= ${WRKDIR}/vncsnapshot-$V
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/vncsnapshot/distinfo
Normal file
5
net/vncsnapshot/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (vncsnapshot-1.2a-src.tar.gz) = OIZPW54izmIZtkqsmWBaAQ==
|
||||
RMD160 (vncsnapshot-1.2a-src.tar.gz) = WzuDbbBurcYu+s/DxEVwfjxrIiQ=
|
||||
SHA1 (vncsnapshot-1.2a-src.tar.gz) = EV2Ul0Z+Xl8T3ywQiJPbPR1MUbw=
|
||||
SHA256 (vncsnapshot-1.2a-src.tar.gz) = IPW99pOaBFS8O0HofkGl8kfX79FEX0+sNg4nHdvqFO4=
|
||||
SIZE (vncsnapshot-1.2a-src.tar.gz) = 84075
|
17
net/vncsnapshot/patches/patch-Makefile
Normal file
17
net/vncsnapshot/patches/patch-Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
|
||||
--- Makefile.orig Thu Sep 9 01:22:33 2004
|
||||
+++ Makefile Thu Dec 6 14:34:25 2007
|
||||
@@ -21,11 +21,11 @@ EXTRAINCLUDES =
|
||||
|
||||
# Compilation Flags. Season to taste.
|
||||
CC = gcc
|
||||
-CDEBUGFLAGS = -O2 -Wall
|
||||
+CDEBUGFLAGS = -Wall
|
||||
CXX=g++
|
||||
# You shouldn't need to change anything below.
|
||||
INCLUDES = -I. $(ZLIB_INCLUDE) $(JPEG_INCLUDE) $(EXTRAINCLUDES)
|
||||
-CFLAGS = $(CDEBUGFLAGS) $(INCLUDES)
|
||||
+CFLAGS += $(CDEBUGFLAGS) $(INCLUDES)
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
||||
# Solaris 8 uses CCC and CCFLAGS
|
12
net/vncsnapshot/patches/patch-rdr_Makefile
Normal file
12
net/vncsnapshot/patches/patch-rdr_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-rdr_Makefile,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
|
||||
--- rdr/Makefile.orig Thu Dec 6 14:35:19 2007
|
||||
+++ rdr/Makefile Thu Dec 6 14:35:20 2007
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# You shouldn't need to change anything below.
|
||||
INCLUDES = -I. -I.. $(ZLIB_INCLUDE) $(JPEG_INCLUDE) $(EXTRAINCLUDES)
|
||||
-CFLAGS = $(CDEBUGFLAGS) $(INCLUDES)
|
||||
+CFLAGS += $(CDEBUGFLAGS) $(INCLUDES)
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
# Solaris 8 uses CCFLAGS instead of CXXFLAGS
|
||||
CCFLAGS = $(CXXFLAGS)
|
18
net/vncsnapshot/patches/patch-rfb_h
Normal file
18
net/vncsnapshot/patches/patch-rfb_h
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-rfb_h,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
|
||||
--- rfb.h.orig Thu Dec 6 15:25:36 2007
|
||||
+++ rfb.h Thu Dec 6 15:25:37 2007
|
||||
@@ -34,10 +34,10 @@
|
||||
|
||||
// Define the CARD* types as used in X11/Xmd.h
|
||||
|
||||
-typedef unsigned long CARD32;
|
||||
-typedef unsigned short CARD16;
|
||||
-typedef short INT16;
|
||||
-typedef unsigned char CARD8;
|
||||
+typedef uint32_t CARD32;
|
||||
+typedef uint16_t CARD16;
|
||||
+typedef int16_t INT16;
|
||||
+typedef uint8_t CARD8;
|
||||
|
||||
// Define the port number offsets
|
||||
#define FLASH_PORT_OFFSET 5400
|
5
net/vncsnapshot/pkg/DESCR
Normal file
5
net/vncsnapshot/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
VNC Snapshot is a command-line program for VNC, based on TightVNC
|
||||
and RealVNC. It will save a JPEG image of the VNC server's screen.
|
||||
|
||||
If non-interactive operation is required, the vncpasswd tool from
|
||||
the TightVNC package can be used to store an obfuscated password.
|
4
net/vncsnapshot/pkg/PLIST
Normal file
4
net/vncsnapshot/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
|
||||
bin/vncsnapshot
|
||||
share/doc/vncsnapshot/
|
||||
share/doc/vncsnapshot/README
|
Loading…
x
Reference in New Issue
Block a user