DavMail Homebrew Formula (d/davmail.rb)

homebrew-core · Formula/d/davmail.rb · ruby · BSD-2-Clause
infra, dev-tools, lang:ruby, lang:java, tag:homebrew, tag:macos

A Homebrew installation formula for the DavMail POP/IMAP/SMTP/Caldav gateway. Reuse it to automate the packaging and installation of Java-based mail gateways on macOS.

# Source: https://github.com/tinyhumansai/homebrew-core | License: BSD-2-Clause | Copyright 2009-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
class Davmail < Formula
  desc "POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
  homepage "https://davmail.sourceforge.net/"
  url "https://downloads.sourceforge.net/project/davmail/davmail/6.8.1/davmail-6.8.1-4210.zip"
  version "6.8.1"
  sha256 "15425e69f77af455808960a3856bbef71fec7d45ebd62c9c5541f6766f7bbbac"
  license "GPL-2.0-or-later"

  livecheck do
    url "https://sourceforge.net/projects/davmail/rss?path=/davmail"
    regex(%r{url=.*?/davmail[._-]v?(\d+(?:\.\d+)+)(?:-\d+)?\.(?:t|zip)}i)
  end

  no_autobump! because: :incompatible_version_format

  bottle do
    sha256 cellar: :any_skip

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key