Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
  2020-07-05  1:52 ` Package request: NetworkManager-l2tp dkosovic
@ 2020-07-05  2:01 ` dkosovic
  2020-07-05  2:04 ` dkosovic
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-05  2:01 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653831687

Comment:
Here is a NetworkManager-l2tp 1.8.2 package template file, if someone wants to change the maintainer field and submit it, be my guest:

```bash
# Template file for 'NetworkManager-l2tp'
pkgname=NetworkManager-l2tp
version=1.8.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --runstatedir=/run"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="gtk+3-devel libglib-devel libsecret-devel network-manager-applet-devel
libressl-devel nss-devel ppp-devel"
depends="strongswan xl2tpd ppp"
short_desc="NetworkManager VPN plugin for L2TP/IPsec"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94

do_configure() {
	PPP_VERSION=`sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h`

	./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
}
```

If you want to build a NetworkManager-l2tp 1.8.2 binary package now, here is a summary of how to based on the building packages instructions from :
* https://github.com/void-linux/void-packages/blob/master/README.md

Ensure that `git`, the [requirements](Requirements) from that page as well at least one of the chroot based utilities required by `xbps-src` are installed.

Clone the void-packages git repository, install the bootstrap packages and create the NetworkManager-l2tp source package directory
```
git clone git://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
```

Use a text editor to create the `srcpkgs/NetworkManager-l2tp/template` file which has the contents from the template file at the start of this message.

Build the package with:
```
./xbps-src pkg NetworkManager-l2tp
```

Once built, install the package and run time dependencies with
```
sudo xbps-install --repository=hostdir/binpkgs NetworkManager-l2tp
sudo xbps-install -S strongswan xl2tpd ppp
```

For desktop environments to fully pickup that the NetworkManager-l2tp plugins were installed, logout and re-login to the desktop environment.

For NetworkManager-l2tp  debugging which increases the pppd logging, issue:
```
sudo killall -TERM nm-l2tp-service
sudo /usr/libexec/nm-l2tp-service --debug
```
Then bring up the VPN connection in the GUI desktop environment. Not all `nm-l2tp-service --debug` logging goes to the screen, the pppd logging uses syslog and where it goes depends on which syslog daemon you are using, if for example you are using socklog, the logging would go to `/var/log/socklog/messages/current`



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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
  2020-07-05  1:52 ` Package request: NetworkManager-l2tp dkosovic
  2020-07-05  2:01 ` dkosovic
@ 2020-07-05  2:04 ` dkosovic
  2020-07-05  3:07 ` ericonr
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-05  2:04 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653831687

Comment:
Here is a NetworkManager-l2tp 1.8.2 package template file, if someone wants to change the maintainer field and submit it, be my guest:

```bash
# Template file for 'NetworkManager-l2tp'
pkgname=NetworkManager-l2tp
version=1.8.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --runstatedir=/run"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="gtk+3-devel libglib-devel libsecret-devel network-manager-applet-devel
libressl-devel nss-devel ppp-devel"
depends="strongswan xl2tpd ppp"
short_desc="NetworkManager VPN plugin for L2TP/IPsec"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94

do_configure() {
	PPP_VERSION=`sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h`

	./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
}
```

If you want to build a NetworkManager-l2tp 1.8.2 binary package now, here is a summary of how to based on the building packages instructions from :
* https://github.com/void-linux/void-packages/blob/master/README.md

Ensure that `git`, the [requirements](Requirements) from that page as well at least one of the chroot based utilities required by `xbps-src` are installed.

Clone the void-packages git repository, install the bootstrap packages and create the NetworkManager-l2tp source package directory
```
git clone git://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
mkdir srcpkgs/NetworkManager-l2tp
```

Use a text editor to create the `srcpkgs/NetworkManager-l2tp/template` file which has the contents from the template file at the start of this message.

Build the package with:
```
./xbps-src pkg NetworkManager-l2tp
```

Once built, install the package and run time dependencies with
```
sudo xbps-install --repository=hostdir/binpkgs NetworkManager-l2tp
sudo xbps-install -S strongswan xl2tpd ppp
```

For desktop environments to fully pickup that the NetworkManager-l2tp plugins were installed, logout and re-login to the desktop environment.

For NetworkManager-l2tp  debugging which increases the pppd logging, issue:
```
sudo killall -TERM nm-l2tp-service
sudo /usr/libexec/nm-l2tp-service --debug
```
Then bring up the VPN connection in the GUI desktop environment. Not all `nm-l2tp-service --debug` logging goes to the screen, the pppd logging uses syslog and where it goes depends on which syslog daemon you are using, if for example you are using socklog, the logging would go to `/var/log/socklog/messages/current`



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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-07-05  2:04 ` dkosovic
@ 2020-07-05  3:07 ` ericonr
  2020-07-05  3:46 ` dkosovic
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2020-07-05  3:07 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653836021

Comment:
@dkosovic any reason you wouldn't like to make PR for it?

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-07-05  3:07 ` ericonr
@ 2020-07-05  3:46 ` dkosovic
  2020-07-05  4:36 ` ericonr
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-05  3:46 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653838433

Comment:
@ericonr  I'm the upstream maintainer of NetworkManager-l2tp, I was just trying to avoid being a maintainer of a NetworkManager-l2tp package for another Linux distro on top of the ones I already maintain. I don't have anything against a PR, I just wanted to avoid being the maintainer.

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-07-05  3:46 ` dkosovic
@ 2020-07-05  4:36 ` ericonr
  2020-07-09 13:58 ` benn13
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: ericonr @ 2020-07-05  4:36 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653841053

Comment:
@dkosovic that's fair. Thanks for taking the time to make the template! I don't use it, so I wouldn't be able to maintain it properly, unfortunately. If no one takes you up on the offer, I can see about making a PR with the package already orphaned.

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-07-05  4:36 ` ericonr
@ 2020-07-09 13:58 ` benn13
  2020-07-09 20:46 ` dkosovic
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: benn13 @ 2020-07-09 13:58 UTC (permalink / raw)
  To: ml

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

New comment by benn13 on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-656144119

Comment:
Thank a lot, I don`t have the knowledge I am just a Linux hobbyist, 
Is the template something like aur thing in arch?
can I build it?

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (6 preceding siblings ...)
  2020-07-09 13:58 ` benn13
@ 2020-07-09 20:46 ` dkosovic
  2020-07-09 20:49 ` dkosovic
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-09 20:46 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-656342972

Comment:
@benn13, package template files serve a similar purpose to AUR PKGBUILDs.

I included instructions in the message that has the template file on how to build and install the NetworkManager-l2tp 1.8.2 binary package.

If no one takes up the offer of maintaining the template file, I might make a PR and maybe orphan it it a few months time.

When I was testing there was an issue with NetworkManager and dhcpcd  :
```
dhcpcd[739]: ppp0: waiting for carrier
```
it also happens with NetworkManager-pptp and probably other pppd based VPNs. I tried configuring NetworkManager to use its internal dhcp client, but didn't have luck. Although the the L2TP and IPsec connections were successful,  the DHCP failure causes a VPN connection failure. The issue may be specific to the version of NetworkManager I was using, not sure.

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (7 preceding siblings ...)
  2020-07-09 20:46 ` dkosovic
@ 2020-07-09 20:49 ` dkosovic
  2020-07-23 13:48 ` [ISSUE] [CLOSED] " sgn
  2020-07-23 13:48 ` sgn
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-09 20:49 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-656342972

Comment:
@benn13, package template files serve a similar purpose to AUR PKGBUILDs in at least how to describe build dependencies, configure arguments, where the files are installed, etc.

I included instructions in the message that has the template file on how to build and install the NetworkManager-l2tp 1.8.2 binary package.

If no one takes up the offer of maintaining the template file, I might make a PR and maybe orphan it it a few months time.

When I was testing there was an issue with NetworkManager and dhcpcd  :
```
dhcpcd[739]: ppp0: waiting for carrier
```
it also happens with NetworkManager-pptp and probably other pppd based VPNs. I tried configuring NetworkManager to use its internal dhcp client, but didn't have luck. Although the the L2TP and IPsec connections were successful,  the DHCP failure causes a VPN connection failure. The issue may be specific to the version of NetworkManager I was using, not sure.

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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (9 preceding siblings ...)
  2020-07-23 13:48 ` [ISSUE] [CLOSED] " sgn
@ 2020-07-23 13:48 ` sgn
  10 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2020-07-23 13:48 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-663017765

Comment:
Merged #23646 

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

* Re: [ISSUE] [CLOSED] Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
                   ` (8 preceding siblings ...)
  2020-07-09 20:49 ` dkosovic
@ 2020-07-23 13:48 ` sgn
  2020-07-23 13:48 ` sgn
  10 siblings, 0 replies; 11+ messages in thread
From: sgn @ 2020-07-23 13:48 UTC (permalink / raw)
  To: ml

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

Closed issue by benn13 on void-packages repository

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

Description:
Hi,
All distros have this package in their repos and it`s very useful for people who have l2tp vpn.
https://github.com/nm-l2tp/NetworkManager-l2tp


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

* Re: Package request: NetworkManager-l2tp
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
@ 2020-07-05  1:52 ` dkosovic
  2020-07-05  2:01 ` dkosovic
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dkosovic @ 2020-07-05  1:52 UTC (permalink / raw)
  To: ml

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

New comment by dkosovic on void-packages repository

https://github.com/void-linux/void-packages/issues/22610#issuecomment-653831687

Comment:
Here is a NetworkManager-l2tp 1.8.2 package template file, if someone wants to change the maintainer field and submit it, be my guest:

```bash
# Template file for 'NetworkManager-l2tp'
pkgname=NetworkManager-l2tp
version=1.8.2
revision=1
build_style=gnu-configure
configure_args="--runstatedir=/run"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="gtk+3-devel libglib-devel libsecret-devel network-manager-applet-devel
libressl-devel nss-devel ppp-devel"
depends="strongswan xl2tpd ppp"
short_desc="NetworkManager VPN plugin for L2TP/IPsec"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
distfiles="https://github.com/nm-l2tp/NetworkManager-l2tp/releases/download/${version}/${pkgname}-${version}.tar.xz"
checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94

do_configure() {
	PPP_VERSION=`sed -n 's/^\#define\s*VERSION\s*"\([^\s]*\)"$/\1/p' /usr/include/pppd/patchlevel.h`

	./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
}
```

If you want to build a NetworkManager-l2tp 1.8.2 binary package now, here is a summary of how to based on the building packages instructions from :
* https://github.com/void-linux/void-packages/blob/master/README.md

Ensure that `git`, the [requirements](Requirements) from that page as well at least one of the chroot based utilities required by `xbps-src` are installed.

Clone the void-packages git repository, install the bootstrap packages and create the NetworkManager-l2tp source package directory
```
git clone git://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
```

Use a text editor to create the `srcpkgs/NetworkManager-l2tp/template` file which has the contents from the template file at the start of this message.

Build the package with:
```
./xbps-src pkg NetworkManager-l2tp
```

Once built, install the package and run time dependencies with
```
sudo xbps-install --repository=hostdir/binpkgs NetworkManager-l2tp
sudo xbps-install -S strongswan xl2tpd ppp
```

For desktop environments to fully pickup that the NetworkManager-l2tp plugins were installed, logout and re-login to the desktop environment.

For NetworkManager-l2tp  debugging which increases the pppd logging, issue:
```
sudo killall -TERM nm-l2tp-service
sudo /usr/libexec/nm-l2tp-service --debug
```
Then bring up the VPN connection in the GUI desktop environment. Not all `nm-l2tp-service --debug` logging goes to the screen, the pppd logging uses syslog and where it goes depends on which syslog daemon you are using, if for example you are using socklog, the logging would go to `/var/log/socklog/messages/current`



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

end of thread, other threads:[~2020-07-23 13:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22610@inbox.vuxu.org>
2020-07-05  1:52 ` Package request: NetworkManager-l2tp dkosovic
2020-07-05  2:01 ` dkosovic
2020-07-05  2:04 ` dkosovic
2020-07-05  3:07 ` ericonr
2020-07-05  3:46 ` dkosovic
2020-07-05  4:36 ` ericonr
2020-07-09 13:58 ` benn13
2020-07-09 20:46 ` dkosovic
2020-07-09 20:49 ` dkosovic
2020-07-23 13:48 ` [ISSUE] [CLOSED] " sgn
2020-07-23 13:48 ` sgn

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