Port v1.0.2
authorDavid Marec <DavidMarec@users.noreply.github.com>
Thu, 28 Apr 2022 21:23:44 +0000 (23:23 +0200)
committerDavid Marec <DavidMarec@users.noreply.github.com>
Thu, 28 Apr 2022 21:23:44 +0000 (23:23 +0200)
Makefile [new file with mode: 0644]
distinfo [new file with mode: 0644]
pkg-descr [new file with mode: 0644]
pkg-plist [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..239ea58
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+# Created by: Grzegorz Blach <gblach@FreeBSD.org>
+
+PORTNAME=      hiredis
+PORTVERSION=   1.0.2
+DISTVERSIONPREFIX=v
+CATEGORIES=    databases
+
+MAINTAINER=    olgeni@FreeBSD.org
+COMMENT=       Minimalistic C client library for the Redis database
+
+LICENSE=       BSD3CLAUSE
+
+USE_GITHUB=    yes
+GH_ACCOUNT=    redis
+
+USES=          cpe cmake
+
+OPTIONS_DEFINE= SSL
+OPTIONS_SUB=   yes
+SSL_DSC= build hiredis_ssl for ssl support
+SSL_CMAKE_BOOL= ENABLE_SSL ENABLE_SSL_TESTS
+
+CPE_VENDOR=    redislabs
+
+.include <bsd.port.mk>
diff --git a/distinfo b/distinfo
new file mode 100644 (file)
index 0000000..97bcaaa
--- /dev/null
+++ b/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651178628
+SHA256 (redis-hiredis-v1.0.2_GH0.tar.gz) = e0ab696e2f07deb4252dda45b703d09854e53b9703c7d52182ce5a22616c3819
+SIZE (redis-hiredis-v1.0.2_GH0.tar.gz) = 98139
diff --git a/pkg-descr b/pkg-descr
new file mode 100644 (file)
index 0000000..d459860
--- /dev/null
+++ b/pkg-descr
@@ -0,0 +1,19 @@
+Hiredis is a minimalistic C client library for the Redis database.
+
+It is minimalistic because it just adds minimal support for the protocol,
+but at the same time it uses an high level printf-alike API in order to make
+it much higher level than otherwise suggested by its minimal code base and
+the lack of explicit bindings for every Redis command.
+
+Apart from supporting sending commands and receiving replies, it comes with
+a reply parser that is decoupled from the I/O layer. It is a stream parser
+designed for easy reusability, which can for instance be used in higher
+level language bindings for efficient reply parsing.
+
+Hiredis only supports the binary-safe Redis protocol, so you can use it with
+any Redis version >= 1.2.0.
+
+The library comes with multiple APIs. There is the synchronous API, the
+asynchronous API and the reply parsing API.
+
+WWW: https://github.com/redis/hiredis
diff --git a/pkg-plist b/pkg-plist
new file mode 100644 (file)
index 0000000..390c0a6
--- /dev/null
+++ b/pkg-plist
@@ -0,0 +1,21 @@
+include/hiredis/adapters/ae.h
+include/hiredis/adapters/glib.h
+include/hiredis/adapters/ivykis.h
+include/hiredis/adapters/libev.h
+include/hiredis/adapters/libevent.h
+include/hiredis/adapters/libuv.h
+include/hiredis/adapters/macosx.h
+include/hiredis/adapters/qt.h
+include/hiredis/alloc.h
+include/hiredis/async.h
+include/hiredis/hiredis.h
+%%SSL%%include/hiredis/hiredis_ssl.h
+include/hiredis/read.h
+include/hiredis/sds.h
+lib/libhiredis.so
+lib/libhiredis.so.1.0.0
+%%SSL%%lib/libhiredis_ssl.so
+%%SSL%%lib/libhiredis_ssl.so.1.0.0
+libdata/pkgconfig/hiredis.pc
+%%SSL%%libdata/pkgconfig/hiredis_ssl.pc
+