mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add devel/liballium and security/obfsclient.
liballium attempts to reduce the amount of boilerplate code required to implement pluggable transports for Tor in C or C++. WWW: https://github.com/yawning/liballium obfsclient is a C++11 Tor-managed pluggable transport client implementation of the following protocols: obfs2 - The Twobfuscator obfs3 - The Threebfuscator ScrambleSuit - Experimental WWW: https://github.com/yawning/obfsclient PR: 187926, 187927 Submitted by: fk@fabiankeil.de
This commit is contained in:
parent
8290033cad
commit
35650d71bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365738
@ -953,6 +953,7 @@
|
||||
SUBDIR += libIDL
|
||||
SUBDIR += libPropList
|
||||
SUBDIR += libafterbase
|
||||
SUBDIR += liballium
|
||||
SUBDIR += libantlr3c
|
||||
SUBDIR += libarena
|
||||
SUBDIR += libassa
|
||||
|
39
devel/liballium/Makefile
Normal file
39
devel/liballium/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# Created by: Fabian Keil <fk@fabiankeil.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= liballium
|
||||
PORTVERSION= 0.0.1
|
||||
CATEGORIES= devel security
|
||||
MASTER_SITES= GH
|
||||
DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
|
||||
|
||||
MAINTAINER= fk@fabiankeil.de
|
||||
COMMENT= Tor pluggable transports utility library
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Yawning
|
||||
GH_COMMIT= 0c9b50f
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= libtool:build pkgconfig tar:bzip2 pathfix
|
||||
USE_AUTOTOOLS= autoconf aclocal automake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PLIST_SUB+= PKGNAME=${PKGNAME}
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E -e "s@^(pkgconfigdir =) .*@\1 ${LOCALBASE}/libdata/pkgconfig@" \
|
||||
${WRKSRC}/Makefile.am
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKSRC}; ./autogen.sh)
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/liballium/distinfo
Normal file
2
devel/liballium/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = cf621145ae328d3694fda1231a645cf91ccc5fcd7edfaf263a21e20d9e48853d
|
||||
SIZE (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = 39938
|
4
devel/liballium/pkg-descr
Normal file
4
devel/liballium/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
liballium attempts to reduce the amount of boilerplate code required to
|
||||
implement pluggable transports for Tor in C or C++.
|
||||
|
||||
WWW: https://github.com/yawning/liballium
|
11
devel/liballium/pkg-plist
Normal file
11
devel/liballium/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
include/allium/allium.h
|
||||
include/allium/allium_ptcfg.h
|
||||
include/allium/bstrlib.h
|
||||
lib/liballium-1.0.a
|
||||
lib/liballium-1.0.so
|
||||
lib/liballium-1.0.so.0
|
||||
lib/liballium-1.0.so.0.0.1
|
||||
libdata/pkgconfig/liballium-1.0.pc
|
||||
@dirrmtry include/allium
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
@ -343,6 +343,7 @@
|
||||
SUBDIR += nmapsi4
|
||||
SUBDIR += nss
|
||||
SUBDIR += oath-toolkit
|
||||
SUBDIR += obfsclient
|
||||
SUBDIR += obfsproxy
|
||||
SUBDIR += ocaml-cryptgps
|
||||
SUBDIR += ocaml-cryptokit
|
||||
|
40
security/obfsclient/Makefile
Normal file
40
security/obfsclient/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# Created by: Fabian Keil <fk@fabiankeil.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= obfsclient
|
||||
PORTVERSION= 0.0.2
|
||||
CATEGORIES= security
|
||||
DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
|
||||
|
||||
MAINTAINER= fk@fabiankeil.de
|
||||
COMMENT= Tor-managed pluggable transport client
|
||||
|
||||
LIB_DEPENDS= liballium-1.0.so:${PORTSDIR}/devel/liballium \
|
||||
libevent.so:${PORTSDIR}/devel/libevent2
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Yawning
|
||||
GH_COMMIT= 3c551c5
|
||||
GH_TAGNAME= ${GH_COMMIT}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= compiler:c++11-lib libtool:build pkgconfig tar:bzip2
|
||||
USE_AUTOTOOLS= autoconf aclocal automake
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= COPYING
|
||||
|
||||
pre-configure:
|
||||
@(cd ${WRKSRC} && ./autogen.sh)
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
regression-test: build
|
||||
(cd ${WRKSRC} && make check)
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/obfsclient/distinfo
Normal file
2
security/obfsclient/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (g-Yawning-obfsclient-0.0.2-3c551c5.tar.bz2) = 02bf73b5845ee5e514d26f8dd2fba0d2fc0e44a8b76ad7b444361f40391f684d
|
||||
SIZE (g-Yawning-obfsclient-0.0.2-3c551c5.tar.bz2) = 374687
|
8
security/obfsclient/pkg-descr
Normal file
8
security/obfsclient/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
obfsclient is a C++11 Tor-managed pluggable transport client
|
||||
implementation of the following protocols:
|
||||
|
||||
obfs2 - The Twobfuscator
|
||||
obfs3 - The Threebfuscator
|
||||
ScrambleSuit - Experimental
|
||||
|
||||
WWW: https://github.com/yawning/obfsclient
|
Loading…
Reference in New Issue
Block a user