summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-23 18:03:52 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-23 18:03:52 +0200
commitd116958b66b03dba2f6c65e702354541fd9de55f (patch)
treee671228b9fda577f21791beee4949d4e05fac7e4
parentec7b96afc9e32e62e98183e4e5d789d8b4fd5b8e (diff)
downloadgentoo-personal-overlay-d116958b66b03dba2f6c65e702354541fd9de55f.tar.gz
gentoo-personal-overlay-d116958b66b03dba2f6c65e702354541fd9de55f.tar.bz2
gentoo-personal-overlay-d116958b66b03dba2f6c65e702354541fd9de55f.zip
multiconfig v0.1.1
-rw-r--r--sys-apps/multiconfig/Manifest2
-rw-r--r--sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild (renamed from sys-apps/multiconfig/multiconfig-0.1-r2.ebuild)19
2 files changed, 18 insertions, 3 deletions
diff --git a/sys-apps/multiconfig/Manifest b/sys-apps/multiconfig/Manifest
index 9303bdc..6805916 100644
--- a/sys-apps/multiconfig/Manifest
+++ b/sys-apps/multiconfig/Manifest
@@ -1 +1 @@
-DIST multiconfig-0.1.tar.gz 1726 SHA256 9299ee9d0cc2e73576d54ea3d577c70a8593af65125fe9178fb9dd39e4cb5ae3 SHA512 0b2ccf0503b27de643622689262e5e7a752acfbb620325f9888a3c66742aaebc633525d1460761830ea343db1507e1b47d573d481b95f991d3882023201ab8ff WHIRLPOOL a4d66d852a7ecf49be5d0fd42bdc1f1172ab01f1f1328a478f055f11428b7632c370aecd06eedeb69519f07bdbab4a451470f07531da370184e6344948b9b023
+DIST multiconfig-0.1.1.tar.gz 1719 SHA256 1a7c6f702db4c0952a344671902ceb3e6b1a4bf30d0381223f6a13158498af9b SHA512 e87bc1d2b1d521d738ee5645187ad2c1954af4c018c5a6a38498f2c7d361ec382fc892ed299d52cfafe180008ef6b071d14d78e45b45819a51bf137fac9a8e9b WHIRLPOOL 7ebe9f525470f5c0dfdbae6cd35a9ca06326403670e6f557045845bcfc1fa58b62723ec3d6df6485bc69308798f8e9c44f9c1803b920ec996ca44d9dd8512c43
diff --git a/sys-apps/multiconfig/multiconfig-0.1-r2.ebuild b/sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild
index 677c12f..d10c35b 100644
--- a/sys-apps/multiconfig/multiconfig-0.1-r2.ebuild
+++ b/sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild
@@ -7,7 +7,7 @@ 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"
+SRC_URI="http://git.cynerd.cz/multiconfig/snapshot/multiconfig-${VER}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/multiconfig-${VER}"
LICENSE="GPL-3.0+"
@@ -15,13 +15,19 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="bridge firewall openvpn"
-DEPEND="bridge? ( net-misc/dhcp )"
+DEPEND="bridge? ( net-misc/dhcp )
+ firewall? ( net-firewall/iptables )
+ openvpn? ( net-vpn/openvpn )
+"
RDEPEND="${DEPEND}"
src_install() {
dodir /usr/sbin
exeinto /usr/sbin
doexe "${S}/multiconfig.sh"
+ dodir /usr/lib/multiconfig
+ touch "${D}"/usr/lib/multiconfig/.keep
+ # TODO cron
if use bridge; then
doinitd "${S}/bridge/init/bridge"
@@ -35,4 +41,13 @@ src_install() {
insinto /etc/sysctl.d
newins "${S}/bridge/sysctl.conf" "bridge.conf"
fi
+
+ if use firewall; then
+ cp "${S}/firewall/multiconfig.sh" "${D}/usr/lib/multiconfig/firewall.sh"
+ fi
+
+ if use openvpn; then
+ cp "${S}/openvpn/multiconfig.sh" "${D}/usr/lib/multiconfig/openvpn.sh"
+ # TODO
+ fi
}