Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
97883e12
Commit
97883e12
authored
Aug 17, 2015
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks for just released FreeBSD 10.2.
parent
0feaf751
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+13
-1
install/installvars.pm.in
install/installvars.pm.in
+8
-2
install/ports/emulab-boss/Makefile.emulab
install/ports/emulab-boss/Makefile.emulab
+8
-6
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
97883e12
...
...
@@ -652,7 +652,7 @@ sub doboot()
$emulabconfig
{
BOSS_PKG
}
=
"
emulab-boss-6.0
";
$emulabconfig
{
PACKAGE_TARBALL
}
=
"
FreeBSD-10.0-packages
${suf}
.tar.gz
";
$emulabconfig
{
PGENI_PKG
}
=
"
emulab-protogeni-4.0
";
}
elsif
(
$FBSD_VERSION
>
=
10.1
)
{
}
elsif
(
$FBSD_VERSION
=
=
10.1
)
{
my
$suf
=
(
$FBSD_ARCH
eq
"
amd64
")
?
"
-64
"
:
"";
$emulabconfig
{
FS_PKG_DIR
}
=
"
/share/freebsd/10.1/packages
${suf}
";
$emulabconfig
{
OPS_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
...
...
@@ -664,6 +664,18 @@ sub doboot()
$emulabconfig
{
EXTRA_PKG
}
=
"
emulab-extras-6.1
";
$emulabconfig
{
PACKAGE_TARBALL
}
=
"
FreeBSD-10.1-packages
${suf}
.tar.gz
";
$emulabconfig
{
PGENI_PKG
}
=
"
emulab-protogeni-6.1
";
}
elsif
(
$FBSD_VERSION
>=
10.2
)
{
my
$suf
=
(
$FBSD_ARCH
eq
"
amd64
")
?
"
-64
"
:
"";
$emulabconfig
{
FS_PKG_DIR
}
=
"
/share/freebsd/10.2/packages
${suf}
";
$emulabconfig
{
OPS_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
$emulabconfig
{
BOSS_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
$emulabconfig
{
EXTRA_PKG_DIR
}
=
$emulabconfig
{
FS_PKG_DIR
};
$emulabconfig
{
FS_PKG
}
=
"
emulab-fs-6.2
";
$emulabconfig
{
OPS_PKG
}
=
"
emulab-ops-6.2
";
$emulabconfig
{
BOSS_PKG
}
=
"
emulab-boss-6.2
";
$emulabconfig
{
EXTRA_PKG
}
=
"
emulab-extras-6.2
";
$emulabconfig
{
PACKAGE_TARBALL
}
=
"
FreeBSD-10.2-packages
${suf}
.tar.gz
";
$emulabconfig
{
PGENI_PKG
}
=
"
emulab-protogeni-6.2
";
}
#
# If there is a package tarball, prefer that and grab it now.
...
...
install/installvars.pm.in
View file @
97883e12
...
...
@@ -64,7 +64,11 @@ $BOSS_PORT = "emulab-boss-1.8";
$
OPS_PORT
=
"emulab-ops-1.4"
;
$
FS_PORT
=
"emulab-fs-1.4"
;
if
($
FBSD_MAJOR
>
4
)
{
if
($
FBSD_MAJOR
>
10
||
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
0
))
{
if
($
FBSD_MAJOR
>
10
||
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
1
))
{
$
BOSS_PORT
=
"emulab-boss-6.2"
;
$
OPS_PORT
=
"emulab-ops-6.2"
;
$
FS_PORT
=
"emulab-fs-6.2"
;
}
elsif
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
0
)
{
$
BOSS_PORT
=
"emulab-boss-6.1"
;
$
OPS_PORT
=
"emulab-ops-6.1"
;
$
FS_PORT
=
"emulab-fs-6.1"
;
...
...
@@ -109,7 +113,9 @@ $PHP_PORT = "php4-extensions-1.0";
if
($
FBSD_MAJOR
>
7
||
($
FBSD_MAJOR
==
7
&&
$
FBSD_MINOR
>
2
))
{
$
PHP_VERSION
=
5
;
#
there
is
no
longer
an
explict
extensions
package
if
($
FBSD_MAJOR
>
10
||
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
0
))
{
if
($
FBSD_MAJOR
>
10
||
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
1
))
{
$
PHP_PORT
=
"php56-5.6.11"
;
}
elsif
($
FBSD_MAJOR
==
10
&&
$
FBSD_MINOR
>
0
)
{
$
PHP_PORT
=
"php56-5.6.9"
;
}
elsif
($
FBSD_MAJOR
>
9
||
($
FBSD_MAJOR
==
9
&&
$
FBSD_MINOR
>
1
))
{
$
PHP_PORT
=
"php5-extensions-1.7"
;
...
...
install/ports/emulab-boss/Makefile.emulab
View file @
97883e12
...
...
@@ -9,21 +9,23 @@ OSMAJOR!= /usr/bin/uname -r | /usr/bin/sed -e 's/\..*//'
OSMINOR
!=
/usr/bin/uname
-r
| /usr/bin/sed
-e
's/[0-9][0-9]*\.\([0-9][0-9]*\).*/\1/'
OSARCH
!=
/usr/bin/uname
-m
EMULAB_PORTVERSION
=
UNSUPPORTED
.if
${OSMAJOR}
>=
10
.
if
${OSMINOR}
>=
1
EMULAB_PORTVERSION
=
6.
1
.
if
${OSMINOR}
>=
2
EMULAB_PORTVERSION
=
6.
2
.
else
EMULAB_PORTVERSION
=
UNSUPPORTED
.
if
${OSMINOR}
>=
1
EMULAB_PORTVERSION
=
6.1
.
endif
.
endif
.
else
EMULAB_PORTVERSION
=
UNSUPPORTED
.
endif
#
# Select PHP and Apache versions
# Fix up some port diffs
#
.if
${EMULAB_PORTVERSION}
=
=
"
6.1
"
.if
${EMULAB_PORTVERSION}
!
=
"
UNSUPPORTED
"
DEFAULT_VERSIONS
=
perl5
=
5.20
python
=
2.7
tcltk
=
8.6
php
=
5.6
mysql
=
5.5
apache
=
2.2
APACHE_PORT
=
www/apache22
MYSQL_VER
=
55
...
...
Write
Preview
Markdown
is supported
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