aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Diaz-Gonzalez2012-03-15 03:03:29 -0400
committerMax Howell2012-03-16 22:43:06 +0000
commit6ee85cdc7759e326b53dcb969b60eb0d7da5dc35 (patch)
tree39ce9ce9267f85898a6aa36ab280c0a4c959b518
parent6ec0503f3356485bf5a8991d3eba0de0ca2fa7b6 (diff)
downloadhomebrew-6ee85cdc7759e326b53dcb969b60eb0d7da5dc35.tar.bz2
Remove PHP formula from homebrew.
Refs #10673. Closes #10957. Signed-off-by: Max Howell <max@methylblue.com>
-rw-r--r--Library/Formula/apc.rb58
-rw-r--r--Library/Formula/gearman-php.rb27
-rw-r--r--Library/Formula/imagick.rb26
-rw-r--r--Library/Formula/mcrypt-php.rb30
-rw-r--r--Library/Formula/memcache-php.rb24
-rw-r--r--Library/Formula/memcached-php.rb27
-rw-r--r--Library/Formula/midgard2-php.rb30
-rw-r--r--Library/Formula/mongo-php.rb25
-rw-r--r--Library/Formula/pcntl-php.rb26
-rw-r--r--Library/Formula/phpmyadmin.rb33
-rw-r--r--Library/Formula/pspell-php.rb29
-rw-r--r--Library/Formula/solr-php.rb25
-rw-r--r--Library/Formula/xcache.rb29
-rw-r--r--Library/Formula/xdebug.rb32
14 files changed, 0 insertions, 421 deletions
diff --git a/Library/Formula/apc.rb b/Library/Formula/apc.rb
deleted file mode 100644
index f08a32eca..000000000
--- a/Library/Formula/apc.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-require 'formula'
-
-class Apc < Formula
- url 'http://pecl.php.net/get/APC-3.1.9.tgz'
- homepage 'http://pecl.php.net/package/apc'
- md5 'a2cf7fbf6f3a87f190d897a53260ddaa'
-
- depends_on 'pcre'
-
- def patches
- # fixes "PHP Fatal error: Unknown: apc_fcntl_unlock failed: in Unknown on line 0"
- # this has been fixed in the APC trunk but has not been released yet (as of 3.1.9)
- # https://bugs.php.net/bug.php?id=59750
- DATA
- end
-
- def install
- cd "APC-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- prefix.install %w(modules/apc.so apc.php)
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing APC:
- * Add the following lines to php.ini:
- [apc]
- extension="#{prefix}/apc.so"
- apc.enabled=1
- apc.shm_segments=1
- apc.shm_size=64M
- apc.ttl=7200
- apc.user_ttl=7200
- apc.num_files_hint=1024
- apc.mmap_file_mask=/tmp/apc.XXXXXX
- apc.enable_cli=1
- * Restart your webserver
- * Copy "#{prefix}/apc.php" to any site to see APC's usage.
- EOS
- end
-end
-
-__END__
-diff --git a/APC-3.1.9/apc_lock.h b/APC-3.1.9/apc_lock.h
-index 77f66d5..aafa3b7 100644
---- a/APC-3.1.9/apc_lock.h
-+++ b/APC-3.1.9/apc_lock.h
-@@ -154,7 +154,7 @@
- # define apc_lck_nb_lock(a) apc_fcntl_nonblocking_lock(a TSRMLS_CC)
- # define apc_lck_rdlock(a) apc_fcntl_rdlock(a TSRMLS_CC)
- # define apc_lck_unlock(a) apc_fcntl_unlock(a TSRMLS_CC)
--# define apc_lck_rdunlock(a) apc_fcntl_unlock(&a TSRMLS_CC)
-+# define apc_lck_rdunlock(a) apc_fcntl_unlock(a TSRMLS_CC)
- #endif
-
- #endif
diff --git a/Library/Formula/gearman-php.rb b/Library/Formula/gearman-php.rb
deleted file mode 100644
index c6ee5105c..000000000
--- a/Library/Formula/gearman-php.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-require 'formula'
-
-class GearmanPhp < Formula
- homepage 'http://pecl.php.net/package/gearman'
- url 'http://pecl.php.net/get/gearman-1.0.1.tgz'
- md5 'dc576593f18e73aacf3b4430ba9d47d5'
-
- depends_on 'gearman'
-
- def install
- cd "gearman-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}",
- "--with-gearman=#{Formula.factory('gearman').prefix}"
- system "make"
- prefix.install 'modules/gearman.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing gearman:
- * Add the following line to php.ini:
- extension="#{prefix}/gearman.so"
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/imagick.rb b/Library/Formula/imagick.rb
deleted file mode 100644
index 06e16624e..000000000
--- a/Library/Formula/imagick.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require 'formula'
-
-class Imagick < Formula
- homepage 'http://pecl.php.net/package/imagick'
- url 'http://pecl.php.net/get/imagick-3.0.1.tgz'
- md5 'e2167713316639705202cf9b6cb1fdb1'
-
- depends_on 'imagemagick'
-
- def install
- cd "imagick-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- (lib+'php/extensions').install 'modules/imagick.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing Imagick:
- Edit php.ini file
- extension="#{lib}/php/extensions/imagick.so"
- Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/mcrypt-php.rb b/Library/Formula/mcrypt-php.rb
deleted file mode 100644
index 1ee380456..000000000
--- a/Library/Formula/mcrypt-php.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-require 'formula'
-
-class McryptPhp < Formula
- homepage 'http://php.net/manual/fr/book.mcrypt.php'
- url 'http://us.php.net/get/php-5.3.6.tar.gz/from/fr.php.net/mirror'
- version '5.3.6'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
-
- depends_on 'mcrypt'
-
- def install
- cd "ext/mcrypt" do
- system "phpize"
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--with-mcrypt=#{Formula.factory('mcrypt').prefix}"
- system "make"
- prefix.install 'modules/mcrypt.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish mcrypt-php installation, you need to add the
- following line into php.ini:
- extension="#{prefix}/mcrypt.so"
- Then, restart your webserver and check in phpinfo if
- you're able to see something about mcrypt
- EOS
- end
-end
diff --git a/Library/Formula/memcache-php.rb b/Library/Formula/memcache-php.rb
deleted file mode 100644
index 4ca83c291..000000000
--- a/Library/Formula/memcache-php.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-require 'formula'
-
-class MemcachePhp < Formula
- homepage 'http://pecl.php.net/package/memcache'
- url 'http://pecl.php.net/get/memcache-2.2.6.tgz'
- md5 '9542f1886b72ffbcb039a5c21796fe8a'
-
- def install
- cd "memcache-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- prefix.install 'modules/memcache.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing memcache:
- * Add the following line to php.ini:
- extension="#{prefix}/memcache.so"
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/memcached-php.rb b/Library/Formula/memcached-php.rb
deleted file mode 100644
index 5354e24cb..000000000
--- a/Library/Formula/memcached-php.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-require 'formula'
-
-class MemcachedPhp < Formula
- homepage 'http://pecl.php.net/package/memcached'
- url 'http://pecl.php.net/get/memcached-1.0.2.tgz'
- md5 'b91f815ad59086d0c3564cce022b5c4f'
-
- depends_on 'libmemcached'
-
- def install
- cd "memcached-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}",
- "--with-libmemcached-dir=#{Formula.factory('libmemcached').prefix}"
- system "make"
- prefix.install 'modules/memcached.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing memcached:
- * Add the following line to php.ini:
- extension="#{prefix}/memcached.so"
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/midgard2-php.rb b/Library/Formula/midgard2-php.rb
deleted file mode 100644
index 3dfcff380..000000000
--- a/Library/Formula/midgard2-php.rb
+++ /dev/null
@@ -1,30 +0,0 @@
-require 'formula'
-
-class Midgard2Php < Formula
- url 'http://www.midgard-project.org/midcom-serveattachmentguid-025abaac43f811e0b064792d116f21f421f4/php5-midgard2-10.05.4.tar.gz'
- head 'https://github.com/midgardproject/midgard-php5.git', :branch => 'ratatoskr'
- homepage 'http://www.midgard-project.org/'
- md5 'a715d76abdb6ef1bb5eb8c9973fbba16'
-
- depends_on 'pkg-config' => :build
- depends_on 'midgard2'
-
- def install
- system "/usr/bin/phpize"
- system "./configure", "--with-php-config=/usr/bin/php-config"
-
- system "make"
- prefix.install 'modules/midgard2.so'
- end
-
- def caveats
- <<-END_CAVEATS
- * Add the following line to php.ini:
- extension="#{prefix}/midgard2.so"
- * Restart your webserver.
- * Write a PHP page that calls "phpinfo();"
- * Load it in a browser and look for the info on the midgard2 module.
- * If you see it, you have been successful!
- END_CAVEATS
- end
-end
diff --git a/Library/Formula/mongo-php.rb b/Library/Formula/mongo-php.rb
deleted file mode 100644
index 2535991a0..000000000
--- a/Library/Formula/mongo-php.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'formula'
-
-class MongoPhp < Formula
- homepage 'http://pecl.php.net/package/mongo'
- url 'http://pecl.php.net/get/mongo-1.2.6.tgz'
- md5 'b471f3d9309c2caa52ea90122042d3f4'
-
- def install
- cd "mongo-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- prefix.install "modules/mongo.so"
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing MongoDB extension:
- * Add the following lines to #{etc}/php.ini:
- [mongo]
- extension="#{prefix}/mongo.so"
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/pcntl-php.rb b/Library/Formula/pcntl-php.rb
deleted file mode 100644
index 782676413..000000000
--- a/Library/Formula/pcntl-php.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-require 'formula'
-
-class PcntlPhp < Formula
- homepage 'http://php.net/manual/en/book.pcntl.php'
- url 'http://museum.php.net/php5/php-5.3.6.tar.gz'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
-
- def install
- cd "ext/pcntl" do
- system "phpize"
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- system "make"
- prefix.install "modules/pcntl.so"
- end
- end
-
- def caveats; <<-EOS.undent
- To finish pcntl-php installation, you need to add the
- following line into php.ini:
- extension="#{prefix}/pcntl.so"
- Then, restart your webserver and check in phpinfo if
- you're able to see something about pcntl.
- EOS
- end
-end
diff --git a/Library/Formula/phpmyadmin.rb b/Library/Formula/phpmyadmin.rb
deleted file mode 100644
index d4c7a6f6e..000000000
--- a/Library/Formula/phpmyadmin.rb
+++ /dev/null
@@ -1,33 +0,0 @@
-require 'formula'
-
-class Phpmyadmin < Formula
- homepage 'http://www.phpmyadmin.net/documentation'
- url 'http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.7/phpMyAdmin-3.4.7-all-languages.tar.gz'
- md5 'b422d003ed6239bc9f96c02af6c66405'
-
- depends_on 'mcrypt-php'
-
- def install
- (share+'phpmyadmin').install Dir['*']
- end
-
- def caveats; <<-EOS.undent
- Note that this formula will NOT install mysql. It is not
- required since you might want to get connected to a remote
- database server.
-
- Webserver configuration example (add this at the end of
- your /etc/apache2/httpd.conf for instance) :
- Alias /phpmyadmin #{HOMEBREW_PREFIX}/share/phpmyadmin
- <Directory #{HOMEBREW_PREFIX}/share/phpmyadmin/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- Then, open http://localhost/phpmyadmin
-
- More documentation : file://#{share}/phpmyadmin/Documentation.html
- EOS
- end
-end
diff --git a/Library/Formula/pspell-php.rb b/Library/Formula/pspell-php.rb
deleted file mode 100644
index f9071d4b4..000000000
--- a/Library/Formula/pspell-php.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-require 'formula'
-
-class PspellPhp < Formula
- homepage 'http://php.net/manual/en/book.pspell.php'
- url 'http://museum.php.net/php5/php-5.3.6.tar.gz'
- md5 '88a2b00047bc53afbbbdf10ebe28a57e'
-
- depends_on 'aspell'
-
- def install
- cd "ext/pspell" do
- system "phpize"
- system "./configure", "--disable-debug",
- "--prefix=#{prefix}",
- "--with-pspell=#{HOMEBREW_PREFIX}"
- system "make"
- prefix.install 'modules/pspell.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing the pspell module:
- * Add the following line to php.ini:
- extension="#{prefix}/pspell.so"
- * To verify, run "php -m" and look for the pspell module.
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/solr-php.rb b/Library/Formula/solr-php.rb
deleted file mode 100644
index de5e10ee1..000000000
--- a/Library/Formula/solr-php.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-require 'formula'
-
-class SolrPhp < Formula
- homepage 'http://pecl.php.net/package/solr'
- url 'http://pecl.php.net/get/solr-1.0.1.tgz'
- md5 '538adecfd52a79feae777870edcfd5d7'
-
- def install
- cd "solr-#{version}" do
- system "phpize"
- system "./configure", "--prefix=#{prefix}"
- system "make"
- prefix.install "modules/solr.so"
- end
- end
-
- def caveats; <<-EOS.undent
- To finish installing Solr extension:
- * Add the following lines to #{etc}/php.ini:
- [solr]
- extension="#{prefix}/solr.so"
- * Restart your webserver
- EOS
- end
-end
diff --git a/Library/Formula/xcache.rb b/Library/Formula/xcache.rb
deleted file mode 100644
index 912f8633b..000000000
--- a/Library/Formula/xcache.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-require 'formula'
-
-class Xcache < Formula
- url 'http://xcache.lighttpd.net/pub/Releases/1.3.1/xcache-1.3.1.tar.gz'
- homepage 'http://xcache.lighttpd.net/'
- md5 'aff79b19c7623ba923233ae193e9537a'
-
- def install
- # See https://github.com/mxcl/homebrew/issues/issue/69
- ENV.universal_binary unless Hardware.is_64_bit?
-
- system "phpize"
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- system "make"
- prefix.install 'modules/xcache.so'
- end
-
- def caveats; <<-EOS.undent
- To use this software:
- * Add the following line to php.ini:
- zend_extension="#{prefix}/xcache.so"
- * Restart your webserver.
- * Write a PHP page that calls "phpinfo();"
- * Load it in a browser and look for the info on the xcache module.
- * If you see it, you have been successful!
- EOS
- end
-end
diff --git a/Library/Formula/xdebug.rb b/Library/Formula/xdebug.rb
deleted file mode 100644
index 172602b1c..000000000
--- a/Library/Formula/xdebug.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-require 'formula'
-
-class Xdebug < Formula
- homepage 'http://xdebug.org'
- url 'http://www.xdebug.org/files/xdebug-2.1.3.tgz'
- md5 '779f4a66acdccd673553769e403674c4'
-
- def install
- cd "xdebug-#{version}" do
- # See https://github.com/mxcl/homebrew/issues/issue/69
- ENV.universal_binary
-
- system "phpize"
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--enable-xdebug"
- system "make"
- prefix.install 'modules/xdebug.so'
- end
- end
-
- def caveats; <<-EOS.undent
- To use this software:
- * Add the following line to php.ini:
- zend_extension="#{prefix}/xdebug.so"
- * Restart your webserver.
- * Write a PHP page that calls "phpinfo();"
- * Load it in a browser and look for the info on the xdebug module.
- * If you see it, you have been successful!
- EOS
- end
-end