blob: 6ff103c770f08513bf381184102f22accdbc0c01 [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"
20SRC_URI[md5sum] = "3747b453d76709e5a99da209fc0bb5f5"
21SRC_URI[sha256sum] = "5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8"
22
Brad Bishop8410d612019-11-25 09:40:59 -050023inherit setuptools features_check
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024
25RDEPENDS_${PN} = " \
26 iptables \
27 python \
28 python-modules \
29 "
30
31RRECOMMENDS_${PN} = " \
32 kernel-module-ipv6 \
33 kernel-module-nf-conntrack-ipv6 \
34 kernel-module-nf-log-common \
35 kernel-module-nf-log-ipv4 \
36 kernel-module-nf-log-ipv6 \
37 kernel-module-nf-addrtype \
38 kernel-module-nf-limit \
39 kernel-module-nf-log \
40 kernel-module-nf-recent \
41"
42
43# Certain items are explicitly put under /lib, not base_libdir when installed.
44#
45FILES_${PN} += " \
46 ${sbindir}/* \
47 ${datadir}/ufw/* \
48 /lib/ufw/* \
49 ${sysconfdir}/ufw/* \
50 ${sysconfdir}/default/ufw \
51"
52
53REQUIRED_DISTRO_FEATURES = "ipv6"
54
55DISTUTILS_BUILD_ARGS_append = " --iptables-dir /usr/sbin"
56DISTUTILS_INSTALL_ARGS_append = " --iptables-dir /usr/sbin"