Sha256: 491d4dbf98e9cc991dbacfaf6abdd29f5dd02b8642437318a88471628d4404c0

Contents?: true

Size: 1.82 KB

Versions: 8

Compression:

Stored size: 1.82 KB

Contents

#
# Copyright:: Copyright (c) 2012-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 "libwrap"
default_version "7.6"

source :url => "ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz",
       :md5 => "e6fa25f71226d090f34de3f6b122fb5a"

relative_path "tcp_wrappers_7.6"

########################################################################
#
# libwrap (tcp_wrappers) build instructions pulled from
# http://www.linuxfromscratch.org/blfs/view/6.3/basicnet/tcpwrappers.html
#
########################################################################
#
# patches:
# * shared_lib_plus_plus-1: Required Patch (Fixes some build issues
#   and adds building a shared library)
# * malloc-fix: replaces the `sed` command from the build instructions
#   linked above
# * makefile-dest-fix: patches the makefile to not add "/usr/" to
#   destination dir for library install and doesn't set ownership of
#   the libraries
#

build do
  patch :source => "tcp_wrappers-7.6-shared_lib_plus_plus-1.patch"
  patch :source => "tcp_wrappers-7.6-malloc-fix.patch"
  patch :source => "tcp_wrappers-7.6-makefile-dest-fix.patch"
  command "make STYLE=-DPROCESS_OPTIONS linux"
  command "make DESTDIR=#{install_dir}/embedded install-lib"
  command "make DESTDIR=#{install_dir}/embedded install-dev"
end

Version data entries

8 entries across 8 versions & 1 rubygems

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