1. 03 Nov, 2015 2 commits
    • Kirill Smelkov's avatar
      component/postgresql: Factor out common build stuff to postgresql-common · c6ec0005
      Kirill Smelkov authored
      Currently we have recipes to build both postgresql 9.1 and 9.2 (see
      9f1f0759 "provide both postgres 9.1 and 9.2") which mostly duplicate
      each other with minor difference that 9.1 is built with perl and 9.2
      without (perl added to 9.1 in dbbd9a96 "Include Perl in Postgres").
      
      To reduce the duplication let's move common compilation bits to common
      section.
      
      NOTE I've tried to add perl to postgresql 9.2 as well and got the
      following compilation error:
      
          ld: .../perl/libs-c/libperl.a(op.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
          .../parts/perl/libs-c/libperl.a: could not read symbols: Bad value
      
      which happens because libperl.a is not compiled with fPIC.
      
      For now we don't need perl in postgresql92 and this is not handled, and
      we just deduplicate building recipes without any actual change for
      resulting commands how the software is built.
      c6ec0005
    • Kirill Smelkov's avatar
      software/postgresql: Don't build postgresql twice · 9bb0f265
      Kirill Smelkov authored
      component/postgresql/buildout.cfg defines both postgresql92 and
      postgresql sections, with postgresql being just
      
          [postgresql]
          <= postgresql92
      
      On the other hand, software/postgresql uses postgresql92 in parts, but
      bin = ${postgresql:location}/bin in instance, which leads to _both_
      postgresql and postgresql92 being built, and postgresql92 not used at all.
      
      Let's fix it and use postgresql everywhere.
      
      /cc @kazuhiko
      9bb0f265
  2. 27 Oct, 2015 4 commits
  3. 26 Oct, 2015 7 commits
  4. 23 Oct, 2015 3 commits
  5. 22 Oct, 2015 6 commits
  6. 21 Oct, 2015 6 commits
  7. 19 Oct, 2015 3 commits
  8. 18 Oct, 2015 1 commit
  9. 16 Oct, 2015 1 commit
  10. 15 Oct, 2015 7 commits