diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 15:53:34 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 15:53:34 +0000 |
commit | d111d16900ba8617e77a050fb56ea2d7b8a8a356 (patch) | |
tree | b053a3cb6449405fccc081154e3eeb84812519fe | |
parent | - PHP 5.2 slave port (diff) |
- PHP 5.2 slave port
PR: 145772
Submitted by: Alex Keda
Notes
Notes:
svn path=/head/; revision=253100
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/php52-gettext/Makefile | 14 | ||||
-rw-r--r-- | devel/php52-gettext/files/patch-config.m4 | 17 | ||||
-rw-r--r-- | ftp/Makefile | 1 | ||||
-rw-r--r-- | ftp/php52-ftp/Makefile | 14 | ||||
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/php52-gd/Makefile | 14 | ||||
-rw-r--r-- | graphics/php52-gd/files/patch-config.m4 | 11 | ||||
-rw-r--r-- | graphics/php52-gd/files/patch-libgd_gd_png.c | 14 | ||||
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/php52-gmp/Makefile | 14 | ||||
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/php52-filter/Makefile | 14 | ||||
-rw-r--r-- | security/php52-filter/files/patch-config.m4 | 25 | ||||
-rw-r--r-- | security/php52-hash/Makefile | 14 |
16 files changed, 157 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index aa31106fbbf4..39e835f5ef98 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -110,6 +110,7 @@ SUBDIR += php5-iconv SUBDIR += php5-mbstring SUBDIR += php5-recode + SUBDIR += php52-iconv SUBDIR += psiconv SUBDIR += py-bsdconv SUBDIR += py-cjkcodecs diff --git a/devel/Makefile b/devel/Makefile index 9d9bd888c373..e43e303dfe72 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2469,6 +2469,7 @@ SUBDIR += php5-sysvsem SUBDIR += php5-sysvshm SUBDIR += php5-tokenizer + SUBDIR += php52-gettext SUBDIR += php52-pcre SUBDIR += phpbt SUBDIR += phptags diff --git a/devel/php52-gettext/Makefile b/devel/php52-gettext/Makefile new file mode 100644 index 000000000000..95e9e1b2183e --- /dev/null +++ b/devel/php52-gettext/Makefile @@ -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" diff --git a/devel/php52-gettext/files/patch-config.m4 b/devel/php52-gettext/files/patch-config.m4 new file mode 100644 index 000000000000..2b497d366574 --- /dev/null +++ b/devel/php52-gettext/files/patch-config.m4 @@ -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 diff --git a/ftp/Makefile b/ftp/Makefile index e76fdf1db261..6f2f069816ca 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -84,6 +84,7 @@ SUBDIR += php5-curl SUBDIR += php5-ftp SUBDIR += php52-curl + SUBDIR += php52-ftp SUBDIR += phpwebftp SUBDIR += proftpd SUBDIR += proftpd-devel diff --git a/ftp/php52-ftp/Makefile b/ftp/php52-ftp/Makefile new file mode 100644 index 000000000000..33330ea1b4e3 --- /dev/null +++ b/ftp/php52-ftp/Makefile @@ -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" diff --git a/graphics/Makefile b/graphics/Makefile index 42d9c3a5c5b4..6c84711881f2 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -689,6 +689,7 @@ SUBDIR += php5-ffmpeg SUBDIR += php5-gd SUBDIR += php52-exif + SUBDIR += php52-gd SUBDIR += phplot SUBDIR += phpsview SUBDIR += picpuz diff --git a/graphics/php52-gd/Makefile b/graphics/php52-gd/Makefile new file mode 100644 index 000000000000..5257868d44c7 --- /dev/null +++ b/graphics/php52-gd/Makefile @@ -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" diff --git a/graphics/php52-gd/files/patch-config.m4 b/graphics/php52-gd/files/patch-config.m4 new file mode 100644 index 000000000000..03b69a1c248a --- /dev/null +++ b/graphics/php52-gd/files/patch-config.m4 @@ -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 + ]) diff --git a/graphics/php52-gd/files/patch-libgd_gd_png.c b/graphics/php52-gd/files/patch-libgd_gd_png.c new file mode 100644 index 000000000000..95934bfc5089 --- /dev/null +++ b/graphics/php52-gd/files/patch-libgd_gd_png.c @@ -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; + } + diff --git a/math/Makefile b/math/Makefile index b2c3962f3b03..05cba0f13a76 100644 --- a/math/Makefile +++ b/math/Makefile @@ -415,6 +415,7 @@ SUBDIR += php5-bcmath SUBDIR += php5-gmp SUBDIR += php52-bcmath + SUBDIR += php52-gmp SUBDIR += physcalc SUBDIR += plman SUBDIR += ploticus diff --git a/math/php52-gmp/Makefile b/math/php52-gmp/Makefile new file mode 100644 index 000000000000..d48e2865920f --- /dev/null +++ b/math/php52-gmp/Makefile @@ -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" diff --git a/security/Makefile b/security/Makefile index eea17b753e84..74c5161ff19e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -630,6 +630,7 @@ SUBDIR += php5-mcrypt SUBDIR += php5-openssl SUBDIR += php52-filter + SUBDIR += php52-hash SUBDIR += phpdeadlock SUBDIR += phpmyid SUBDIR += phpsecinfo diff --git a/security/php52-filter/Makefile b/security/php52-filter/Makefile new file mode 100644 index 000000000000..42a02c2e1012 --- /dev/null +++ b/security/php52-filter/Makefile @@ -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" diff --git a/security/php52-filter/files/patch-config.m4 b/security/php52-filter/files/patch-config.m4 new file mode 100644 index 000000000000..91aebe515ded --- /dev/null +++ b/security/php52-filter/files/patch-config.m4 @@ -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 + ]) diff --git a/security/php52-hash/Makefile b/security/php52-hash/Makefile new file mode 100644 index 000000000000..11f6a504d6b3 --- /dev/null +++ b/security/php52-hash/Makefile @@ -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" |