mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Xforward is a program for relaying X11 connections across network boundaries.
This commit is contained in:
parent
61a40b5d4b
commit
e08026ceca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295629
6 changed files with 71 additions and 0 deletions
|
@ -367,6 +367,7 @@
|
|||
SUBDIR += xfd
|
||||
SUBDIR += xfindproxy
|
||||
SUBDIR += xfishtank
|
||||
SUBDIR += xforward
|
||||
SUBDIR += xfree86_xkb_xml
|
||||
SUBDIR += xfwp
|
||||
SUBDIR += xgamma
|
||||
|
|
28
x11/xforward/Makefile
Normal file
28
x11/xforward/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: xforward
|
||||
# Date created: 27 April 2012
|
||||
# Whom: Cy Schubert <cy@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xforward
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://komquats.com/distfiles/ \
|
||||
http://people.freebsd.org/~cy/distfiles/
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= Provide user-level X forwarding service
|
||||
|
||||
LICENSE_FILE= ${WRKSRC}/NOTICE
|
||||
|
||||
MAKE_ARGS+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
|
||||
USE_XORG= x11 xt xaw
|
||||
USE_MOTIF= yes
|
||||
MAN1= xforward.1
|
||||
PLIST_FILES= bin/xforward
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11/xforward/distinfo
Normal file
2
x11/xforward/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (xforward.tar.gz) = a3ddea6b932757efe6a0bb4eeddd2d2f2296d1d1cd4ef681875bf9baa902a493
|
||||
SIZE (xforward.tar.gz) = 9308
|
25
x11/xforward/files/patch-Makefile
Normal file
25
x11/xforward/files/patch-Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- Makefile.orig 1993-06-04 19:32:01.000000000 -0700
|
||||
+++ Makefile 2012-04-27 13:01:33.079482669 -0700
|
||||
@@ -18,17 +18,17 @@
|
||||
# MANDIR is where the manual page will be installed.
|
||||
|
||||
DESTDIR=
|
||||
-BINDIR=/usr/local/bin
|
||||
-MANDIR=/usr/local/man/man1
|
||||
+BINDIR=${PREFIX}/bin
|
||||
+MANDIR=${PREFIX}/man/man1
|
||||
|
||||
# Where to find things
|
||||
# INCFLAGS lists directories to search for header files
|
||||
# LDFLAGS lists directories to search for libraries
|
||||
# LIBS lists the necessary libraries (Motif, Xt, X11)
|
||||
|
||||
-INCFLAGS= -I/usr/lib/DXM/lib -I/usr/lib/DXM/lib/Xt
|
||||
-LDFLAGS= -L/usr/lib/DXM/lib/Xm -L/usr/lib/DXM/lib/Xt
|
||||
-LIBS= -lXm -lXt -lX11
|
||||
+INCFLAGS= -I${LOCALBASE}/include
|
||||
+LDFLAGS= -L${LOCALBASE}/lib
|
||||
+LIBS= -lXm -lXt -lX11 -lXext
|
||||
|
||||
CFLAGS= ${INCFLAGS} -O
|
||||
|
11
x11/xforward/files/patch-xforward.c
Normal file
11
x11/xforward/files/patch-xforward.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- xforward.c.orig 1993-06-04 19:30:16.000000000 -0700
|
||||
+++ xforward.c 2012-04-27 13:20:20.603550383 -0700
|
||||
@@ -292,7 +292,7 @@
|
||||
struct timeval timeout;
|
||||
struct pend_conn *cur,*prev;
|
||||
pid_t temppid;
|
||||
- union wait wstatus;
|
||||
+ int wstatus;
|
||||
int exitstat,wopts,newoutgoing;
|
||||
|
||||
/* for each entry, call waitpid */
|
4
x11/xforward/pkg-descr
Normal file
4
x11/xforward/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
This is version 1.0 of xforward, a program for relaying X11
|
||||
connections across network boundaries. While it may be used to cross
|
||||
security boundaries, Digital Equipment Corporation does not warrant
|
||||
this software for security or any other purpose.
|
Loading…
Add table
Reference in a new issue