Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
the infamous jemalloc on ppc/ppc64 workaround
Browse files Browse the repository at this point in the history
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3298 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
ingvarha committed Oct 14, 2008
1 parent f425973 commit 314f303
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions redhat/varnish.spec
@@ -1,13 +1,12 @@
Summary: Varnish is a high-performance HTTP accelerator Summary: Varnish is a high-performance HTTP accelerator
Name: varnish Name: varnish
Version: 2.0 Version: 2.0
Release: 0.11.rc1%{?dist} Release: 0.12.20081014svn3295%{?dist}
License: BSD License: BSD
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.varnish-cache.org/ URL: http://www.varnish-cache.org/
#Source0: http://varnish.projects.linpro.no/static/varnish-cache.tar.gz Source0: http://varnish.projects.linpro.no/static/varnish-cache.tar.gz
#Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz #Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
Source0: http://downloads.sourceforge.net/varnish/varnish-2.0-rc1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# The svn sources needs autoconf, automake and libtool to generate a suitable # The svn sources needs autoconf, automake and libtool to generate a suitable
# configure script. Release tarballs would not need this # configure script. Release tarballs would not need this
Expand Down Expand Up @@ -63,7 +62,7 @@ Varnish is a high-performance HTTP accelerator


%prep %prep
#%setup -q #%setup -q
%setup -q -n varnish-2.0-rc1 %setup -q -n varnish-cache


# The svn sources needs to generate a suitable configure script # The svn sources needs to generate a suitable configure script
# Release tarballs would not need this # Release tarballs would not need this
Expand All @@ -90,7 +89,12 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
%build %build


# Remove "--disable static" if you want to build static libraries # Remove "--disable static" if you want to build static libraries
# jemalloc is not compatible with Red Hat's ppc64 RHEL5 kernel koji server :-(
%ifarch ppc64 ppc
%configure --disable-static --localstatedir=/var/lib --disable-jemalloc
%else
%configure --disable-static --localstatedir=/var/lib %configure --disable-static --localstatedir=/var/lib
%endif


# We have to remove rpath - not allowed in Fedora # We have to remove rpath - not allowed in Fedora
# (This problem only visible on 64 bit arches) # (This problem only visible on 64 bit arches)
Expand Down Expand Up @@ -217,6 +221,10 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig


%changelog %changelog
* Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.12.20081014svn3295
- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat.
- Synced to upstream again. No more patches needed.

* Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1 * Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1
- 2.0-rc1 released. New upstream sources - 2.0-rc1 released. New upstream sources
- Added a patch for pagesize to match redhat's rhel5 ppc64 koji build boxes - Added a patch for pagesize to match redhat's rhel5 ppc64 koji build boxes
Expand Down

0 comments on commit 314f303

Please sign in to comment.