<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch php4
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1633df4d0c4ca5d3f2fb50e101efb7b1c9c9a461">https://github.com/macports/macports-ports/commit/1633df4d0c4ca5d3f2fb50e101efb7b1c9c9a461</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1633df4d0c4ca5d3f2fb50e101efb7b1c9c9a461
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Fri May 3 14:52:12 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> php4 was EOL 2008-08-07 and has no dependents: mark obsolete
</span>---
lang/php4/Portfile | 419 +----------------------------------------------------
1 file changed, 3 insertions(+), 416 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php4/Portfile b/lang/php4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5404bae..c7f4c97 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,425 +1,12 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
name php4
version 4.4.9
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set my_name php${major}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${my_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 21
</span> categories lang www
license PHP-3.01
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {ryandesign @ryandesign}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.php.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname php-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites php:get/[lindex ${distfiles} 0]/from/this/mirror?dummy=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin freebsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build yes
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP is a widely-used general-purpose scripting language \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- that is especially suited for Web development \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- and can be embedded into HTML.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 0d77092efaccd8fe6efc16635be98c5d4ccfec66 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2ac502d56ba3360fa4ea2e5c53ea6e35b6367a5654161f9aeec86a549b1656c2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4545009
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libiconv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:expat \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gettext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tiff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libxml2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtool \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mhash \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libmcrypt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:curl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:jpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:freetype
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Use -p1 to accommodate the Suhosin patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-ext-openssl-openssl.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-ext-standard-string.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-jpeg-9.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-scripts-php-config.in.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set phpinidir ${prefix}/etc/${my_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set extraphpinidir ${prefix}/var/db/${my_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs ${destroot}${extraphpinidir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --infodir=${prefix}/share/info \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --includedir=${prefix}/include/php4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --libdir=${prefix}/lib/php4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --sysconfdir=${prefix}/etc/php4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-config-file-path=${phpinidir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-config-file-scan-dir=${extraphpinidir} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pear=${prefix}/lib/php4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --program-suffix=4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-mbstring \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dbx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-safe-mode \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dba \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-calendar \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-exif \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-ftp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-wddx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-filepro \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-bcmath \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-cli \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-xml \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-xmlrpc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-mysql \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-iconv=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-zlib=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gettext=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-expat-dir=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-dom=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-openssl=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mhash=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mcrypt=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mime-magic \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-curl=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-jpeg-dir=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-png-dir=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-gd-native-ttf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-freetype-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} >= 10} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBS=-lresolv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform macosx {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-ldap=/usr \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-kerberos=/usr \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-iodbc=/usr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant no_web conflicts apache2 apache22 fastcgi description {Don't include any web server support} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant apache2 conflicts apache22 no_web description {Add Apache 2.4 web server module} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants apache2 preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-apxs2=${prefix}/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant apache22 conflicts apache2 no_web description {Add Apache 2.2 web server module} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants apache22 preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:apache22
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-apxs2=${prefix}/apache22/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant fastcgi conflicts no_web description {Add FastCGI web server binary} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset apache2] && ![variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-fastcgi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-force-cgi-redirect
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql4 conflicts mysql5 description {Add MySQL 4 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:mysql4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mysql=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 conflicts mysql4 description {Add MySQL 5 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/mysql_config5:mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-mysql
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-mysql=${workpath}/mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir "${workpath}/mysql5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file link -symbolic "${workpath}/mysql5/lib" "${prefix}/lib/mysql5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file link -symbolic "${workpath}/mysql5/include" "${prefix}/include/mysql5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/php-config4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql8 requires postgresql82 description {Obsolete name for postgresql82 variant} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql82 conflicts postgresql83 postgresql84 description {Add PostgreSQL 8.2 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:postgresql82
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pgsql=${prefix}/lib/postgresql82/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql83 conflicts postgresql82 postgresql84 description {Add PostgreSQL 8.3 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:postgresql83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pgsql=${prefix}/lib/postgresql83/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql84 conflicts postgresql82 postgresql83 description {Add PostgreSQL 8.4 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:postgresql84
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pgsql=${prefix}/lib/postgresql84/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant ldap description {Add LDAP protocol support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-ldap=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gmp description {Add GNU MP multiprocessing functions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gmp=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant dbase description {Add dBase file format support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-dbase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant imap description {Add IMAP protocol support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cclient
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-imap=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-imap-ssl=/usr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant pspell description {Add pspell spell-checking functions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:aspell
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pspell=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant xslt description {Add XSLT support using Sablotron} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:sablotron
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-xslt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-xslt-sablot=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-iconv-dir=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset apache2] && ![variant_isset apache22] && ![variant_isset fastcgi] && ![variant_isset no_web]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +apache22
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant readline description {Add GNU readline functions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:readline
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-readline=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant t1lib description {Add PostScript Type 1 font support with t1lib} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:t1lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-t1lib=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pdflib_distname pdflib-2.1.8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pdflib_distfile ${pdflib_distname}.tgz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant pdflib description {Add PDFlib support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- master_sites-append http://pecl.php.net/get/:pdflib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.only ${distfiles}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles-append ${pdflib_distfile}:pdflib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums-append ${pdflib_distfile} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 a74d2bba8985bd85fbd61589450c591665663906 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 410f8b1a9691705e4e70a03eb6468e735232f3871c3e63a4cf164250bd25b5bc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 55797
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${worksrcpath}/ext/pdf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "gnutar --no-same-owner -xzf ${distpath}/${pdflib_distfile}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${workpath}/${pdflib_distname} ${worksrcpath}/ext/pdf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_extract-append bin:gnutar:gnutar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:pdflib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-pdflib=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant suhosin description {Add Suhosin patch} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && ${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible Mac OS X version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set suhosin_patch_version ${version}-0.9.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set suhosin_patch suhosin-patch-${suhosin_patch_version}.patch.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch_sites-append https://download.suhosin.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append ${suhosin_patch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums-append ${suhosin_patch} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 39d2e74cc879187b348f2e0dd22755680fafb49d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 163dc01b0ce2412fec6dcd63f1b4d474c82657672f8d4ca1b40979722c46ca3f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 22248
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- INSTALL_ROOT=${destroot} PHP_PEAR_INSTALL_DIR=${prefix}/lib/php
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install-cli install-pear install-build install-headers install-programs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #copy module
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache2]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/lib/apache2/modules \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/etc/apache2/extra
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/libs/libphp4.so ${destroot}${prefix}/lib/apache2/modules/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -c ${filespath}/mod_php.conf ${destroot}${prefix}/etc/apache2/extra/mod_php.conf.sample
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/apache22/modules \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/apache22/conf/extra
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/libs/libphp4.so ${destroot}${prefix}/apache22/modules/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -c ${filespath}/mod_php.conf ${destroot}${prefix}/apache22/conf/extra/mod_php.conf.sample
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset fastcgi]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If we've built an Apache module (any version) then the FastCGI binary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # will not have been built, so we need to run through the whole process
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # again and build just the FastCGI binary. Keep the options here in sync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # with the options specified in the apache2 and apache22 variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache2]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-apxs2=${prefix}/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-apxs2=${prefix}/apache22/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Run the build again to get the FastCGI binary. Keep the options here
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # in sync with those in the fastcgi variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache2] || [variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-fastcgi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-force-cgi-redirect
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "$UI_PREFIX Configuring ${name} again for fastcgi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- command_exec configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "$UI_PREFIX Building ${name} again for fastcgi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- command_exec build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "$UI_PREFIX Staging ${name} fastcgi into destroot"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Copy the FastCGI binary to the bin dir under a new name so it doesn't
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # conflict with the cli version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/sapi/cgi/php ${destroot}${prefix}/bin/php-cgi${major}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${prefix}/etc/php4/pear.conf ${destroot}${prefix}/etc/php4/pear.conf.sample
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #copy php.ini
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${phpinidir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- php.ini-dist \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- php.ini-recommended \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${phpinidir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # rename files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${prefix}/bin/pear ${destroot}${prefix}/bin/pear4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|${prefix}/bin/php|${prefix}/bin/php4|g" ${destroot}${prefix}/bin/pear4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #nuke pear-stuff in ${destroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${destroot} "rm -rf .channels .depdb .depdblock .filemap .lock"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "if \[ -f ${prefix}/lib/php4/.depdblock \]; then rm -f ${destroot}${prefix}/lib/php4/.depdblock; fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "if \[ -f ${prefix}/lib/php4/.depdb \]; then rm -f ${destroot}${prefix}/lib/php4/.depdb; fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "if \[ -f ${prefix}/lib/php4/.filemap \]; then rm -f ${destroot}${prefix}/lib/php4/.filemap; fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "if \[ -f ${prefix}/lib/php4/.lock \]; then rm -f ${destroot}${prefix}/lib/php4/.lock; fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "if \[ -d ${prefix}/lib/php4/.channels \]; then rm -rf ${destroot}${prefix}/lib/php4/.channels; fi"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set filepath ${extraphpinidir}/.turd_${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file exists ${filepath}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${filepath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-notes "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PHP 4 has reached end-of-life. Please upgrade to a newer version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To learn how to update your code, please read the following guide:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-http://www.php.net/manual/en/migration5.php
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file exists ${prefix}/etc/php.ini] && ![file exists ${phpinidir}/php.ini]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${prefix}/etc/php.ini ${phpinidir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "Your ${prefix}/etc/php.ini has been moved to ${phpinidir}/php.ini"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${phpinidir}/php.ini]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "To customize php, copy"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "${phpinidir}/php.ini-dist (if this is a development server) or"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "${phpinidir}/php.ini-recommended (if this is a production server) to"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "${phpinidir}/php.ini and then make changes."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "You may need to update your php.ini for any changes that have been made"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "in this version of php. Compare ${phpinidir}/php.ini with"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "${phpinidir}/php.ini-dist (if this is a development server) or"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "${phpinidir}/php.ini-recommended (if this is a production server)."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset no_web]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "If this is your first install, you need to activate PHP in your web server."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset fastcgi]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache2]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set moduledir ${prefix}/lib/apache2/modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set apxs ${prefix}/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset apache22]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set moduledir ${prefix}/apache22/modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set apxs ${prefix}/apache22/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "To enable PHP in Apache, run"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg " cd ${moduledir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg " ${apxs} -a -e -n \"${my_name}\" lib${my_name}.so"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "* copy ${prefix}/etc/php4/pear.conf.sample to ${prefix}/etc/php4/pear.conf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove after 2020-05-03
</span></pre><pre style='margin:0'>
</pre>