summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/gpe-shield/gpe-shield_0.9.bb
blob: aa7ce6f963c42fb605840f7127c74bf13abd0ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PR          = "r1"
LICENSE     = "GPL"
DEPENDS     = "libgpewidget iptables virtual/kernel"
RDEPENDS    = "gpe-su iptables"
RRECOMMENDS = "kernel-module-ipt-state"
SECTION     = "gpe"
MAINTAINER  = "Florian Boor <florian.boor@kernelconcepts.de>"

DESCRIPTION = "GPE network security tool"

inherit gpe

SRC_URI += "file://ipshield"

do_install_append () {
	chmod 0755 ${D}${bindir}/gpe-shield
	sed -i -e 's:Exec=gpe:Exec=gpe-su -c ${bindir}/gpe:' ${D}${datadir}/applications/${PN}.desktop
	install -m 0755 ${WORKDIR}/ipshield ${D}${sysconfdir}/init.d
}