<commit_before>require "formula"

class Mosquitto < Formula
  homepage "http://mosquitto.org/"
  url "http://mosquitto.org/files/source/mosquitto-1.4.2.tar.gz"
  sha1 "208ce5f01fcf25fff6b241b22add055ba2884822"

  bottle do
    sha1 "85ed6685fb8efcf1aa909aaf50da8a843da819e0" => :yosemite
    sha1 "a505a2071a526c7eb18ce82ca9cd64022f1b0294" => :mavericks
    sha1 "a533fe55655eb71e3f104d36e52fecaaa1eb8ab0" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "cmake" => :build
  depends_on "c-ares"
  depends_on "libwebsockets" => :recommended

  # mosquitto requires OpenSSL >=1.0 for TLS support
  depends_on "openssl"

  def install
    args = std_cmake_args<commit_msg>mosquitto: update 1.4.2 bottle.<commit_after>require "formula"

class Mosquitto < Formula
  homepage "http://mosquitto.org/"
  url "http://mosquitto.org/files/source/mosquitto-1.4.2.tar.gz"
  sha1 "208ce5f01fcf25fff6b241b22add055ba2884822"

  bottle do
    sha256 "5ddaaa8d6a3b1243e56a401352a30c98baac64912d727db4f1d863c91cde49d5" => :yosemite
    sha256 "ebf06abb4e01eb008cc77ae09ae3ab2d593d4150398ebe5d25e0a08b0c80f4e5" => :mavericks
    sha256 "120219f9750c23bc66635222c9f79a4434188fbdb046a5a43b8d1d350eb62bde" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "cmake" => :build
  depends_on "c-ares"
  depends_on "libwebsockets" => :recommended

  # mosquitto requires OpenSSL >=1.0 for TLS support
  depends_on "openssl"

  def install
    args = std_cmake_args
{'fraction_non_alphanumeric': 0.09703504043126684, 'fraction_numerical': 0.17452830188679244, 'mean_word_length': 5.111111111111111, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1977471', 'n_tokens_mistral': 785, 'n_tokens_neox': 646, 'n_words': 96}