blob: 2aca9bf19b702a9b94f6c57474bebe0dd07c58c0 (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Maintainer: Elliott Saille <me+aur@esaille.me>
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: unikum <unikum.pm@gmail.com>
# Contributor: speed145a <jonathan@tagchapter.com>
_pkgname=firewalld
pkgname=firewalld-git
pkgver=0.6.999
pkgrel=1
pkgdesc='Firewall daemon with D-Bus interface'
arch=(any)
url='https://firewalld.org/'
license=(GPL2)
depends=(
dconf
glib2
hicolor-icon-theme
nftables
python-decorator
python-gobject
python-slip
)
makedepends=(
docbook-xsl
ebtables
git
intltool
ipset
iptables
)
optdepends=(
'bash-completion: bash completion'
'ebtables: old backend'
'gtk3: firewall-config'
'ipset: old backend'
'iptables: old backend'
'libnm-glib: firewall-config and firewall-applet'
'libnotify: firewall-applet'
'python-pyqt5: firewall-applet'
)
conflicts=('firewalld')
provides=('firewalld')
backup=(
etc/conf.d/firewalld
etc/firewalld/firewalld.conf
)
source=(
git+https://github.com/firewalld/firewalld.git
firewalld-sysconfigdir.patch
)
sha256sums=('SKIP'
'cf7d655230c43acf10a0f97dffdbcba136729967c8b9a25a930871d54a589834')
prepare() {
cd firewalld
# Backport zsh completion
#git cherry-pick -n b0d8723d85651cacbb21f2168d92f3c7052e909d
patch -Np1 -i ../firewalld-sysconfigdir.patch
NOCONFIGURE='true' ./autogen.sh
}
build() {
cd firewalld
./configure \
--prefix='/usr' \
--localstatedir='/var' \
--sbindir='/usr/bin' \
--sysconfdir='/etc' \
--disable-schemas-compile \
--disable-sysconfig
make
}
package() {
cd firewalld
make DESTDIR="${pkgdir}" install
#mv "${pkgdir}"/usr/share/dbus-1
install -Dm 644 shell-completion/zsh/_firewalld -t "${pkgdir}"/usr/share/zsh/site-functions/
}
# vim: ts=2 sw=2 et:
|