Package: rp-pppoe / 3.12-1.2

Metadata

Package Version Patches format
rp-pppoe 3.12-1.2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_auto_ifup.patch | (download)

src/Makefile.in | 2 1 + 1 - 0 !
src/pppoe.c | 52 52 + 0 - 0 !
2 files changed, 53 insertions(+), 1 deletion(-)

 bring up underlying interface before attempting pppoe
 pppoe fails to start when the interface its running on is not up. This is a
 hack to automatically bring up the interface prior running pppoe on it.
02_change_mac_option.patch | (download)

man/pppoe.8 | 13 13 + 0 - 0 !
src/if.c | 21 20 + 1 - 0 !
src/pppoe.c | 17 15 + 2 - 0 !
3 files changed, 48 insertions(+), 3 deletions(-)

 add option to change source mac on ethernet device
 This patch adds the -H option to pppoe, which allows to set the source MAC
 address on the Ethernet device pppoe is running over. Unconditionally sets
 the device to promiscuous mode.
03_man_pages.patch | (download)

man/pppoe-relay.8 | 4 1 + 3 - 0 !
man/pppoe-server.8 | 4 1 + 3 - 0 !
man/pppoe-sniff.8 | 4 1 + 3 - 0 !
man/pppoe.8 | 3 1 + 2 - 0 !
4 files changed, 4 insertions(+), 11 deletions(-)

 update man page references
 Upstream ships with a lot of wrapper scripts that are not used by Debian,
 as we have more convenient ways of bringing up a PPPoE interface. Note that
 pppoe.conf is a config file used by the wrapper scripts.
04_ignore_broadcasted_pado_packets.patch | (download)

src/discovery.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 ignore broadcasted pado-packets
 Ignore broadcasted PADO-packets instead of packets from non-unique source
 address.
05_change_default_timeout.patch | (download)

configs/pppoe.conf | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 retry indefinitely while re-connecting
 When connecting, do not give up after 30 seconds, but try indefinetely. That
 way a temporarily unavailable DSLAM will not leave the system disconnected.
06_typo_fixes.patch | (download)

doc/HOW-TO-CONNECT | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 typo fix
07_pppoestart echo.patch | (download)

scripts/pppoe-start.in | 77 38 + 39 - 0 !
1 file changed, 38 insertions(+), 39 deletions(-)

 avoid useless indirection and full path embedding of echo

Embedding the full path of echo at build-time, instead of relying
on PATH at *runtime* seems pointless. Spawning a command rather than
using using plain echo which is often a shell-builtin is wasteful.

The script also doesn't even consistently use $ECHO, but atleast
in one place already uses plain echo.

Thus this patch just drops the entire indirection.
(Even better would be to join the gazillion echos run one after the
other into a single write.)

Apart from generally being a sane thing to do, this patch fixes
the reproducible build failure on merged-usr vs non-merged systems
as was spotted at:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rp-pppoe.html