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:    joerg
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 01 09:45:00 +0000 2011
>Last-Modified:  Thu Sep 01 09:46:20 +0000 2011
>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.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.