Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 06:08:42 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422646 - in head/www: . libjwt libjwt/files
Message-ID:  <201609230608.u8N68gZ3096553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Fri Sep 23 06:08:42 2016
New Revision: 422646
URL: https://svnweb.freebsd.org/changeset/ports/422646

Log:
  Import libjwt 1.3.1
  
  Libjwt is a C implementation of JSON Web Tokens.

Added:
  head/www/libjwt/
  head/www/libjwt/Makefile   (contents, props changed)
  head/www/libjwt/distinfo   (contents, props changed)
  head/www/libjwt/files/
  head/www/libjwt/files/patch-libjwt_Makefile.in   (contents, props changed)
  head/www/libjwt/pkg-descr   (contents, props changed)
  head/www/libjwt/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Sep 23 02:26:57 2016	(r422645)
+++ head/www/Makefile	Fri Sep 23 06:08:42 2016	(r422646)
@@ -351,6 +351,7 @@
     SUBDIR += libhpack
     SUBDIR += libhtp-suricata
     SUBDIR += libhubbub
+    SUBDIR += libjwt
     SUBDIR += libmicrohttpd
     SUBDIR += libsocialweb
     SUBDIR += libwww

Added: head/www/libjwt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libjwt/Makefile	Fri Sep 23 06:08:42 2016	(r422646)
@@ -0,0 +1,27 @@
+# Created by: Kevin Lo <kevlo@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	libjwt
+PORTVERSION=	1.3.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	www
+
+MAINTAINER=	kevlo@FreeBSD.org
+COMMENT=	JSON Web Token implementation in C
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
+
+LIB_DEPENDS=	libcheck.so:devel/libcheck \
+		libjansson.so:devel/jansson
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	benmcollins
+
+USES=		libtool pkgconfig ssl
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-openssl=${OPENSSLBASE}
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>

Added: head/www/libjwt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libjwt/distinfo	Fri Sep 23 06:08:42 2016	(r422646)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1474607970
+SHA256 (benmcollins-libjwt-v1.3.1_GH0.tar.gz) = 5f43af415412b6448760946643f2666a65e4e0559a5c893316d7e98520d78b1a
+SIZE (benmcollins-libjwt-v1.3.1_GH0.tar.gz) = 390071

Added: head/www/libjwt/files/patch-libjwt_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libjwt/files/patch-libjwt_Makefile.in	Fri Sep 23 06:08:42 2016	(r422646)
@@ -0,0 +1,11 @@
+--- libjwt/Makefile.in.orig	2016-09-23 05:42:55 UTC
++++ libjwt/Makefile.in
+@@ -361,7 +361,7 @@ libjwt_la_LDFLAGS = -version-info 2:0:2 
+ libjwt_la_CPPFLAGS = -I$(top_srcdir)/include $(OPENSSL_INCLUDES) -Wall
+ libjwt_la_CFLAGS = $(JANSSON_CFLAGS) $(COVERAGE_CFLAGS)
+ libjwt_la_LIBADD = $(OPENSSL_LIBS) $(JANSSON_LIBS) $(COVERAGE_LDFLAGS)
+-pkgconfiglibdir = $(libdir)/pkgconfig
++pkgconfiglibdir = $(prefix)/libdata/pkgconfig
+ pkgconfiglib_DATA = libjwt.pc
+ all: config.h
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am

Added: head/www/libjwt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libjwt/pkg-descr	Fri Sep 23 06:08:42 2016	(r422646)
@@ -0,0 +1,3 @@
+The C implementation of JSON Web Tokens.
+
+WWW: https://github.com/benmcollins/libjwt

Added: head/www/libjwt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libjwt/pkg-plist	Fri Sep 23 06:08:42 2016	(r422646)
@@ -0,0 +1,6 @@
+include/jwt.h
+lib/libjwt.a
+lib/libjwt.so
+lib/libjwt.so.0
+lib/libjwt.so.0.2.0
+libdata/pkgconfig/libjwt.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609230608.u8N68gZ3096553>