NetBSD Problem Report #45322

From osa@nbsd5.FreeBSD.ORG.ru  Thu Sep  1 09:44:59 2011
Return-Path: <osa@nbsd5.FreeBSD.ORG.ru>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 143E863BBA1
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  1 Sep 2011 09:44:59 +0000 (UTC)
Message-Id: <20110901080103.513BECAB25@nbsd5.FreeBSD.ORG.ru>
Date: Thu,  1 Sep 2011 12:01:03 +0400 (MSD)
From: osa@FreeBSD.org
Reply-To: osa@FreeBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: [PATCH] add ngx_http_redis module, ver. 0.3.4 to www/nginx
X-Send-Pr-Version: 3.95

>Number:         45322
>Category:       pkg
>Synopsis:       [PATCH] add ngx_http_redis module, ver. 0.3.4 to www/nginx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    osa
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 01 09:45:00 +0000 2011
>Closed-Date:    Mon Apr 24 16:39:23 +0000 2023
>Last-Modified:  Mon Apr 24 16:39:23 +0000 2023
>Originator:     Sergey A. Osokin
>Release:        NetBSD 5.1
>Organization:

>Environment:
System: NetBSD nbsd5.FreeBSD.ORG.ru 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov 7 14:39:56 UTC 2010 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	Add ngx_http_redis module, ver. 0.3.4 to www/nginx pkgsrc.
>How-To-Repeat:

>Fix:

Index: pkgsrc/www/nginx/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/nginx/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- pkgsrc/www/nginx/distinfo	10 Jun 2011 10:36:18 -0000	1.13
+++ pkgsrc/www/nginx/distinfo	31 Aug 2011 12:44:53 -0000
@@ -5,3 +5,6 @@
 Size (nginx-1.0.4.tar.gz) = 661444 bytes
 SHA1 (patch-aa) = 1ef1a800f0d7dffe182b8a74f115105ded205f8e
 SHA1 (patch-ab) = 6f20ef8ac9a042faf7e22770de7c16b351cb1191
+SHA1 (ngx_http_redis-0.3.4.tar.gz) = e3528f7fcd1dcffcdaed31fd55b4c8eb5872abbf
+RMD160 (ngx_http_redis-0.3.4.tar.gz) = 8a8ae98d5f76821a69757103098886efc6547b01
+Size (ngx_http_redis-0.3.4.tar.gz) = 11105
Index: pkgsrc/www/nginx/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/nginx/options.mk,v
retrieving revision 1.10
diff -u -r1.10 options.mk
--- pkgsrc/www/nginx/options.mk	27 Jun 2010 18:00:24 -0000	1.10
+++ pkgsrc/www/nginx/options.mk	31 Aug 2011 12:44:53 -0000
@@ -2,7 +2,7 @@

 PKG_OPTIONS_VAR=	PKG_OPTIONS.nginx
 PKG_SUPPORTED_OPTIONS=	dav flv gtools inet6 mail-proxy memcache pcre \
-			push realip ssl sub uwsgi
+			push realip redis ssl sub uwsgi
 PKG_SUGGESTED_OPTIONS=	pcre ssl

 PLIST_VARS+=		uwsgi
@@ -50,6 +50,13 @@
 CONFIGURE_ARGS+=       --with-http_realip_module
 .endif

+.if !empty(PKG_OPTIONS:Mredis)
+REDIS=			ngx_http_redis-0.3.4
+DISTFILES+=		${REDIS}.tar.gz
+SITES.${REDIS}.tar.gz=	http://people.FreeBSD.org/~osa/
+CONFIGURE_ARGS+=	--add-module=../${REDIS}
+.endif
+
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --with-ipv6
 .endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 01 Sep 2011 09:46:20 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: joerg->osa
Responsible-Changed-By: osa@NetBSD.org
Responsible-Changed-When: Thu, 20 Apr 2023 16:33:53 +0000
Responsible-Changed-Why:
I'll take it.


From: "Sergey A. Osokin" <osa@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45322 CVS commit: pkgsrc/www
Date: Mon, 24 Apr 2023 16:34:39 +0000

 Module Name:	pkgsrc
 Committed By:	osa
 Date:		Mon Apr 24 16:34:39 UTC 2023

 Modified Files:
 	pkgsrc/www/nginx: Makefile PLIST distinfo options.mk
 	pkgsrc/www/nginx-devel: Makefile PLIST distinfo options.mk

 Log Message:
 www/nginx*: add third-party redis module

 Bump PKGREVISIONs.

 PR pkg/45322


 To generate a diff of this commit:
 cvs rdiff -u -r1.137 -r1.138 pkgsrc/www/nginx/Makefile
 cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/nginx/PLIST
 cvs rdiff -u -r1.108 -r1.109 pkgsrc/www/nginx/distinfo
 cvs rdiff -u -r1.93 -r1.94 pkgsrc/www/nginx/options.mk
 cvs rdiff -u -r1.104 -r1.105 pkgsrc/www/nginx-devel/Makefile
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/nginx-devel/PLIST
 cvs rdiff -u -r1.93 -r1.94 pkgsrc/www/nginx-devel/distinfo
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/nginx-devel/options.mk

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

State-Changed-From-To: open->closed
State-Changed-By: osa@NetBSD.org
State-Changed-When: Mon, 24 Apr 2023 16:39:23 +0000
State-Changed-Why:
Committed with some modifications, thanks for the report!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.