# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit git-r3 DESCRIPTION="Formilux Tools" HOMEPAGE="http://master.formilux.org/git/dist/src/init-scripts.git" EGIT_REPO_URI="http://master.formilux.org/git/dist/src/${PN}.git" LICENSE="public-domain" SLOT="0" KEYWORDS="" IUSE="debug" PATCHES=( "${FILESDIR}/${PV}-network-Handle-unreacheable-prohibit-local-etc-iprou.patch" "${FILESDIR}/${PV}-network-Handle-IPv6-sysctl.patch" "${FILESDIR}/${PV}-network-Strip-spaces.patch" "${FILESDIR}/${PV}-network-Remove-unused-code.patch" "${FILESDIR}/${PV}-firewall-ip_conntrack-have-been-replaced-by-nf_connt.patch" "${FILESDIR}/${PV}-firewall-white-space-cleanup.patch" "${FILESDIR}/${PV}-firewall-conntrack-sysctl-ipv4-and-ipv6-are-common.patch" "${FILESDIR}/${PV}-thttpd-Add-cgi-config-token.patch" "${FILESDIR}/${PV}-Update-executable-path.patch" ) src_install() { cd "${S}/etc" insinto /etc doins init.d initscript exeinto /etc doexe startup.rc cd "${S}/sbin" exeinto /sbin doexe rc.{0,6,K,M,S} doexe bootmodules initscript fix-date listpart service cd "${S}/sbin/init.d" exeinto /sbin/init.d doexe dhcpd firewall functions ipforward keyboard klogd monitor network sysprofiles system }