You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
php-phalcon: updated {,2,3,4} ; new {5}
This commit is contained in:
@@ -8,17 +8,55 @@ PortGroup obsolete 1.0
|
||||
# keep it updated and don't delete it.
|
||||
|
||||
name php-phalcon
|
||||
version 3.4.4
|
||||
revision 1
|
||||
categories php
|
||||
platforms darwin
|
||||
maintainers {ryandesign @ryandesign} openmaintainer
|
||||
version 5.10.0
|
||||
revision 0
|
||||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||||
license BSD
|
||||
|
||||
# https://docs.phalcon.io/5.9/releases/
|
||||
subport php85-phalcon {
|
||||
version 5.10.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php84-phalcon {
|
||||
version 5.10.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php83-phalcon {
|
||||
version 5.10.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php82-phalcon {
|
||||
version 5.10.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php81-phalcon {
|
||||
version 5.10.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php80-phalcon {
|
||||
version 5.8.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php74-phalcon {
|
||||
version 5.4.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php73-phalcon {
|
||||
version 4.0.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php72-phalcon {
|
||||
version 4.0.0
|
||||
revision 0
|
||||
}
|
||||
|
||||
subport php71-phalcon {
|
||||
@@ -56,6 +94,6 @@ long_description Phalcon is an open source full stack framework for \
|
||||
expensive file stats and file reads that traditional \
|
||||
PHP frameworks employ.
|
||||
|
||||
homepage https://phalconphp.com
|
||||
homepage https://phalcon.io
|
||||
|
||||
livecheck.type none
|
||||
|
||||
@@ -5,7 +5,7 @@ PortGroup github 1.0
|
||||
PortGroup php 1.1
|
||||
|
||||
name php-phalcon2
|
||||
maintainers {ryandesign @ryandesign} openmaintainer
|
||||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||||
license BSD
|
||||
|
||||
php.branches 5.3 5.4 5.5 5.6
|
||||
|
||||
@@ -5,7 +5,7 @@ PortGroup github 1.0
|
||||
PortGroup php 1.1
|
||||
|
||||
name php-phalcon3
|
||||
maintainers {ryandesign @ryandesign} openmaintainer
|
||||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||||
license BSD
|
||||
|
||||
php.branches 5.5 5.6 7.0 7.1 7.2 7.3
|
||||
|
||||
@@ -6,12 +6,16 @@ PortGroup php 1.1
|
||||
|
||||
name php-phalcon4
|
||||
platforms darwin
|
||||
maintainers {ryandesign @ryandesign} openmaintainer
|
||||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||||
license BSD
|
||||
|
||||
php.branches 7.2 7.3 7.4
|
||||
|
||||
if {[vercmp ${php.branch} < 7.5]} {
|
||||
if {[vercmp ${php.branch} >= 7.4]} {
|
||||
conflicts-append ${php}-phalcon5
|
||||
}
|
||||
|
||||
if {[vercmp ${php.branch} <= 7.4]} {
|
||||
conflicts-append ${php}-phalcon3
|
||||
}
|
||||
|
||||
@@ -40,12 +44,13 @@ long_description Phalcon is an open source full stack framework for \
|
||||
expensive file stats and file reads that traditional \
|
||||
PHP frameworks employ.
|
||||
|
||||
homepage https://phalconphp.com
|
||||
homepage https://phalcon.io
|
||||
github.tarball_from archive
|
||||
dist_subdir php-phalcon
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
depends_lib-append port:${php}-psr
|
||||
depends_lib-append port:${php}-psr \
|
||||
port:pcre
|
||||
|
||||
# The build/install script makes all sorts of assumptions I don't like
|
||||
# so I'm ignoring it.
|
||||
@@ -66,3 +71,5 @@ if {${name} ne ${subport}} {
|
||||
|
||||
configure.args --enable-phalcon
|
||||
}
|
||||
|
||||
livecheck.type none
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup php 1.1
|
||||
|
||||
name php-phalcon5
|
||||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||||
license BSD
|
||||
|
||||
php.branches 7.4 8.0 8.1 8.2 8.3 8.4 8.5
|
||||
php.pecl yes
|
||||
php.pecl.name phalcon
|
||||
set pecl_homepage https://pecl.php.net/package/${php.pecl.name}
|
||||
|
||||
if {[vercmp ${php.branch} <= 7.4]} {
|
||||
conflicts-append ${php}-phalcon4
|
||||
}
|
||||
|
||||
patch.pre_args-replace -p0 -p1
|
||||
patchfiles patch_phalcon.zep.c.diff
|
||||
|
||||
if {[vercmp ${php.branch} >= 8.1]} {
|
||||
version 5.10.0
|
||||
distname ${php.pecl.name}-${version}
|
||||
revision 0
|
||||
checksums rmd160 50135439af97ad94cf17334a1cec9396bdf94eb1 \
|
||||
sha256 3b552ac17fae44512298f43ec47cd055679d40e8c74b782743021dce77859eb1 \
|
||||
size 981133
|
||||
} elseif {[vercmp ${php.branch} >= 8.0]} {
|
||||
version 5.8.0
|
||||
distname ${php.pecl.name}-${version}
|
||||
revision 0
|
||||
checksums rmd160 7431f619589c60426892ba9deff7eb7d1c78018b \
|
||||
sha256 d80b137763b790854c36555600a23b1aa054747efd0f29d8e1a0f0c5fa77f476 \
|
||||
size 967103
|
||||
} elseif {[vercmp ${php.branch} >= 7.4]} {
|
||||
version 5.4.0
|
||||
distname ${php.pecl.name}-${version}
|
||||
revision 0
|
||||
checksums rmd160 17e92cc6a21138081a6bdc84a8e2ab53756be7af \
|
||||
sha256 47810a0aaa20c1a3cf0a2d7babccfa1870fa0fc78d30cefd45ed808f89d47619 \
|
||||
size 966058
|
||||
}
|
||||
|
||||
description full stack PHP framework written as an extension
|
||||
|
||||
long_description Phalcon is an open source full stack framework for \
|
||||
PHP, written as a C-extension. Phalcon is optimized \
|
||||
for high performance. Its unique architecture allows \
|
||||
the framework to always be memory resident, offering \
|
||||
its functionality whenever it's needed, without \
|
||||
expensive file stats and file reads that traditional \
|
||||
PHP frameworks employ.
|
||||
|
||||
homepage https://phalcon.io
|
||||
dist_subdir php-phalcon
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
depends_lib-append port:${php}-psr \
|
||||
port:pcre
|
||||
|
||||
configure.args --enable-phalcon
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
[BUG]: Fails to compile on php 8.5
|
||||
https://github.com/phalcon/cphalcon/issues/16808
|
||||
|
||||
--- a/phalcon.zep.c 2026-02-27 14:16:05
|
||||
+++ b/phalcon.zep.c 2026-02-27 14:17:35
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <main/php_ini.h>
|
||||
#include <main/SAPI.h>
|
||||
#include <ext/standard/php_string.h>
|
||||
-#include <ext/standard/php_smart_string.h>
|
||||
+#include "Zend/zend_smart_string.h"
|
||||
#include <ext/standard/info.h>
|
||||
#include <ext/standard/file.h>
|
||||
#include <ext/standard/php_filestat.h>
|
||||
Reference in New Issue
Block a user