From d7e1c5fabf510d655012b5503c2a336430efe2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 30 Sep 2017 14:13:25 +0200 Subject: Update multiconfig --- sys-apps/multiconfig/Manifest | 2 +- sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild | 58 ------------------------ sys-apps/multiconfig/multiconfig-0.1.2-r1.ebuild | 58 ++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild create mode 100644 sys-apps/multiconfig/multiconfig-0.1.2-r1.ebuild (limited to 'sys-apps/multiconfig') diff --git a/sys-apps/multiconfig/Manifest b/sys-apps/multiconfig/Manifest index 6805916..f04e8e6 100644 --- a/sys-apps/multiconfig/Manifest +++ b/sys-apps/multiconfig/Manifest @@ -1 +1 @@ -DIST multiconfig-0.1.1.tar.gz 1719 SHA256 1a7c6f702db4c0952a344671902ceb3e6b1a4bf30d0381223f6a13158498af9b SHA512 e87bc1d2b1d521d738ee5645187ad2c1954af4c018c5a6a38498f2c7d361ec382fc892ed299d52cfafe180008ef6b071d14d78e45b45819a51bf137fac9a8e9b WHIRLPOOL 7ebe9f525470f5c0dfdbae6cd35a9ca06326403670e6f557045845bcfc1fa58b62723ec3d6df6485bc69308798f8e9c44f9c1803b920ec996ca44d9dd8512c43 +DIST multiconfig-0.1.2.tar.gz 2103 SHA256 642a75cb3b781feecf475ed80daf221fcd1c61272476a134b3b802673ea09e92 SHA512 0bacd597f84e363271ea3df9e139d377733b8e4604d8bdc8ce603965b08a69835cefb9d3fc9019e74ed6767a4ac4bd35ab3ef4b59debc30653747f62dbe7abca WHIRLPOOL dd624583af8560c39be3ecee014cf8f19cd5a120f75582e64028538cc07f01c892b5ce607081794bce089bfd1832a7557f6f13d7d356ec47bc88a3dd1a7556c5 diff --git a/sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild b/sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild deleted file mode 100644 index a09fdf1..0000000 --- a/sys-apps/multiconfig/multiconfig-0.1.1-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -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 ) - 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" - 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 - - 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 -} - -pkg_postinst() { - # TODO run multiconfig - # TODO check if they are not activated - use bridge && einfo "Don't forget to activate bridge and bridge-dhcp services" - use firewall && einfo "Don't forget to activate iptables and ip6tables services" - use openvpn && einfo "Don't forget to activate myvpn service" -} diff --git a/sys-apps/multiconfig/multiconfig-0.1.2-r1.ebuild b/sys-apps/multiconfig/multiconfig-0.1.2-r1.ebuild new file mode 100644 index 0000000..3f98840 --- /dev/null +++ b/sys-apps/multiconfig/multiconfig-0.1.2-r1.ebuild @@ -0,0 +1,58 @@ +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 ) + 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" + 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 + + if use firewall; then + cp "${S}/firewall/multiconfig.sh" "${D}/usr/lib/multiconfig/firewall" + fi + + if use openvpn; then + cp "${S}/openvpn/multiconfig.sh" "${D}/usr/lib/multiconfig/openvpn" + # TODO + fi +} + +pkg_postinst() { + # TODO run multiconfig + # TODO check if they are not activated + use bridge && einfo "Don't forget to activate bridge and bridge-dhcp services" + use firewall && einfo "Don't forget to activate iptables and ip6tables services" + use openvpn && einfo "Don't forget to activate myvpn service" +} -- cgit v1.2.3