Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
6e9a6122
Commit
6e9a6122
authored
6 years ago
by
Alexander Traud
Browse files
Options
Downloads
Patches
Plain Diff
install_prereq: Add DragonFly BSD.
ASTERISK-27820 Change-Id: I718ddb000fe5184b1bdc7759da67a370a7520144
parent
a9c74fdc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/scripts/install_prereq
+26
-1
26 additions, 1 deletion
contrib/scripts/install_prereq
with
26 additions
and
1 deletion
contrib/scripts/install_prereq
+
26
−
1
View file @
6e9a6122
...
...
@@ -146,6 +146,22 @@ PACKAGES_FBSD="$PACKAGES_FBSD wget subversion"
# Asterisk: for ./configure --with-pjproject-bundled:
PACKAGES_FBSD
=
"
$PACKAGES_FBSD
bzip2 patch python"
# Basic build system:
PACKAGES_DBSD
=
"gmake pkgconf"
# Asterisk: basic requirements:
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
libedit jansson e2fsprogs-libuuid sqlite3 libxml2"
# Asterisk: for addons:
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
speex speexdsp libogg libvorbis alsa-lib portaudio curl xmlstarlet bison flex"
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
postgresql10-client unixODBC neon gmime26 lua52 uriparser libxslt libressl"
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
mariadb101-client radcli freetds"
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
net-snmp iksemel corosync newt popt libical spandsp"
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
cclient binutils libsrtp gsm libilbc doxygen graphviz libzip openldap-client libhoard"
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
codec2 fftw3 libsndfile unbound"
# Asterisk: for the unpackaged below:
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
wget subversion"
# Asterisk: for ./configure --with-pjproject-bundled:
PACKAGES_DBSD
=
"
$PACKAGES_DBSD
bzip2 patch python"
KVERS
=
`
uname
-r
`
JANSSON_VER
=
2.11
...
...
@@ -302,6 +318,13 @@ handle_fbsd() {
fi
}
handle_dbsd
()
{
extra_packs
=
`
check_installed_fpkgs
$PACKAGES_DBSD
`
if
[
x
"
$extra_packs
"
!=
"x"
]
;
then
$testcmd
pkg
install
-y
$extra_packs
fi
}
handle_SUSE
()
{
extra_packs
=
`
check_installed_zypper
$PACKAGES_SUSE
`
if
[
x
"
$extra_packs
"
!=
"x"
]
;
then
...
...
@@ -380,7 +403,7 @@ OS=`uname -s`
unsupported_distro
=
''
# A number of distributions we don't (yet?) support.
if
[
"
$OS
"
!=
'Linux'
-a
"
$OS
"
!=
'NetBSD'
-a
"
$OS
"
!=
'OpenBSD'
-a
"
$OS
"
!=
'FreeBSD'
]
;
then
if
[
"
$OS
"
!=
'Linux'
-a
"
$OS
"
!=
'NetBSD'
-a
"
$OS
"
!=
'OpenBSD'
-a
"
$OS
"
!=
'FreeBSD'
-a
"
$OS
"
!=
'DragonFly'
]
;
then
echo
>
&2
"
$0
: Your OS (
$OS
) is currently not supported. Aborting."
exit
1
fi
...
...
@@ -427,6 +450,8 @@ elif [ "$OS" = 'OpenBSD' ]; then
handle_obsd
elif
[
"
$OS
"
=
'FreeBSD'
]
;
then
handle_fbsd
elif
[
"
$OS
"
=
'DragonFly'
]
;
then
handle_dbsd
fi
if
!
in_test_mode
;
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment