mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
Import libjwt 1.3.1
Libjwt is a C implementation of JSON Web Tokens.
This commit is contained in:
parent
7217d1a248
commit
4af9a265b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422646
@ -351,6 +351,7 @@
|
||||
SUBDIR += libhpack
|
||||
SUBDIR += libhtp-suricata
|
||||
SUBDIR += libhubbub
|
||||
SUBDIR += libjwt
|
||||
SUBDIR += libmicrohttpd
|
||||
SUBDIR += libsocialweb
|
||||
SUBDIR += libwww
|
||||
|
27
www/libjwt/Makefile
Normal file
27
www/libjwt/Makefile
Normal file
@ -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>
|
3
www/libjwt/distinfo
Normal file
3
www/libjwt/distinfo
Normal file
@ -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
|
11
www/libjwt/files/patch-libjwt_Makefile.in
Normal file
11
www/libjwt/files/patch-libjwt_Makefile.in
Normal file
@ -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
|
3
www/libjwt/pkg-descr
Normal file
3
www/libjwt/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
The C implementation of JSON Web Tokens.
|
||||
|
||||
WWW: https://github.com/benmcollins/libjwt
|
6
www/libjwt/pkg-plist
Normal file
6
www/libjwt/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user