diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-23 06:54:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-23 06:54:34 +0000 |
commit | 9a1d1c6b10a4640cea10e7040ed173cf593f4cab (patch) | |
tree | 10b7aaa9608311a4b8a7561c6a8da3003ebb061d /net-misc/sstp-client | |
parent | defbebad0d311b0ce0694b17989a9f26cf000250 (diff) |
gentoo auto-resync : 23:01:2023 - 06:54:34
Diffstat (limited to 'net-misc/sstp-client')
-rw-r--r-- | net-misc/sstp-client/Manifest | 3 | ||||
-rw-r--r-- | net-misc/sstp-client/files/sstp-client-1.0.18-includes.patch | 42 | ||||
-rw-r--r-- | net-misc/sstp-client/sstp-client-1.0.18.ebuild | 65 |
3 files changed, 110 insertions, 0 deletions
diff --git a/net-misc/sstp-client/Manifest b/net-misc/sstp-client/Manifest index e5da56a7f42c..3b2f813cae86 100644 --- a/net-misc/sstp-client/Manifest +++ b/net-misc/sstp-client/Manifest @@ -1,6 +1,9 @@ AUX sstp-client-1.0.12-fix-example.patch 417 BLAKE2B 5f91dd2ee3e3ccc089712a2efd26dd05c91aed7a787e4240a7e10a8e81f1f74d732299731500033551331e23d8927fa9519f52214c6e8949bbd3f8f6c558dfa7 SHA512 a7bef85e7be5a90a0820317d6aa87ab6e26f97caea9e47c6e678fdc8cd1c25b1a8f11c9e2ccb93f99950da39076253b435156edd4b7dfbb606db2fe58eef66e2 AUX sstp-client-1.0.12-remove-network-test.patch 313 BLAKE2B 80857c01cfdb8a4b919729d5316ec78a9d6d4de4092afb615bbd731557e033b55d400a3fa8c0fac83a2732e3cc8212c0c16a067bfb01041d2ab2f0fc3c233847 SHA512 00d1b0ad75aa75417cf87210802c48164a715eddd7a1f53e8956e524387eb170078471d67fab32e3b25990b1b44fa415b153bf22fdf8b3c90385627c8f0075e4 AUX sstp-client-1.0.17-fix-bashism-configure.ac.patch 1054 BLAKE2B 6c73460707247ec49d639d993b45f9dc6fc96df9cf2c8946bd222a305f4e818016ccfaf3d13985eccd0020bebcf8a22f2fff22964d97aadd8018c5b9b5d234fa SHA512 8aa8417ef1ae6df46fcf7328a979d75983ecf6c279dd972651bd0faec372a3ee952e4c6b3dd3318ea463a2a080a17f60303d637cf2e5c7d8b31069051eef35c7 +AUX sstp-client-1.0.18-includes.patch 1286 BLAKE2B 51d8ba85abbef0ac8d3b9eb8e2b76db8111f3f57eaee1fbcec1c736e3f00717929c57c74ae99f911607b5cf929d129c38e283a4ea57df748a941ab36a65e7393 SHA512 782eff5caed5cdbd88c74d0ce53dae76f57726c0f9da5c09e446e3ac5669c60688b98d79d1884a57205af819528f0d5c6c7b13b73f8b9fec5c34d2574c7e1cea DIST sstp-client-1.0.17.tar.gz 482831 BLAKE2B d19c752b3f061401f89eb46bd52091e3ab0a3c931c6646a55c1ee0e6dd7e9c501fba14b7c870a2514cb72fb0fd1d8bc89538562d4d99b9d58a081e0917734f5d SHA512 eff18eb894b2c96d46315b5ac7530fe50e8dd6e6c29ea946cd0e7c05c56416e85088fc65650fb77c05e3a747cb0b4e3575af5457515d240161027910abae9775 +DIST sstp-client-1.0.18.tar.gz 477886 BLAKE2B 3a2929a5245a703c36b9bf6c17b7f65d911446a8a44b95894fd990ccf5ad01a98e4b5e843681e4643ff4b28a57de359a98ef42f9bb378d52c6829297970399b6 SHA512 e0dd0fe57b65c2001737222159e58b11177a8f1cb64564e520fad2199c0581d0550a00f49c921be74039dec59062233b4716f8b624a0e4cb48bdf8df9272f93c EBUILD sstp-client-1.0.17.ebuild 1399 BLAKE2B 567713b732fe24367ff18d27fa0a81180e34314833d7892040783da1e499a10129d4917224e42cd3738cbefacd03bb56e6baf630f8a9dd91c80ea9f1dbd80555 SHA512 e71d4fc2992050366596ca05c3be2b902adb27a0d0c5c171c8b3386a3528c3c26f926394acac3295e23345cd6db63a23d0f31319f53c5ec5b3d6d4af9a7bb7fb +EBUILD sstp-client-1.0.18.ebuild 1385 BLAKE2B aabc8572c3ec8540b1c671c936389096d05712e13e762114000aa541bf003494b5a271b839330fa93deeef4c221e53b032fb695cabbfea64fd1f25f6010cc36a SHA512 f20b5d6c1e560376af32a6990a9c9b70baab177865cf0f8a53593bc497d8aa1a1f85d9fbce5d27c63c104e859bf9105587b1a422149b8433ecd904c92d568342 MISC metadata.xml 308 BLAKE2B 3a472844a5dc30193440521d7cba758d6c78b10528e9aee2d76491a526c94bc410376b9db50062de890819b553e5db25c6b596fa6e28432d1095153f3c498573 SHA512 75461a9b457611c5b72de5d80f75969cb63987c6b8e771d3c10b321c00c51fd1bbd06ad6e30c1d9e8a8867320191fd7213ee80cd5adbee35f44226e227a4109c diff --git a/net-misc/sstp-client/files/sstp-client-1.0.18-includes.patch b/net-misc/sstp-client/files/sstp-client-1.0.18-includes.patch new file mode 100644 index 000000000000..3a768f50e889 --- /dev/null +++ b/net-misc/sstp-client/files/sstp-client-1.0.18-includes.patch @@ -0,0 +1,42 @@ +https://gitlab.com/eivnaes/sstp-client/-/merge_requests/4 + +From 1d822cca1c4e5b4db91bcbabe29bf43c05449af7 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Mon, 23 Jan 2023 02:26:28 +0000 +Subject: [PATCH 1/2] libsstp-log: add missing <time.h> include + +Needed for time_t. Fixes build w/ GCC 12 on musl. + +Bug: https://bugs.gentoo.org/854858 +--- a/src/libsstp-log/sstp-log-private.h ++++ b/src/libsstp-log/sstp-log-private.h +@@ -24,6 +24,7 @@ + #ifndef __SSTP_LOG_PRIVATE_H__ + #define __SSTP_LOG_PRIVATE_H__ + ++#include <time.h> + + /*! Keep attributes aligned to a 32-bit boundary */ + #define LOG_ALIGN32(n) \ + +From 835c6226aaccb4c39a8c50dec5d3afd87315fddd Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Mon, 23 Jan 2023 02:28:18 +0000 +Subject: [PATCH 2/2] pppd-plugin: workaround broken pppd.h header for memcpy + +ppp's pppd.h defines a BCOPY macro which expands to memcpy but doesn't +include <string.h> which provides it. Include it in pppd-plugin instead +to workaround it, as it'll be a while before we can assume the system ppp +is fixed. + +Bug: https://bugs.gentoo.org/870865 +--- a/src/pppd-plugin/sstp-mppe.c ++++ b/src/pppd-plugin/sstp-mppe.c +@@ -24,6 +24,7 @@ + + #include <config.h> + ++#include <string.h> + #include <pppd/pppd.h> + #include <sstp-mppe.h> + 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 +} |