blob: 42fc262589e7f02b83fd5fe3e195b5ac6827b21a [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Uncomplicated Firewall"
2DESCRIPTION = "UFW stands for Uncomplicated Firewall, and is program for \
3managing a netfilter firewall. It provides a command line interface and aims \
4to be uncomplicated and easy to use."
5HOMEPAGE = "https://launchpad.net/ufw"
6SECTION = "net"
7LICENSE = "GPLv3"
8LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
9
10SRC_URI = " \
11 https://launchpad.net/ufw/0.33/0.33/+download/ufw-0.33.tar.gz \
12 file://setup-add-an-option-to-specify-iptables-location.patch \
13 file://setup-only-make-one-reference-to-env.patch \
14 file://0001-optimize-boot.patch \
15 file://0002-lp1044361.patch \
16 file://0003-fix-typeerror-on-error.patch \
17 file://0004-lp1039729.patch \
18 file://0005-lp1191197.patch \
19"
Andrew Geissler82c905d2020-04-13 13:39:40 -050020
21UPSTREAM_CHECK_URI = "https://launchpad.net/ufw"
22
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023SRC_URI[md5sum] = "3747b453d76709e5a99da209fc0bb5f5"
24SRC_URI[sha256sum] = "5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8"
25
Andrew Geissler82c905d2020-04-13 13:39:40 -050026inherit setuptools3 features_check
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
28RDEPENDS_${PN} = " \
29 iptables \
Andrew Geissler82c905d2020-04-13 13:39:40 -050030 python3 \
31 python3-modules \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050032 "
33
34RRECOMMENDS_${PN} = " \
35 kernel-module-ipv6 \
36 kernel-module-nf-conntrack-ipv6 \
37 kernel-module-nf-log-common \
38 kernel-module-nf-log-ipv4 \
39 kernel-module-nf-log-ipv6 \
40 kernel-module-nf-addrtype \
41 kernel-module-nf-limit \
42 kernel-module-nf-log \
43 kernel-module-nf-recent \
44"
45
46# Certain items are explicitly put under /lib, not base_libdir when installed.
47#
48FILES_${PN} += " \
49 ${sbindir}/* \
50 ${datadir}/ufw/* \
51 /lib/ufw/* \
52 ${sysconfdir}/ufw/* \
53 ${sysconfdir}/default/ufw \
54"
55
56REQUIRED_DISTRO_FEATURES = "ipv6"
57
58DISTUTILS_BUILD_ARGS_append = " --iptables-dir /usr/sbin"
59DISTUTILS_INSTALL_ARGS_append = " --iptables-dir /usr/sbin"