Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package request: sstp-client
@ 2023-10-13 22:00 michalszmidt
  2023-10-17 17:43 ` balejk
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: michalszmidt @ 2023-10-13 22:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2124 bytes --]

New issue by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/46669

Description:
### Package name

sstp-client

### Package homepage

https://sstp-client.sourceforge.net

### 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.

```ini
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: sstp-client
  2023-10-13 22:00 [ISSUE] Package request: sstp-client michalszmidt
@ 2023-10-17 17:43 ` balejk
  2023-12-19  2:45 ` [ISSUE] [CLOSED] " sgn
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: balejk @ 2023-10-17 17:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

New comment by balejk on void-packages repository

https://github.com/void-linux/void-packages/issues/46669#issuecomment-1766880793

Comment:
I have written a template for this some time ago, feel free to use it:
```
# Template file for 'sstp-client'
pkgname=sstp-client
version=1.0.19
revision=1
build_style=gnu-configure
configure_script=./autogen.sh
hostmakedepends="pkg-config autoconf automake libtool"
makedepends="libevent-devel ppp-devel libtls-devel"
short_desc="A client implementation of Secure Socket Tunneling Protocol (SSTP)"
maintainer=
license="GPL-3.0-or-later"
homepage="https://gitlab.com/eivnaes/sstp-client"
distfiles="https://gitlab.com/eivnaes/sstp-client/-/archive/${version}/sstp-client-${version}.tar.gz"
checksum=e2652365f69f5037102e78f4e115ff764a390b27bb3fd513a8a50b10a61bb613
```

However, I have been having some issues with the latest version (you can take a look at the project's issue tracker at Gitlab) so right now I'm running a git version. If you happen to run into the same problems, you can just change the template to use version 1.0.18 for now (don't forget to update the checksum), however please note that 1.0.18 requires a simple patch in order to be compilable on musl (see the project's git log, something like second commit after the 1.0.18 tag).


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] Package request: sstp-client
  2023-10-13 22:00 [ISSUE] Package request: sstp-client michalszmidt
  2023-10-17 17:43 ` balejk
@ 2023-12-19  2:45 ` sgn
  2023-12-29 16:50 ` michalszmidt
  2023-12-29 18:09 ` balejk
  3 siblings, 0 replies; 5+ messages in thread
From: sgn @ 2023-12-19  2:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]

Closed issue by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/46669

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.

```ini
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: sstp-client
  2023-10-13 22:00 [ISSUE] Package request: sstp-client michalszmidt
  2023-10-17 17:43 ` balejk
  2023-12-19  2:45 ` [ISSUE] [CLOSED] " sgn
@ 2023-12-29 16:50 ` michalszmidt
  2023-12-29 18:09 ` balejk
  3 siblings, 0 replies; 5+ messages in thread
From: michalszmidt @ 2023-12-29 16:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]

New comment by michalszmidt on void-packages repository

https://github.com/void-linux/void-packages/issues/46669#issuecomment-1872215300

Comment:
In the end I could assemble something like that

 I also assembled nm-sstp-plugin template, see [that comment](https://github.com/void-linux/void-packages/issues/46670#issuecomment-1872214252) but still can't connect. Unfortunately VPN server is not mine so can't check logs. 

@balejk what kind of issues have you encouraged?

@sgn Does it meet packaging guidelines in below form?

```ini
# Template file for 'sstp-client'

pkgname=sstp-client
version=1.0.19
revision=1
build_style=gnu-configure
configure_script=./autogen.sh
hostmakedepends="pkg-config autoconf automake libtool"
maintainer=""
license="GPL-3.0"
makedepends="libevent-devel ppp-devel libtls-devel"
depends="libsstp>=${version}_${revision}"
short_desc="A client implementation of Secure Socket Tunneling Protocol (SSTP)"
homepage="https://gitlab.com/eivnaes/sstp-client"
distfiles="https://gitlab.com/eivnaes/sstp-client/-/archive/${version}/sstp-client-${version}.tar.gz"
checksum=e2652365f69f5037102e78f4e115ff764a390b27bb3fd513a8a50b10a61bb613

pppd_plugin_version=2.4.7

sstp-client-devel_package(){
    depends="${sourcepkg}>=${version}_${revision}"
    short_desc+=" - development files"
    pkg_install() {
        vmove usr/include
        vmove "usr/lib/*.a"
        vmove usr/lib/pkgconfig
        vmove "usr/lib/pppd/${pppd_plugin_version}/*.a"
    }
}

sstp-client-doc_package(){
    short_desc+=" - documentation files"
    pkg_install() {
        vmove usr/share/doc
        vmove usr/share/man
    }
}

libsstp_package(){
    short_desc+="sstp-client (libsstp_api-X.so sstp-pppd-plugin.so) - shared libraries"
    shlib_provides="libsstp_api-0.so sstp-pppd-plugin.so"
    pkg_install() {
        vmove "usr/lib/pppd/${pppd_plugin_version}/*.so"
        vmove "usr/lib/*.so"
    }
}     
```



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Package request: sstp-client
  2023-10-13 22:00 [ISSUE] Package request: sstp-client michalszmidt
                   ` (2 preceding siblings ...)
  2023-12-29 16:50 ` michalszmidt
@ 2023-12-29 18:09 ` balejk
  3 siblings, 0 replies; 5+ messages in thread
From: balejk @ 2023-12-29 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1196 bytes --]

New comment by balejk on void-packages repository

https://github.com/void-linux/void-packages/issues/46669#issuecomment-1872254468

Comment:
>  I also assembled nm-sstp-plugin template, see [that comment](https://github.com/void-linux/void-packages/issues/46670#issuecomment-1872214252) but still can't connect. Unfortunately VPN server is not mine so can't check logs. 

Sorry, I don't use NM so I cannot help you there. But I suggest you try
to install version 1.0.18 and check whether that works (see below). Also
note that if you are using musl you will need to apply a patch for it to
compile - see the project's git log, it should be something like the
second commit after the release of 1.0.18.

> @balejk what kind of issues have you encouraged?

Please see the issue that I have opened at the project's Gitlab
repository, I hope I have described it there in enough detail.

If you could confirm that you are experiencing the same issue (since it
seems that you are using version 1.0.19 which should be the first one
that is affected) it would be great if you could mention it in the issue
with some details, especially if you are using sstpc in a different way
than me (i. e. via NM).


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-29 18:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 22:00 [ISSUE] Package request: sstp-client michalszmidt
2023-10-17 17:43 ` balejk
2023-12-19  2:45 ` [ISSUE] [CLOSED] " sgn
2023-12-29 16:50 ` michalszmidt
2023-12-29 18:09 ` balejk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).