pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/pear



Module Name:    pkgsrc
Committed By:   taca
Date:           Fri Jan  2 09:09:37 UTC 2026

Modified Files:
        pkgsrc/lang/pear: Makefile PLIST distinfo
Added Files:
        pkgsrc/lang/pear/files: README.pkgsrc
Removed Files:
        pkgsrc/lang/pear: MESSAGE

Log Message:
lang/pear: update to 1.10.17

pkgsrc change: move MESSAGE to README.pkgsrc.

PEAR 1.10.17 (2025-12-14)

* PR #152: Fix HTTP chunked encoding handling
* PR #153: fix composer.json: typo in replace for pear_exception package
* PR #154: switch to https by default
* PR #156: Throw new Error instead of E_USER_ERROR on PHP 7.0+
* PR #159: update tests for https-first behavior


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r0 pkgsrc/lang/pear/MESSAGE
cvs rdiff -u -r1.69 -r1.70 pkgsrc/lang/pear/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/pear/PLIST
cvs rdiff -u -r1.52 -r1.53 pkgsrc/lang/pear/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/pear/files/README.pkgsrc

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

Modified files:

Index: pkgsrc/lang/pear/Makefile
diff -u pkgsrc/lang/pear/Makefile:1.69 pkgsrc/lang/pear/Makefile:1.70
--- pkgsrc/lang/pear/Makefile:1.69      Mon Jun 16 09:21:45 2025
+++ pkgsrc/lang/pear/Makefile   Fri Jan  2 09:09:36 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2025/06/16 09:21:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.70 2026/01/02 09:09:36 taca Exp $
 #
 # This is super confusing, but the PEAR tarball does not include an installer,
 # it is only available in a different installer package which bundles the PEAR
@@ -6,9 +6,8 @@
 # we override the version to whatever PEAR it bundles.
 #
 
-DISTNAME=      pearweb_phars-1.10.24
-PKGREVISION=   3
-PKGNAME=       ${PHP_PKG_PREFIX}-pear-1.10.16
+DISTNAME=      pearweb_phars-1.10.25
+PKGNAME=       ${PHP_PKG_PREFIX}-pear-1.10.17
 CATEGORIES=    lang
 MASTER_SITES=  http://download.pear.php.net/package/
 EXTRACT_SUFX=  .tgz
@@ -30,12 +29,12 @@ CONF_FILES= ${PREFIX}/${PHP_EGDIR}/pear.
 
 SUBST_CLASSES+=                config
 SUBST_STAGE.config=    pre-configure
-SUBST_FILES.config=    src/PEAR/Start.php
-SUBST_VARS.config+=    PHP_LIBDIR PKGMANDIR PREFIX WRKSRC
+SUBST_FILES.config=    src/PEAR/Start.php ${WRKDIR}/README.pkgsrc
+SUBST_VARS.config+=    PHP_LIBDIR PKGMANDIR PREFIX WRKSRC PHP_VER
 SUBST_MESSAGE.config=  Fixing configuration files.
 
 PEAR_COMMANDS=         pear peardev pecl
-INSTALLATION_DIRS+=    ${PHP_EGDIR}
+INSTALLATION_DIRS+=    ${PHP_EGDIR} ${PHP_SHAREDIR}
 
 # TODO: This should probably be set in lang/php
 PHPBIN=                ${PREFIX}/bin/php${PHP_VER}
@@ -46,6 +45,7 @@ post-extract:
                '$$p = new Phar("go-pear.phar"); \
                 $$p->extractTo("src");'
        ${MV} ${WRKSRC}/go-pear.phar ${WRKSRC}/go-pear-orig.phar
+       ${CP} ${FILESDIR}/README.pkgsrc ${WRKDIR}
 
 # This does not actually build anything, just packs our patched source files
 # back to an updated .phar.
@@ -62,6 +62,8 @@ do-install:
                ${PKGSRC_SETENV} ${INSTALL_ENV} ${PHPBIN} go-pear.phar
        ${INSTALL_DATA} ${WRKSRC}/pear.conf \
                ${DESTDIR}${PREFIX}/${PHP_EGDIR}/pear.conf
+       ${INSTALL_DATA} ${WRKDIR}/README.pkgsrc \
+               ${DESTDIR}${PREFIX}/${PHP_SHAREDIR}
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && for f in ${PEAR_COMMANDS}; do \

Index: pkgsrc/lang/pear/PLIST
diff -u pkgsrc/lang/pear/PLIST:1.14 pkgsrc/lang/pear/PLIST:1.15
--- pkgsrc/lang/pear/PLIST:1.14 Mon Jun 16 09:21:45 2025
+++ pkgsrc/lang/pear/PLIST      Fri Jan  2 09:09:36 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2025/06/16 09:21:45 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.15 2026/01/02 09:09:36 taca Exp $
 bin/pear${PHP_VER}
 bin/peardev${PHP_VER}
 bin/pecl${PHP_VER}
@@ -158,6 +158,7 @@ ${PHP_LIBDIR}/test/XML_Util/tests/Replac
 ${PHP_LIBDIR}/test/XML_Util/tests/ReverseEntitiesTests.php
 ${PHP_LIBDIR}/test/XML_Util/tests/SplitQualifiedNameTests.php
 ${PHP_EGDIR}/pear.conf
+${PHP_SHAREDIR}/README.pkgsrc
 @pkgdir ${PHP_LIBDIR}/.registry/.channel.pecl.php.net
 @pkgdir ${PHP_LIBDIR}/.registry/.channel.doc.php.net
 @pkgdir ${PHP_LIBDIR}/.registry/.channel.__uri

Index: pkgsrc/lang/pear/distinfo
diff -u pkgsrc/lang/pear/distinfo:1.52 pkgsrc/lang/pear/distinfo:1.53
--- pkgsrc/lang/pear/distinfo:1.52      Mon Jun 16 09:21:45 2025
+++ pkgsrc/lang/pear/distinfo   Fri Jan  2 09:09:36 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.52 2025/06/16 09:21:45 jperkin Exp $
+$NetBSD: distinfo,v 1.53 2026/01/02 09:09:36 taca Exp $
 
-BLAKE2s (pearweb_phars-1.10.24.tgz) = 6e6b480f76485871130f8a6974808f96957a8506feaa64e8435c3406d44f5c19
-SHA512 (pearweb_phars-1.10.24.tgz) = 64b81b84b815f46cabebd5bba57ce67e86fbec9208e19438997e70dde9fdeaab5f517d2fb92889954f51040627f3188e9a37d86fa796dd51c65d38d804309cc5
-Size (pearweb_phars-1.10.24.tgz) = 1205796 bytes
+BLAKE2s (pearweb_phars-1.10.25.tgz) = 05deb2f555a094b58311890131245ffd195d7df3a6a4e64381d3ff9f57ce54e2
+SHA512 (pearweb_phars-1.10.25.tgz) = 8c6d64bce78ec3289844062ca48175c0533ad03eec58abb89819df709c8c32a32a6ca7f9603bb1efc76dfa820d0ed46d4a5541b0c8faa9c98434f152abb73e5b
+Size (pearweb_phars-1.10.25.tgz) = 1207381 bytes
 SHA1 (patch-src_PEAR_Start.php) = d8038a23e5250e8b2c0a022ba5e8adfd73d1fcd7
 SHA1 (patch-src_PEAR_Start_CLI.php) = 8dbd68bde4cea2c7688a4dc0e650cff8ccdeda4c

Added files:

Index: pkgsrc/lang/pear/files/README.pkgsrc
diff -u /dev/null pkgsrc/lang/pear/files/README.pkgsrc:1.1
--- /dev/null   Fri Jan  2 09:09:37 2026
+++ pkgsrc/lang/pear/files/README.pkgsrc        Fri Jan  2 09:09:36 2026
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: README.pkgsrc,v 1.1 2026/01/02 09:09:36 taca Exp $
+
+In order to use PEAR packages you may want to alter the default
+include_path of PHP to include the PEAR installation directory where the
+packages are located.  To do this you need to edit the include_path
+directive in your php.ini file:
+
+       @PKG_SYSCONFDIR@/php.ini
+
+Change the "include_path" directive to read as follows:
+
+       include_path = ".:@PREFIX@/@PHP_LIBDIR@"
+
+It should be done automatically.
+===========================================================================



Home | Main Index | Thread Index | Old Index