Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7d05a5a2
Commit
7d05a5a2
authored
Sep 20, 2004
by
Robert Ricci
Browse files
Patch the m2crypto library, like we do on boss.
parent
49c43a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/ops-install.in
View file @
7d05a5a2
...
...
@@ -77,6 +77,7 @@ my $TOP_OBJDIR = "$OBJDIR/..";
my
$CHGRP
=
"
/usr/bin/chgrp
";
my
$CHMOD
=
"
/bin/chmod
";
my
$PW
=
"
/usr/sbin/pw
";
my
$PATCH
=
"
/usr/bin/patch
";
my
$NEWALIASES
=
"
/usr/bin/newaliases
";
my
$SH
=
"
/bin/sh
";
my
$PKG_INFO
=
"
/usr/sbin/pkg_info
";
...
...
@@ -102,6 +103,8 @@ my $SUDOERS = "/usr/local/etc/sudoers";
my
$SSHD_CONFIG
=
"
/etc/ssh/sshd_config
";
my
$CRONTAB
=
"
/etc/crontab
";
my
$M2CRYPTO_PATCH
=
"
$TOP_SRCDIR
/patches/m2crypto.patch
";
#
# Some directories we care about
#
...
...
@@ -217,6 +220,15 @@ Phase "ports", "Installing ports", sub {
};
};
Phase
"
patches
",
"
Applying patches
",
sub
{
Phase
"
m2cryptopatch
",
"
Patching m2crypto
",
sub
{
if
(
!
ExecQuiet
("
$PATCH
-C -f -R -p0 -i
$M2CRYPTO_PATCH
"))
{
PhaseSkip
("
$M2CRYPTO_PATCH
already applied
");
}
ExecQuietFatal
("
$PATCH
-f -p0 -i
$M2CRYPTO_PATCH
");
};
};
Phase
"
rc.conf
",
"
Adding testbed content to rc.conf
",
sub
{
DoneIfEdited
(
$RCCONF
);
AppendToFileFatal
(
$RCCONF
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment