diff options
author | Karel Kočí <cynerd@email.cz> | 2017-09-20 22:17:51 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-09-20 22:17:51 +0200 |
commit | 3f5c27520ce2dac667a2eb5962c0ba5de3b071db (patch) | |
tree | 59d7ac316e5d5cf445932bb4a03d28d0bb863edc /sys-apps | |
parent | e437ec2c93a554044d074facac5b966fd5db8a0f (diff) | |
download | gentoo-personal-overlay-3f5c27520ce2dac667a2eb5962c0ba5de3b071db.tar.gz gentoo-personal-overlay-3f5c27520ce2dac667a2eb5962c0ba5de3b071db.tar.bz2 gentoo-personal-overlay-3f5c27520ce2dac667a2eb5962c0ba5de3b071db.zip |
Try the first multiconfig package version
Diffstat (limited to 'sys-apps')
-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 +} |