pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/fd-proxy
Module Name: pkgsrc
Committed By: schmonz
Date: Thu Nov 25 08:18:18 UTC 2021
Added Files:
pkgsrc/net/fd-proxy: DESCR Makefile PLIST distinfo
pkgsrc/net/fd-proxy/patches: patch-Makefile
Log Message:
Add fd-proxy, glue for making a TCP proxy using ucspi-tcp tools.
fd-proxy is a very small program, written in C. Its purpose is to
connect the I/Os of a tcpserver and tcpclient pair (from the ucspi-tcp
suite) in order to implement a TCP proxy. Setting up such a proxy can be
done in a single line.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/fd-proxy/DESCR pkgsrc/net/fd-proxy/Makefile \
pkgsrc/net/fd-proxy/PLIST pkgsrc/net/fd-proxy/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/fd-proxy/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/fd-proxy/DESCR
diff -u /dev/null pkgsrc/net/fd-proxy/DESCR:1.1
--- /dev/null Thu Nov 25 08:18:18 2021
+++ pkgsrc/net/fd-proxy/DESCR Thu Nov 25 08:18:18 2021
@@ -0,0 +1,4 @@
+fd-proxy is a very small program, written in C. Its purpose is to
+connect the I/Os of a tcpserver and tcpclient pair (from the ucspi-tcp
+suite) in order to implement a TCP proxy. Setting up such a proxy can be
+done in a single line.
Index: pkgsrc/net/fd-proxy/Makefile
diff -u /dev/null pkgsrc/net/fd-proxy/Makefile:1.1
--- /dev/null Thu Nov 25 08:18:18 2021
+++ pkgsrc/net/fd-proxy/Makefile Thu Nov 25 08:18:18 2021
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2021/11/25 08:18:18 schmonz Exp $
+
+GITHUB_PROJECT= fd-proxy
+GITHUB_TAG= 33b844d998c32c82dcc825ab316f97a0adc2b92f
+PKGVERSION= 20141025
+DISTNAME= ${GITHUB_TAG}
+PKGNAME= ${GITHUB_PROJECT}-${PKGVERSION}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=wingunder/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= https://github.com/wingunder/fd-proxy/
+COMMENT= Glue for making a TCP proxy using ucspi-tcp tools
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${PKGBASE}-${GITHUB_TAG}
+
+INSTALLATION_DIRS= bin share/doc/${PKGBASE}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} ${PKGBASE} ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_DATA} README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/fd-proxy/PLIST
diff -u /dev/null pkgsrc/net/fd-proxy/PLIST:1.1
--- /dev/null Thu Nov 25 08:18:18 2021
+++ pkgsrc/net/fd-proxy/PLIST Thu Nov 25 08:18:18 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/25 08:18:18 schmonz Exp $
+bin/fd-proxy
+share/doc/fd-proxy/README.md
Index: pkgsrc/net/fd-proxy/distinfo
diff -u /dev/null pkgsrc/net/fd-proxy/distinfo:1.1
--- /dev/null Thu Nov 25 08:18:18 2021
+++ pkgsrc/net/fd-proxy/distinfo Thu Nov 25 08:18:18 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/25 08:18:18 schmonz Exp $
+
+BLAKE2s (fd-proxy/33b844d998c32c82dcc825ab316f97a0adc2b92f-33b844d998c32c82dcc825ab316f97a0adc2b92f.tar.gz) = 560adc859c721165de9587fada12176d1a3b4dfb63a272f1d93567c4bc9194b4
+SHA512 (fd-proxy/33b844d998c32c82dcc825ab316f97a0adc2b92f-33b844d998c32c82dcc825ab316f97a0adc2b92f.tar.gz) =
c0b96aa30124f02f95dea16750bd15e15ca6f25d18b249ab7807c71ea53a4f8a8f9568d1eb5b39124d17c83fd15706c2a06ab6137c6b12e4eef5b1e631a6c7ff
+Size (fd-proxy/33b844d998c32c82dcc825ab316f97a0adc2b92f-33b844d998c32c82dcc825ab316f97a0adc2b92f.tar.gz) = 9318 bytes
+SHA1 (patch-Makefile) = c223ad3b6b6cb0c7778b794cf1d3416bc39396d0
Index: pkgsrc/net/fd-proxy/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/fd-proxy/patches/patch-Makefile:1.1
--- /dev/null Thu Nov 25 08:18:18 2021
+++ pkgsrc/net/fd-proxy/patches/patch-Makefile Thu Nov 25 08:18:18 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/11/25 08:18:18 schmonz Exp $
+
+Respect CFLAGS and LDFLAGS.
+
+--- Makefile.orig 2014-10-25 15:50:14.000000000 +0000
++++ Makefile
+@@ -7,7 +7,7 @@ fd-proxy.html: README.md
+ pandoc -f markdown -t html $< >$@
+
+ fd-proxy: fd-proxy.c
+- gcc -Wall -O3 -o $@ $<
++ cc ${CFLAGS} ${LDFLAGS} -o $@ $<
+
+ rules.cdb: rules.txt
+ cat $< |tcprules $@ tmp
Home |
Main Index |
Thread Index |
Old Index