Commit Graph

10 Commits

Author SHA1 Message Date
Vladislav Grigoryev 706675cbce pptpd: use boolean options
Use boolean options and fix the relevant init error.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2023-11-07 09:51:12 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Thiago Pereira Ricciardi 33ddd51969 net/pptpd: add static remote ip in config file
Add ability to configure a static remote ip in pptp config file
This change has backward compatibility with old config files

Also remove the MAINTAINER as intructed

Signed-off-by: Thiago Pereira Ricciardi <thiago.ricciardi@gmail.com>
2019-04-03 23:26:15 +00:00
Jeffery To f9386270db pptpd: Update init script
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also adds a service_triggers() function and removes some
unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-02-03 19:10:10 +08:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Rafał Miłecki b24601c128 pptpd: run service in foreground for procd compatibility
To have service working nicely with procd it should be running in the
foreground. Otherwise it's not possible to e.g. stop it with the init.d
script. Luckily for us pptpd has a simple switch that allows it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Fixes: 15e7f611af ("pptpd: convert init script to procd")
2017-02-23 10:21:43 +01:00
Hans Dedecker ea0bdc3360 pptpd: Make mppe and logwtmp configurable as uci parameters
Add uci option mppe which makes the mppe parameter configurable;
the default value is required,no40,no56,stateless as before.

Add uci option logwtmp; when enabled updates wtmp when users
connect and disconnect

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2016-02-18 10:44:00 +01:00
Mislav Novakovic 15e7f611af pptpd: convert init script to procd
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
2015-07-14 08:36:24 +02:00
Jo-Philipp Wich ba31ff7d5e pptpd: fix musl compatibility
- Ship a net/ppp_defs.h replacement header since musl does not provide one
   but pppd/pppd.h provided by pppd is needing it.
 - Replace deprecated MSG_TRYHARD flag with the proper MSG_DONTROUTE one
 - Unconditionally include string.h in bcrelay to avoid undeclared memset()
   and strcpy() warnings.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-17 00:12:42 +02:00
Luka Perkov 264b65a41b pptpd: import from old packages
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-05-15 02:31:19 +02:00