Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,23 +1,12 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2011/08/12 12:24:52 taca Exp $
$NetBSD: MESSAGE,v 1.6 2015/03/09 08:57:03 taca Exp $
In order to use this module in your Apache 1.x installation, you need to
In order to use this module in your Apache 2.x installation, you need to
add the following to your httpd.conf file:
LoadModule php${PKG_PHP_MAJOR_VERS}_module lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so
AddType application/x-httpd-php .php
You may also add following if you still use .php3 files:
AddType application/x-httpd-php .php3
For Apache 2.x installation, you need following:
LoadModule php${PKG_PHP_MAJOR_VERS}_module lib/httpd/mod_php${PKG_PHP_MAJOR_VERS}.so
AddHandler application/x-httpd-php .php
You may also add following if you still use .php3 files:
AddHandler application/x-httpd-php .php3
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
===========================================================================

View File

@@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.29 2014/01/08 10:13:44 jperkin Exp $
# $NetBSD: Makefile,v 1.33 2015/03/16 09:09:19 taca Exp $
PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_BASE_VERS}
PKGNAME= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_VERSION}
PKGREVISION= 3
COMMENT= Apache (${PKG_APACHE}) module for ${PKG_PHP}
CONFLICTS= ap-php-[0-9]*