Commit c35086965a93179bfd39125f3b970482b1ccbf76
Exists in
master
and in
15 other branches
Merge branch 'packaging-jessie'
Showing
11 changed files
with
29 additions
and
11 deletions
Show diff stats
debian/apache2/virtualhost.conf
debian/changelog
debian/control
... | ... | @@ -32,8 +32,8 @@ Vcs-Browser: http://git.colivre.coop.br/?p=noosfero.git |
32 | 32 | |
33 | 33 | Package: noosfero |
34 | 34 | Architecture: all |
35 | -Pre-Depends: ruby1.8 (>= 1.8.7.358) | |
36 | 35 | Depends: adduser, |
36 | + bundler (>= 1.10), | |
37 | 37 | dbconfig-common, |
38 | 38 | debconf, |
39 | 39 | exim4 | mail-transport-agent, |
... | ... | @@ -51,6 +51,7 @@ Depends: adduser, |
51 | 51 | ruby-dalli, |
52 | 52 | ruby-delayed-job, |
53 | 53 | ruby-delayed-job-active-record, |
54 | + ruby-diffy, | |
54 | 55 | ruby-eita-jrails (>= 0.9.3-5~), |
55 | 56 | ruby-eventmachine (>= 0.12.10-4~), |
56 | 57 | ruby-exception-notification, | ... | ... |
debian/noosfero-apache.postinst
debian/update-noosfero-apache
... | ... | @@ -6,7 +6,14 @@ set -e |
6 | 6 | # installed |
7 | 7 | if test -x /usr/share/noosfero/script/apacheconf; then |
8 | 8 | |
9 | - apache_site='/etc/apache2/sites-available/noosfero' | |
9 | + old_apache_site='/etc/apache2/sites-available/noosfero' | |
10 | + apache_site='/etc/apache2/sites-available/noosfero.conf' | |
11 | + | |
12 | + # migrate from apache 2.2 to 2.4+ | |
13 | + if [ ! -f "$apache_site" -a -f "$old_apache_site" ]; then | |
14 | + mv "$old_apache_site" "$apache_site" | |
15 | + fi | |
16 | + | |
10 | 17 | if ! test -e "$apache_site"; then |
11 | 18 | echo "Generating apache virtual host ..." |
12 | 19 | cd /usr/share/noosfero && su noosfero -c "RAILS_ENV=production ./script/apacheconf virtualhosts" > "$apache_site" | ... | ... |
lib/noosfero/version.rb
lib/tasks/gettext.rake
... | ... | @@ -16,6 +16,11 @@ GetText::Tools::Task.define do |task| |
16 | 16 | 'public/*.html.erb', |
17 | 17 | 'public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}', |
18 | 18 | ].map { |pattern| Dir.glob(pattern) }.flatten |
19 | + | |
20 | + # installed, no po/ available | |
21 | + if !File.directory?(task.po_base_directory) | |
22 | + task.locales = Dir.chdir(task.mo_base_directory) { Dir.glob('*') } | |
23 | + end | |
19 | 24 | end |
20 | 25 | |
21 | 26 | task 'gettext:mo:update' => :symlinkmo | ... | ... |
lib/tasks/release.rake
... | ... | @@ -267,7 +267,6 @@ EOF |
267 | 267 | |
268 | 268 | # base pre-config |
269 | 269 | mkdir "#{target}/tmp" |
270 | - ln_s '../../../vendor/rails', "#{target}/vendor/rails" | |
271 | 270 | cp "#{target}/config/database.yml.sqlite3", "#{target}/config/database.yml" |
272 | 271 | |
273 | 272 | sh "cd #{target} && dpkg-buildpackage -us -uc -b" | ... | ... |
util/debian-install/README.md
... | ... | @@ -28,8 +28,8 @@ $ rm -f pkg/ |
28 | 28 | $ cd utils/debian-install/ |
29 | 29 | $ vagrant destroy |
30 | 30 | $ rm -f *.deb |
31 | -$ REPOSITORY=wheezy vagrant up # install current stable version | |
31 | +$ REPOSITORY=jessie vagrant up # install current stable version | |
32 | 32 | $ cd ../../ |
33 | 33 | $ make noosfero:deb # build current packages |
34 | -$ REPOSITORY=wheezy-next vagrant provision # upgrade | |
34 | +$ REPOSITORY=jessie-next vagrant provision # upgrade | |
35 | 35 | ``` | ... | ... |
util/debian-install/Vagrantfile
... | ... | @@ -27,7 +27,7 @@ else |
27 | 27 | end |
28 | 28 | |
29 | 29 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
30 | - config.vm.box = "debian/wheezy64" | |
30 | + config.vm.box = "debian/jessie64" | |
31 | 31 | config.vm.provision :shell, path: 'install', args: [ENV['REPOSITORY']].compact |
32 | 32 | config.vm.provision :shell, path: 'test' |
33 | 33 | end | ... | ... |