Permalink
Browse files

php52 fixes

  • Loading branch information...
1 parent a83ac5f commit 841d6870b48ef4c856eb5273271255764004687f @mdxp committed Oct 11, 2011
Showing with 35 additions and 4 deletions.
  1. +35 −4 drupal/recipes/php52.rb
View
@@ -1,9 +1,7 @@
#
-# Cookbook Name:: aegir
+# Cookbook Name:: drupal
# Recipe:: php52
#
-# Copyright 2011, Patrick Connolly (Myplanet Digital)
-#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -26,9 +24,42 @@
end
prefs = <<-EOH
-Package: *
+Package: libapache2-mod-php5
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php-pear
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5-cli
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5-common
Pin: origin packages.dotdeb.org
Pin-Priority: 800
+
+Package: php5-dev
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5-curl
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5-gd
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
+Package: php5-mysql
+Pin: origin packages.dotdeb.org
+Pin-Priority: 800
+
EOH
file "/etc/apt/preferences.d/dotdeb" do

0 comments on commit 841d687

Please sign in to comment.