From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B93613835D for ; Sat, 17 Apr 2021 19:20:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37E22E0858; Sat, 17 Apr 2021 19:20:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 075EAE0845 for ; Sat, 17 Apr 2021 19:20:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF270340B1E for ; Sat, 17 Apr 2021 19:20:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E168B720 for ; Sat, 17 Apr 2021 19:20:28 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1618687171.bb78b76f97c8a13d4bd3f9fcb36f2a323ee1de2d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sstp-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/sstp-client/sstp-client-1.0.12-r1.ebuild X-VCS-Directories: net-misc/sstp-client/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: bb78b76f97c8a13d4bd3f9fcb36f2a323ee1de2d X-VCS-Branch: master Date: Sat, 17 Apr 2021 19:20:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 24ae89da-d21f-4493-9313-8493b3ac9120 X-Archives-Hash: 96c403384cf6d74ca20ef4fcb705af80 commit: bb78b76f97c8a13d4bd3f9fcb36f2a323ee1de2d Author: Conrad Kostecki gentoo org> AuthorDate: Sat Apr 17 18:34:07 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Apr 17 19:19:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb78b76f net-misc/sstp-client: migrate to glep 81 Closes: https://bugs.gentoo.org/781437 Closes: https://bugs.gentoo.org/717416 Closes: https://bugs.gentoo.org/696958 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-misc/sstp-client/sstp-client-1.0.12-r1.ebuild | 63 +++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/net-misc/sstp-client/sstp-client-1.0.12-r1.ebuild b/net-misc/sstp-client/sstp-client-1.0.12-r1.ebuild new file mode 100644 index 00000000000..9fb40250d36 --- /dev/null +++ b/net-misc/sstp-client/sstp-client-1.0.12-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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:0= + net-dialup/ppp:= +" +RDEPEND=" + ${DEPEND} + acct-group/sstpc + acct-user/sstpc +" +BDEPEND="virtual/pkgconfig" + +CONFIG_CHECK="~NETFILTER_NETLINK" + +PATCHES=( + "${FILESDIR}/${P}-remove-network-test.patch" + "${FILESDIR}/${P}-fix-example.patch" +) + +DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local PPPD_VER="$(best_version net-dialup/ppp)" + PPPD_VER=${PPPD_VER#*/*-} # reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision + + 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 "${D}" -name '*.la' -delete || die +}