xl2tpd: refactor for more resilience.
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 29 Apr 2015 13:11:16 +0000 (21:11 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 24 May 2015 10:18:38 +0000 (12:18 +0200)
commit59f33d2aa7da968294ee1ccdd1336dd7d7d76837
treeaab9c8fd0abcc09a445b43d531463ef88cf7818c
parent15f744bb53b889b201834764f02710a6e817012c
xl2tpd: refactor for more resilience.

 - Use netifd no_proto_task for notifying that xl2tpd does not have a
   protocol task running.
 - Use procd for xl2tpd service management.
 - Refreshed 2xx patches to

    - Prevent leftover regular type control result file.
    - Allow xl2tpd run as foreground process while logging via syslog.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
 - bumped version
 - removed dependency on `ip` package as routes are setup by netifd
   if iproute2 is actually required, please depend on
   `@(PACKAGE_ip||PACKAGE_ip-full)` instead of `ip`

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
22 files changed:
net/xl2tpd/Makefile
net/xl2tpd/files/l2tp.sh
net/xl2tpd/files/xl2tpd.init
net/xl2tpd/patches/200-xl2tpd-control-check-end-of-file-when-reading-pipe-t.patch [new file with mode: 0644]
net/xl2tpd/patches/201-xl2tpd-control-check-end-of-file-when-reading-pipe-t.patch [deleted file]
net/xl2tpd/patches/201-xl2tpd-control-define-_GNU_SOURCE-to-use-fmemopen-an.patch [new file with mode: 0644]
net/xl2tpd/patches/202-xl2tpd-control-define-_GNU_SOURCE-to-use-fmemopen-an.patch [deleted file]
net/xl2tpd/patches/202-xl2tpd-control-open-control-file-with-O_NONBLOCK.patch [new file with mode: 0644]
net/xl2tpd/patches/203-xl2tpd-control-cleaup-result-file-atexit.patch [new file with mode: 0644]
net/xl2tpd/patches/203-xl2tpd-control-open-control-file-with-O_NONBLOCK.patch [deleted file]
net/xl2tpd/patches/204-start_pppd-place-opts-after-plugin-pppol2tp.so.patch [deleted file]
net/xl2tpd/patches/204-xl2tpd-control-enhance-output-of-print_error.patch [new file with mode: 0644]
net/xl2tpd/patches/205-xl2tpd-control-cleaup-result-file-atexit.patch [deleted file]
net/xl2tpd/patches/205-xl2tpd-fix-typo-in-reporting-available-lns-count.patch [new file with mode: 0644]
net/xl2tpd/patches/206-xl2tpd-fix-possible-buffer-overflow-when-filling-str.patch [deleted file]
net/xl2tpd/patches/206-xl2tpd-start_pppd-place-opts-after-plugin-pppol2tp.s.patch [new file with mode: 0644]
net/xl2tpd/patches/207-l2tp_log-remove-log-prefix-that-will-duplicate-with-.patch [deleted file]
net/xl2tpd/patches/207-xl2tpd-introduce-new-option-l-for-using-syslog-as-th.patch [new file with mode: 0644]
net/xl2tpd/patches/208-xl2tpd-unlink-result-file-to-prevent-leftover-a-regu.patch [new file with mode: 0644]
net/xl2tpd/patches/209-xl2tpd-ignore-SIGPIPE-signal.patch [new file with mode: 0644]
net/xl2tpd/patches/210-xl2tpd-control-show-all-available-commands-in-help.patch [new file with mode: 0644]
net/xl2tpd/patches/250-xl2tpd-control-atexit-needs-stdlib.patch [deleted file]