From nobody@FreeBSD.org  Tue Mar 25 10:53:33 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id CE849EF2
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Mar 2014 10:53:33 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id B98C6ABD
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Mar 2014 10:53:33 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2PArXFo029163
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 25 Mar 2014 10:53:33 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2PArXhK029159;
	Tue, 25 Mar 2014 10:53:33 GMT
	(envelope-from nobody)
Message-Id: <201403251053.s2PArXhK029159@cgiserv.freebsd.org>
Date: Tue, 25 Mar 2014 10:53:33 GMT
From: Fabian Keil <fk@fabiankeil.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: devel/liballium - Tor pluggable transports utility library
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187926
>Category:       ports
>Synopsis:       New port: devel/liballium - Tor pluggable transports utility library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 11:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Fabian Keil
>Release:        HEAD
>Organization:
>Environment:
FreeBSD r500.local 11.0-CURRENT FreeBSD 11.0-CURRENT #632 r262341+c524d9f(fk): Sun Feb 23 21:28:22 CET 2014     fk@r500.local:/usr/obj/usr/src/sys/ZOEY  amd64

>Description:
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

--
This is a dependency for the port security/obfclient which I'll submit in another PR.

Note that I'm intentionally not using the still-optional LICENSE "framework"
in my ports until it's properly maintained, documented and the legal aspects are clear. Please do not add LICENSE* goo to this port without discussing it with me first. Thanks.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/liballium/
#	devel/liballium/pkg-plist
#	devel/liballium/Makefile
#	devel/liballium/pkg-descr
#	devel/liballium/distinfo
#
echo c - devel/liballium/
mkdir -p devel/liballium/ > /dev/null 2>&1
echo x - devel/liballium/pkg-plist
sed 's/^X//' >devel/liballium/pkg-plist << '5485638ff834a8321a1ca2abfbb1dbd4'
Xinclude/allium/allium.h
Xinclude/allium/allium_ptcfg.h
Xinclude/allium/bstrlib.h
Xlib/liballium-1.0.a
Xlib/liballium-1.0.la
Xlib/liballium-1.0.so
Xlib/liballium-1.0.so.0
Xlibdata/pkgconfig/liballium-1.0.pc
Xshare/licenses/%%PKGNAME%%/COPYING
X@dirrmtry share/licenses/%%PKGNAME%%
X@dirrmtry libdata/pkgconfig
X@dirrmtry include/allium
5485638ff834a8321a1ca2abfbb1dbd4
echo x - devel/liballium/Makefile
sed 's/^X//' >devel/liballium/Makefile << 'b6dee429b2b6749acea7ee176f47167f'
X# Created by: Fabian Keil <fk@fabiankeil.de>
X# $FreeBSD$
X
XPORTNAME=	liballium
XPORTVERSION=	0.0.1
XCATEGORIES=	devel security
XMASTER_SITES=	GH
XDISTNAME=	g-${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-${GH_COMMIT}
X
XMAINTAINER=	fk@fabiankeil.de
XCOMMENT=	Tor pluggable transports utility library
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	Yawning
XGH_COMMIT=	0c9b50f
XGH_TAGNAME=	${GH_COMMIT}
X
XHAS_CONFIGURE=	yes
XUSE_BZIP2=	yes
XUSES=		pkgconfig
XUSE_AUTOTOOLS=	autoconf aclocal automake libtool
XUSE_LDCONFIG=	yes
X
XPLIST_SUB+=	PKGNAME=${PKGNAME}
X
XCONFIGURE_ARGS+=	--prefix="${PREFIX}" \
X			--includedir=${LOCALBASE}/include \
X			--libdir=${LOCALBASE}/lib
X
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X
Xpost-patch:
X	@${REINPLACE_CMD} -E -e "s@^(pkgconfigdir =) .*@\1 ${LOCALBASE}/libdata/pkgconfig@" \
X		${WRKSRC}/Makefile.am
X
Xpre-configure:
X	@(cd ${WRKSRC}; ./autogen.sh)
X
Xpost-install:
X	@${MKDIR} ${STAGEDIR}/${PREFIX}/share/licenses/${PKGNAME}
X	${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${PREFIX}/share/licenses/${PKGNAME}
X
X.include <bsd.port.mk>
b6dee429b2b6749acea7ee176f47167f
echo x - devel/liballium/pkg-descr
sed 's/^X//' >devel/liballium/pkg-descr << '73527ededf0f426454acf0d7df94df50'
Xliballium attempts to reduce the amount of boilerplate code required to
Ximplement pluggable transports for Tor in C or C++.
X
XWWW: https://github.com/yawning/liballium
73527ededf0f426454acf0d7df94df50
echo x - devel/liballium/distinfo
sed 's/^X//' >devel/liballium/distinfo << '8f60e02642fc80a7eeb2b228b34f35a1'
XSHA256 (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = cf621145ae328d3694fda1231a645cf91ccc5fcd7edfaf263a21e20d9e48853d
XSIZE (g-Yawning-liballium-0.0.1-0c9b50f.tar.bz2) = 39938
8f60e02642fc80a7eeb2b228b34f35a1
exit



>Release-Note:
>Audit-Trail:
>Unformatted:
