git: 988b1738fb00 - main - net/proxychains-ng: Adapt port to use upstream patch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 20:34:08 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=988b1738fb00ffd4bbd1cf5522d9b1f457d5da1e
commit 988b1738fb00ffd4bbd1cf5522d9b1f457d5da1e
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-01-26 20:26:50 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-01-26 20:26:50 +0000
net/proxychains-ng: Adapt port to use upstream patch
Adapt port to use upstream patch for initial build failure.
Pull Request: https://github.com/rofl0r/proxychains-ng/pull/429
---
net/proxychains-ng/Makefile | 9 ++++++---
net/proxychains-ng/distinfo | 4 +++-
net/proxychains-ng/files/patch-src_daemon_sblist.h | 11 -----------
3 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile
index 12038d0cfd74..99fb2c237e72 100644
--- a/net/proxychains-ng/Makefile
+++ b/net/proxychains-ng/Makefile
@@ -2,10 +2,14 @@
PORTNAME= proxychains-ng
DISTVERSION= 4.16
+PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= https://github.com/rofl0r/${PORTNAME}/releases/download/v${DISTVERSION}/ \
http://ftp.barfooze.de/pub/sabotage/tarballs/
+PATCH_SITES= https://github.com/rofl0r/proxychains-ng/commit/
+PATCHFILES= 07c15a0.patch:-p1
+
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Redirect connection through proxy servers
@@ -13,10 +17,8 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake tar:xz
-HAS_CONFIGURE= yes
USE_LDCONFIG= yes
-
-CFLAGS+= -DMONTEREY_HOOKING
+HAS_CONFIGURE= yes
CONFLICTS= proxychains
@@ -41,6 +43,7 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/proxychains
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/proxychains4-daemon
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libproxychains-4.so
.include <bsd.port.mk>
diff --git a/net/proxychains-ng/distinfo b/net/proxychains-ng/distinfo
index f6557d8a7566..0c2547b44680 100644
--- a/net/proxychains-ng/distinfo
+++ b/net/proxychains-ng/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1643027306
+TIMESTAMP = 1643228306
SHA256 (proxychains-ng-4.16.tar.xz) = 37a9983d995857cc398cfeefb96739827b3d86a71e03a5193b99f1b097046812
SIZE (proxychains-ng-4.16.tar.xz) = 43808
+SHA256 (07c15a0.patch) = 4718680d486cc8b34feddcad61924caca0156e7191d91ebda3c62164a7193a50
+SIZE (07c15a0.patch) = 3640
diff --git a/net/proxychains-ng/files/patch-src_daemon_sblist.h b/net/proxychains-ng/files/patch-src_daemon_sblist.h
deleted file mode 100644
index 2401828080e2..000000000000
--- a/net/proxychains-ng/files/patch-src_daemon_sblist.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/daemon/sblist.h.orig 2022-01-23 14:16:56 UTC
-+++ src/daemon/sblist.h
-@@ -87,6 +87,8 @@ size_t sblist_insert_sorted(sblist* l, void* o, int (*
- }
- #endif
-
-+/*
- #pragma RcB2 DEP "sblist.c" "sblist_delete.c"
-+*/
-
- #endif