NetBSD Problem Report #43744
From makoto@mx.ki.nu Thu Aug 12 02:14:16 2010
Return-Path: <makoto@mx.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id EC67263BBBD
for <gnats-bugs@gnats.NetBSD.org>; Thu, 12 Aug 2010 02:14:15 +0000 (UTC)
Message-Id: <201008120214.o7C2EABP022382@mail.ki.nu>
Date: Thu, 12 Aug 2010 11:14:10 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto@ki.nu
To: gnats-bugs@gnats.NetBSD.org
Subject: [PATCH] lang/php/MESSAGE.module update
X-Send-Pr-Version: 3.95
>Number: 43744
>Category: pkg
>Synopsis: lang/php/MESSAGE.module should tell more friendly message
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 12 02:15:00 +0000 2010
>Last-Modified: Mon Aug 16 02:20:01 +0000 2010
>Originator: Makoto Fujiwara
>Release: NetBSD 5.0_STABLE
>Organization:
KINU Corporation
>Environment:
NetBSD ap2-php4 5.0_STABLE NetBSD 5.0_STABLE (XEN3PAE_DOMU) #0: Mon Feb 8 19:56:58 UTC 2010 builds@b7.netbsd.org:/home/builds/ab/netbsd-5/i386/201002080000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/XEN3PAE_DOMU i386
>Description:
The MESSAGE for php module, like php-mbstring, does not tell
the install directory.
pkg_info -D php-mbstring will tell following now:
===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $
To enable this module, add the following to /usr/pkg/etc/php.ini:
extension=mbstring.so
and make sure extension_dir points to the dir where mbstring.so is.
Then restart your PHP5-enabled HTTP server to load this module.
===========================================================================
Users may waste a time to find where mbstring.so is installed.
>How-To-Repeat:
cd converters/php-mbstring;
make package-install
or after installation
pkg_info -D php5-mbstring
>Fix:
Index: lang/php/MESSAGE.module
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/lang/php/MESSAGE.module,v
retrieving revision 1.2
diff -u -r1.2 MESSAGE.module
--- lang/php/MESSAGE.module 5 Nov 2004 21:50:11 -0000 1.2
+++ lang/php/MESSAGE.module 12 Aug 2010 01:46:23 -0000
@@ -1,11 +1,13 @@
===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $
+${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so is installed.
To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini:
extension=${MODNAME}.so
+ extension_dir = ${PREFIX}/${PHP_EXTENSION_DIR}
-and make sure extension_dir points to the dir where ${MODNAME}.so is.
+The second line is for extension_dir points to the dir where ${MODNAME}.so is.
Then restart your ${PKG_PHP}-enabled HTTP server to load this module.
===========================================================================
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43744: [PATCH] lang/php/MESSAGE.module update
Date: Mon, 16 Aug 2010 11:17:47 +0900
I feel that mention of extension_dir in MESSAGE is redundant,
because php module will be installed into default location,
so no need to define extension_dir in php.ini.
Or, maybe, it means "you must not set extension_dir other than default location".
(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.