Commit ef14cc16 authored by adamw's avatar adamw
Browse files

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
parent f935ae4b
......@@ -953,6 +953,7 @@
SUBDIR += libIDL
SUBDIR += libPropList
SUBDIR += libafterbase
SUBDIR += liballium
SUBDIR += libantlr3c
SUBDIR += libarena
SUBDIR += libassa
......
# 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>
SHA256 (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = cf621145ae328d3694fda1231a645cf91ccc5fcd7edfaf263a21e20d9e48853d
SIZE (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = 39938
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
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
......
# 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>
SHA256 (g-Yawning-obfsclient-0.0.2-3c551c5.tar.bz2) = 02bf73b5845ee5e514d26f8dd2fba0d2fc0e44a8b76ad7b444361f40391f684d
SIZE (g-Yawning-obfsclient-0.0.2-3c551c5.tar.bz2) = 374687
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment