Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Uncomplicated Firewall" |
| 2 | DESCRIPTION = "UFW stands for Uncomplicated Firewall, and is program for \ |
| 3 | managing a netfilter firewall. It provides a command line interface and aims \ |
| 4 | to be uncomplicated and easy to use." |
| 5 | HOMEPAGE = "https://launchpad.net/ufw" |
| 6 | SECTION = "net" |
| 7 | LICENSE = "GPLv3" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" |
| 9 | |
| 10 | SRC_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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 20 | |
| 21 | UPSTREAM_CHECK_URI = "https://launchpad.net/ufw" |
| 22 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | SRC_URI[md5sum] = "3747b453d76709e5a99da209fc0bb5f5" |
| 24 | SRC_URI[sha256sum] = "5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8" |
| 25 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 26 | inherit setuptools3 features_check |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 27 | |
| 28 | RDEPENDS_${PN} = " \ |
| 29 | iptables \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 30 | python3 \ |
| 31 | python3-modules \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 32 | " |
| 33 | |
| 34 | RRECOMMENDS_${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 | # |
| 48 | FILES_${PN} += " \ |
| 49 | ${sbindir}/* \ |
| 50 | ${datadir}/ufw/* \ |
| 51 | /lib/ufw/* \ |
| 52 | ${sysconfdir}/ufw/* \ |
| 53 | ${sysconfdir}/default/ufw \ |
| 54 | " |
| 55 | |
| 56 | REQUIRED_DISTRO_FEATURES = "ipv6" |
| 57 | |
| 58 | DISTUTILS_BUILD_ARGS_append = " --iptables-dir /usr/sbin" |
| 59 | DISTUTILS_INSTALL_ARGS_append = " --iptables-dir /usr/sbin" |