void-linux / void-linux/void-packages
Package request: sstp-client
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Package name
sstp-client
Package homepage
https://sstp-client.sourceforge.net
https://gitlab.com/sstp-project/sstp-client
Description
SSTP is Microsofts Remote Access Solution (RAS) for PPP over SSL.
http://en.wikipedia.org/wiki/Secure_Socket_Tunneling_Protocol
SSTP-Client features:
- Connect to Microsoft RAS network using SSTP
- Use HTTPS with strong encryption over port 443
- Asynchronous HDLC frame support
- Integration with pon/poff with various distributions
Already tried creating template without success.
pkgname=sstp-client
version=1.0.19
revision=1
build_style=configure
configure_args='--with-libevent=2 --disable-static --with-runtime-dir="/var/run/sstpc" --enable-group=sstpc --enable-user=sstpc --prefix=/usr'
hostmakedepends="ppp shadow gawk"
makedepends="pkg-config ppp-devel libevent-devel libevent openssl openssl-devel autoconf autoconf-archive libtool automake"
depends="ppp libevent openssl"
short_desc="A client implementation of SSTP VPN for Linux"
license="GPL-2.0-or-later"
homepage="https://sstp-client.sourceforge.net"
distfiles="https://gitlab.com/sstp-project/sstp-client/-/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=e2652365f69f5037102e78f4e115ff764a390b27bb3fd513a8a50b10a61bb613
make_install_args="prefix=/usr"
pre_configure() {
getent group sstpc || /usr/bin/groupadd sstpc
getent passwd sstpc || /usr/bin/useradd -r \
-c "Secure Socket Tunneling Protocol (SSTP) Client" \
-g sstpc \
-d /var/run/sstpc \
-s /usr/bin/nologin \
sstpc
pppd_version="$(pppd --version | cut -d ' ' -f 3)"
configure_args="$configure_args --with-pppd-plugin-dir=/usr/lib/pppd/$pppd_version"
echo "$configure_args"
prefix='/usr'
autoreconf --install
}
pre_build() {
cd $wrksrc
./configure
}
do_check(){
cd $wrksrc
make check
}
post_install() {
vlicense COPYING
}
Does the requested package meet the package requirements?
Compiled, Required
Is the requested package released?
Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied sstp-client template and compare its configure arguments, dependencies, user/group setup, and source archive details with the upstream project at the linked homepage. Check whether the template builds version 1.0.19 and whether its existing make check step succeeds; done means a working package recipe with the declared metadata and checks passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100