pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/php-redis4



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Mar  7 12:58:29 UTC 2021

Added Files:
        pkgsrc/databases/php-redis4: DESCR Makefile distinfo
        pkgsrc/databases/php-redis4/patches: patch-config.m4

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-redis4/DESCR \
    pkgsrc/databases/php-redis4/Makefile pkgsrc/databases/php-redis4/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/php-redis4/patches/patch-config.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/php-redis4/DESCR
diff -u /dev/null pkgsrc/databases/php-redis4/DESCR:1.1
--- /dev/null   Sun Mar  7 12:58:29 2021
+++ pkgsrc/databases/php-redis4/DESCR   Sun Mar  7 12:58:28 2021
@@ -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.
Index: pkgsrc/databases/php-redis4/Makefile
diff -u /dev/null pkgsrc/databases/php-redis4/Makefile:1.1
--- /dev/null   Sun Mar  7 12:58:29 2021
+++ pkgsrc/databases/php-redis4/Makefile        Sun Mar  7 12:58:28 2021
@@ -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"
Index: pkgsrc/databases/php-redis4/distinfo
diff -u /dev/null pkgsrc/databases/php-redis4/distinfo:1.1
--- /dev/null   Sun Mar  7 12:58:29 2021
+++ pkgsrc/databases/php-redis4/distinfo        Sun Mar  7 12:58:28 2021
@@ -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

Index: pkgsrc/databases/php-redis4/patches/patch-config.m4
diff -u /dev/null pkgsrc/databases/php-redis4/patches/patch-config.m4:1.1
--- /dev/null   Sun Mar  7 12:58:29 2021
+++ pkgsrc/databases/php-redis4/patches/patch-config.m4 Sun Mar  7 12:58:29 2021
@@ -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