Richard,
No, as the error message says, you can't run configure.pl directly from
git. You need to run makeDist first, which merges some important settings
(the list of libraries and binaries, as well as the release version and
date) into configure.pl.
Once you test it and confirm it works I'll release 4.1.1.
Also, several of your --config-override settings could be done
with --bin-path instead, but it should be fine either way.
Craig
On Tue, Mar 28, 2017 at 6:32 AM, Richard Shaw <hobbes1...@gmail.com> wrote:
> On Mon, Mar 27, 2017 at 5:29 PM, Craig Barratt <
> cbarr...@users.sourceforge.net> wrote:
>
>> Richard,
>>
>> I just pushed several fixes to configure.pl. Now if you specify
>> --dest-dir, any existing BackupPC installation should be ignored (ie, no
>> need to specify --config-path '' any longer).
>>
>> I also fixed the PingPath and Ping6Path merging, and noticed a couple of
>> other things that are now fixed.
>>
>> One comment, when you use --config-override, you need to specify the
>> exact text replacement, not the value.
>>
>
> Yeah, I had hoped to get away without having those, for some reason they
> confuse syntax highlighting in VI making reading the spec file difficult
> but I've added them back.
>
> I wasn't sure if the commit that fixed this and PingPath would work as a
> patch so I downloaded configure.pl from git and I'm copying over the one
> in the 4.1.0 source but it's giving me an error... Perhaps I'm missing
> another commit that the updates are dependent on?
>
> + /usr/bin/perl configure.pl --batch --backuppc-user=backuppc --dest-dir
> /home/build/rpmbuild/BackupPC/BUILDROOT/BackupPC-4.1.0-1.fc25.x86_64
> --config-dir /etc/BackupPC/ --config-override 'CgiURL="http://localhost/
> BackupPC"' --config-override ClientNameAlias=undef --config-override
> 'NmbLookupPath="/usr/bin/nmblookup"' --config-override
> 'ParPath="/usr/bin/par2"' --config-override 'PingPath="/usr/bin/ping"'
> --config-override 'Ping6Path="/usr/sbin/ping6"' --config-override
> 'RrdToolPath="/usr/bin/rrdtool"' --config-override
> 'RsyncBackupPCPath="/usr/bin/rsync_bpc"' --config-override
> 'RsyncClientPath="/usr/bin/rsync"' --config-override
> 'SendmailPath="/usr/sbin/sendmail"' --config-override
> 'SmbClientPath="/usr/bin/smbclient"' --config-override
> 'SshPath="/usr/bin/ssh"' --config-override 'TarClientPath="/usr/bin/gtar"'
> --config-override 'XferMethod="rsync"' --cgi-dir /usr/libexec/BackupPC
> --data-dir /var/lib/BackupPC/ --hostname localhost --html-dir
> /usr/share/BackupPC/html/ --html-dir-url /BackupPC/images --install-dir
> /usr/share/BackupPC --log-dir /var/log/BackupPC --no-set-perms --uid-ignore
> You need to run makeDist first to create a tarball release that includes an
> updated configure.pl. After you unpack the tarball, run configure.pl from
> there.
> error: Bad exit status from /var/tmp/rpm-tmp.mrJ5EP (%install)
>
> Thanks,
> Richard
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-devel mailing list
> BackupPC-devel@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/