aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 00:09:05 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 00:09:05 +0000
commitcc10554c7c559a4b314c14eb57f6653092e321c2 (patch)
treedf7a68022466abcd29b4f8174acf62626d01d1e8 /community
parent62cffe0201561fafc7378c08e85bd3eaa6322395 (diff)
downloadaports-cc10554c7c559a4b314c14eb57f6653092e321c2.tar.bz2
aports-cc10554c7c559a4b314c14eb57f6653092e321c2.tar.xz
community: purge non-core php5 extensions
Diffstat (limited to 'community')
-rw-r--r--community/php5-apcu/APKBUILD39
-rw-r--r--community/php5-imagick/APKBUILD41
-rw-r--r--community/php5-mailparse/APKBUILD38
-rw-r--r--community/php5-memcache/APKBUILD53
-rw-r--r--community/php5-memcache/memcache-faulty-inline.patch141
-rw-r--r--community/php5-pear-auth_sasl/APKBUILD30
-rw-r--r--community/php5-pear-auth_sasl2/APKBUILD30
-rw-r--r--community/php5-pear-mail_mime/APKBUILD34
-rw-r--r--community/php5-pear-mdb2/APKBUILD66
-rw-r--r--community/php5-pear-net_idna2/APKBUILD34
-rw-r--r--community/php5-pear-net_smtp/APKBUILD29
-rw-r--r--community/php5-pear-net_socket/APKBUILD25
-rw-r--r--community/php5-phalcon/APKBUILD42
-rw-r--r--community/php5-phpmailer/APKBUILD31
-rw-r--r--community/php5-xcache/APKBUILD56
-rw-r--r--community/php5-xcache/xcache.ini3
16 files changed, 0 insertions, 692 deletions
diff --git a/community/php5-apcu/APKBUILD b/community/php5-apcu/APKBUILD
deleted file mode 100644
index 4059d7cc49..0000000000
--- a/community/php5-apcu/APKBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
-_php=php5
-pkgname=${_php}-apcu
-_pkgreal=apcu
-# release 5 is php7+
-pkgver=4.0.11
-_pkgver=${pkgver/_rc/RC}
-pkgrel=1
-pkgdesc="PHP extension APC User Cache"
-url="http://pecl.php.net/package/$_pkgreal"
-arch="all"
-license="PHP"
-depends=
-pecldepends="${_php}-dev autoconf"
-makedepends="$pecldepends pcre-dev"
-install=""
-subpackages=""
-source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
-
-_builddir="$srcdir"/$_pkgreal-$_pkgver
-
-build() {
- cd "$_builddir"
- phpize || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make INSTALL_ROOT="$pkgdir"/ install || return 1
- install -d "$pkgdir"/etc/$_php/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/$_php/conf.d/$_pkgreal.ini
-}
-
-md5sums="13c0c0dd676e5a7905d54fa985d0ee62 apcu-4.0.11.tgz"
-sha256sums="454f302ec13a6047ca4c39e081217ce5a61bbea815aec9c1091fb849e70b4d00 apcu-4.0.11.tgz"
-sha512sums="e3b97066240e33850419e96f0fd9df0e66ee3b0fa238c418e07ac639d07439e9edfa1696e56a620e33f1ffc0993c57bde585b0c170b22995e7d5c0ae550b7899 apcu-4.0.11.tgz"
diff --git a/community/php5-imagick/APKBUILD b/community/php5-imagick/APKBUILD
deleted file mode 100644
index 0f013116b6..0000000000
--- a/community/php5-imagick/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Valery Kartel <valery.kartel@gmail.com>
-_php=php5
-pkgname=${_php}-imagick
-_pkgreal=imagick
-pkgver=3.4.2
-pkgrel=2
-pkgdesc="PHP bindings to the ImageMagick library."
-url="http://pecl.php.net/package/imagick"
-arch="all"
-license="PHP"
-depends=
-pecldepends="${_php}-dev autoconf"
-makedepends="$pecldepends imagemagick-dev libtool"
-install=""
-subpackages=""
-source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
-
-_builddir="$srcdir"/$_pkgreal-$pkgver
-prepare() {
- cd "$_builddir"
- phpize || return 1
-}
-
-build() {
- cd "$_builddir"
- ./configure --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make INSTALL_ROOT="$pkgdir/" install || return 1
- install -d "$pkgdir"/etc/$_php/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/$_php/conf.d/$_pkgreal.ini
- [ -d "$pkgdir"/usr/include ] && rm -fr "$pkgdir"/usr/include
-}
-
-md5sums="3f80e35c2434636cdb5df01b221b3ffa imagick-3.4.2.tgz"
-sha256sums="8e16b7bc6cf6567f4b4c4ac7294cbf650fe050a848c6a7ba6e2bee02097ab4a8 imagick-3.4.2.tgz"
-sha512sums="5e7cf495f4d6377a54b207b3fa14a5b2cff9d89dbe9c17b88c66102138ff9f485a34669138cf7903c5b54eb9d5d49f6fa2629216c487e56dc6b1e6c5c68ac1d2 imagick-3.4.2.tgz"
diff --git a/community/php5-mailparse/APKBUILD b/community/php5-mailparse/APKBUILD
deleted file mode 100644
index b2e3483d8f..0000000000
--- a/community/php5-mailparse/APKBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_php=php5
-pkgname=${_php}-mailparse
-_pkgreal=mailparse
-pkgver=2.1.6
-_pkgver=${pkgver/_rc/RC}
-pkgrel=2
-pkgdesc="PHP extension for email message manipulation"
-url="http://pecl.php.net/package/$_pkgreal"
-arch="all"
-license="PHP"
-depends=
-pecldepends="${_php}-dev autoconf"
-makedepends="$pecldepends"
-install=""
-subpackages=""
-source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
-
-_builddir="$srcdir"/$_pkgreal-$_pkgver
-
-build() {
- cd "$_builddir"
- phpize || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make INSTALL_ROOT="$pkgdir"/ install || return 1
- install -d "$pkgdir"/etc/php/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
-}
-
-md5sums="0f84e1da1d074a4915a9bcfe2319ce84 mailparse-2.1.6.tgz"
-sha256sums="73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc mailparse-2.1.6.tgz"
-sha512sums="a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 mailparse-2.1.6.tgz"
diff --git a/community/php5-memcache/APKBUILD b/community/php5-memcache/APKBUILD
deleted file mode 100644
index 1a8bc874ea..0000000000
--- a/community/php5-memcache/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_php=php5
-pkgname=${_php}-memcache
-_pkgreal=memcache
-pkgver=3.0.8
-_pkgver=${pkgver/_rc/RC}
-pkgrel=5
-pkgdesc="PHP extension memcache"
-url="http://pecl.php.net/package/$_pkgreal"
-arch="all"
-license="PHP"
-depends=
-pecldepends="${_php}-dev autoconf"
-makedepends="$pecldepends zlib-dev"
-install=""
-subpackages=""
-source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz
- memcache-faulty-inline.patch
- "
-
-_builddir="$srcdir"/$_pkgreal-$_pkgver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- phpize || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make INSTALL_ROOT="$pkgdir"/ install || return 1
- install -d "$pkgdir"/etc/$_php/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/$_php/conf.d/$_pkgreal.ini
-}
-
-md5sums="24505e9b263d2c77f8ae5e9b4725e7d1 memcache-3.0.8.tgz
-15c48766f52bb560bbf02b5015800ef4 memcache-faulty-inline.patch"
-sha256sums="2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 memcache-3.0.8.tgz
-f0eaec9c3f9715ea1cf7e75f2ae4a7e3558751058a1dc16ebe206e18682faf67 memcache-faulty-inline.patch"
-sha512sums="916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3 memcache-3.0.8.tgz
-236e0ae64e64d6874d0f3aa9951b14e6125c88250f5ffa876fa5906473a94fa9d70e95df2e6b9cc52fadcc90b1a3655cbac9dea5300b828ca4f70ca0e6b69ce5 memcache-faulty-inline.patch"
diff --git a/community/php5-memcache/memcache-faulty-inline.patch b/community/php5-memcache/memcache-faulty-inline.patch
deleted file mode 100644
index b260d02186..0000000000
--- a/community/php5-memcache/memcache-faulty-inline.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-diff -ru a/memcache_pool.c b/memcache_pool.c
---- a/memcache_pool.c
-+++ b/memcache_pool.c
-@@ -40,7 +40,7 @@
-
- ZEND_DECLARE_MODULE_GLOBALS(memcache)
-
--inline void mmc_buffer_alloc(mmc_buffer_t *buffer, unsigned int size) /*
-+void mmc_buffer_alloc(mmc_buffer_t *buffer, unsigned int size) /*
- ensures space for an additional size bytes {{{ */
- {
- register size_t newlen;
-@@ -48,7 +48,7 @@
- }
- /* }}} */
-
--inline void mmc_buffer_free(mmc_buffer_t *buffer) /* {{{ */
-+void mmc_buffer_free(mmc_buffer_t *buffer) /* {{{ */
- {
- if (buffer->value.c != NULL) {
- smart_str_free(&(buffer->value));
-@@ -1677,7 +1677,7 @@
- }
- /* }}} */
-
--inline int mmc_prepare_key_ex(const char *key, unsigned int key_len, char *result, unsigned int *result_len) /* {{{ */
-+int mmc_prepare_key_ex(const char *key, unsigned int key_len, char *result, unsigned int *result_len) /* {{{ */
- {
- unsigned int i;
- if (key_len == 0) {
-@@ -1695,7 +1695,7 @@
- }
- /* }}} */
-
--inline int mmc_prepare_key(zval *key, char *result, unsigned int *result_len) /* {{{ */
-+int mmc_prepare_key(zval *key, char *result, unsigned int *result_len) /* {{{ */
- {
- if (Z_TYPE_P(key) == IS_STRING) {
- return mmc_prepare_key_ex(Z_STRVAL_P(key), Z_STRLEN_P(key), result, result_len);
-diff -ru a/memcache_pool.h b/memcache_pool.h
---- a/memcache_pool.h
-+++ b/memcache_pool.h
-@@ -129,8 +129,8 @@
- #define mmc_buffer_release(b) memset((b), 0, sizeof(*(b)))
- #define mmc_buffer_reset(b) (b)->value.len = (b)->idx = 0
-
--inline void mmc_buffer_alloc(mmc_buffer_t *, unsigned int);
--inline void mmc_buffer_free(mmc_buffer_t *);
-+void mmc_buffer_alloc(mmc_buffer_t *, unsigned int);
-+void mmc_buffer_free(mmc_buffer_t *);
-
- /* stream handlers */
- typedef struct mmc_stream mmc_stream_t;
-@@ -385,8 +385,8 @@
- double timeval_to_double(struct timeval tv);
- struct timeval double_to_timeval(double sec);
-
--inline int mmc_prepare_key_ex(const char *, unsigned int, char *, unsigned int *);
--inline int mmc_prepare_key(zval *, char *, unsigned int *);
-+int mmc_prepare_key_ex(const char *, unsigned int, char *, unsigned int *);
-+int mmc_prepare_key(zval *, char *, unsigned int *);
-
- #define mmc_str_left(h, n, hlen, nlen) ((hlen) >= (nlen) ? memcmp((h), (n), (nlen)) == 0 : 0)
-
-diff -ru a/memcache_queue.c b/memcache_queue.c
---- a/memcache_queue.c
-+++ b/memcache_queue.c
-@@ -26,7 +26,7 @@
- #include "php.h"
- #include "memcache_queue.h"
-
--MMC_QUEUE_INLINE void mmc_queue_push(mmc_queue_t *queue, void *ptr) {
-+void mmc_queue_push(mmc_queue_t *queue, void *ptr) {
- if (mmc_queue_contains(queue, ptr)) return;
-
- if (queue->len >= queue->alloc) {
-@@ -53,7 +53,7 @@
- queue->len++;
- }
-
--MMC_QUEUE_INLINE void *mmc_queue_pop(mmc_queue_t *queue) {
-+void *mmc_queue_pop(mmc_queue_t *queue) {
- if (queue->len) {
- void *ptr;
-
-@@ -73,7 +73,7 @@
- return NULL;
- }
-
--MMC_QUEUE_INLINE int mmc_queue_contains(mmc_queue_t *queue, void *ptr) {
-+int mmc_queue_contains(mmc_queue_t *queue, void *ptr) {
- if (queue != NULL) {
- int i;
-
-@@ -87,14 +87,14 @@
- return 0;
- }
-
--MMC_QUEUE_INLINE void mmc_queue_free(mmc_queue_t *queue) {
-+void mmc_queue_free(mmc_queue_t *queue) {
- if (queue->items != NULL) {
- efree(queue->items);
- }
- memset(queue, 0, sizeof(*queue));
- }
-
--MMC_QUEUE_INLINE void mmc_queue_copy(mmc_queue_t *target, mmc_queue_t *source) {
-+void mmc_queue_copy(mmc_queue_t *target, mmc_queue_t *source) {
- if (target->alloc != source->alloc) {
- target->alloc = source->alloc;
- target->items = erealloc(target->items, sizeof(*target->items) * target->alloc);
-@@ -106,7 +106,7 @@
- target->len = source->len;
- }
-
--MMC_QUEUE_INLINE void mmc_queue_remove(mmc_queue_t *queue, void *ptr) {
-+void mmc_queue_remove(mmc_queue_t *queue, void *ptr) {
- void *item;
- mmc_queue_t original = *queue;
- mmc_queue_release(queue);
-diff -ru a/memcache_queue.h b/memcache_queue.h
---- a/memcache_queue.h
-+++ b/memcache_queue.h
-@@ -43,12 +43,12 @@
- #define MMC_QUEUE_INLINE inline
- #endif
-
--MMC_QUEUE_INLINE void mmc_queue_push(mmc_queue_t *, void *);
--MMC_QUEUE_INLINE void *mmc_queue_pop(mmc_queue_t *);
--MMC_QUEUE_INLINE int mmc_queue_contains(mmc_queue_t *, void *);
--MMC_QUEUE_INLINE void mmc_queue_free(mmc_queue_t *);
--MMC_QUEUE_INLINE void mmc_queue_copy(mmc_queue_t *, mmc_queue_t *);
--MMC_QUEUE_INLINE void mmc_queue_remove(mmc_queue_t *, void *);
-+extern void mmc_queue_push(mmc_queue_t *, void *);
-+extern void *mmc_queue_pop(mmc_queue_t *);
-+extern int mmc_queue_contains(mmc_queue_t *, void *);
-+extern void mmc_queue_free(mmc_queue_t *);
-+extern void mmc_queue_copy(mmc_queue_t *, mmc_queue_t *);
-+extern void mmc_queue_remove(mmc_queue_t *, void *);
-
- #endif /*MEMCACHE_QUEUE_H_*/
diff --git a/community/php5-pear-auth_sasl/APKBUILD b/community/php5-pear-auth_sasl/APKBUILD
deleted file mode 100644
index 6034bd40e9..0000000000
--- a/community/php5-pear-auth_sasl/APKBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-_php=php5
-pkgname=${_php}-pear-auth_sasl
-_realname=Auth_SASL
-pkgver=1.0.6
-pkgrel=0
-pkgdesc="Abstraction of various SASL mechanism responses"
-url="http://pear.php.net/package/Auth_SASL"
-arch="noarch"
-license="BSD"
-depends="${_php}-pear"
-makedepends="$depends_dev ${_php}-pear"
-source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
-builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- return 0
-}
-
-package() {
- cd "$builddir"
-
- mkdir -p "$pkgdir"/usr/share/pear && \
- cp -R Auth "$pkgdir"/usr/share/pear || return 1
-}
-
-
-md5sums="8ac4a0b7be08998ef1e10741cb5114f9 Auth_SASL-1.0.6.tgz"
-sha256sums="9bea8864466170de6cb2e397b938a585f3d18342dbe052d9f839460df8155ccc Auth_SASL-1.0.6.tgz"
-sha512sums="e2ff9511bf0aadbd1ce054e67b222f2430e31bc81639d18292a22000ca3f88323d14d6110bdf0fb1ae3101b751881550165bda7b896852248d719b1d111347f3 Auth_SASL-1.0.6.tgz"
diff --git a/community/php5-pear-auth_sasl2/APKBUILD b/community/php5-pear-auth_sasl2/APKBUILD
deleted file mode 100644
index 67f5515c10..0000000000
--- a/community/php5-pear-auth_sasl2/APKBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-_php=php5
-pkgname=${_php}-pear-auth_sasl2
-_realname=Auth_SASL2
-pkgver=0.1.0
-pkgrel=0
-pkgdesc="Abstraction of various SASL mechanism responses"
-url="http://pear.php.net/package/Auth_SASL2"
-arch="noarch"
-license="BSD"
-depends="${_php}-pear"
-makedepends="$depends_dev ${_php}-pear"
-source="$pkgname-$pkgver.tgz::http://download.pear.php.net/package/$_realname-$pkgver.tgz"
-builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- return 0
-}
-
-package() {
- cd "$builddir"
-
- mkdir -p "$pkgdir"/usr/share/pear && \
- cp -R Auth "$pkgdir"/usr/share/pear || return 1
-}
-
-
-md5sums="1f070b91ec5528bf686284f923c3ac5c php5-pear-auth_sasl2-0.1.0.tgz"
-sha256sums="709f67cd8963b34bc647803aff3be6e935fa212df2944ddea2184f03693d92cc php5-pear-auth_sasl2-0.1.0.tgz"
-sha512sums="a90186155c7ade8c59d9009dfc18a5e19a9a7aa0b0acec45e6cca807162327937e829ebe2537725b316e7fae5352ed7f2be9753f16f962d7581cbc3cf400fb6b php5-pear-auth_sasl2-0.1.0.tgz"
diff --git a/community/php5-pear-mail_mime/APKBUILD b/community/php5-pear-mail_mime/APKBUILD
deleted file mode 100644
index aac0ed838c..0000000000
--- a/community/php5-pear-mail_mime/APKBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-_php=php5
-pkgname=${_php}-pear-mail_mime
-_realname=Mail_Mime
-pkgver=1.8.9
-pkgrel=1
-pkgdesc="Mail_Mime provides classes to create MIME messages"
-url="http://pear.php.net/package/Mail_Mime/"
-arch="noarch"
-license="BSD"
-depends="${_php}-pear"
-makedepends="$depends_dev ${_php}-pear"
-source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
-builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- return 0
-}
-
-package() {
- cd "$builddir"
-
- mkdir -p "$pkgdir"/usr/share/pear && \
- cp -R Mail "$pkgdir"/usr/share/pear || return 1
- mkdir -p "$pkgdir"/usr/share/pear/doc/$_realname && \
- cp -R scripts "$pkgdir"/usr/share/pear/doc/$_realname || return 1
- mkdir -p "$pkgdir"/usr/share/pear/test/$_realname && \
- cp -R tests "$pkgdir"/usr/share/pear/test/$_realname
-}
-
-
-md5sums="ecab1203820997b30b863985175c500e Mail_Mime-1.8.9.tgz"
-sha256sums="afc0c619c6ee1debca595bb8f3677c7158fd65c767fa7e2c98627f1e579928ee Mail_Mime-1.8.9.tgz"
-sha512sums="cb4936c93efedc047d3481b4c8fd8f130d8023271a09c269af7813b37e1d1cfdc9221554b616171ce39359edf5bb6522041f1c53744c4a3c2c9d9882c669b452 Mail_Mime-1.8.9.tgz"
diff --git a/community/php5-pear-mdb2/APKBUILD b/community/php5-pear-mdb2/APKBUILD
deleted file mode 100644
index 895eebe05a..0000000000
--- a/community/php5-pear-mdb2/APKBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# Contributor: Matt Smith <mcs@darkregion.net>
-# Maintainer: Leonardo Arena <rnalrd@gmail.com>
-_php=php5
-pkgname=${_php}-pear-mdb2
-_pkgname=MDB2
-pkgver=2.5.0b5
-_driver_ver=1.5.0b4
-pkgrel=0
-pkgdesc="PEAR MDB2 Database Abstraction Layer"
-url="http://pear.php.net/package/MDB2/"
-arch="noarch"
-license="BSD"
-depends="${_php}-pear"
-depends_dev=
-makedepends="$depends_dev ${_php}-pear"
-install=""
-subpackages="
- $pkgname-driver-mysql:driver_mysql
- $pkgname-driver-mysqli:driver_mysqli
- $pkgname-driver-pgsql:driver_pgsql
- $pkgname-driver-sqlite:driver_sqlite
- "
-source=""
-
-build() { return 0; }
-package() { _pear_install $_pkgname-$pkgver "$pkgdir" || return 1; }
-driver_mysql() { _do_driver mysql "mysql ${_php}-mysql" ; }
-driver_mysqli() { _do_driver mysqli "mysql ${_php}-mysqli" ; }
-driver_pgsql() { _do_driver pgsql "postgresql ${_php}-pgsql" ; }
-driver_sqlite() { _do_driver sqlite "${_php}-sqlite3" ; }
-
-
-_pear_install() {
- local _pear_pkg=$1
- local _pear_pkg_dir=$2
-
- pear install --nodeps --packagingroot="$_pear_pkg_dir" $_pear_pkg \
- || return 1
-
- _cleanpaths="
- usr/share/pear/.channels/
- usr/share/pear/.depdb
- usr/share/pear/.depdblock
- usr/share/pear/.filemap
- usr/share/pear/.lock
- usr/share/pear/.registry/.channel.__uri/
- usr/share/pear/.registry/.channel.doc.php.net/
- usr/share/pear/.registry/.channel.pecl.php.net/
- "
- for _cleanpath in $_cleanpaths; do
- rm -rf "$_pear_pkg_dir"/$_cleanpath || return 1
- done
-}
-
-_do_driver() {
- local _driver_name=$1
-
- # driver dependencies
- if [ -n "${2-}" ]; then
- depends="${2-}"
- fi
- depends="${pkgname} ${depends}"
-
- _pear_install ${_pkgname}_Driver_${_driver_name}-${_driver_ver} \
- "$subpkgdir" || return 1
-}
diff --git a/community/php5-pear-net_idna2/APKBUILD b/community/php5-pear-net_idna2/APKBUILD
deleted file mode 100644
index ff63f9193b..0000000000
--- a/community/php5-pear-net_idna2/APKBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-_php=php5
-pkgname=${_php}-pear-net_idna2
-_realname=Net_IDNA2
-pkgver=0.1.1
-pkgrel=1
-pkgdesc="Punycode encoding and decoding"
-url="http://pear.php.net/package/Net_IDNA2/"
-arch="noarch"
-license="LGPL"
-depends="${_php}-pear"
-makedepends=""
-source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
-builddir="$srcdir"/$_realname-$pkgver
-
-build() {
- return 0
-}
-
-package() {
- cd "$builddir"
-
- mkdir -p "$pkgdir"/usr/share/pear && \
- cp -R Net "$pkgdir"/usr/share/pear || return 1
- mkdir -p "$pkgdir"/usr/share/pear/doc/$_realname && \
- cp -R docs "$pkgdir"/usr/share/pear/doc/$_realname || return 1
- mkdir -p "$pkgdir"/usr/share/pear/test/$_realname && \
- cp -R tests "$pkgdir"/usr/share/pear/test/$_realname
-}
-
-
-md5sums="22279b54719a95091f6d23a7fbb03321 Net_IDNA2-0.1.1.tgz"
-sha256sums="6ea0f7f75a9094481f305ac579d7b32f1831e86c8a2fc7d3dc48bd1ebeb0f725 Net_IDNA2-0.1.1.tgz"
-sha512sums="9d4683b59a9b195f882dceb1d97b90f755ffe7a03457dc42c25aee5c242ad1e4a4dfdea9bf04935c63b88e60addde8686abae1b042249ca2d0e12abc1ec58c1f Net_IDNA2-0.1.1.tgz"
diff --git a/community/php5-pear-net_smtp/APKBUILD b/community/php5-pear-net_smtp/APKBUILD
deleted file mode 100644
index bef9135d53..0000000000
--- a/community/php5-pear-net_smtp/APKBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-_php=php5
-pkgname=${_php}-pear-net_smtp
-_pkgreal=Net_SMTP
-pkgver=1.7.2
-pkgrel=0
-pkgdesc="An implementation of the SMTP protocol"
-url="http://pear.php.net/package/Net_SMTP"
-arch="noarch"
-license="PHP"
-depends="${_php}-pear ${_php}-pear-net_socket"
-depends_dev=""
-makedepends="$depends_dev ${_php}-pear"
-install=""
-subpackages=""
-source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz"
-
-_builddir="$srcdir"/$_pkgreal-$pkgver
-
-package() {
- cd "$_builddir"
- install -d "$pkgdir"/usr/share/pear
- mv Net "$pkgdir"/usr/share/pear
-}
-
-md5sums="503ab6cdf9ce7dc30b63d43c1a5b2173 Net_SMTP-1.7.2.tgz"
-sha256sums="4ee7ba52d75e26fe033a4241754246db6c0bbc76768be3aac168058a24d3dfbf Net_SMTP-1.7.2.tgz"
-sha512sums="06ab00a033709c5f4adc01fabe100ee0033b07e1c5633f995a672bf463484622a5bd976ada9932ee741ff593d739bd1172566f0a8446060bbccde71ea5b0160d Net_SMTP-1.7.2.tgz"
diff --git a/community/php5-pear-net_socket/APKBUILD b/community/php5-pear-net_socket/APKBUILD
deleted file mode 100644
index 3c34ea8f53..0000000000
--- a/community/php5-pear-net_socket/APKBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Valery Kartel <valery.kartel@gmail.com>
-_php=php5
-pkgname=${_php}-pear-net_socket
-_pkgreal=Net_Socket
-pkgver=1.0.14
-pkgrel=1
-pkgdesc="Network Socket Interface"
-url="http://pear.php.net/package/$_pkgreal"
-arch="noarch"
-license="PHP"
-depends="${_php}-pear"
-makedepends=""
-source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz"
-builddir="$srcdir"/$_pkgreal-$pkgver
-
-package() {
- cd "$builddir"
- install -d "$pkgdir"/usr/share/pear || return 1
- mv Net "$pkgdir"/usr/share/pear
-}
-
-md5sums="1ebef37e7bd89b8eab66e9908f9e32e3 Net_Socket-1.0.14.tgz"
-sha256sums="85dd3a1b5e472a7478c9fbe2ebf2f4b7ad042ed5b7c0e000e0f348dc50cd8e5f Net_Socket-1.0.14.tgz"
-sha512sums="2e77580722a5497144ef4f4509574c5720da595ab42e071cd6c87ff5e4c774a9797374d3c3b46c6d1c1d8e42fd9de31b4279f649b9b96045dd8f7d371f38dcb4 Net_Socket-1.0.14.tgz"
diff --git a/community/php5-phalcon/APKBUILD b/community/php5-phalcon/APKBUILD
deleted file mode 100644
index 4d5f843dec..0000000000
--- a/community/php5-phalcon/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Contributor: Valery Kartel <valery.kartel@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_php=php5
-pkgname=${_php}-phalcon
-_pkgreal=phalcon
-pkgver=2.0.13
-_pkgver=v$pkgver
-pkgrel=0
-pkgdesc="PHP extension that provides web framework delivered as a C-extension"
-url="https://github.com/$_pkgreal/c$_pkgreal"
-arch="all"
-license="PHP"
-depends="${_php}-pdo ${_php}-json"
-makedepends="${_php}-dev autoconf re2c pcre-dev"
-source="https://github.com/$_pkgreal/c$_pkgreal/archive/$_pkgreal-$_pkgver.tar.gz"
-builddir="$srcdir/c$_pkgreal-$_pkgreal-$_pkgver/build"
-
-prepare() {
- cd "$builddir"
- local bits=$(echo '#include <limits.h>' | ${CC:-gcc} -dM -E - | awk '$2 == "LONG_BIT" {print $3}')
- ln -s ${bits}bits arch
-}
-
-build() {
- cd "$builddir"/arch
- phpize || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "$builddir"/arch
- make INSTALL_ROOT="$pkgdir"/ install || return 1
- install -d "$pkgdir"/etc/php/conf.d || return 1
- echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
- [ -d "$pkgdir"/usr/include ] && rm -fr "$pkgdir"/usr/include
- return 0
-}
-
-md5sums="4afa8dacd3badc0e770cde79636d1522 phalcon-v2.0.13.tar.gz"
-sha256sums="0a1bd6afe902c6f2f68cf5e2f2785503f5ad95d1d2cf1b66c77154c483a08a35 phalcon-v2.0.13.tar.gz"
-sha512sums="1e0ebe955e9522d780ada874cce87a7c12ac26dd7ade3847592d63f3b81cb64d7e2a3c9745ecdc50dfb5ea238f470ce2ae2408396c32ecdf915fe6d690c742ff phalcon-v2.0.13.tar.gz"
diff --git a/community/php5-phpmailer/APKBUILD b/community/php5-phpmailer/APKBUILD
deleted file mode 100644
index 731eeb6042..0000000000
--- a/community/php5-phpmailer/APKBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# Contributor: Timo Teräs <timo.teras@iki.fi>
-# Maintainer: Timo Teräs <timo.teras@iki.fi>
-_php=php5
-pkgname=${_php}-phpmailer
-pkgver=5.2.20
-pkgrel=0
-pkgdesc="PHP class for SMTP mailing"
-url="https://github.com/PHPMailer/PHPMailer"
-arch="noarch"
-license="LGPL"
-depends="$_php"
-depends_dev=
-makedepends="$depends_dev"
-install=""
-subpackages=""
-source="$pkgname-$pkgver.tar.gz::https://github.com/PHPMailer/PHPMailer/archive/v$pkgver.tar.gz"
-
-builddir="$srcdir/PHPMailer-$pkgver"
-build() {
- cd "$builddir"
-}
-
-package() {
- cd "$builddir"
- install -d -m755 "$pkgdir"/usr/share/pear
- install -D -m644 "$builddir"/class.*.php "$pkgdir"/usr/share/pear || return 1
-}
-
-md5sums="9b23523ce070855abfdd79ff06d85afd php5-phpmailer-5.2.20.tar.gz"
-sha256sums="4716acef60503f345323849842f3138a8453c178d3829477553bf1e347664976 php5-phpmailer-5.2.20.tar.gz"
-sha512sums="c8dab5decd5012687b2e1d7a4ce2a3a605a6c3589b1f747960faa6080fb1c65580c1dd0f0cba52fc3735e4cf357c31237b51a6ade00c5dbffc57c27328d15018 php5-phpmailer-5.2.20.tar.gz"
diff --git a/community/php5-xcache/APKBUILD b/community/php5-xcache/APKBUILD
deleted file mode 100644
index dad01e1d81..0000000000
--- a/community/php5-xcache/APKBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_php=php5
-pkgname=${_php}-xcache
-pkgver=3.2.0
-pkgrel=1
-pkgdesc="php opcode cacher"
-url="http://xcache.lighttpd.net/"
-arch="all"
-license="BSD"
-depends_dev=""
-makedepends="$depends_dev ${_php}-dev autoconf automake flex bison gawk"
-install=""
-subpackages=""
-source="http://xcache.lighttpd.net/pub/Releases/$pkgver/xcache-$pkgver.tar.gz
- xcache.ini"
-
-_builddir="$srcdir"/xcache-$pkgver
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$_builddir"
- phpize --clean && phpize || return 1
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --enable-xcache \
- --enable-xcache-constant \
- --enable-xcache-optimizer \
- --enable-xcache-coverager \
- || return 1
- make -j1 || return 1
-}
-
-package() {
- cd "$_builddir"
- make -j1 install INSTALL_ROOT="$pkgdir" || return 1
- install -Dm644 "$srcdir"/xcache.ini \
- "$pkgdir"/etc/$_php/conf.d/xcache.ini || return 1
-}
-
-md5sums="8b0a6f27de630c4714ca261480f34cda xcache-3.2.0.tar.gz
-8fd9ce537ada9463c4b0c042243158c0 xcache.ini"
-sha256sums="9d7bea91dabb3e0c859195a85562f24c77a5967722753018966beb7a421c6bc0 xcache-3.2.0.tar.gz
-c8c843335028b1da1965ff71b73b42fc4bc45be08bf9ec3f71aff5744a428176 xcache.ini"
-sha512sums="6ba2d857d5fa40deac7ab1dffc3e7aed6e04eff8b2397fdf73f7251c47804958fc44ab5e3cbdf02c02d55b4139dd9747d78e231e4652ba19d093d80a64242b1d xcache-3.2.0.tar.gz
-dc693745177ab1dfcd4e0ae1193ebcedf7d97f4ea222525fa52955be5dd68a50db27cce0c6ef069f9972e79d2cb0f88d6fa27e6e433781312c370e791a64c1cc xcache.ini"
diff --git a/community/php5-xcache/xcache.ini b/community/php5-xcache/xcache.ini
deleted file mode 100644
index b814dbce11..0000000000
--- a/community/php5-xcache/xcache.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-;extension=xcache.so
-xcache.size=64M
-xcache.var_size=64M