pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php4 Upgrade bundled Net_Socket to 1.0.2 and Net_S...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa12e0fc2f09
branches: trunk
changeset: 484408:aa12e0fc2f09
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sat Nov 27 14:00:08 2004 +0000
description:
Upgrade bundled Net_Socket to 1.0.2 and Net_SMTP to 1.2.6 on installation.
These include some important bug fixes, and some other pear packages
require the newer versions.
Bump PKGREVISION, and BUILDLINK_RECOMMENDED.
diffstat:
www/php4/Makefile | 11 ++++++++++-
www/php4/Makefile.php | 6 +++---
www/php4/buildlink3.mk | 4 ++--
3 files changed, 15 insertions(+), 6 deletions(-)
diffs (64 lines):
diff -r 4f92e3be1b89 -r aa12e0fc2f09 www/php4/Makefile
--- a/www/php4/Makefile Sat Nov 27 13:58:30 2004 +0000
+++ b/www/php4/Makefile Sat Nov 27 14:00:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2004/04/24 23:03:25 xtraeme Exp $
+# $NetBSD: Makefile,v 1.39 2004/11/27 14:00:08 jdolecek Exp $
PKGNAME= php-${PHP_BASE_VERS}
CATEGORIES+= lang
@@ -36,6 +36,11 @@
CONF_FILES= ${EGDIR}/php.ini-recommended ${PKG_SYSCONFDIR}/php.ini
OWN_DIRS= ${PREFIX}/${PHP_EXTENSION_DIR}
+# some of the bundled Pear extensions have newer versions, which fix
+# some known bugs
+PEAR_CMD= ${PREFIX}/bin/pear
+UPGRADE_PKG= Net_SMTP-1.2.6 Net_Socket-1.0.2
+
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${PREFIX}/bin/php
${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 ${PREFIX}/man/man1/php.1
@@ -46,4 +51,8 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/php
${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php
+ for p in ${UPGRADE_PKG}; do \
+ ${PEAR_CMD} upgrade $$p; \
+ done
+
.include "../../mk/bsd.pkg.mk"
diff -r 4f92e3be1b89 -r aa12e0fc2f09 www/php4/Makefile.php
--- a/www/php4/Makefile.php Sat Nov 27 13:58:30 2004 +0000
+++ b/www/php4/Makefile.php Sat Nov 27 14:00:08 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.php,v 1.18 2004/10/03 00:18:27 tv Exp $
+# $NetBSD: Makefile.php,v 1.19 2004/11/27 14:00:08 jdolecek Exp $
.include "../../www/php4/Makefile.common"
-# revision of the core PHP interepreter package
-PKGREVISION= 1
+# revision of the core PHP interpreter package
+PKGREVISION= 2
DISTINFO_FILE= ${.CURDIR}/../../www/php4/distinfo
PATCHDIR= ${.CURDIR}/../../www/php4/patches
diff -r 4f92e3be1b89 -r aa12e0fc2f09 www/php4/buildlink3.mk
--- a/www/php4/buildlink3.mk Sat Nov 27 13:58:30 2004 +0000
+++ b/www/php4/buildlink3.mk Sat Nov 27 14:00:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/10/31 18:20:02 jdolecek Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2004/11/27 14:00:08 jdolecek Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_BUILDLINK3_MK:= ${PHP_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
.if !empty(PHP_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.php+= php-4.3.*
-BUILDLINK_RECOMMENDED.php+= php>=4.3.9nb1
+BUILDLINK_RECOMMENDED.php+= php>=4.3.9nb2
BUILDLINK_PKGSRCDIR.php?= ../../www/php4
# Use full dependency for extension and pear modules
Home |
Main Index |
Thread Index |
Old Index