Commit graph

17 commits

Author SHA1 Message Date
Wladimir J. van der Laan 8465a714f8 gitian: upgrade OpenSSL to 1.0.1h 2014-07-09 17:29:59 +02:00
Wladimir J. van der Laan 06aad6560c Use correct Qt tools in Gitian Linux build 2014-06-29 15:38:30 +02:00
Wladimir J. van der Laan 6cbf8affee
gitian: build against Qt 4.6
Should make it possible to run the resulting GUI executable on
Linux distributions that use Qt 4.6, such as Debian Wheezy and Tails.

Builds a mini-SDK for building against Qt 4.6. This includes the headers
as well as host utilities such as `lrelease`, `qrc` and `moc`.

This speeds up the gitian build a bit - libqt4-dev pulled in a lot of packages,
and is no longer needed as this provides a replacement of our own.

Note: This does not replace the Qt build with at static library. After this
commit we still build dynamically against the system Qt library. The only
difference is that compatibility with an older version is maintained. This
loses minor GUI functionality (such as setPlaceholderText) but still
allows integration into the window management of the host OS, unlike
when statically linking.

Conflicts:

	doc/release-process.md
2014-05-29 22:11:14 +01:00
Wladimir J. van der Laan 3d20cf3122
gitian: don't export any symbols from executable
This avoids conflicts between the libraries statically linked into bitcoin and any
libraries we may link dynamically (such as Qt and OpenSSL, see issue #4094).
It also avoids start-up overhead to not export any unnecessary symbols.
To do this, build a linker script that marks all symbols as local.

Conflicts:

	contrib/gitian-descriptors/gitian-linux.yml
2014-05-29 22:05:19 +01:00
Warren Togami 22ea4eb964 Use glibc compat. Removes the static linux builds as this enables compatibility with older distros again. 2014-05-26 20:57:07 +02:00
Wladimir J. van der Laan 218d322cef Update to minupnpc 1.9 - Needs rebuild of deps-[win|linux] package, but not Qt (phew). 2014-05-26 20:40:05 +02:00
Wladimir J. van der Laan 6fa4493539 gitian: upgrade openssl to 1.0.1g for both win and linux
OpenSSL 1.0.1g fixes CVE-2014-0160.

Also bump dependency versions.

Rebased-From: 4a811b0
(cherry picked from commit bitcoin/bitcoin@bfeabe5873)

Conflicts:
	contrib/gitian-descriptors/deps-linux.yml
	contrib/gitian-descriptors/deps-win.yml
	contrib/gitian-descriptors/gitian-linux.yml
	contrib/gitian-descriptors/gitian-win.yml
	contrib/gitian-descriptors/qt-win.yml
	doc/release-process.md
2014-04-08 14:21:03 +02:00
Wladimir J. van der Laan 2fb828aaf2 gitian: add statically built variant of bitcoind/bitcoin-cli
Rebased-From: ddcd1af
(cherry picked from commit bitcoin/bitcoin@6848d180b2)

Conflicts:
	contrib/gitian-descriptors/gitian-linux.yml
2014-04-08 14:11:32 +02:00
langerhans 0b8de9ac45 Remove --disable-tests from Gitian descriptor 2014-03-29 22:24:05 +01:00
langerhans c0c746a84b Update the Gitian descriptors 2014-03-29 20:50:08 +01:00
Wladimir J. van der Laan 93c3e21e92 Re-enable UPnP by default in gitian builds
IIRC this was the case with 0.8.6, so let's keep this to avoid the risk
of losing connectable nodes with 0.9 release.

Also our miniupnpc library was recently updated and I've heard
reports that it works better than before now.
2014-02-27 15:44:00 +01:00
Wladimir J. van der Laan 1552145ae5 gitian: Sort generated source distribution archive
Sort the filenames in the resulting tar, normalize the time/date
and user/group information.
2014-02-10 10:01:06 +01:00
Wladimir J. van der Laan aa9348563c gitian: Make linux build of OpenSSL deterministic
OpenSSL was embedding a timestamp causing its build to be
non-deterministic.
Change deps-linux to be deterministic by using FAKETIME
as needed and disabling it when it gets in the way.
2014-02-06 19:37:16 +01:00
Wladimir J. van der Laan 65615a3a78 Gitian fixes for 0.9.0rc1 build
- Add 'g++' package (virtualbox images don't have this by default)
- Workaround for determinism in Qt5 resources
- Pass --disable-maintainer-mode --disable-dependency-tracking to
  configure for libqrencode to avoid random errors about missing m4
  directory
- Fix typo -with-pic -> --with-pic

It is not necessary to rebuild dependencies after this commit.
Fixes #3610 and #3612.
2014-02-03 14:43:51 +01:00
Wladimir J. van der Laan 1cbbeb6a27 gitian: Add openssl to linux deps
Build OpenSSL instead of using distribution-provided
library.
2014-01-16 12:45:04 +01:00
Wladimir J. van der Laan 64be7f7892 gitian: Build boost dependency for linux
Instead of using the boost provided by Ubuntu 12.04, build our own
dependency like we do for Windows.

This allows using a much newer version (1.55 versus 1.46) as well as
building with `-fPIC` so that `-pie` can be used in the x86-64 build.
2014-01-16 12:45:03 +01:00
Micha f4e72bf8d2
Make gitian builds consistent across platforms
Change Linux deps to use a zip archive rather than a gzipped tarball to
match win32
Rename Linux descriptor to gitian-linux.yml to match win32
2014-01-15 22:56:17 +02:00
Renamed from contrib/gitian-descriptors/gitian.yml (Browse further)