From 9a1d1c6b10a4640cea10e7040ed173cf593f4cab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 23 Jan 2023 06:54:34 +0000 Subject: gentoo auto-resync : 23:01:2023 - 06:54:34 --- net-misc/sstp-client/sstp-client-1.0.18.ebuild | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 net-misc/sstp-client/sstp-client-1.0.18.ebuild (limited to 'net-misc/sstp-client/sstp-client-1.0.18.ebuild') diff --git a/net-misc/sstp-client/sstp-client-1.0.18.ebuild b/net-misc/sstp-client/sstp-client-1.0.18.ebuild new file mode 100644 index 000000000000..d11d4f1ace70 --- /dev/null +++ b/net-misc/sstp-client/sstp-client-1.0.18.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info + +DESCRIPTION="A client implementation of Secure Socket Tunneling Protocol (SSTP)" +HOMEPAGE="http://sstp-client.sourceforge.net/" +SRC_URI="mirror://sourceforge/sstp-client/${P}.tar.gz" + +LICENSE="GPL-2+-with-openssl-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="static" + +DEPEND="dev-libs/libevent:= + dev-libs/openssl:= + net-dialup/ppp:=" +RDEPEND="${DEPEND} + acct-group/sstpc + acct-user/sstpc" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~NETFILTER_NETLINK" + +PATCHES=( + "${FILESDIR}/${PN}-1.0.12-remove-network-test.patch" + "${FILESDIR}/${PN}-1.0.12-fix-example.patch" + + "${FILESDIR}/${PN}-1.0.18-includes.patch" +) + +DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local PPPD_VER="$(best_version net-dialup/ppp)" + # Reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER#*/*-} + # Main version without beta/pre/patch/revision + PPPD_VER=${PPPD_VER%%[_-]*} + + local myeconfargs=( + --enable-ppp-plugin + --enable-group=sstpc + --enable-user=sstpc + --with-pppd-plugin-dir="/usr/$(get_libdir)/pppd/${PPPD_VER}" + --with-runtime-dir="/run/sstpc" + $(use_enable static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3