svn commit: r365738 - in head: devel devel/liballium security security/obfsclient
Adam Weinberger
adamw at FreeBSD.org
Sat Aug 23 14:43:09 UTC 2014
Author: adamw
Date: Sat Aug 23 14:43:06 2014
New Revision: 365738
URL: http://svnweb.freebsd.org/changeset/ports/365738
QAT: https://qat.redports.org/buildarchive/r365738/
Log:
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 at fabiankeil.de
Added:
head/devel/liballium/
head/devel/liballium/Makefile (contents, props changed)
head/devel/liballium/distinfo (contents, props changed)
head/devel/liballium/pkg-descr (contents, props changed)
head/devel/liballium/pkg-plist (contents, props changed)
head/security/obfsclient/
head/security/obfsclient/Makefile (contents, props changed)
head/security/obfsclient/distinfo (contents, props changed)
head/security/obfsclient/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
head/security/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Aug 23 14:37:54 2014 (r365737)
+++ head/devel/Makefile Sat Aug 23 14:43:06 2014 (r365738)
@@ -953,6 +953,7 @@
SUBDIR += libIDL
SUBDIR += libPropList
SUBDIR += libafterbase
+ SUBDIR += liballium
SUBDIR += libantlr3c
SUBDIR += libarena
SUBDIR += libassa
Added: head/devel/liballium/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/liballium/Makefile Sat Aug 23 14:43:06 2014 (r365738)
@@ -0,0 +1,39 @@
+# Created by: Fabian Keil <fk at 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 at 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>
Added: head/devel/liballium/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/liballium/distinfo Sat Aug 23 14:43:06 2014 (r365738)
@@ -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
Added: head/devel/liballium/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/liballium/pkg-descr Sat Aug 23 14:43:06 2014 (r365738)
@@ -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
Added: head/devel/liballium/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/liballium/pkg-plist Sat Aug 23 14:43:06 2014 (r365738)
@@ -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
+ at dirrmtry include/allium
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sat Aug 23 14:37:54 2014 (r365737)
+++ head/security/Makefile Sat Aug 23 14:43:06 2014 (r365738)
@@ -343,6 +343,7 @@
SUBDIR += nmapsi4
SUBDIR += nss
SUBDIR += oath-toolkit
+ SUBDIR += obfsclient
SUBDIR += obfsproxy
SUBDIR += ocaml-cryptgps
SUBDIR += ocaml-cryptokit
Added: head/security/obfsclient/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/obfsclient/Makefile Sat Aug 23 14:43:06 2014 (r365738)
@@ -0,0 +1,40 @@
+# Created by: Fabian Keil <fk at fabiankeil.de>
+# $FreeBSD$
+
+PORTNAME= obfsclient
+PORTVERSION= 0.0.2
+CATEGORIES= security
+DISTNAME= g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
+
+MAINTAINER= fk at 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>
Added: head/security/obfsclient/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/obfsclient/distinfo Sat Aug 23 14:43:06 2014 (r365738)
@@ -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
Added: head/security/obfsclient/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/obfsclient/pkg-descr Sat Aug 23 14:43:06 2014 (r365738)
@@ -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
More information about the svn-ports-all
mailing list