blob: 63995a3c8c41eb07458d08b1a819c97b0391a16c (
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
|
# 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
}
|