diff -ruN etc/Makefile.am etc/Makefile.am --- etc/Makefile.am 2010-02-27 15:49:56.000000000 +0700 +++ etc/Makefile.am 2013-12-06 23:27:26.977794852 +0800 @@ -90,6 +90,7 @@ # documentation. auto_edit = sed \ -e 's,@bindir\@,$(bindir),g' \ + -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@prefix\@,$(prefix),g' \ -e 's,@localstatedir\@,$(localstatedir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ diff -ruN etc/Makefile.in etc/Makefile.in --- etc/Makefile.in 2011-11-18 05:10:11.000000000 +0800 +++ etc/Makefile.in 2013-12-06 23:37:07.099735026 +0800 @@ -209,6 +209,7 @@ # documentation. auto_edit = sed \ -e 's,@bindir\@,$(bindir),g' \ + -e 's,@sbindir\@,$(sbindir),g' \ -e 's,@prefix\@,$(prefix),g' \ -e 's,@localstatedir\@,$(localstatedir),g' \ -e 's,@sysconfdir\@,$(sysconfdir),g' \ diff -ruN etc/rancid.conf.sample.in etc/rancid.conf.sample.in --- etc/rancid.conf.sample.in 2011-11-30 06:35:10.000000000 +0800 +++ etc/rancid.conf.sample.in 2013-12-06 23:18:42.048419824 +0800 @@ -22,8 +22,8 @@ TMPDIR=/tmp; export TMPDIR # Be careful changing this, it affects CVSROOT below. It should be a FQPN, not # relative. -BASEDIR=@localstatedir@; export BASEDIR -PATH=@bindir@:@ENV_PATH@; export PATH +BASEDIR=/var/lib/rancid; export BASEDIR +PATH=@bindir@:@sbindir@:@ENV_PATH@; export PATH # Location of the CVS/SVN repository. Be careful changing this. # If RCSSYS is svn, this can be: # - an (absolute) path (a subdirectory of BASEDIR by default). @@ -34,7 +34,7 @@ # commands can run, e.g. by running rancid-cvs after installation. CVSROOT=$BASEDIR/CVS; export CVSROOT # Location of log files produced by rancid-run(1). -LOGDIR=$BASEDIR/logs; export LOGDIR +LOGDIR=/var/log/rancid; export LOGDIR # # Select which RCS system to use, "cvs" (default) or "svn". Do not change # this after CVSROOT has been created with rancid-cvs. Changing between these