Skip to content

Commit a4534fa

Browse files
Ayeshpetk
authored andcommitted
ext/openssl: Remove kerberos support
Co-authored-by: Peter Kokot <[email protected]>
1 parent 3de3e13 commit a4534fa

File tree

12 files changed

+3
-31
lines changed

12 files changed

+3
-31
lines changed

.circleci/config.yml

-3
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
libsqlite3-dev \
5454
libwebp-dev \
5555
libonig-dev \
56-
libkrb5-dev \
57-
libgssapi-krb5-2 \
5856
libcurl4-openssl-dev \
5957
libxml2-dev \
6058
libxslt1-dev \
@@ -128,7 +126,6 @@ jobs:
128126
--enable-calendar \
129127
--enable-ftp \
130128
--with-enchant=/usr \
131-
--with-kerberos \
132129
--enable-sysvmsg \
133130
--with-ffi \
134131
--enable-zend-test \

.cirrus.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ freebsd_task:
1111
#- sed -i -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
1212
#- pkg upgrade -y
1313
- kldload accf_http
14-
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 krb5 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
14+
- pkg install -y autoconf bison gmake re2c icu libiconv png freetype2 enchant2 bzip2 t1lib gmp tidyp libsodium libzip libxml2 libxslt openssl oniguruma pkgconf webp libavif
1515
script:
1616
- ./buildconf -f
17-
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-kerberos --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
17+
- ./configure --prefix=/usr/local --enable-debug --enable-option-checking=fatal --enable-fpm --with-pdo-sqlite --without-pear --with-bz2 --with-avif --with-jpeg --with-webp --with-freetype --enable-gd --enable-exif --with-zip --with-zlib --enable-soap --enable-xmlreader --with-xsl --with-libxml --enable-shmop --enable-pcntl --enable-mbstring --with-curl --enable-sockets --with-openssl --with-iconv=/usr/local --enable-bcmath --enable-calendar --enable-ftp --with-ffi --enable-zend-test --enable-dl-test=shared --enable-intl --with-mhash --with-sodium --enable-werror --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
1818
- gmake -j2
1919
- mkdir /etc/php.d
2020
- gmake install

.github/actions/apt-x32/action.yml

-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ runs:
2323
libffi-dev:i386 \
2424
libfreetype6-dev:i386 \
2525
libgmp-dev:i386 \
26-
libgssapi-krb5-2:i386 \
2726
libicu-dev:i386 \
2827
libjpeg-dev:i386 \
29-
libkrb5-dev:i386 \
3028
libonig-dev:i386 \
3129
libpng-dev:i386 \
3230
libpq-dev:i386 \

.github/actions/apt-x64/action.yml

-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ runs:
4040
libsqlite3-mod-spatialite \
4141
libwebp-dev \
4242
libonig-dev \
43-
libkrb5-dev \
44-
libgssapi-krb5-2 \
4543
libcurl4-openssl-dev \
4644
libxml2-dev \
4745
libxslt1-dev \

.github/actions/brew/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ runs:
1919
brew install \
2020
2121
curl \
22-
krb5 \
2322
bzip2 \
2423
enchant \
2524
libffi \

.github/actions/configure-macos/action.yml

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ runs:
1313
export PATH="$BREW_OPT/bison/bin:$PATH"
1414
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/[email protected]/lib/pkgconfig"
1515
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/curl/lib/pkgconfig"
16-
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/krb5/lib/pkgconfig"
1716
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libffi/lib/pkgconfig"
1817
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxml2/lib/pkgconfig"
1918
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$BREW_OPT/libxslt/lib/pkgconfig"
@@ -58,7 +57,6 @@ runs:
5857
--enable-bcmath \
5958
--enable-calendar \
6059
--enable-ftp \
61-
--with-kerberos \
6260
--enable-sysvmsg \
6361
--with-ffi \
6462
--enable-zend-test \

.github/actions/configure-x32/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ runs:
5454
--enable-bcmath \
5555
--enable-calendar \
5656
--enable-ftp \
57-
--with-kerberos \
5857
--enable-sysvmsg \
5958
--with-ffi \
6059
--enable-zend-test \

.github/actions/configure-x64/action.yml

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ runs:
5353
--enable-calendar \
5454
--enable-ftp \
5555
${{ inputs.skipSlow == 'false' && '--with-enchant=/usr' || '' }} \
56-
--with-kerberos \
5756
--enable-sysvmsg \
5857
--with-ffi \
5958
--enable-zend-test \

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ addons:
1919
- libgmp-dev
2020
- libicu-dev
2121
- libjpeg-dev
22-
- libkrb5-dev
2322
- libonig-dev
2423
- libpng-dev
2524
- libpq-dev

UPGRADING.INTERNALS

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
9797
- The configure option --with-imap-ssl has been removed.
9898
- The configure option --with-oci8 has been removed.
9999
- The configure option --with-zlib-dir has been removed.
100+
- The configure option --with-kerberos has been removed.
100101
- COOKIE_IO_FUNCTIONS_T symbol has been removed (use cookie_io_functions_t).
101102
- HAVE_SOCKADDR_UN_SUN_LEN symbol renamed to HAVE_STRUCT_SOCKADDR_UN_SUN_LEN.
102103
- HAVE_UTSNAME_DOMAINNAME symbol renamed to HAVE_STRUCT_UTSNAME_DOMAINNAME.

ext/openssl/config0.m4

-15
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ PHP_ARG_WITH([openssl],
33
[AS_HELP_STRING([--with-openssl],
44
[Include OpenSSL support (requires OpenSSL >= 1.1.1)])])
55

6-
PHP_ARG_WITH([kerberos],
7-
[for Kerberos support],
8-
[AS_HELP_STRING([--with-kerberos],
9-
[OPENSSL: Include Kerberos support])],
10-
[no],
11-
[no])
12-
136
PHP_ARG_WITH([system-ciphers],
147
[whether to use system default cipher list instead of hardcoded value],
158
[AS_HELP_STRING([--with-system-ciphers],
@@ -20,14 +13,6 @@ PHP_ARG_WITH([system-ciphers],
2013
if test "$PHP_OPENSSL" != "no"; then
2114
PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_shared)
2215
PHP_SUBST(OPENSSL_SHARED_LIBADD)
23-
24-
if test "$PHP_KERBEROS" != "no"; then
25-
PKG_CHECK_MODULES([KERBEROS], [krb5-gssapi krb5])
26-
27-
PHP_EVAL_INCLINE($KERBEROS_CFLAGS)
28-
PHP_EVAL_LIBLINE($KERBEROS_LIBS, OPENSSL_SHARED_LIBADD)
29-
fi
30-
3116
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
3217
[
3318
AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])

travis/compile.sh

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ $S390X_CONFIG \
6161
--enable-calendar \
6262
--enable-ftp \
6363
--with-enchant=/usr \
64-
--with-kerberos \
6564
--enable-sysvmsg \
6665
--with-ffi \
6766
--with-sodium \

0 commit comments

Comments
 (0)