[rancid] Two suggestions about rancid-3.3.0

Tetsuo Handa penguin-kernel at I-love.SAKURA.ne.jp
Tue Feb 9 10:30:16 UTC 2016


Hello.

I just looked at rancid-3.3.0.tar.gz and noticed two bugs.

Bug1: . is not removed from PATH in the following four files.

  /usr/local/rancid-3.3/etc/lg.conf
  $ENV{PATH}="/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin";

  /usr/local/rancid-3.3/etc/rancid.conf
  PATH=/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin; export PATH

  /usr/local/rancid-3.3/share/rancid/lg.conf.sample
  $ENV{PATH}="/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin";

  /usr/local/rancid-3.3/share/rancid/rancid.conf.sample
  PATH=/usr/local/rancid-3.3/bin:/usr/bin:/usr/sbin:/bin:.:/usr/local/bin:/usr/bin; export PATH

Bug2: @PACKAGE@ and @VERSION@ are not replaced in the following three files.

  /usr/local/rancid-3.3/bin/clogin
  send_user "@PACKAGE@ @VERSION@\n"

  /usr/local/rancid-3.3/bin/jlogin
  send_user "@PACKAGE@ @VERSION@\n"

  /usr/local/rancid-3.3/bin/mtlogin
  send_user "@PACKAGE@ @VERSION@\n"

Regards.


More information about the Rancid-discuss mailing list