1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

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
This commit is contained in:
Emanuel Haupt 2022-01-26 21:26:50 +01:00
parent f35954f55d
commit 988b1738fb
3 changed files with 9 additions and 15 deletions

View File

@ -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>

View File

@ -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

View File

@ -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