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 | " |
| 20 | SRC_URI[md5sum] = "3747b453d76709e5a99da209fc0bb5f5" |
| 21 | SRC_URI[sha256sum] = "5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8" |
| 22 | |
| 23 | inherit setuptools distro_features_check |
| 24 | |
| 25 | RDEPENDS_${PN} = " \ |
| 26 | iptables \ |
| 27 | python \ |
| 28 | python-modules \ |
| 29 | " |
| 30 | |
| 31 | RRECOMMENDS_${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 | # |
| 45 | FILES_${PN} += " \ |
| 46 | ${sbindir}/* \ |
| 47 | ${datadir}/ufw/* \ |
| 48 | /lib/ufw/* \ |
| 49 | ${sysconfdir}/ufw/* \ |
| 50 | ${sysconfdir}/default/ufw \ |
| 51 | " |
| 52 | |
| 53 | REQUIRED_DISTRO_FEATURES = "ipv6" |
| 54 | |
| 55 | DISTUTILS_BUILD_ARGS_append = " --iptables-dir /usr/sbin" |
| 56 | DISTUTILS_INSTALL_ARGS_append = " --iptables-dir /usr/sbin" |