diff options
-rw-r--r-- | sys-apps/multiconfig/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/multiconfig/multiconfig-0.1-r1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-apps/multiconfig/Manifest b/sys-apps/multiconfig/Manifest new file mode 100644 index 0000000..9303bdc --- /dev/null +++ b/sys-apps/multiconfig/Manifest @@ -0,0 +1 @@ +DIST multiconfig-0.1.tar.gz 1726 SHA256 9299ee9d0cc2e73576d54ea3d577c70a8593af65125fe9178fb9dd39e4cb5ae3 SHA512 0b2ccf0503b27de643622689262e5e7a752acfbb620325f9888a3c66742aaebc633525d1460761830ea343db1507e1b47d573d481b95f991d3882023201ab8ff WHIRLPOOL a4d66d852a7ecf49be5d0fd42bdc1f1172ab01f1f1328a478f055f11428b7632c370aecd06eedeb69519f07bdbab4a451470f07531da370184e6344948b9b023 diff --git a/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild b/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild new file mode 100644 index 0000000..8ef2845 --- /dev/null +++ b/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VER="${PV%-r*}" + +DESCRIPTION="Multiple configuration system" +HOMEPAGE="http://git.cynerd.cz/multiconfig/" +SRC_URI="http://git.cynerd.cz/multiconfig/snapshot/multiconfig-${VER}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/multiconfig-${VER}" + +LICENSE="GPL-3.0+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="bridge firewall openvpn" + +DEPEND="bridge? ( net-misc/dhcp )" +RDEPEND="${DEPEND}" + +src_install() { + dodir /usr/sbin + exeinto /usr/sbin + doexe "${S}/multiconfig.sh" + + if use bridge; then + doinitd "${S}/bridge/init/bridge" + doinitd "${S}/bridge/init/bridge-dhcp" + + dodir /etc/dhcp + insinto /etc/dhcp + newins "${S}/bridge/dhcpd.conf" "bridge-dhcpd.conf" + + dodir /etc/sysctl.d + insinto /etc/sysctl.d + newins "${S}/bridge/sysctl.conf" "bridge.conf" + fi +} |