Sha256: 07663e6a251497021ac5af2d99d71633e0f9e78d5f5f672a6416dc62aa825a70

Contents?: true

Size: 1.38 KB

Versions: 7

Compression:

Stored size: 1.38 KB

Contents

#
# Copyright:: Copyright (c) 2013-2014 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name "logrotate"
default_version "3.8.5"

dependency "popt"

source :url => "https://fedorahosted.org/releases/l/o/logrotate/logrotate-#{version}.tar.gz",
       :md5 => "d3c13e2a963a55c584cfaa83e96b173d"

relative_path "logrotate-#{version}"

env = {
  # Patch allows this to be set manually
  "BASEDIR" => "#{install_dir}/embedded",
  # These EXTRA_* vars allow us to append to the Makefile's hardcoded LDFLAGS
  # and CFLAGS
  "EXTRA_LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include",
  "EXTRA_CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include",
}

build do
  patch :source => "logrotate_basedir_override.patch", :plevel => 0
  command "make -j #{max_build_jobs}", :env => env
  command "make install"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
omnibus-3.2.1 spec/data/complicated/config/software/logrotate.rb
omnibus-3.2.0 spec/data/complicated/config/software/logrotate.rb
omnibus-3.2.0.rc.3 spec/data/complicated/config/software/logrotate.rb
omnibus-3.2.0.rc.2 spec/data/complicated/config/software/logrotate.rb
omnibus-3.2.0.rc.1 spec/data/complicated/config/software/logrotate.rb
omnibus-3.1.1 spec/data/complicated/config/software/logrotate.rb
omnibus-3.1.0 spec/data/complicated/config/software/logrotate.rb