[Git][NTPsec/ntpsec][master] buildprep: add Gentoo
Gary E. Miller
gitlab at mg.gitlab.com
Sun Jan 22 02:07:25 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
7e8bf3e6 by Gary E. Miller at 2017-01-21T18:07:00-08:00
buildprep: add Gentoo
- - - - -
1 changed file:
- buildprep
Changes:
=====================================
buildprep
=====================================
--- a/buildprep
+++ b/buildprep
@@ -7,7 +7,8 @@
cat <<EOF
# Preparing your system for ntpsec source build...
-# This script presently knows about Debian, Ubuntu, CentOS, Fedora, and SLES.
+# This script presently knows about:
+# CentOS, Debian, Fedora, Gentoo, SLES and Ubuntu
# If you are running something else, such as MacOS or Solaris, please
# follow the directions for by-hand installation in INSTALL.
#
@@ -28,7 +29,10 @@ then
fi
installer=""
-if yum version 2>/dev/null
+if emerge --version 2>/dev/null
+then
+ installer=emerge
+elif yum version 2>/dev/null
then
installer=yum
elif dnf --version >/dev/null 2>&1
@@ -66,6 +70,11 @@ case $installer in
$do apt-get install gnuplot
fi
;;
+ emerge)
+ $do emerge -q y media-fonts/liberation-fonts
+ $do emerge -q y sci-visualization/gnuplot
+ $do emerge -q y net-misc/pps-tools
+ ;;
yum|dnf)
$do $installer install bison gnuplot libcap libcap-devel
$do $installer install liberation-fonts-common.noarch
@@ -94,6 +103,9 @@ case $installer in
# no libsodium on Debian wheezy
$do apt-get install libsodium-dev
;;
+ emerge)
+ $do emerge -q y dev-libs/libsodium
+ ;;
yum|dnf)
# no libsodium on CentOS 7
$do $installer install libsodium libsodium-devel
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7e8bf3e6f0b12658e6207834621e64055834ce2a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170122/cfe1f5b0/attachment.html>
More information about the vc
mailing list