mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
add a snapshot with few bugfixes define _GNU_SOURCE for musl force openssl with md5 instead of gnutls and outdated-vendor-md5 add virtual/pkgconfig for c-ares and check tested with gcc-16/clang-21/musl Closes: https://bugs.gentoo.org/836720 Closes: https://bugs.gentoo.org/880535 Closes: https://bugs.gentoo.org/898094 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43661 Signed-off-by: Sam James <sam@gentoo.org>
38 lines
827 B
Bash
38 lines
827 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools flag-o-matic
|
|
|
|
COMMIT_HASH="429325a976788e389ca465e1449153d991754a17"
|
|
DESCRIPTION="Small command line tool for testing SIP applications and devices"
|
|
HOMEPAGE="https://github.com/nils-ohlmeier/sipsak"
|
|
SRC_URI="https://github.com/nils-ohlmeier/sipsak/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}-${COMMIT_HASH}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
dev-libs/openssl:=
|
|
net-dns/c-ares:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-libs/check )
|
|
"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-0.9.8.1-force_openssl.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
append-cppflags -D_GNU_SOURCE
|
|
eautoreconf
|
|
}
|