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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFAE6158090 for ; Tue, 10 May 2022 19:36:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE54DE0950; Tue, 10 May 2022 19:36:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0972E0950 for ; Tue, 10 May 2022 19:36:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 166E4341788 for ; Tue, 10 May 2022 19:36:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8A19456 for ; Tue, 10 May 2022 19:36:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1652211360.a67752097b07e8857a1041b13194a1659dfc4d43.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sstp-client/, net-misc/sstp-client/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/sstp-client/Manifest net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch net-misc/sstp-client/sstp-client-1.0.17.ebuild X-VCS-Directories: net-misc/sstp-client/files/ net-misc/sstp-client/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a67752097b07e8857a1041b13194a1659dfc4d43 X-VCS-Branch: master Date: Tue, 10 May 2022 19:36:08 +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: ade52e8a-9736-4826-8acd-edb57748059e X-Archives-Hash: 4276b50b202320a20dcc18d5e49fe5d5 commit: a67752097b07e8857a1041b13194a1659dfc4d43 Author: Sam James gentoo org> AuthorDate: Tue May 10 18:03:56 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue May 10 19:36:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6775209 net-misc/sstp-client: add 1.0.17 Signed-off-by: Sam James gentoo.org> net-misc/sstp-client/Manifest | 1 + ...tp-client-1.0.17-fix-bashism-configure.ac.patch | 23 ++++++++ net-misc/sstp-client/sstp-client-1.0.17.ebuild | 65 ++++++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/net-misc/sstp-client/Manifest b/net-misc/sstp-client/Manifest index 5bbc71ccec93..a45ddcf16074 100644 --- a/net-misc/sstp-client/Manifest +++ b/net-misc/sstp-client/Manifest @@ -1 +1,2 @@ DIST sstp-client-1.0.12.tar.gz 468683 BLAKE2B 4bb97465ee29eb6dd816a69b45c53e58e9de2cd5d7b5c9e39ea4ebbb3c3de0c21b3d95317114ae8c93bc3be359300bd6a55fa0512540bf25405fb47f8fb4e736 SHA512 d29128e59977fa844b0f2b02580284bb4e909994e5616c4dfa150b7a9807d0f34219355abe8c315c60c5f2482e3255824ce7e05566dbea9a7f13a1739d46468f +DIST sstp-client-1.0.17.tar.gz 482831 BLAKE2B d19c752b3f061401f89eb46bd52091e3ab0a3c931c6646a55c1ee0e6dd7e9c501fba14b7c870a2514cb72fb0fd1d8bc89538562d4d99b9d58a081e0917734f5d SHA512 eff18eb894b2c96d46315b5ac7530fe50e8dd6e6c29ea946cd0e7c05c56416e85088fc65650fb77c05e3a747cb0b4e3575af5457515d240161027910abae9775 diff --git a/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch b/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch new file mode 100644 index 000000000000..a3a41fb206a9 --- /dev/null +++ b/net-misc/sstp-client/files/sstp-client-1.0.17-fix-bashism-configure.ac.patch @@ -0,0 +1,23 @@ +https://gitlab.com/eivnaes/sstp-client/-/merge_requests/2 + +From 3cae209750549b17c547c3025859c0468cd5fcf6 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 10 May 2022 18:04:20 +0000 +Subject: [PATCH] configure.ac: fix bashism + +configure scripts are expected to work with POSIX compliant shells providing +/bin/sh so use = instead of == to work with both Bash and other shells. + +Signed-off-by: Sam James +--- a/configure.ac ++++ b/configure.ac +@@ -129,7 +129,7 @@ PKG_CHECK_EXISTS([pppd], + AM_CONDITIONAL(WITH_PPP_PLUGIN, test "${enable_ppp_plugin}" = "yes") + AC_ARG_WITH([pppd-auth-notify-support], + AS_HELP_STRING([--with-pppd-auth-notify-support], [is the auth-notifier supported in this pppd version])) +-AS_IF([test "x$with_pppd_auth_notify_support" == "xyes" ], ++AS_IF([test "x$with_pppd_auth_notify_support" = "xyes" ], + [AC_DEFINE(USE_PPPD_AUTH_HOOK,1,[Define if pppd has support for client side authentication complete notification]) + PPPD_AUTH_NOTIFIER="yes"], + [PPPD_AUTH_NOTIFIER="no"]) +GitLab diff --git a/net-misc/sstp-client/sstp-client-1.0.17.ebuild b/net-misc/sstp-client/sstp-client-1.0.17.ebuild new file mode 100644 index 000000000000..57f15cf30687 --- /dev/null +++ b/net-misc/sstp-client/sstp-client-1.0.17.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 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.17-fix-bashism-configure.ac.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 +}