summaryrefslogtreecommitdiff
path: root/flx/init-scripts/init-scripts-0.4.0.ebuild
blob: b35d8ec7b78b179d398b70d0ca7555fa6f41fbe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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"
EGIT_COMMIT="v${PV}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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
}