2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_MAINTAINER
:=Michael Heimpold
<mhei@heimpold.de
>
14 PKG_LICENSE_FILES
:=LICENSE
15 PKG_CPE_ID
:=cpe
:/a
:php
:php
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
18 PKG_SOURCE_URL
:=http
://www.php.net
/distributions
/
19 PKG_HASH
:=04c065515bc347bc68e0bb1ac7182669a98a731e4a17727e5731650ad3d8de4c
33 mbstring mysqli mysqlnd \
35 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql phar \
36 session shmop simplexml snmp soap sockets sqlite3 sysvmsg sysvsem sysvshm \
38 xml xmlreader xmlwriter \
41 PKG_CONFIG_DEPENDS
:= \
42 $(patsubst %,CONFIG_PACKAGE_php8-mod-
%,$(PHP8_MODULES
)) \
43 CONFIG_PHP8_LIBXML CONFIG_PHP8_SYSTEMTZDATA CONFIG_PACKAGE_apache-mod-php8
45 include $(INCLUDE_DIR
)/package.mk
46 include $(INCLUDE_DIR
)/nls.mk
48 define Package
/php8
/Default
52 TITLE
:=PHP8 Hypertext preprocessor
53 URL
:=http
://www.php.net
/
57 define Package
/php8
/Default
/description
58 PHP is a widely-used general-purpose scripting language that is especially
59 suited for Web development and can be embedded into HTML.
62 define Package
/php8
/config
64 bool
"PHP8 LIBXML support"
65 depends on PACKAGE_php8-cli || PACKAGE_php8-cgi
67 config PHP8_SYSTEMTZDATA
68 bool
"Use system timezone data instead of php's built-in database"
69 depends on PACKAGE_php8-cli || PACKAGE_php8-cgi || PACKAGE_apache-mod-php8
72 Enabling this feature automatically selects the zoneinfo-core package
73 which contains data for UTC timezone. To use other timezones you have
74 to
install the corresponding zoneinfo-... package
(s
).
78 $(call Package
/php8
/Default
)
80 DEPENDS
:=+libpcre2
+zlib \
81 +PHP8_LIBXML
:libxml2 \
82 +PHP8_SYSTEMTZDATA
:zoneinfo-core
86 define Package
/php8
/description
87 $(call Package
/php8
/Default
/description
)
88 This package contains only the PHP config file. You must actually choose
89 your PHP flavour
(cli
, cgi or fastcgi
).
91 Please note
, that installing php5 and php8 in parallel on the same target
92 is not supported in OpenWrt
/LEDE.
95 define Package
/php8-cli
96 $(call Package
/php8
/Default
)
97 DEPENDS
+= +PACKAGE_php8-mod-intl
:libstdcpp
101 define Package
/php8-cli
/description
102 $(call Package
/php8
/Default
/description
)
103 This package contains the CLI version of the PHP8 interpreter.
106 define Package
/php8-cgi
107 $(call Package
/php8
/Default
)
108 DEPENDS
+= +PACKAGE_php8-mod-intl
:libstdcpp
109 TITLE
+= (CGI
& FastCGI
)
112 define Package
/php8-cgi
/description
113 $(call Package
/php8
/Default
/description
)
114 This package contains the CGI version of the PHP8 interpreter.
117 define Package
/php8-fastcgi
118 $(call Package
/php8
/Default
)
120 TITLE
:=FastCGI startup script
123 define Package
/php8-fastcgi
/description
124 As FastCGI support is now a core feature the php8-fastcgi package now depends
125 on the php8-cgi package
, containing just the startup script.
128 define Package
/php8-fpm
129 $(call Package
/php8
/Default
)
130 DEPENDS
+= +PACKAGE_php8-mod-intl
:libstdcpp
134 define Package
/php8-fpm
/description
135 $(call Package
/php8
/Default
/description
)
136 This package contains the FastCGI Process Manager of the PHP8 interpreter.
139 define Package
/php8-mod-intl
/config
140 config PHP8_FULLICUDATA
141 bool
"Add dependency to full ICU Data"
142 depends on PACKAGE_php8-mod-intl
146 define Package
/php8-mod-intl
/description
147 Note that this package depends in ICU library which is built without data
148 by default. This is to satisfy programs build and run dependencies but to
149 keep the installed footprint small on the target system
(s
).
150 However
, the data is required to make the ICU library useful
- and thus
151 directly affects PHPs ICU extension
, too
- so consider to also
152 select
/install package
'icu-full-data'.
155 define Package
/apache-mod-php8
156 $(call Package
/php8
/Default
)
157 SUBMENU
:=Web Servers
/Proxies
160 DEPENDS
+=PACKAGE_apache-mod-php8
:apache \
161 +PACKAGE_php8-mod-intl
:libstdcpp \
163 TITLE
:=PHP8 module for Apache Web Server
166 define Package
/apache-mod-php8
/description
167 $(call Package
/php8
/Default
/description
)
168 This package contains the PHP module for the Apache Web Server.
171 # not everything groks --disable-nls
186 --with-config-file-path
=/etc \
187 --with-config-file-scan-dir
=/etc
/php8 \
188 --disable-short-tags \
191 --with-external-pcre \
192 --with-zlib
="$(STAGING_DIR)/usr"
194 ifeq ($(CONFIG_LIBC_USE_GLIBC
),y
)
195 TARGET_LDFLAGS
+= -ldl
198 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-bcmath
),)
199 CONFIGURE_ARGS
+= --enable-bcmath
=shared
201 CONFIGURE_ARGS
+= --disable-bcmath
204 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-calendar
),)
205 CONFIGURE_ARGS
+= --enable-calendar
=shared
207 CONFIGURE_ARGS
+= --disable-calendar
210 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-ctype
),)
211 CONFIGURE_ARGS
+= --enable-ctype
=shared
213 CONFIGURE_ARGS
+= --disable-ctype
216 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-curl
),)
217 CONFIGURE_ARGS
+= --with-curl
=shared
219 CONFIGURE_ARGS
+= --without-curl
222 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-dom
),)
223 CONFIGURE_ARGS
+= --enable-dom
=shared
225 CONFIGURE_ARGS
+= --disable-dom
228 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-exif
),)
229 CONFIGURE_ARGS
+= --enable-exif
=shared
231 CONFIGURE_ARGS
+= --disable-exif
234 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-fileinfo
),)
235 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
,"$(STAGING_DIR)/usr"
237 CONFIGURE_ARGS
+= --disable-fileinfo
240 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-filter
),)
241 CONFIGURE_ARGS
+= --enable-filter
=shared
,"$(STAGING_DIR)/usr"
243 CONFIGURE_ARGS
+= --disable-filter
246 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-ftp
),)
247 CONFIGURE_ARGS
+= --enable-ftp
=shared
249 CONFIGURE_ARGS
+= --disable-ftp
252 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-gd
),)
254 --enable-gd
=shared
,"$(STAGING_DIR)/usr" \
257 CONFIGURE_ARGS
+= --disable-gd
260 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-gettext
),)
261 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
263 CONFIGURE_ARGS
+= --without-gettext
266 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-gmp
),)
267 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
269 CONFIGURE_ARGS
+= --without-gmp
272 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-iconv
),)
273 ifeq ($(CONFIG_BUILD_NLS
),y
)
274 CONFIGURE_VARS
+= iconv_impl_name
="gnu_libiconv"
275 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
277 CONFIGURE_VARS
+= ac_cv_func_iconv
=yes
278 CONFIGURE_ARGS
+= --with-iconv
=shared
281 CONFIGURE_ARGS
+= --without-iconv
284 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-imap
),)
286 --with-imap
=shared
,"$(STAGING_DIR)/usr" \
288 --with-imap-ssl
="$(STAGING_DIR)/usr"
290 CONFIGURE_ARGS
+= --without-imap
293 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-intl
),)
294 CONFIGURE_ARGS
+= --enable-intl
=shared
295 TARGET_CXXFLAGS
+= -std
=c
++0x
297 CONFIGURE_ARGS
+= --disable-intl
300 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-ldap
),)
302 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
305 CONFIGURE_ARGS
+= --without-ldap
308 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-mbstring
),)
310 --enable-mbstring
=shared \
313 CONFIGURE_ARGS
+= --disable-mbstring
316 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-mysqli
),)
317 CONFIGURE_ARGS
+= --with-mysqli
=shared
319 CONFIGURE_ARGS
+= --without-mysqli
322 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-mysqlnd
),)
323 CONFIGURE_ARGS
+= --enable-mysqlnd
=shared
325 CONFIGURE_ARGS
+= --disable-mysqlnd
328 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-opcache
),)
329 CONFIGURE_ARGS
+= --enable-opcache
=shared
331 CONFIGURE_ARGS
+= --disable-opcache
334 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-openssl
)$(CONFIG_PACKAGE_php8-mod-ftp
)$(CONFIG_PACKAGE_php8-mod-imap
)$(CONFIG_PACKAGE_php8-mod-snmp
),)
336 --with-openssl
=shared \
338 --with-openssl-dir
="$(STAGING_DIR)/usr"
340 CONFIGURE_ARGS
+= --without-openssl
343 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pcntl
),)
344 CONFIGURE_ARGS
+= --enable-pcntl
=shared
346 CONFIGURE_ARGS
+= --disable-pcntl
349 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pdo
),)
350 CONFIGURE_ARGS
+= --enable-pdo
=shared
351 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pdo-mysql
),)
352 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
354 CONFIGURE_ARGS
+= --without-pdo-mysql
356 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pdo-pgsql
),)
357 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
359 CONFIGURE_ARGS
+= --without-pdo-pgsql
361 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pdo-sqlite
),)
362 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
364 CONFIGURE_ARGS
+= --without-pdo-sqlite
367 CONFIGURE_ARGS
+= --disable-pdo
370 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-pgsql
),)
371 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
373 CONFIGURE_ARGS
+= --without-pgsql
376 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-phar
),)
377 CONFIGURE_ARGS
+= --enable-phar
=shared
379 CONFIGURE_ARGS
+= --disable-phar
382 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-session
),)
383 CONFIGURE_ARGS
+= --enable-session
=shared
385 CONFIGURE_ARGS
+= --disable-session
388 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-shmop
),)
389 CONFIGURE_ARGS
+= --enable-shmop
=shared
391 CONFIGURE_ARGS
+= --disable-shmop
394 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-simplexml
),)
395 CONFIGURE_ARGS
+= --enable-simplexml
=shared
397 CONFIGURE_ARGS
+= --disable-simplexml
400 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-snmp
),)
401 CONFIGURE_ARGS
+= --with-snmp
=shared
,"$(STAGING_DIR)/usr"
403 CONFIGURE_ARGS
+= --without-snmp
406 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-soap
),)
407 CONFIGURE_ARGS
+= --enable-soap
=shared
409 CONFIGURE_ARGS
+= --disable-soap
412 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-sockets
),)
413 CONFIGURE_ARGS
+= --enable-sockets
=shared
415 CONFIGURE_ARGS
+= --disable-sockets
418 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-sqlite3
),)
419 CONFIGURE_ARGS
+= --with-sqlite3
=shared
421 CONFIGURE_ARGS
+= --without-sqlite3
424 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-sysvmsg
),)
425 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
427 CONFIGURE_ARGS
+= --disable-sysvmsg
430 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-sysvsem
),)
431 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
433 CONFIGURE_ARGS
+= --disable-sysvsem
436 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-sysvshm
),)
437 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
439 CONFIGURE_ARGS
+= --disable-sysvshm
442 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-tokenizer
),)
443 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
445 CONFIGURE_ARGS
+= --disable-tokenizer
448 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-xml
),)
449 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
450 ifneq ($(CONFIG_PHP8_LIBXML
),y
)
451 CONFIGURE_ARGS
+= --with-expat
454 CONFIGURE_ARGS
+= --disable-xml
457 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-xmlreader
),)
458 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
460 CONFIGURE_ARGS
+= --disable-xmlreader
463 ifneq ($(SDK
)$(CONFIG_PACKAGE_php8-mod-xmlwriter
),)
464 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
466 CONFIGURE_ARGS
+= --disable-xmlwriter
469 ifneq ($(CONFIG_PACKAGE_php8-mod-zip
),)
470 CONFIGURE_ARGS
+= --with-zip
=shared
,"$(STAGING_DIR)/usr"
472 CONFIGURE_ARGS
+= --without-zip
475 ifneq ($(SDK
)$(CONFIG_PHP8_LIBXML
),)
476 CONFIGURE_ARGS
+= --with-libxml
478 CONFIGURE_ARGS
+= --without-libxml
481 ifneq ($(CONFIG_PHP8_SYSTEMTZDATA
),)
482 CONFIGURE_ARGS
+= --with-system-tzdata
484 CONFIGURE_ARGS
+= --without-system-tzdata
487 ifneq ($(CONFIG_PACKAGE_apache-mod-php8
),)
488 CONFIGURE_ARGS
+= --with-apxs2
=$(STAGING_DIR
)/usr
/bin
/apxs
492 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
493 php_cv_cc_rpath
="no" \
494 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
495 ac_cv_u8t_decompose
=yes \
496 ac_cv_have_pcre2_jit
=no
498 define Package
/php8
/conffiles
503 define Package
/php8
/install
504 $(INSTALL_DIR
) $(1)/etc
505 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
508 define Package
/php8-cli
/install
509 $(INSTALL_DIR
) $(1)/usr
/bin
510 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php8-cli
511 ln
-sf php8-cli
$(1)/usr
/bin
/php-cli
514 define Package
/php8-cgi
/install
515 $(INSTALL_DIR
) $(1)/usr
/bin
516 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php8-cgi
517 ln
-sf php8-cgi
$(1)/usr
/bin
/php-cgi
518 ln
-sf php8-cgi
$(1)/usr
/bin
/php8-fcgi
521 define Package
/php8-fastcgi
/install
522 $(INSTALL_DIR
) $(1)/etc
/config
523 $(INSTALL_DATA
) .
/files
/php8-fastcgi.config
$(1)/etc
/config
/php8-fastcgi
525 $(INSTALL_DIR
) $(1)/etc
/init.d
526 $(INSTALL_BIN
) .
/files
/php8-fastcgi.init
$(1)/etc
/init.d
/php8-fastcgi
529 define Package
/php8-fastcgi
/conffiles
530 /etc
/config
/php8-fastcgi
533 define Package
/php8-fpm
/install
534 $(INSTALL_DIR
) $(1)/usr
/bin
535 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php8-fpm
537 $(INSTALL_DIR
) $(1)/etc
538 $(INSTALL_DATA
) .
/files
/php8-fpm.conf
$(1)/etc
/php8-fpm.conf
540 $(INSTALL_DIR
) $(1)/etc
/config
541 $(INSTALL_DATA
) .
/files
/php8-fpm.config
$(1)/etc
/config
/php8-fpm
543 $(INSTALL_DIR
) $(1)/etc
/php8-fpm.d
544 $(INSTALL_DATA
) .
/files
/php8-fpm-www.conf
$(1)/etc
/php8-fpm.d
/www.conf
546 $(INSTALL_DIR
) $(1)/etc
/init.d
547 $(INSTALL_BIN
) .
/files
/php8-fpm.init
$(1)/etc
/init.d
/php8-fpm
550 define Package
/php8-fpm
/conffiles
556 define Package
/apache-mod-php8
/install
557 $(INSTALL_DIR
) $(1)/usr
/lib
/apache2
558 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/libs
/libphp.so
$(1)/usr
/lib
/apache2
562 $(call Build
/Prepare
/Default
)
563 $(if
$(QUILT
),,( cd
$(PKG_BUILD_DIR
); touch configure.ac
; .
/buildconf
--force ))
566 define Build
/Configure
567 $(if
$(QUILT
),( cd
$(PKG_BUILD_DIR
); touch configure.ac
; .
/buildconf
--force ))
568 $(call Build
/Configure
/Default
)
571 define Build
/InstallDev
572 rm -rf
$(PKG_BUILD_DIR
)/staging
573 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
574 rm -rf
$(PKG_BUILD_DIR
)/staging
/usr
/{share
,man
,sbin
}
575 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/{php
,php-cgi
,php-cli
}
576 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize8
577 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php-config
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php8-config
578 mv
$(PKG_BUILD_DIR
)/staging
/usr
/include/php
$(PKG_BUILD_DIR
)/staging
/usr
/include/php8
579 mv
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php8
581 $(CP
) $(PKG_BUILD_DIR
)/staging
/usr
$(STAGING_DIR
)/
583 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize8
584 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize8
585 sed
-i
-e
"s#/include\`/php\"#/include\`/php8\"#" $(STAGING_DIR
)/usr
/bin
/phpize8
586 sed
-i
-e
"s#/lib/php\`/build\"#/lib/php8\`/build\"#" $(STAGING_DIR
)/usr
/bin
/phpize8
588 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR
)/usr
/bin
/php8-config
589 sed
-i
-e
"s#/include/php\"#/include/php8\"#" $(STAGING_DIR
)/usr
/bin
/php8-config
594 define Package
/php8-mod-
$(1)
595 $(call Package
/php8
/Default
)
601 TITLE
:=$(2) shared module
604 define Package
/php8-mod-
$(1)/install
605 $(INSTALL_DIR
) $$(1)/usr
/lib
/php8
606 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php8
/
607 $(INSTALL_DIR
) $$(1)/etc
/php8
609 echo
"zend_extension=/usr/lib/php8/$(subst -,_,$(1)).so" > $$(1)/etc
/php8
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
611 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php8
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
615 $$(eval
$$(call BuildPackage
,php8-mod-
$(1)))
619 $(eval
$(call BuildPackage
,php8
))
620 $(eval
$(call BuildPackage
,php8-cgi
))
621 $(eval
$(call BuildPackage
,php8-cli
))
622 $(eval
$(call BuildPackage
,php8-fastcgi
))
623 $(eval
$(call BuildPackage
,php8-fpm
))
624 $(eval
$(call BuildPackage
,apache-mod-php8
))
626 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
627 $(eval
$(call BuildModule
,bcmath
,Bcmath
))
628 $(eval
$(call BuildModule
,calendar
,Calendar
))
629 $(eval
$(call BuildModule
,ctype
,Ctype
))
630 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php8-mod-curl
:libcurl
))
631 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP8_LIBXML
+PACKAGE_php8-mod-dom
:libxml2
))
632 $(eval
$(call BuildModule
,exif
,EXIF
))
633 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
634 $(eval
$(call BuildModule
,filter,Filter
))
635 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php8-mod-ftp
:libopenssl
))
636 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php8-mod-gd
:libgd-full
))
637 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php8-mod-gettext
:libintl-full
))
638 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php8-mod-gmp
:libgmp
))
639 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
640 $(eval
$(call BuildModule
,imap
,IMAP
,+PACKAGE_php8-mod-imap
:libopenssl
+PACKAGE_libpam
:libpam
+PACKAGE_php8-mod-imap
:uw-imap
))
641 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php8-mod-intl
:icu
+PHP8_FULLICUDATA
:icu-full-data
))
642 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php8-mod-ldap
:libopenldap
+PACKAGE_php8-mod-ldap
:libsasl2
))
643 $(eval
$(call BuildModule
,mbstring
,MBString
,+PACKAGE_php8-mod-mbstring
:oniguruma
))
644 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php8-mod-mysqli
:php8-mod-mysqlnd
,30))
645 $(eval
$(call BuildModule
,mysqlnd
,MySQL Native Driver
,+PACKAGE_php8-mod-openssl
:php8-mod-openssl
))
646 $(eval
$(call BuildModule
,opcache
,OPcache
,,,zend
))
647 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php8-mod-openssl
:libopenssl
,15))
648 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
649 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
650 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php8-mod-pdo
+PACKAGE_php8-mod-pdo-mysql
:php8-mod-mysqlnd
))
651 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php8-mod-pdo
+PACKAGE_php8-mod-pdo-pgsql
:libpq
))
652 $(eval
$(call BuildModule
,pdo-sqlite
,PDO driver for SQLite
3.x
,+php8-mod-pdo
+PACKAGE_php8-mod-pdo-sqlite
:libsqlite3
+PACKAGE_php8-mod-pdo-sqlite
:librt
))
653 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php8-mod-pgsql
:libpq
))
654 $(eval
$(call BuildModule
,phar
,Phar Archives
))
655 $(eval
$(call BuildModule
,session
,Session
))
656 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
657 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP8_LIBXML
+PACKAGE_php8-mod-simplexml
:libxml2
))
658 $(eval
$(call BuildModule
,snmp
,SNMP
,+PACKAGE_php8-mod-snmp
:libnetsnmp
+PACKAGE_php8-mod-snmp
:libopenssl
))
659 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP8_LIBXML
+PACKAGE_php8-mod-soap
:libxml2
))
660 $(eval
$(call BuildModule
,sockets
,Sockets
))
661 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php8-mod-sqlite3
:libsqlite3
))
662 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
663 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
664 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
665 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
666 $(eval
$(call BuildModule
,xml
,XML
,+PHP8_LIBXML
:libxml2
+!PHP8_LIBXML
:libexpat
))
667 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP8_LIBXML
+PACKAGE_php8-mod-dom
:php8-mod-dom
+PACKAGE_php8-mod-xmlreader
:libxml2
))
668 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP8_LIBXML
+PACKAGE_php8-mod-xmlwriter
:libxml2
))
669 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php8-mod-zip
:libzip
))