1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- PHP 5.2 slave port

PR:		145772
Submitted by:	Alex Keda
This commit is contained in:
Dirk Meyer 2010-04-23 15:53:34 +00:00
parent 9dc8b611a5
commit d111d16900
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253100
16 changed files with 157 additions and 0 deletions

View File

@ -110,6 +110,7 @@
SUBDIR += php5-iconv
SUBDIR += php5-mbstring
SUBDIR += php5-recode
SUBDIR += php52-iconv
SUBDIR += psiconv
SUBDIR += py-bsdconv
SUBDIR += py-cjkcodecs

View File

@ -2469,6 +2469,7 @@
SUBDIR += php5-sysvsem
SUBDIR += php5-sysvshm
SUBDIR += php5-tokenizer
SUBDIR += php52-gettext
SUBDIR += php52-pcre
SUBDIR += phpbt
SUBDIR += phptags

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-gettext
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -gettext
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,17 @@
--- config.m4.orig Tue Jul 27 23:58:02 2004
+++ config.m4 Tue Jul 27 23:59:44 2004
@@ -30,7 +30,6 @@
AC_MSG_ERROR(Unable to find required gettext library)
])
)
- LDFLAGS=$O_LDFLAGS
AC_DEFINE(HAVE_LIBINTL,1,[ ])
PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared)
@@ -46,5 +45,6 @@
AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dngettext, [AC_DEFINE(HAVE_DNGETTEXT, 1, [ ])])
AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])])
AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])])
+ LDFLAGS=$O_LDFLAGS
fi

View File

@ -84,6 +84,7 @@
SUBDIR += php5-curl
SUBDIR += php5-ftp
SUBDIR += php52-curl
SUBDIR += php52-ftp
SUBDIR += phpwebftp
SUBDIR += proftpd
SUBDIR += proftpd-devel

14
ftp/php52-ftp/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-ftp
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= ftp
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -ftp
.include "${MASTERDIR}/Makefile"

View File

@ -689,6 +689,7 @@
SUBDIR += php5-ffmpeg
SUBDIR += php5-gd
SUBDIR += php52-exif
SUBDIR += php52-gd
SUBDIR += phplot
SUBDIR += phpsview
SUBDIR += picpuz

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-gd
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -gd
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,11 @@
--- config.m4.orig Mon May 30 01:16:41 2005
+++ config.m4 Wed Dec 7 11:01:13 2005
@@ -220,7 +220,7 @@
],[
AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.])
],[
- -L$GD_T1_DIR/$PHP_LIBDIR
+ -L$GD_T1_DIR/$PHP_LIBDIR -lm
])
fi
])

View File

@ -0,0 +1,14 @@
--- libgd/gd_png.c.orig 2009-03-14 18:48:42.000000000 +0100
+++ libgd/gd_png.c 2010-04-05 19:54:05.000000000 +0200
@@ -139,7 +139,11 @@
return NULL;
}
+#if PNG_LIBPNG_VER >= 10400
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
+#else
if (!png_check_sig (sig, 8)) { /* bad signature */
+#endif
return NULL;
}

View File

@ -415,6 +415,7 @@
SUBDIR += php5-bcmath
SUBDIR += php5-gmp
SUBDIR += php52-bcmath
SUBDIR += php52-gmp
SUBDIR += physcalc
SUBDIR += plman
SUBDIR += ploticus

14
math/php52-gmp/Makefile Normal file
View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-gmp
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= math
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -gmp
.include "${MASTERDIR}/Makefile"

View File

@ -630,6 +630,7 @@
SUBDIR += php5-mcrypt
SUBDIR += php5-openssl
SUBDIR += php52-filter
SUBDIR += php52-hash
SUBDIR += phpdeadlock
SUBDIR += phpmyid
SUBDIR += phpsecinfo

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-filter
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -filter
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,25 @@
--- config.m4.orig 2009-03-06 08:25:45.000000000 +0100
+++ config.m4 2009-03-06 08:28:10.000000000 +0100
@@ -19,7 +19,7 @@
CPPFLAGS=$INCLUDES
AC_EGREP_CPP(yes,[
#include <main/php_config.h>
-#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
+#if defined(HAVE_BUNDLED_PCRE)
yes
#endif
],[
@@ -27,11 +27,12 @@
],[
AC_EGREP_CPP(yes,[
#include <main/php_config.h>
-#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
+#if defined(HAVE_PCRE)
yes
#endif
],[
PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
],[
PHP_PCRE_REGEX=no
])

View File

@ -0,0 +1,14 @@
# New ports collection makefile for: php52-hash
# Date created: 17 Apr 2010
# Whom: Alex Keda <admin@lissyara.su>
#
# $FreeBSD$
#
CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php52
PKGNAMESUFFIX= -hash
.include "${MASTERDIR}/Makefile"