mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Merge pull request #1221 from cheba/gentoo-bootstrap
Gentoo bootstrapping
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PACKAGES="dev-vcs/git
|
||||||
|
dev-lang/python:2.7
|
||||||
|
dev-python/virtualenv
|
||||||
|
dev-util/dialog
|
||||||
|
app-admin/augeas
|
||||||
|
dev-libs/openssl
|
||||||
|
dev-libs/libffi
|
||||||
|
app-misc/ca-certificates
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
case "$PACKAGE_MANAGER" in
|
||||||
|
(paludis)
|
||||||
|
cave resolve --keep-targets if-possible $PACKAGES -x
|
||||||
|
;;
|
||||||
|
(pkgcore)
|
||||||
|
pmerge --noreplace $PACKAGES
|
||||||
|
;;
|
||||||
|
(portage|*)
|
||||||
|
emerge --noreplace $PACKAGES
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
_gentoo_common.sh
|
||||||
@@ -23,6 +23,9 @@ elif [ -f /etc/arch-release ] ; then
|
|||||||
elif [ -f /etc/redhat-release ] ; then
|
elif [ -f /etc/redhat-release ] ; then
|
||||||
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
||||||
$SUDO $BOOTSTRAP/_rpm_common.sh
|
$SUDO $BOOTSTRAP/_rpm_common.sh
|
||||||
|
elif [ -f /etc/gentoo-release ] ; then
|
||||||
|
echo "Bootstrapping dependencies for Gentoo-based OSes..."
|
||||||
|
$SUDO $BOOTSTRAP/_gentoo_common.sh
|
||||||
elif uname | grep -iq FreeBSD ; then
|
elif uname | grep -iq FreeBSD ; then
|
||||||
echo "Bootstrapping dependencies for FreeBSD..."
|
echo "Bootstrapping dependencies for FreeBSD..."
|
||||||
$SUDO $BOOTSTRAP/freebsd.sh
|
$SUDO $BOOTSTRAP/freebsd.sh
|
||||||
|
|||||||
@@ -47,6 +47,9 @@ then
|
|||||||
elif [ -f /etc/redhat-release ] ; then
|
elif [ -f /etc/redhat-release ] ; then
|
||||||
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
echo "Bootstrapping dependencies for RedHat-based OSes..."
|
||||||
$SUDO $BOOTSTRAP/_rpm_common.sh
|
$SUDO $BOOTSTRAP/_rpm_common.sh
|
||||||
|
elif [ -f /etc/gentoo-release ] ; then
|
||||||
|
echo "Bootstrapping dependencies for Gentoo-based OSes..."
|
||||||
|
$SUDO $BOOTSTRAP/_gentoo_common.sh
|
||||||
elif uname | grep -iq FreeBSD ; then
|
elif uname | grep -iq FreeBSD ; then
|
||||||
echo "Bootstrapping dependencies for FreeBSD..."
|
echo "Bootstrapping dependencies for FreeBSD..."
|
||||||
$SUDO $BOOTSTRAP/freebsd.sh
|
$SUDO $BOOTSTRAP/freebsd.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user