Commit ed65140b authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add a bit more; update ssl/ca.cnf.

parent a33945e0
......@@ -10,6 +10,7 @@ use libinstall;
my $NEWSYSLOG_CONF = "/etc/newsyslog.conf";
my $REBOOTLOG = "$LOGDIR/reboot.log";
my $POWERLOG = "$LOGDIR/power.log";
my $CACONF = "$TBROOT/lib/ssl/ca.cnf";
sub InstallUpdate($$)
{
......@@ -24,6 +25,18 @@ sub InstallUpdate($$)
BackUpFileFatal($NEWSYSLOG_CONF);
AppendToFileFatal($NEWSYSLOG_CONF, "$REBOOTLOG 640 14 300 * Z");
};
Phase "ca.cnf", "Updating ssl CA config file", sub {
PhaseSkip("Already updated")
if (`grep 'Added for update 5.10' $CACONF`);
BackUpFileFatal($CACONF);
ExecQuietFatal("$GMAKE -C $TOP_OBJDIR/ssl ca.cnf");
# For impotent mode.
DiffFiles("$TOP_OBJDIR/ssl/ca.cnf", $CACONF);
ExecQuietFatal("$GMAKE -C $TOP_OBJDIR/ssl install-conf");
};
}
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment