logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/

uacme-1.7.6.ebuild (1050B)


  1. # Copyright 2026 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit autotools
  5. DESCRIPTION="ACMEv2 client written in plain C with minimal dependencies"
  6. HOMEPAGE="https://github.com/ndilieto/uacme"
  7. SRC_URI="https://github.com/ndilieto/uacme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
  8. LICENSE="GPL-3+"
  9. SLOT="0"
  10. KEYWORDS="~amd64"
  11. IUSE="gnutls mbedtls +openssl ualpn"
  12. REQUIRED_USE="^^ ( gnutls mbedtls openssl )"
  13. # Note: Should be able to support LibreSSL as well
  14. RDEPEND="
  15. virtual/pkgconfig
  16. >=net-misc/curl-7.38.0
  17. gnutls? ( >=net-libs/gnutls-3.3.30:= )
  18. mbedtls? ( net-libs/mbedtls:= )
  19. openssl? ( >=dev-libs/openssl-1.1.1:= )
  20. ualpn? ( dev-libs/libev )
  21. "
  22. DEPEND="${RDEPEND}"
  23. BDEPEND="app-text/asciidoc"
  24. src_prepare() {
  25. default
  26. # configure.ac requires libev/libev.m4 so generate before de-vendoring
  27. eautoreconf
  28. rm -fr libev || die
  29. }
  30. src_configure() {
  31. econf \
  32. $(use_with gnutls) \
  33. $(use_with mbedtls) \
  34. $(use_with openssl) \
  35. $(use_with ualpn)
  36. }