diff options
Diffstat (limited to 'net/rdp2tcp')
| -rw-r--r-- | net/rdp2tcp/Makefile | 47 | ||||
| -rw-r--r-- | net/rdp2tcp/distinfo | 5 | ||||
| -rw-r--r-- | net/rdp2tcp/pkg-descr | 15 |
3 files changed, 67 insertions, 0 deletions
diff --git a/net/rdp2tcp/Makefile b/net/rdp2tcp/Makefile new file mode 100644 index 000000000000..d1c464ed901d --- /dev/null +++ b/net/rdp2tcp/Makefile @@ -0,0 +1,47 @@ +PORTNAME= rdp2tcp +DISTVERSION= 0.1.0.20250804 +CATEGORIES= net comms + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +# https://github.com/V-E-O/rdp2tcp/pull/14 +PATCHFILES+= 1e45654b6e23633a9c648d6b0c8bc5b133a0504b.patch:-p1 + +MAINTAINER= rozhuk.im@gmail.com +COMMENT= Open tcp tunnel through remote desktop connection (client) +WWW= https://github.com/V-E-O/rdp2tcp/ + +LICENSE= GPLv3 + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= V-E-O +GH_TAGNAME= 0a54991e669e8636b129a60e9ff5baa2fc91d1af +SHEBANG_FILES= ${TOOLS_PLIST_FILES:S|bin|tools|} + +CFLAGS+= -I${WRKSRC}/common + +PLIST_FILES= bin/rdp2tcp + +OPTIONS_DEFINE= TOOLS +OPTIONS_DEFAULT= TOOLS +OPTIONS_SUB= yes + +TOOLS_DESC= Install rdp2tcp.py and rdpupload +TOOLS_USES= python:run +TOOLS_PLIST_FILES= bin/rdp2tcp.py \ + bin/rdpupload + +post-patch: + @${REINPLACE_CMD} \ + -e 's|CC=.*||g' \ + -e 's|CFLAGS=.*||g' \ + -e 's|LDFLAGS=.*||g' \ + ${WRKSRC}/client/Makefile \ + ${WRKSRC}/common/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/client/rdp2tcp ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/tools/rdp2tcp.py \ + ${WRKSRC}/tools/rdpupload ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/net/rdp2tcp/distinfo b/net/rdp2tcp/distinfo new file mode 100644 index 000000000000..e9692b27e761 --- /dev/null +++ b/net/rdp2tcp/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1759422217 +SHA256 (V-E-O-rdp2tcp-0.1.0.20250804-0a54991e669e8636b129a60e9ff5baa2fc91d1af_GH0.tar.gz) = 775ffaca982d2f74c136bed2cb4e82bb76a04a0db878d854e08eae0f2312fcd7 +SIZE (V-E-O-rdp2tcp-0.1.0.20250804-0a54991e669e8636b129a60e9ff5baa2fc91d1af_GH0.tar.gz) = 92933 +SHA256 (1e45654b6e23633a9c648d6b0c8bc5b133a0504b.patch) = 2d8dba1ce8ab5e6406950ba1e9582bd42179bad6e197a3f634a508ece41f0b5c +SIZE (1e45654b6e23633a9c648d6b0c8bc5b133a0504b.patch) = 883 diff --git a/net/rdp2tcp/pkg-descr b/net/rdp2tcp/pkg-descr new file mode 100644 index 000000000000..fbfa8622cd2f --- /dev/null +++ b/net/rdp2tcp/pkg-descr @@ -0,0 +1,15 @@ +rdp2tcp is a tunneling tool on top of remote desktop protocol (RDP). +It uses RDP virtual channel capabilities to multiplex several ports +forwarding over an already established rdesktop or FreeRDP session. + +Available features: + - tcp port forwarding + - reverse tcp port forwarding + - process stdin/out forwarding + - SOCKS5 minimal support + +The code is splitted into 2 parts: + - the client running on the rdesktop or FreeRDP client side + - the server running on the Terminal Server side + +This port only contains client and tools. |
