# HG changeset patch # User Pascal Bellard # Date 1581873939 -3600 # Node ID c34ef09acb7c3d3da21a10c8e7fa09a67f0fb126 # Parent ffed896b80ca9298af3b0280f5aeb0ba9d59e657 bluez: add v4 deprecated tools diff -r ffed896b80ca -r c34ef09acb7c bluez/receipt --- a/bluez/receipt Sat Feb 15 16:12:12 2020 +0100 +++ b/bluez/receipt Sun Feb 16 18:25:39 2020 +0100 @@ -48,6 +48,7 @@ --enable-library \ --enable-sap \ --enable-tools \ + --enable-deprecated \ --disable-systemd \ --disable-test \ $CONFIGURE_ARGS && diff -r ffed896b80ca -r c34ef09acb7c ppp/receipt --- a/ppp/receipt Sat Feb 15 16:12:12 2020 +0100 +++ b/ppp/receipt Sun Feb 16 18:25:39 2020 +0100 @@ -31,10 +31,12 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $fs/var/www/tazpanel/menu.d/network/VPN + mkdir -p $fs/usr/share/applications \ + $fs/var/www/tazpanel/menu.d/network/VPN cp -a $install/usr/sbin $fs/usr [ -d "$install/usr/lib" ] && cp -a $install/usr/lib $fs/usr cp -a $stuff/ppp.cgi $fs/var/www/tazpanel + cp $stuff/*.desktop $fs/usr/share/applications ln -s ../../ppp.cgi $fs/var/www/tazpanel/menu.d/network/ppp ln -s ../../../ppp.cgi $fs/var/www/tazpanel/menu.d/network/VPN/ppp @@ -53,36 +55,22 @@ cp -a $src/scripts/callback $fs/etc/ppp/scripts cp -a $src/scripts/redialer $fs/etc/ppp/scripts cat >> $fs/etc/ppp/ip-up < /etc/resolv.conf - grep search /etc/ppp/resolv.prev >> /etc/resolv.conf - cat /etc/ppp/resolv.conf >> /etc/resolv.conf - chmod 644 /etc/resolv.conf - else - cp /etc/ppp/resolv.conf /etc - chmod 644 /etc/resolv.conf - fi + [ -s /etc/resolv.conf ] && mv -f /etc/resolv.conf /etc/ppp/resolv.prev + [ -n "\$DNS1" ] && echo "nameserver \$DNS1" >> /etc/resolv.conf + [ -n "\$DNS2" ] && echo "nameserver \$DNS2" >> /etc/resolv.conf + chmod 644 /etc/resolv.conf fi EOT cat >> $fs/etc/ppp/ip-down </dev/null sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip* 2>/dev/null # add empty peers dir mkdir -p $fs/etc/ppp/peers diff -r ffed896b80ca -r c34ef09acb7c ppp/stuff/ppp.cgi --- a/ppp/stuff/ppp.cgi Sat Feb 15 16:12:12 2020 +0100 +++ b/ppp/stuff/ppp.cgi Sun Feb 16 18:25:39 2020 +0100 @@ -204,10 +204,11 @@ kill $(busybox ps x | grep "$ppp" | awk '/pty/{next}/dbclient/{print $1}') ;; *\ start_pppssh\ *) -EOT pppssh "$(GET ssharg) $(GET peer)" \ "$(GET localip):$(GET remoteip) $(GET localpppopt)" \ - "$(GET remotepppopt)" "$(GET routes)" "$(GET udp)" & + "$(GET remotepppopt)" "$(GET routes)" \ + "$(GET udp)" > /dev/null & + sleep 1 ;; esac ;; @@ -438,7 +439,7 @@ $(_ 'Local PPP options') - + $(_ 'Remote PPP options') @@ -450,7 +451,7 @@ $(_ 'UDP port') - +