* update firewalld to 2.1.2-2
This commit is contained in:
parent
bbf079f994
commit
11d6691b6c
@ -5,74 +5,48 @@
|
||||
# Contributor: speed145a <jonathan@tagchapter.com>
|
||||
|
||||
pkgname=firewalld
|
||||
pkgver=2.1.1
|
||||
pkgrel=1
|
||||
pkgdesc='Firewall daemon with D-Bus interface'
|
||||
pkgver=2.1.2
|
||||
pkgrel=2
|
||||
pkgdesc="Firewall daemon with D-Bus interface"
|
||||
arch=(any)
|
||||
url=https://firewalld.org/
|
||||
license=(GPL-2.0-or-later)
|
||||
depends=(
|
||||
dbus-python
|
||||
glib2
|
||||
hicolor-icon-theme
|
||||
nftables
|
||||
python-capng
|
||||
python-gobject
|
||||
)
|
||||
makedepends=(
|
||||
docbook-xsl
|
||||
git
|
||||
intltool
|
||||
podman
|
||||
)
|
||||
optdepends=(
|
||||
'bash-completion: bash completion'
|
||||
'gtk3: firewall-config'
|
||||
'libnotify: firewall-applet'
|
||||
'networkmanager: NetworkManager support'
|
||||
'polkit: privileged actions'
|
||||
'python-pyqt5: firewall-applet'
|
||||
)
|
||||
backup=(
|
||||
etc/conf.d/firewalld
|
||||
etc/firewalld/firewalld.conf
|
||||
)
|
||||
_tag=55264cfb6e1d04e6a6c9e4c53a5b9c87d055481f
|
||||
source=(
|
||||
git+https://github.com/firewalld/firewalld.git#tag=${_tag}
|
||||
firewalld-sysconfigdir.patch
|
||||
)
|
||||
sha256sums=('SKIP'
|
||||
url="https://firewalld.org"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('dbus-python' 'glib2' 'hicolor-icon-theme'
|
||||
'nftables' 'python-capng' 'python-gobject')
|
||||
makedepends=('docbook-xsl' 'git' 'intltool' 'podman')
|
||||
optdepends=('bash-completion: bash completion'
|
||||
'gtk3: firewall-config'
|
||||
'libnotify: firewall-applet'
|
||||
'networkmanager: NetworkManager support'
|
||||
'polkit: privileged actions'
|
||||
'python-pyqt5: firewall-applet')
|
||||
backup=('etc/conf.d/firewalld'
|
||||
'etc/firewalld/firewalld.conf')
|
||||
source=("git+https://github.com/firewalld/firewalld.git#tag=v${pkgver}"
|
||||
'firewalld-sysconfigdir.patch')
|
||||
sha256sums=('94236f4b882365cb3a7685a2b83340034956f2cc4dc7936399020ae9d328a51c'
|
||||
'3b2e00f67680c2e620804eb28620d7370b4096851bcb5f6fec22460a21941ad9')
|
||||
|
||||
prepare() {
|
||||
cd firewalld
|
||||
git cherry-pick -n 3337c9a4e63bd42535b6b3e97a91f4b502c063ce
|
||||
patch -Np1 -i ../firewalld-sysconfigdir.patch
|
||||
NOCONFIGURE=true ./autogen.sh
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd firewalld
|
||||
git describe --tags | sed 's/^v//'
|
||||
cd "${pkgname}"
|
||||
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
|
||||
cd "${pkgname}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--disable-schemas-compile \
|
||||
--disable-sysconfig
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="${pkgdir}" -C firewalld install
|
||||
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
make DESTDIR="${pkgdir}" -C "${pkgname}" install
|
||||
python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user