diff options
author | Karel Kočí <cynerd@email.cz> | 2018-09-12 00:51:16 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-09-12 00:51:16 +0200 |
commit | c6a48bcb719be7169d69ee81cc5b0cb36f11a03d (patch) | |
tree | b3cb44187cb1f7086582cd7c309e16ea8bea1926 /sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild | |
parent | 78a4bbd1c18096fa68960242510d0e1f79565a84 (diff) | |
download | gentoo-personal-overlay-c6a48bcb719be7169d69ee81cc5b0cb36f11a03d.tar.gz gentoo-personal-overlay-c6a48bcb719be7169d69ee81cc5b0cb36f11a03d.tar.bz2 gentoo-personal-overlay-c6a48bcb719be7169d69ee81cc5b0cb36f11a03d.zip |
sys-apps/multiconfig: version 0.2
Diffstat (limited to 'sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild')
-rw-r--r-- | sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild b/sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild deleted file mode 100644 index 5618427..0000000 --- a/sys-apps/multiconfig/multiconfig-0.1.2-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -EAPI=6 - -DESCRIPTION="Multiple configuration system" -HOMEPAGE="https://git.cynerd.cz/multiconfig/" -SRC_URI="https://git.cynerd.cz/multiconfig/snapshot/${P}.tar.gz -> ${P}.tar.gz" - -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" -} |