From ec7b96afc9e32e62e98183e4e5d789d8b4fd5b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 20 Sep 2017 22:34:54 +0200 Subject: Fix path in multiconfig --- sys-apps/multiconfig/multiconfig-0.1-r1.ebuild | 38 -------------------------- sys-apps/multiconfig/multiconfig-0.1-r2.ebuild | 38 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 sys-apps/multiconfig/multiconfig-0.1-r1.ebuild create mode 100644 sys-apps/multiconfig/multiconfig-0.1-r2.ebuild (limited to 'sys-apps') diff --git a/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild b/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild deleted file mode 100644 index 8ef2845..0000000 --- a/sys-apps/multiconfig/multiconfig-0.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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 -} diff --git a/sys-apps/multiconfig/multiconfig-0.1-r2.ebuild b/sys-apps/multiconfig/multiconfig-0.1-r2.ebuild new file mode 100644 index 0000000..677c12f --- /dev/null +++ b/sys-apps/multiconfig/multiconfig-0.1-r2.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 +} -- cgit v1.2.3