From f9b1a7c5aea543d8b72756b19c9a97f5516dc94d Mon Sep 17 00:00:00 2001 From: kalelidev Date: Fri, 13 Feb 2026 23:10:06 -0600 Subject: [PATCH] New package: sstp-client-1.0.20 --- common/shlibs | 1 + srcpkgs/sstp-client/template | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/sstp-client/template diff --git a/common/shlibs b/common/shlibs index 592caebab85aa2..991fd435ad8c93 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4570,3 +4570,4 @@ libtomlplusplus.so.3 tomlplusplus-3.4.0_1 libglycin-2.so.0 glycin-2.0.7_1 libglycin-gtk4-2.so.0 glycin-gtk4-2.0.7_1 libresvg.so.0.46 libresvg0-0.46.0_1 +libsstp_api-0.so sstp-client-1.0.20_1 diff --git a/srcpkgs/sstp-client/template b/srcpkgs/sstp-client/template new file mode 100644 index 00000000000000..b15713357d6a95 --- /dev/null +++ b/srcpkgs/sstp-client/template @@ -0,0 +1,36 @@ +# Template file for 'sstp-client' +pkgname=sstp-client +version=1.0.20 +revision=1 +build_style=gnu-configure +short_desc="Secure Socket Tunneling Protocol (SSTP) client" +maintainer="kalelidev " +license="GPL-2.0-or-later" +homepage="https://gitlab.com/sstp-project/sstp-client" +distfiles="https://gitlab.com/sstp-project/sstp-client/-/releases/${version}/downloads/dist-gzip/sstp-client-${version}.tar.gz" +checksum="6c84b6cdcc21ebea6daeb8c5356dcdfd8681f4981a734f8485ed0b31fc30aadd" + +_pppver=2.5.0 + +configure_args="--prefix=/usr + --with-runtime-dir=/var/run/sstpc + --with-pppd-plugin-dir=/usr/lib/pppd/${_pppver}" + +hostmakedepends="pkg-config libtool" +makedepends="ppp-devel libevent-devel openssl-devel" +depends="ppp ca-certificates" +make_dirs="/var/run/sstpc 0755 root root" +# No useful testsuite upstream +make_check="no" + +sstp-client-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/libsstp_api.so + vmove "usr/lib/*.a" 2>/dev/null || : + vmove "usr/lib/pppd/${_pppver}/*.a" + } +}