pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-redis4 databases/php-redis4: add php-red...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb676ae7c6e5
branches: trunk
changeset: 448314:cb676ae7c6e5
user: taca <taca%pkgsrc.org@localhost>
date: Sun Mar 07 12:58:28 2021 +0000
description:
databases/php-redis4: add php-redis package version 4.3.0
Add php-redis package version 4.3.0 which is latest release supporting
PHP 5.
diffstat:
databases/php-redis4/DESCR | 6 +++++
databases/php-redis4/Makefile | 29 ++++++++++++++++++++++++++++
databases/php-redis4/distinfo | 7 ++++++
databases/php-redis4/patches/patch-config.m4 | 15 ++++++++++++++
4 files changed, 57 insertions(+), 0 deletions(-)
diffs (73 lines):
diff -r b65d162a53a4 -r cb676ae7c6e5 databases/php-redis4/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-redis4/DESCR Sun Mar 07 12:58:28 2021 +0000
@@ -0,0 +1,6 @@
+The phpredis extension provides an API for communicating with the Redis
+key-value store. It is released under the PHP License, version 3.01.
+This code has been developed and maintained by Owlient from
+November 2009 to March 2011.
+
+phpredis 4.x supports PHP 5.x.
diff -r b65d162a53a4 -r cb676ae7c6e5 databases/php-redis4/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-redis4/Makefile Sun Mar 07 12:58:28 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/03/07 12:58:28 taca Exp $
+#
+
+MODNAME= redis
+PKGMODNAME= redis
+PECL_VERSION= 4.3.0
+PECL_LEGACY_VERSION_SCHEME= yes
+PECL_DISTNAME= ${PECL_VERSION}
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=phpredis/}
+GITHUB_PROJECT= phpredis
+EXTRACT_SUFX= .tar.gz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/phpredis/phpredis
+COMMENT= PHP extension for Redis
+LICENSE= php
+
+PHP_VERSIONS_ACCEPTED= 56
+
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PECL_VERSION}
+
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+= -Wno-error=return-type
+.endif
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b65d162a53a4 -r cb676ae7c6e5 databases/php-redis4/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-redis4/distinfo Sun Mar 07 12:58:28 2021 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2021/03/07 12:58:28 taca Exp $
+
+SHA1 (php-redis4/4.3.0.tar.gz) = 876f6f06ec8bc9e64d85d344f8b0b2422d1c469c
+RMD160 (php-redis4/4.3.0.tar.gz) = bfe133981746004eb77c0891dd91d9d74d4656a9
+SHA512 (php-redis4/4.3.0.tar.gz) = b7ed577fb2853664731397e7093160d26a568688ee533e47dc62365307b523ff5fa93fd84183c848d6187c935bdb391f0ee188e1674c0f5e57e53dda9c3fb23d
+Size (php-redis4/4.3.0.tar.gz) = 242332 bytes
+SHA1 (patch-config.m4) = 07dd8fe81aa26c64fff84c3183531047eff94acb
diff -r b65d162a53a4 -r cb676ae7c6e5 databases/php-redis4/patches/patch-config.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-redis4/patches/patch-config.m4 Sun Mar 07 12:58:28 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.m4,v 1.1 2021/03/07 12:58:29 taca Exp $
+
+Fix portability use of test(1).
+
+--- config.m4.orig 2019-03-13 19:59:39.000000000 +0000
++++ config.m4
+@@ -98,7 +98,7 @@ dnl Check for igbinary
+ fi
+
+ AC_CHECK_PROG([GIT], [git], [yes], [no])
+- if test "$GIT" == "yes" && test -d "$srcdir/.git"; then
++ if test "$GIT" = "yes" && test -d "$srcdir/.git"; then
+ AC_DEFINE_UNQUOTED(GIT_REVISION, ["$(git log -1 --format=%H)"], [ ])
+ fi
+
Home |
Main Index |
Thread Index |
Old Index