[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 641421d5f2792f50c597b55898c963f5c1131c1b Author: Sam James gentoo org> AuthorDate: Sun Jun 2 04:23:20 2024 + Commit: Sam James gentoo org> CommitDate: Sun Jun 2 04:57:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641421d5 net-firewall/ufw: enable py3.12 Closes: https://bugs.gentoo.org/929692 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/ufw-0.36.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index 922d7aa76f9d..29c289c00534 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_IN_SOURCE_BUILD=1 DISTUTILS_USE_SETUPTOOLS=no
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 4c9ed831ba2217da7a6b84db44cbec53a6750de2 Author: Sam James gentoo org> AuthorDate: Sun Dec 18 11:30:06 2022 + Commit: Sam James gentoo org> CommitDate: Sun Dec 18 11:30:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9ed831 net-firewall/ufw: Stabilize 0.36.1 ALLARCHES, #886753 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/ufw-0.36.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index d818538b68da..5a09d99387c8 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV%.*}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" IUSE="examples ipv6" RDEPEND="net-firewall/iptables[ipv6(+)?]"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 2274610a3adacc42b560ab36fae5498389c6790e Author: Dustin Smith gmail com> AuthorDate: Sun Jul 24 01:52:36 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Jul 24 16:49:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2274610a net-firewall/ufw: fix word split issue Shellcheck found another SC2066 bug -- this is just a quick commit to fix it and make the for loop work as intended. Bug: https://bugs.gentoo.org/839216 Signed-off-by: Dustin Smith gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26560 Signed-off-by: Florian Schmaus gentoo.org> net-firewall/ufw/ufw-0.36-r1.ebuild | 2 +- net-firewall/ufw/ufw-0.36.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36-r1.ebuild b/net-firewall/ufw/ufw-0.36-r1.ebuild index 052ffc4ee44e..5458db7c5f99 100644 --- a/net-firewall/ufw/ufw-0.36-r1.ebuild +++ b/net-firewall/ufw/ufw-0.36-r1.ebuild @@ -198,7 +198,7 @@ pkg_postinst() { print_check_req_warn=true else local rv - for rv in "${REPLACING_VERSIONS}"; do + for rv in ${REPLACING_VERSIONS}; do local major=${rv%%.*} local minor=${rv#${major}.} if [[ "${major}" -eq 0 && "${minor}" -lt 34 ]]; then diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index a4d9ce8191ff..d818538b68da 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -196,7 +196,7 @@ pkg_postinst() { print_check_req_warn=true else local rv - for rv in "${REPLACING_VERSIONS}"; do + for rv in ${REPLACING_VERSIONS}; do local major=${rv%%.*} local minor=${rv#${major}.} if [[ "${major}" -eq 0 && "${minor}" -lt 34 ]]; then
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: fb8619894433f3ef988f9be47af45d4d25545a80 Author: Sam James gentoo org> AuthorDate: Sat Jul 2 15:52:15 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jul 2 15:52:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb861989 net-firewall/ufw: drop to maintainer-needed Bug: https://github.com/gentoo/gentoo/pull/26110 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index 86dda81d4cfd..234912f37f36 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -1,14 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - hasan.cali...@psauxit.com - Hasan ÇALIŞIR - - - proxy-ma...@gentoo.org - Proxy Maintainers - + Example ufw config files IPv6 support for iptables
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 74813f9ce4fc717e52987ab1f3999bcf7eb8e203 Author: Florian Schmaus gentoo org> AuthorDate: Fri Jul 1 09:02:29 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 1 09:02:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74813f9c net-firewall/ufw: re-add dropped loong KEYWORD Signed-off-by: Florian Schmaus gentoo.org> net-firewall/ufw/ufw-0.36.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index e3319943a06b..a4d9ce8191ff 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV%.*}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="examples ipv6" RDEPEND="net-firewall/iptables[ipv6(+)?]"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/files/, net-firewall/ufw/
commit: 4047ed24fa5760811d57809d634524a96e6bd8d3 Author: Florian Schmaus gentoo org> AuthorDate: Fri Jul 1 08:54:09 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 1 09:02:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4047ed24 net-firewall/ufw: remove duplicate bash completion patch Signed-off-by: Florian Schmaus gentoo.org> net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch | 16 net-firewall/ufw/ufw-0.36.1.ebuild | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch b/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch deleted file mode 100644 index 927af244eef1.. --- a/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch +++ /dev/null @@ -1,16 +0,0 @@ a/shell-completion/bash2018-12-14 21:25:55.0 +0300 -+++ b/shell-completion/bash2019-03-21 01:26:46.152181981 +0300 -@@ -57,7 +57,6 @@ - echo "numbered verbose" - } - --_have ufw && - _ufw() - { - cur=${COMP_WORDS[COMP_CWORD]} -@@ -91,4 +90,4 @@ - fi - } - --_have ufw && complete -F _ufw ufw -+complete -F _ufw ufw diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index 8eca27c146a6..e2c1d375da38 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -29,7 +29,7 @@ PATCHES=( # Remove shebang modification. "${FILESDIR}/${P}-shebang.patch" # Fix bash completions, bug #526300 - "${FILESDIR}/${P}-bash-completion.patch" + "${FILESDIR}/${PN}-0.36-bash-completion.patch" ) pkg_pretend() {
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 4a85735a9c360bf8a034e8288f8869de99ff32f6 Author: Florian Schmaus gentoo org> AuthorDate: Fri Jul 1 08:59:41 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 1 09:02:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a85735a net-firewall/ufw: use chmod instead of fperms Fix QA warning regarding using fperms with relative paths (since we use globs here, see also bug #714082). Signed-off-by: Florian Schmaus gentoo.org> net-firewall/ufw/ufw-0.36.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild b/net-firewall/ufw/ufw-0.36.1.ebuild index e2c1d375da38..e3319943a06b 100644 --- a/net-firewall/ufw/ufw-0.36.1.ebuild +++ b/net-firewall/ufw/ufw-0.36.1.ebuild @@ -134,7 +134,7 @@ python_install_all() { systemd_dounit "${FILESDIR}/ufw.service" pushd "${ED}" || die - fperms -R 0644 etc/ufw/*.rules + chmod -R 0644 etc/ufw/*.rules || die popd || die exeinto /usr/share/${PN}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/, net-firewall/ufw/files/
commit: 5b92f67047e6ae788b7e68acd72ca421d4e42d01 Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Tue Jun 28 08:25:53 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 1 08:28:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b92f670 net-firewall/ufw: bump to 0.36.1 * version bump to 0.36.1. * bump to EAPI 8. * python_combat drop 3.7, add 3.11, current range 8,11. * dropped NonexistentBlockers from RDEPEND. ! upstream bug: https://bugs.launchpad.net/ufw/+bug/815982 fixed and commited. * Change mod 0644 for all rules in /etc/ufw. * Drop comparison operator >= for iptables 1.4. Current repo already meets the requirement. * Patches synced with current version that we still need them. [ flow: add Closes bug# 834130 git trailer ] Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Closes: https://bugs.gentoo.org/834130 Closes: https://github.com/gentoo/gentoo/pull/26110 Signed-off-by: Florian Schmaus gentoo.org> net-firewall/ufw/Manifest | 1 + .../ufw/files/ufw-0.36.1-bash-completion.patch | 16 ++ .../ufw/files/ufw-0.36.1-dont-check-iptables.patch | 50 + net-firewall/ufw/files/ufw-0.36.1-move-path.patch | 124 net-firewall/ufw/files/ufw-0.36.1-shebang.patch| 15 ++ net-firewall/ufw/ufw-0.36.1.ebuild | 217 + 6 files changed, 423 insertions(+) diff --git a/net-firewall/ufw/Manifest b/net-firewall/ufw/Manifest index ab0de6087c34..91de7839ba25 100644 --- a/net-firewall/ufw/Manifest +++ b/net-firewall/ufw/Manifest @@ -1 +1,2 @@ +DIST ufw-0.36.1.tar.gz 583123 BLAKE2B 16e1ee67493d5db10a04667b646a019aa3aeb06345d0facc334fb07eeff4d4f6674a4699b2bd7bd6ed29de1c05c4e14812e9e8ec55c4bfb8579b8e3e2e577f6a SHA512 77d01fef661083eac041be6d6eabffb1d8aedb215f73e44e18a9a63a48da96414b3c0166e3ffd9402c22c72a6de5d774ba14b15368b02997aae8e08d1c5dd4c0 DIST ufw-0.36.tar.gz 580338 BLAKE2B a7e07ac11539061a69bb83d45c0affc54793503b31c9e9f9f8b34fa890a3fe97682f9133102e74e5f6e1eb372a929cfc8619baa2cc9efc1dc289d9f4a1766efd SHA512 b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3 diff --git a/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch b/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch new file mode 100644 index ..927af244eef1 --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.36.1-bash-completion.patch @@ -0,0 +1,16 @@ +--- a/shell-completion/bash2018-12-14 21:25:55.0 +0300 b/shell-completion/bash2019-03-21 01:26:46.152181981 +0300 +@@ -57,7 +57,6 @@ + echo "numbered verbose" + } + +-_have ufw && + _ufw() + { + cur=${COMP_WORDS[COMP_CWORD]} +@@ -91,4 +90,4 @@ + fi + } + +-_have ufw && complete -F _ufw ufw ++complete -F _ufw ufw diff --git a/net-firewall/ufw/files/ufw-0.36.1-dont-check-iptables.patch b/net-firewall/ufw/files/ufw-0.36.1-dont-check-iptables.patch new file mode 100644 index ..ae0c95525a46 --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.36.1-dont-check-iptables.patch @@ -0,0 +1,50 @@ +--- a/setup.py2022-06-27 17:33:18.043794598 +0300 b/setup.py2022-06-27 18:15:18.384463926 +0300 +@@ -256,46 +256,7 @@ + os.unlink(os.path.join('staging', 'ufw-init')) + os.unlink(os.path.join('staging', 'ufw-init-functions')) + +-iptables_exe = '' +-iptables_dir = '' +- +-for e in ['iptables']: +-# Historically iptables was in /sbin, then later also symlinked from +-# /usr/sbin/iptables to /sbin/iptables. Debian bullseye moves iptables +-# to /usr/sbin with no symlink in /sbin except on upgrades. To accomodate +-# buildds that may still have the old iptables, search /usr/sbin first +-for dir in ['/usr/sbin', '/sbin', '/usr/bin', '/bin', '/usr/local/sbin', \ +-'/usr/local/bin']: +-if e == "iptables": +-if os.path.exists(os.path.join(dir, e)): +-iptables_dir = dir +-iptables_exe = os.path.join(iptables_dir, "iptables") +-print("Found '%s'" % iptables_exe) +-else: +-continue +- +-if iptables_exe != "": +-break +- +- +-if iptables_exe == '': +-print("ERROR: could not find required binary 'iptables'", file=sys.stderr) +-sys.exit(1) +- +-for e in ['ip6tables', 'iptables-restore', 'ip6tables-restore']: +-if not os.path.exists(os.path.join(iptables_dir, e)): +-print("ERROR: could not find required binary '%s'" % (e), file=sys.stderr) +-sys.exit(1) +- +-(rc, out) = cmd([iptables_exe, '-V']) +-if rc != 0: +-raise OSError(errno.ENOENT, "Could not find version for '%s'" % \ +- (iptables_exe)) +-version = re.sub('^v', '', re.split('\s', str(out))[1]) +-print("Found '%s' version '%s'" % (iptables_exe, version)) +-if version < "1.4": +-print("WARN: version '%s' has limited IPv6
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 42f92781eeeda375af4bd9e5075388a022039301 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 12 16:11:55 2022 + Commit: Sam James gentoo org> CommitDate: Fri Feb 18 02:40:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f92781 net-firewall/ufw: Use (+) for ipv6 flag deps At this point, it is reasonable to assume that packages will be enabling IPv6 unconditionally rather than dropping it altogether. Update the USE dependencies to (+) to account for that, in preparation for removal of the flag in iproute2 and iputils. Signed-off-by: Michał Górny gentoo.org> Signed-off-by: Sam James gentoo.org> net-firewall/ufw/{ufw-0.36.ebuild => ufw-0.36-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36-r1.ebuild similarity index 98% rename from net-firewall/ufw/ufw-0.36.ebuild rename to net-firewall/ufw/ufw-0.36-r1.ebuild index a7443cf4f135..e6626c0697dd 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="examples ipv6" -RDEPEND=">=net-firewall/iptables-1.4[ipv6?] +RDEPEND=">=net-firewall/iptables-1.4[ipv6(+)?] !
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 776213e90cc9cf43b871f24524ee6cc7722c549a Author: Sam James gentoo org> AuthorDate: Thu Sep 9 23:56:03 2021 + Commit: Sam James gentoo org> CommitDate: Thu Sep 9 23:56:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776213e9 net-firewall/ufw: Stabilize 0.36 arm64, #691498 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 20f117269bd..a7443cf4f13 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="examples ipv6" RDEPEND=">=net-firewall/iptables-1.4[ipv6?]
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 5c1ec3e21c9eb40fd2cbf462be6fc7ef2b9a86e4 Author: Alex Fan yahoo com> AuthorDate: Tue Aug 17 04:08:19 2021 + Commit: Yixun Lan gentoo org> CommitDate: Wed Aug 18 00:33:26 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1ec3e2 net-firewall/ufw: keyword 0.36 for ~riscv Signed-off-by: Alex Fan yahoo.com> Signed-off-by: Yixun Lan gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index ed4a7029034..20f117269bd 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="examples ipv6" RDEPEND=">=net-firewall/iptables-1.4[ipv6?]
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: bcb3eb3a6657937f45b2c22b4a600557b7b29c9d Author: Joonas Niilola gentoo org> AuthorDate: Mon Aug 16 06:02:43 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Aug 16 06:33:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb3eb3a net-firewall/ufw: bashify the new check Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 0da5a40cfa5..ed4a7029034 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -167,28 +167,28 @@ pkg_postinst() { print_check_req_warn=false local found=() - local apps=("${CATEGORY}/arno-iptables-firewall" - "${CATEGORY}/ferm" - "${CATEGORY}/firehol" - "${CATEGORY}/firewalld" - "${CATEGORY}/ipkungfu") + local apps=( "net-firewall/arno-iptables-firewall" + "net-firewall/ferm" + "net-firewall/firehol" + "net-firewall/firewalld" + "net-firewall/ipkungfu" ) for exe in "${apps[@]}" do - if has_version ''"${exe}"''; then + if has_version "${exe}"; then found+=( "${exe}" ) fi done - if [ -n "$found" ]; then - echo + if [[ -n ${found} ]]; then + echo "" ewarn "WARNING: Detected other firewall applications:" ewarn "${found[@]}" ewarn "If enabled, these applications may interfere with ufw!" fi if [[ -z "${REPLACING_VERSIONS}" ]]; then - echo + echo "" elog "To enable ufw, add it to boot sequence and activate it:" elog "-- # rc-update add ufw boot" elog "-- # /etc/init.d/ufw start"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 32ea62c0acb3a955d00c7fb2b1931776accca940 Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Mon Aug 16 06:02:05 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Aug 16 06:33:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ea62c0 net-firewall/ufw: warn about possible conflicts Warn about applications that may interfere with ufw. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 21 + 1 file changed, 21 insertions(+) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index ca3e55bb0fe..0da5a40cfa5 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -166,6 +166,27 @@ pkg_postinst() { local print_check_req_warn print_check_req_warn=false + local found=() + local apps=("${CATEGORY}/arno-iptables-firewall" + "${CATEGORY}/ferm" + "${CATEGORY}/firehol" + "${CATEGORY}/firewalld" + "${CATEGORY}/ipkungfu") + + for exe in "${apps[@]}" + do + if has_version ''"${exe}"''; then + found+=( "${exe}" ) + fi + done + + if [ -n "$found" ]; then + echo + ewarn "WARNING: Detected other firewall applications:" + ewarn "${found[@]}" + ewarn "If enabled, these applications may interfere with ufw!" + fi + if [[ -z "${REPLACING_VERSIONS}" ]]; then echo elog "To enable ufw, add it to boot sequence and activate it:"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 63ddca310361936281061d300068b7645361390b Author: Zamarin Arthur gmail com> AuthorDate: Tue May 25 08:54:21 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue May 25 16:04:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ddca31 net-firewall/ufw: bump to python 3.9, 3.10 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 13a5a8a3636..ca3e55bb0fe 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..10} ) DISTUTILS_IN_SOURCE_BUILD=1 DISTUTILS_USE_SETUPTOOLS=no @@ -18,8 +18,6 @@ SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 sparc x86" IUSE="examples ipv6" -DEPEND="" - RDEPEND=">=net-firewall/iptables-1.4[ipv6?] !
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: c194724befba2ed9b04181d9d12d4918384c3863 Author: Zamarin Arthur gmail com> AuthorDate: Tue May 25 08:54:55 2021 + Commit: Michał Górny gentoo org> CommitDate: Tue May 25 16:04:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c194724b net-firewall/ufw: Mark ALLARCHES Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> net-firewall/ufw/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index daef610907e..88d478c5668 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -19,6 +19,7 @@ for managing netfilter, as well as an easy to use command-line interface for manipulating the firewall. + ufw
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: fd55ef02e949c4605c39a4862bfb1ce8e3a5f962 Author: Sam James gentoo org> AuthorDate: Mon Feb 22 07:13:50 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 22 07:13:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd55ef02 net-firewall/ufw: Keyword 0.36 arm64, #770952 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 62fb1051112..1d8b3e387c5 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 21ee907ddbf3cd70c44bdc85de61dd2d977f08eb Author: Sam James gentoo org> AuthorDate: Mon Feb 22 07:11:47 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 22 07:11:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ee907d net-firewall/ufw: Keyword 0.36 arm, #770952 Signed-off-by: Sam James gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 1244d679550..62fb1051112 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86" +KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 48ce5d7a087e0d810346606eb94ecda0d7444037 Author: Joonas Niilola gentoo org> AuthorDate: Wed Jul 1 06:32:18 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 1 06:38:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ce5d7a net-firewall/ufw: define DISTUTILS_USE_SETUPTOOLS Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 1b3a17c8f21..815e4edf373 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -5,6 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_IN_SOURCE_BUILD=1 +DISTUTILS_USE_SETUPTOOLS=no inherit bash-completion-r1 distutils-r1 eutils linux-info systemd
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: b8da2bd4e055c13bec462cc1ef552fbe706b32e2 Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Wed Jun 17 23:40:27 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 1 06:38:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8da2bd4 net-firewall/ufw: add support on python3_{7,8} & drop python2_7. Closes: https://bugs.gentoo.org/718432 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Closes: https://github.com/gentoo/gentoo/pull/16305 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 54c3c4bf91e..1b3a17c8f21 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit bash-completion-r1 distutils-r1 eutils linux-info systemd
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/files/, net-firewall/ufw/
commit: d4449ea33a16a14e2636b83502af5e41387dd29f Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Wed Jun 17 22:44:28 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Jun 20 20:30:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4449ea3 net-firewall/ufw: drop old 0.35. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Closes: https://github.com/gentoo/gentoo/pull/16304 Signed-off-by: Thomas Deutschmann gentoo.org> net-firewall/ufw/Manifest | 1 - .../ufw/files/ufw-0.33-dont-check-iptables.patch | 46 - .../ufw/files/ufw-0.34_pre805-shebang.patch| 15 -- .../ufw/files/ufw-0.35-bash-completion.patch | 17 -- net-firewall/ufw/files/ufw-0.35-move-path.patch| 179 --- net-firewall/ufw/ufw-0.35-r1.ebuild| 195 - 6 files changed, 453 deletions(-) diff --git a/net-firewall/ufw/Manifest b/net-firewall/ufw/Manifest index 4a7bb64fd25..ab0de6087c3 100644 --- a/net-firewall/ufw/Manifest +++ b/net-firewall/ufw/Manifest @@ -1,2 +1 @@ -DIST ufw-0.35.tar.gz 375310 BLAKE2B 3babf22e860ead6970c1386b0ab9fc3de364ba3f5c8bc0237be4a9446358fe058d216e7928d16eed8a148fbee5b82fc1d9e3b358f357c2fac236ae6f6b942a01 SHA512 b36c82559910634505648f717d19eb5a0cb1ce739a804359087e74c966869d0375c4ed5811954b32d2b5b51866f6ae1bec62a4a464f226b2eecc56b096f303fc DIST ufw-0.36.tar.gz 580338 BLAKE2B a7e07ac11539061a69bb83d45c0affc54793503b31c9e9f9f8b34fa890a3fe97682f9133102e74e5f6e1eb372a929cfc8619baa2cc9efc1dc289d9f4a1766efd SHA512 b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3 diff --git a/net-firewall/ufw/files/ufw-0.33-dont-check-iptables.patch b/net-firewall/ufw/files/ufw-0.33-dont-check-iptables.patch deleted file mode 100644 index b7eae3595cb..000 --- a/net-firewall/ufw/files/ufw-0.33-dont-check-iptables.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -ur ufw-0.32/setup.py ufw-0.32.new/setup.py ufw-0.32/setup.py 2012-07-06 17:46:29.0 +0200 -+++ ufw-0.32.new/setup.py 2012-07-30 15:28:31.874547818 +0200 -@@ -225,41 +225,7 @@ - os.unlink(os.path.join('staging', 'ufw-init')) - os.unlink(os.path.join('staging', 'ufw-init-functions')) - --iptables_exe = '' --iptables_dir = '' -- --for e in ['iptables']: --for dir in ['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/local/sbin', \ --'/usr/local/bin']: --if e == "iptables": --if os.path.exists(os.path.join(dir, e)): --iptables_dir = dir --iptables_exe = os.path.join(iptables_dir, "iptables") --print("Found '%s'" % iptables_exe) --else: --continue -- --if iptables_exe != "": --break -- -- --if iptables_exe == '': --print("ERROR: could not find required binary 'iptables'", file=sys.stderr) --sys.exit(1) -- --for e in ['ip6tables', 'iptables-restore', 'ip6tables-restore']: --if not os.path.exists(os.path.join(iptables_dir, e)): --print("ERROR: could not find required binary '%s'" % (e), file=sys.stderr) --sys.exit(1) -- --(rc, out) = cmd([iptables_exe, '-V']) --if rc != 0: --raise OSError(errno.ENOENT, "Could not find version for '%s'" % \ -- (iptables_exe)) --version = re.sub('^v', '', re.split('\s', str(out))[1]) --print("Found '%s' version '%s'" % (iptables_exe, version)) --if version < "1.4": --print("WARN: version '%s' has limited IPv6 support. See README for details." % (version), file=sys.stderr) -+iptables_dir = '/sbin' - - setup (name='ufw', - version=ufw_version, diff --git a/net-firewall/ufw/files/ufw-0.34_pre805-shebang.patch b/net-firewall/ufw/files/ufw-0.34_pre805-shebang.patch deleted file mode 100644 index 991f4c826ec..000 --- a/net-firewall/ufw/files/ufw-0.34_pre805-shebang.patch +++ /dev/null @@ -1,15 +0,0 @@ a/setup.py -+++ b/setup.py -@@ -107,12 +107,6 @@ class Install(_install, object): - for f in [ script, manpage, manpage_f ]: - self.mkpath(os.path.dirname(f)) - --# update the interpreter to that of the one the user specified for setup --print("Updating staging/ufw to use %s" % (sys.executable)) --subprocess.call(["sed", -- "-i", -- "1s%^#.*python.*%#! /usr/bin/env " + sys.executable + "%g", -- 'staging/ufw']) - self.copy_file('staging/ufw', script) - self.copy_file('doc/ufw.8', manpage) - self.copy_file('doc/ufw-framework.8', manpage_f) diff --git a/net-firewall/ufw/files/ufw-0.35-bash-completion.patch b/net-firewall/ufw/files/ufw-0.35-bash-completion.patch deleted file mode 100644 index fde635ddc33..000 --- a/net-firewall/ufw/files/ufw-0.35-bash-completion.patch +++ /dev/null @@ -1,17 +0,0 @@
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/files/, net-firewall/ufw-frontends/, profiles/
commit: 3397c6c8e97afdb10b0ed35c372987163e95d4c0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri May 29 19:48:25 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri May 29 22:11:35 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3397c6c8 net-firewall/ufw-frontends: Remove last-rited package Closes: https://bugs.gentoo.org/708152 Signed-off-by: Andreas Sturmlechner gentoo.org> net-firewall/ufw-frontends/Manifest| 1 - .../files/org.gentoo.pkexec.ufw-gtk.policy | 21 --- .../files/ufw-frontends-0.3.2-no-log-crash.patch | 61 - net-firewall/ufw-frontends/metadata.xml| 22 .../ufw-frontends/ufw-frontends-0.3.2-r5.ebuild| 64 -- profiles/package.mask | 5 -- 6 files changed, 174 deletions(-) diff --git a/net-firewall/ufw-frontends/Manifest b/net-firewall/ufw-frontends/Manifest deleted file mode 100644 index cbcaf4cd712..000 --- a/net-firewall/ufw-frontends/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ufw-frontends-0.3.2.tar.gz 85472 BLAKE2B 9aa53a2b2c87de416334c5e9c0c9c63ccf14405c896ad7ba9fc266df728ab29b79186102ee3fdd346dcf470f0a24327f1fc475d2fe25380c96da1645d236d446 SHA512 9f311596a3bad71562ca98acb8bf4d0d55990520cb5373c299dad05d1a1986e791eac984385013a511af4693a9988351ec37d8735ae6748818a9570db416b274 diff --git a/net-firewall/ufw-frontends/files/org.gentoo.pkexec.ufw-gtk.policy b/net-firewall/ufw-frontends/files/org.gentoo.pkexec.ufw-gtk.policy deleted file mode 100644 index 7410debbc81..000 --- a/net-firewall/ufw-frontends/files/org.gentoo.pkexec.ufw-gtk.policy +++ /dev/null @@ -1,21 +0,0 @@ - -http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd;> - - - Gentoo - http://www.gentoo.org/ - - -Authentication is required to run the ufw configuration tool - - auth_admin - auth_admin - auth_admin - -/usr/sbin/ufw-gtk -true - - - diff --git a/net-firewall/ufw-frontends/files/ufw-frontends-0.3.2-no-log-crash.patch b/net-firewall/ufw-frontends/files/ufw-frontends-0.3.2-no-log-crash.patch deleted file mode 100644 index f4adb49826e..000 --- a/net-firewall/ufw-frontends/files/ufw-frontends-0.3.2-no-log-crash.patch +++ /dev/null @@ -1,61 +0,0 @@ -From e7bcf87788588c3a38ce18c9a8d69bbe156860e9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C5=82awomir=20Nizio?= -Date: Mon, 3 Mar 2014 08:31:47 +0100 -Subject: [PATCH] Fix crash when no log in supported location can be found - -This can happen for example on systems that use Journal -from systemd. - -In this case, ufw-gtk exits with a traceback containing: -IOError: [Errno 2] No such file or directory: '/var/log/messages.log' -(this is the last log file tried). - -The patch works around the issue by handling the error -and disabling the widget in the "Events" tab. - gfw/frontend_gtk.py | 18 +- - 1 file changed, 13 insertions(+), 5 deletions(-) - -diff --git a/gfw/frontend_gtk.py b/gfw/frontend_gtk.py -index 75ebb33..75dfde0 100644 a/gfw/frontend_gtk.py -+++ b/gfw/frontend_gtk.py -@@ -33,14 +33,21 @@ from gfw.frontend import Frontend - - class Notifier(gfw.event.Notifier): - --def __init__(self, callback): --gfw.event.Notifier.__init__(self, callback) -+def __init__(self, callback, inactive_handler): -+self._active = False -+try: -+gfw.event.Notifier.__init__(self, callback) -+except IOError: -+inactive_handler() -+return -+self._active = True - self._w = gobject.io_add_watch(self._fd, gobject.IO_IN | gobject.IO_PRI, -self._trigger) - - def __del__(self): --gfw.event.Notifier.__del__(self) --gobject.source_remove(self._w) -+if self._active: -+gfw.event.Notifier.__del__(self) -+gobject.source_remove(self._w) - - - class Builder(gtk.Builder): -@@ -90,7 +97,8 @@ class GtkFrontend(Frontend): - data = (timestamp, event, conn['IN'], conn['OUT'], conn['PROTO'], - conn['SRC'], spt, conn['DST'], dpt) - self.ui.events_model.append(data) --self._notifier = Notifier(callback) -+self._notifier = Notifier(callback, -+lambda: self.ui.events_view.set_sensitive(False)) - self.ui.main_window.show_all() - ## FIXME: for the 0.3.0 release, hide the tab for the connections view - page = self.ui.view.get_nth_page(2) --- -1.9.0 - diff --git a/net-firewall/ufw-frontends/metadata.xml b/net-firewall/ufw-frontends/metadata.xml deleted file mode 100644 index a3ab739d57c..000 --- a/net-firewall/ufw-frontends/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - slawomir.ni...@sabayon.org - Sławomir Nizio - - -
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/files/
commit: 147405b2f4f1b8661e5ba3e167449de48e7083ca Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Tue Aug 13 17:46:57 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 14 07:16:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147405b2 net-firewall/ufw: remove unused patches Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Closes: https://github.com/gentoo/gentoo/pull/12698 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/files/ufw-0.31.1-move-path.patch | 177 - .../files/ufw-0.34_pre805-bash-completion.patch| 17 -- 2 files changed, 194 deletions(-) diff --git a/net-firewall/ufw/files/ufw-0.31.1-move-path.patch b/net-firewall/ufw/files/ufw-0.31.1-move-path.patch deleted file mode 100644 index 24d00ea68cc..000 --- a/net-firewall/ufw/files/ufw-0.31.1-move-path.patch +++ /dev/null @@ -1,177 +0,0 @@ -diff -Naur ufw-0.31.orig/doc/ufw-framework.8 ufw-0.31/doc/ufw-framework.8 ufw-0.31.orig/doc/ufw-framework.8 2012-03-10 00:07:11.0 +0100 -+++ ufw-0.31/doc/ufw-framework.8 2012-03-12 16:55:50.680992962 +0100 -@@ -18,7 +18,7 @@ - parameters and configuration of IPv6. The framework consists of the following - files: - .TP --#STATE_PREFIX#/ufw\-init -+#SHARE_DIR#/ufw\-init - initialization script - .TP - #CONFIG_PREFIX#/ufw/before[6].rules -@@ -41,7 +41,7 @@ - - .SH "BOOT INITIALIZATION" - .PP --\fBufw\fR is started on boot with #STATE_PREFIX#/ufw\-init. This script is a -+\fBufw\fR is started on boot with #SHARE_DIR#/ufw\-init. This script is a - standard SysV style initscript used by the \fBufw\fR command and should not be - modified. It supports the following arguments: - .TP -diff -Naur ufw-0.31.orig/README ufw-0.31/README ufw-0.31.orig/README 2012-03-10 00:07:11.0 +0100 -+++ ufw-0.31/README2012-03-12 16:55:50.681993089 +0100 -@@ -58,7 +58,7 @@ - on your needs, this can be as simple as adding the following to a startup - script (eg rc.local for systems that use it): - --# /lib/ufw/ufw-init start -+# /usr/share/ufw/ufw-init start - - For systems that use SysV initscripts, an example script is provided in - doc/initscript.example. See doc/upstart.example for an Upstart example. Consult -@@ -72,9 +72,9 @@ - /etc/defaults/ufw high level configuration - /etc/ufw/before[6].rules rules evaluated before UI added rules - /etc/ufw/after[6].rules rules evaluated after UI added rules --/lib/ufw/user[6].rulesUI added rules (not to be modified) -+/etc/ufw/user/user[6].rules UI added rules (not to be modified) - /etc/ufw/sysctl.conf kernel network tunables --/lib/ufw/ufw-init start script -+/usr/share/ufw/ufw-init start script - - - Usage -@@ -149,7 +149,7 @@ - that the primary chains don't move around other non-ufw rules and chains. To - completely flush the built-in chains with this configuration, you can use: - --# /lib/ufw/ufw-init flush-all -+# /usr/share/ufw/ufw-init flush-all - - Alternately, ufw may also take full control of the firewall by setting - MANAGE_BUILTINS=yes in /etc/defaults/ufw. This will flush all the built-in -@@ -247,7 +247,7 @@ - - Remote Management - - --On /lib/ufw/ufw-init start and 'ufw enable' the chains are flushed, so -+On /usr/share/ufw/ufw-init start and 'ufw enable' the chains are flushed, so - ssh may drop. This is needed so ufw is in a consistent state. Once the ufw is - 'enabled' it will insert rules into the existing chains, and therefore not - flush the chains (but will when modifying a rule or changing the default -@@ -290,7 +290,7 @@ - - Distributions - - --While it certainly ok to use /lib/ufw/ufw-init as the initscript for -+While it certainly ok to use /usr/share/ufw/ufw-init as the initscript for - ufw, this script is meant to be used by ufw itself, and therefore not - particularly user friendly. See doc/initscript.example for a simple - implementation that can be adapted to your distribution. -diff -Naur ufw-0.31.orig/setup.py ufw-0.31/setup.py ufw-0.31.orig/setup.py 2012-03-10 00:07:11.0 +0100 -+++ ufw-0.31/setup.py 2012-03-12 16:55:50.682993216 +0100 -@@ -54,7 +54,8 @@ - return - - real_confdir = os.path.join('/etc') --real_statedir = os.path.join('/lib', 'ufw') -+# real_statedir = os.path.join('/lib', 'ufw') -+real_statedir = os.path.join('/etc', 'ufw', 'user') - real_prefix = self.prefix - if self.home != None: - real_confdir = self.home + real_confdir -@@ -116,7 +117,7 @@ - self.copy_file('doc/ufw.8', manpage) - self.copy_file('doc/ufw-framework.8', manpage_f) - --# Install state files and helper scripts -+# Install state files - statedir = real_statedir - if self.root != None: - statedir = self.root + real_statedir
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: b66986ac38d4de9254e0c2d06de1e2c61780ed32 Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Tue Aug 13 14:44:21 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Tue Aug 13 16:52:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b66986ac net-firewall/ufw: drop old 0.34. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Closes: https://github.com/gentoo/gentoo/pull/12694 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/ufw/Manifest | 1 - net-firewall/ufw/ufw-0.34_pre805-r2.ebuild | 185 - 2 files changed, 186 deletions(-) diff --git a/net-firewall/ufw/Manifest b/net-firewall/ufw/Manifest index ad31ad0661a..4a7bb64fd25 100644 --- a/net-firewall/ufw/Manifest +++ b/net-firewall/ufw/Manifest @@ -1,3 +1,2 @@ -DIST ufw-0.34_pre805.tar.gz 335875 BLAKE2B a2b654fe35a299ffd9978ef14a8d5667f799b654b6285bc81756c8081d9f4417b2fa9c05a234351d42709c2c57ff624b4fe7bca8ffe4d13cd12436feead6e4da SHA512 b8bba3bb8c423070d6434d1df7274423edf3a356415f54c6448fa0ff2d13a4b2ac21c4bb627cba01d6955b04f793eeaf2fc535c6221e7de48f11bef745035263 DIST ufw-0.35.tar.gz 375310 BLAKE2B 3babf22e860ead6970c1386b0ab9fc3de364ba3f5c8bc0237be4a9446358fe058d216e7928d16eed8a148fbee5b82fc1d9e3b358f357c2fac236ae6f6b942a01 SHA512 b36c82559910634505648f717d19eb5a0cb1ce739a804359087e74c966869d0375c4ed5811954b32d2b5b51866f6ae1bec62a4a464f226b2eecc56b096f303fc DIST ufw-0.36.tar.gz 580338 BLAKE2B a7e07ac11539061a69bb83d45c0affc54793503b31c9e9f9f8b34fa890a3fe97682f9133102e74e5f6e1eb372a929cfc8619baa2cc9efc1dc289d9f4a1766efd SHA512 b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3 diff --git a/net-firewall/ufw/ufw-0.34_pre805-r2.ebuild b/net-firewall/ufw/ufw-0.34_pre805-r2.ebuild deleted file mode 100644 index 73f230e669d..000 --- a/net-firewall/ufw/ufw-0.34_pre805-r2.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_IN_SOURCE_BUILD=1 - -inherit bash-completion-r1 eutils linux-info distutils-r1 systemd - -DESCRIPTION="A program used to manage a netfilter firewall" -HOMEPAGE="https://launchpad.net/ufw; -SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ia64 ppc ppc64 sparc ~x86" -IUSE="examples ipv6" - -DEPEND="sys-devel/gettext" -RDEPEND=">=net-firewall/iptables-1.4[ipv6?] - !https://bugs.launchpad.net/ufw/+bug/815982 -RESTRICT="test" - -PATCHES=( - # Remove unnecessary build time dependency on net-firewall/iptables. - "${FILESDIR}"/${PN}-0.33-dont-check-iptables.patch - # Move files away from /lib/ufw. - "${FILESDIR}"/${PN}-0.31.1-move-path.patch - # Remove shebang modification. - "${FILESDIR}"/${P}-shebang.patch - # Fix bash completions, bug #526300 - "${FILESDIR}"/${P}-bash-completion.patch -) - -pkg_pretend() { - local CONFIG_CHECK="~PROC_FS - ~NETFILTER_XT_MATCH_COMMENT ~NETFILTER_XT_MATCH_HL - ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_MULTIPORT - ~NETFILTER_XT_MATCH_RECENT ~NETFILTER_XT_MATCH_STATE" - - if kernel_is -ge 2 6 39; then - CONFIG_CHECK+=" ~NETFILTER_XT_MATCH_ADDRTYPE" - else - CONFIG_CHECK+=" ~IP_NF_MATCH_ADDRTYPE" - fi - - # https://bugs.launchpad.net/ufw/+bug/1076050 - if kernel_is -ge 3 4; then - CONFIG_CHECK+=" ~NETFILTER_XT_TARGET_LOG" - else - CONFIG_CHECK+=" ~IP_NF_TARGET_LOG" - use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_LOG" - fi - - CONFIG_CHECK+=" ~IP_NF_TARGET_REJECT" - use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_REJECT" - - check_extra_config - - # Check for default, useful optional features. - if ! linux_config_exists; then - ewarn "Cannot determine configuration of your kernel." - return - fi - - local nf_nat_ftp_ok="yes" - local nf_conntrack_ftp_ok="yes" - local nf_conntrack_netbios_ns_ok="yes" - - linux_chkconfig_present \ - NF_NAT_FTP || nf_nat_ftp_ok="no" - linux_chkconfig_present \ - NF_CONNTRACK_FTP || nf_conntrack_ftp_ok="no" - linux_chkconfig_present \ - NF_CONNTRACK_NETBIOS_NS || nf_conntrack_netbios_ns_ok="no" - - # This is better than an essay for each unset option... - if [[ ${nf_nat_ftp_ok} = no ]] || [[ ${nf_conntrack_ftp_ok} = no ]] \ - || [[ ${nf_conntrack_netbios_ns_ok} = no ]] - then - echo - local mod_msg="Kernel options listed below are not set. They are not" - mod_msg+=" mandatory, but they are often useful." - mod_msg+=" If you don't
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: ca4dd4e91065956d37c095703f496502701c962c Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 13 10:32:28 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 13 10:32:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca4dd4e9 net-firewall/ufw: ppc64 stable wrt bug #691498 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 97d3891addf..cfddceb52bb 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ppc ~ppc64 sparc x86" +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 0ec7b22ee202ca06f3818b7fd43b43cccefd658f Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 13 10:30:47 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 13 10:30:53 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ec7b22e net-firewall/ufw: ppc stable wrt bug #691498 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 1aa231e72f6..97d3891addf 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="amd64 ia64 ppc ~ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 483cb6e350feabc59ef8115b817a3780e561a88a Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 12 08:02:25 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 12 08:02:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483cb6e3 net-firewall/ufw: amd64 stable wrt bug #691498 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 1d26cf9554c..1aa231e72f6 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="amd64 ia64 ~ppc ~ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 9e80b860972bb5d070fa3e74ae7c38e5bf109bd6 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Aug 11 20:55:22 2019 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Aug 11 21:29:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e80b860 net-firewall/ufw: x86 stable (bug #691498) Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 79eca7ad55d..1d26cf9554c 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~amd64 ia64 ~ppc ~ppc64 sparc x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 3d8c386c0b1f723ecb7eb3d2065d26a774fba172 Author: David Seifert gentoo org> AuthorDate: Sun Aug 11 11:19:49 2019 + Commit: David Seifert gentoo org> CommitDate: Sun Aug 11 11:19:49 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8c386c net-firewall/ufw: [QA] Fix missing trailing slash Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 8c12a14e063..79eca7ad55d 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -90,7 +90,7 @@ pkg_pretend() { mod_msg+=" mandatory, but they are often useful." mod_msg+=" If you don't need some of them, please remove relevant" mod_msg+=" module name(s) from IPT_MODULES in" - mod_msg+=" '${EROOT}etc/default/ufw' before (re)starting ufw." + mod_msg+=" '${EROOT}/etc/default/ufw' before (re)starting ufw." mod_msg+=" Otherwise ufw may fail to start!" ewarn "${mod_msg}" if [[ "${nf_nat_ftp_ok}" == "no" ]]; then
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 80d649a91569f9bc8a997e23ac325bb75a8679b2 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 10 09:03:35 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 10 09:03:35 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d649a9 net-firewall/ufw: stable 0.36 for ia64, bug #691498 Package-Manager: Portage-2.3.71, Repoman-2.3.17 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 8c0706988e4..8c12a14e063 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~amd64 ia64 ~ppc ~ppc64 sparc ~x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 4ca762a5eff56f86692bced119aebb59cdbc2b0d Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Aug 7 07:47:00 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Aug 7 08:01:03 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca762a5 net-firewall/ufw: stable 0.36 for sparc, bug #691498 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index 6621087845d..8c0706988e4 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 sparc ~x86" IUSE="examples ipv6" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 33df91fe69fa712caf3dc7f365dbbd5a4086ba0f Author: Patrice Clement gentoo org> AuthorDate: Sun Mar 31 16:36:36 2019 + Commit: Patrice Clement gentoo org> CommitDate: Sun Mar 31 16:39:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33df91fe net-firewall/ufw: change docinto to insinto. Package-Manager: Portage-2.3.43, Repoman-2.3.9 Signed-off-by: Patrice Clement gentoo.org> net-firewall/ufw/ufw-0.36.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net-firewall/ufw/ufw-0.36.ebuild b/net-firewall/ufw/ufw-0.36.ebuild index a625741775a..3afeac0ab6d 100644 --- a/net-firewall/ufw/ufw-0.36.ebuild +++ b/net-firewall/ufw/ufw-0.36.ebuild @@ -144,15 +144,15 @@ python_install_all() { doexe tests/check-requirements # users normally would want it - docinto "/usr/share/doc/${PF}/logging/syslog-ng" + insinto "/usr/share/doc/${PF}/logging/syslog-ng" doins -r "${FILESDIR}"/syslog-ng/* - docinto "/usr/share/doc/${PF}/logging/rsyslog" + insinto "/usr/share/doc/${PF}/logging/rsyslog" doins -r "${FILESDIR}"/rsyslog/* doins doc/rsyslog.example if use examples; then - docinto "/usr/share/doc/${PF}/examples" + insinto "/usr/share/doc/${PF}/examples" doins -r examples/* fi newbashcomp shell-completion/bash "${PN}"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/, net-firewall/ufw/files/
commit: 13cabfd23b3d793596453e85057789ef14a4faa1 Author: Hasan ÇALIŞIR psauxit com> AuthorDate: Thu Mar 21 01:08:46 2019 + Commit: Patrice Clement gentoo org> CommitDate: Sat Mar 30 18:32:11 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cabfd2 net-firewall/ufw: version bump to 0.36 && EAPI 7 bump. Reported-by: yuLya tutanota.com> Tested-by: Hasan ÇALIŞIR psauxit.com> Closes: https://bugs.gentoo.org/680540 Closes: https://github.com/gentoo/gentoo/pull/11430 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Hasan ÇALIŞIR psauxit.com> Signed-off-by: Patrice Clement gentoo.org> net-firewall/ufw/Manifest | 1 + .../ufw/files/ufw-0.36-bash-completion.patch | 16 ++ .../ufw/files/ufw-0.36-dont-check-iptables.patch | 45 + net-firewall/ufw/files/ufw-0.36-move-path.patch| 174 ++ net-firewall/ufw/files/ufw-0.36-shebang.patch | 15 ++ net-firewall/ufw/metadata.xml | 15 +- net-firewall/ufw/ufw-0.36.ebuild | 199 + 7 files changed, 463 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/Manifest b/net-firewall/ufw/Manifest index ed396f855b3..ad31ad0661a 100644 --- a/net-firewall/ufw/Manifest +++ b/net-firewall/ufw/Manifest @@ -1,2 +1,3 @@ DIST ufw-0.34_pre805.tar.gz 335875 BLAKE2B a2b654fe35a299ffd9978ef14a8d5667f799b654b6285bc81756c8081d9f4417b2fa9c05a234351d42709c2c57ff624b4fe7bca8ffe4d13cd12436feead6e4da SHA512 b8bba3bb8c423070d6434d1df7274423edf3a356415f54c6448fa0ff2d13a4b2ac21c4bb627cba01d6955b04f793eeaf2fc535c6221e7de48f11bef745035263 DIST ufw-0.35.tar.gz 375310 BLAKE2B 3babf22e860ead6970c1386b0ab9fc3de364ba3f5c8bc0237be4a9446358fe058d216e7928d16eed8a148fbee5b82fc1d9e3b358f357c2fac236ae6f6b942a01 SHA512 b36c82559910634505648f717d19eb5a0cb1ce739a804359087e74c966869d0375c4ed5811954b32d2b5b51866f6ae1bec62a4a464f226b2eecc56b096f303fc +DIST ufw-0.36.tar.gz 580338 BLAKE2B a7e07ac11539061a69bb83d45c0affc54793503b31c9e9f9f8b34fa890a3fe97682f9133102e74e5f6e1eb372a929cfc8619baa2cc9efc1dc289d9f4a1766efd SHA512 b32d7f79f43c203149c48b090ee0d063df78fcf654344ee11066a7363e799a62b046758ffe02b8bd15121545ac2a6b61df21fe56f8b810319fe4dd562cbdadb3 diff --git a/net-firewall/ufw/files/ufw-0.36-bash-completion.patch b/net-firewall/ufw/files/ufw-0.36-bash-completion.patch new file mode 100644 index 000..927af244eef --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.36-bash-completion.patch @@ -0,0 +1,16 @@ +--- a/shell-completion/bash2018-12-14 21:25:55.0 +0300 b/shell-completion/bash2019-03-21 01:26:46.152181981 +0300 +@@ -57,7 +57,6 @@ + echo "numbered verbose" + } + +-_have ufw && + _ufw() + { + cur=${COMP_WORDS[COMP_CWORD]} +@@ -91,4 +90,4 @@ + fi + } + +-_have ufw && complete -F _ufw ufw ++complete -F _ufw ufw diff --git a/net-firewall/ufw/files/ufw-0.36-dont-check-iptables.patch b/net-firewall/ufw/files/ufw-0.36-dont-check-iptables.patch new file mode 100644 index 000..11eb1748dd1 --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.36-dont-check-iptables.patch @@ -0,0 +1,45 @@ +--- a/setup.py 2019-03-21 01:32:28.500245586 +0300 b/setup.py 2019-03-21 01:39:17.166095026 +0300 +@@ -257,41 +257,7 @@ + os.unlink(os.path.join('staging', 'ufw-init')) + os.unlink(os.path.join('staging', 'ufw-init-functions')) + +-iptables_exe = '' +-iptables_dir = '' +- +-for e in ['iptables']: +-for dir in ['/sbin', '/bin', '/usr/sbin', '/usr/bin', '/usr/local/sbin', \ +-'/usr/local/bin']: +-if e == "iptables": +-if os.path.exists(os.path.join(dir, e)): +-iptables_dir = dir +-iptables_exe = os.path.join(iptables_dir, "iptables") +-print("Found '%s'" % iptables_exe) +-else: +-continue +- +-if iptables_exe != "": +-break +- +- +-if iptables_exe == '': +-print("ERROR: could not find required binary 'iptables'", file=sys.stderr) +-sys.exit(1) +- +-for e in ['ip6tables', 'iptables-restore', 'ip6tables-restore']: +-if not os.path.exists(os.path.join(iptables_dir, e)): +-print("ERROR: could not find required binary '%s'" % (e), file=sys.stderr) +-sys.exit(1) +- +-(rc, out) = cmd([iptables_exe, '-V']) +-if rc != 0: +-raise OSError(errno.ENOENT, "Could not find version for '%s'" % \ +- (iptables_exe)) +-version = re.sub('^v', '', re.split('\s', str(out))[1]) +-print("Found '%s' version '%s'" % (iptables_exe, version)) +-if version < "1.4": +-print("WARN: version '%s' has limited IPv6 support. See README for details." % (version), file=sys.stderr) ++iptables_dir = '/sbin' + + setup (name='ufw', + version=ufw_version, diff --git a/net-firewall/ufw/files/ufw-0.36-move-path.patch b/net-firewall/ufw/files/ufw-0.36-move-path.patch new file mode 100644 index 000..1ba9d117be5 --- /dev/null +++
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: bb0fa1d7bbc118e729131ca44e08319167e18b19 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jan 31 06:26:34 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jan 31 07:24:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0fa1d7 net-firewall/ufw: stable 0.35-r1 for sparc, bug #625084 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> net-firewall/ufw/ufw-0.35-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index d5b5aa280a4..f0c9b79e35f 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ppc ppc64 ~sparc x86" +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: e064d0a9e8537fbc707b1f9ffceb2a1956577e1d Author: Matt Turner gentoo org> AuthorDate: Tue Sep 12 23:02:41 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Sep 12 23:02:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e064d0a9 net-firewall/ufw-0.35-r1: ppc stable, bug 625084 net-firewall/ufw/ufw-0.35-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index 3a0ca859583..7edcbd7e5e0 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ia64 ppc ~ppc64 ~sparc x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 6737bc352969073bb20d882a7a01bef1d0af59b2 Author: Matt Turner gentoo org> AuthorDate: Tue Sep 12 23:02:49 2017 + Commit: Matt Turner gentoo org> CommitDate: Tue Sep 12 23:02:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6737bc35 net-firewall/ufw-0.35-r1: ppc64 stable, bug 625084 net-firewall/ufw/ufw-0.35-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index 7edcbd7e5e0..d5b5aa280a4 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ia64 ppc ppc64 ~sparc x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 38a244a4262f6b7b60689c280d29b98d3b0282cc Author: Michael Palimaka gentoo org> AuthorDate: Sat Aug 5 09:59:11 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Sat Aug 5 09:59:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38a244a4 net-firewall/ufw: x86 stable Gentoo-bug: 625084 Package-Manager: Portage-2.3.6, Repoman-2.3.3 net-firewall/ufw/ufw-0.35-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index 3eefc7d31bc..3a0ca859583 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: afdf9036edd53449e5c0b1ece27553ce5964032b Author: Tobias Klausmann gentoo org> AuthorDate: Sat Jul 15 17:23:18 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Sat Jul 15 17:23:18 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afdf9036 net-firewall/ufw-0.35-r1: add amd64 keyword Gentoo-Bug: 625084 net-firewall/ufw/ufw-0.35-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index 813f60e3525..3eefc7d31bc 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 175b24dacf302445725cef88c9d33fe147b3d708 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 15 09:00:08 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 15 09:00:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=175b24da net-firewall/ufw: ia64 stable, bug #625084 Package-Manager: Portage-2.3.6, Repoman-2.3.2 RepoMan-Options: --include-arches="ia64" net-firewall/ufw/ufw-0.35-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35-r1.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild index 8bb70a9e35f..813f60e3525 100644 --- a/net-firewall/ufw/ufw-0.35-r1.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://launchpad.net/ufw/${PV}/${PV}/+download/${P}.tar.gz; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="examples ipv6" DEPEND="sys-devel/gettext"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: c97417799ea3291668efb15897c783c73c12a0d2 Author: Michael Orlitzky gentoo org> AuthorDate: Thu May 11 22:37:52 2017 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu May 11 22:37:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9741779 net-firewall/ufw: new revision with python-3.6 support. Gentoo-Bug: 616942 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-firewall/ufw/{ufw-0.35.ebuild => ufw-0.35-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw/ufw-0.35.ebuild b/net-firewall/ufw/ufw-0.35-r1.ebuild similarity index 99% rename from net-firewall/ufw/ufw-0.35.ebuild rename to net-firewall/ufw/ufw-0.35-r1.ebuild index 996cb40a724..8bb70a9e35f 100644 --- a/net-firewall/ufw/ufw-0.35.ebuild +++ b/net-firewall/ufw/ufw-0.35-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit bash-completion-r1 eutils linux-info distutils-r1 systemd
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: c2e7fdd4bd34137fca00faef6677a9e615fcea33 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 9 23:25:14 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 6 20:01:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e7fdd4 net-firewall/ufw-frontends: Change back to kdesu symlink Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../ufw-frontends/ufw-frontends-0.3.2-r5.ebuild| 64 ++ 1 file changed, 64 insertions(+) diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r5.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r5.ebuild new file mode 100644 index 000..6110449589c --- /dev/null +++ b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +DESCRIPTION="Provides graphical frontend to ufw" +HOMEPAGE="https://github.com/baudm/ufw-frontends; +SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +# CC-BY-NC-SA-3.0 is for a png file +LICENSE="GPL-3 CC-BY-NC-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kde policykit" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk[${PYTHON_USEDEP}] + dev-python/pyinotify[${PYTHON_USEDEP}] + net-firewall/ufw[${PYTHON_USEDEP}] + !policykit? ( kde? ( kde-plasma/kde-cli-tools[kdesu] ) ) + policykit? ( sys-auth/polkit ) +" + +# fix crash when no ufw logs in supported locations can be found +PATCHES=( "${FILESDIR}/${P}-no-log-crash.patch" ) + +python_prepare_all() { + if use policykit; then + sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ + share/ufw-gtk.desktop || die + elif use kde; then + sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu/' \ + share/ufw-gtk.desktop || die + fi + + # don't try to override run() to install the script + # under /usr/sbin; it does not work with distutils-r1 + # and so it is handled differently (in python_install) + sed -i '/cmdclass=/d' setup.py || die + + # Qt version is unusable + rm gfw/frontend_qt.py || die + distutils-r1_python_prepare_all +} + +python_install() { + distutils-r1_python_install --install-scripts="/usr/sbin" +} + +python_install_all() { + distutils-r1_python_install_all + + if use policykit; then + insinto /usr/share/polkit-1/actions/ + doins "${FILESDIR}"/org.gentoo.pkexec.ufw-gtk.policy + elif ! use kde; then + rm "${ED}usr/share/applications/ufw-gtk.desktop" || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: ed08ddd597778e74bc2d008e662d198764d23099 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 9 23:26:18 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat May 6 20:01:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08ddd5 net-firewall/ufw-frontends: Drop old Package-Manager: Portage-2.3.3, Repoman-2.3.1 .../ufw-frontends/ufw-frontends-0.3.2-r3.ebuild| 65 - .../ufw-frontends/ufw-frontends-0.3.2-r4.ebuild| 66 -- 2 files changed, 131 deletions(-) diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild deleted file mode 100644 index 3a97cc90f7f..000 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 - -DESCRIPTION="Provides graphical frontend to ufw" -HOMEPAGE="https://github.com/baudm/ufw-frontends; -SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -# CC-BY-NC-SA-3.0 is for a png file -LICENSE="GPL-3 CC-BY-NC-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde policykit" - -DEPEND="" -RDEPEND="${DEPEND} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk[${PYTHON_USEDEP}] - dev-python/pyinotify[${PYTHON_USEDEP}] - net-firewall/ufw[${PYTHON_USEDEP}] - !policykit? ( - kde? ( kde-apps/kdesu ) ) - policykit? ( sys-auth/polkit ) -" - -python_prepare_all() { - if use policykit; then - sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ - share/ufw-gtk.desktop || die - elif use kde; then - sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu/' \ - share/ufw-gtk.desktop || die - fi - - # don't try to override run() to install the script - # under /usr/sbin; it does not work with distutils-r1 - # and so it is handled differently (in python_install) - sed -i '/cmdclass=/d' setup.py || die - - # Qt version is unusable - rm gfw/frontend_qt.py || die - distutils-r1_python_prepare_all - - # fix crash when no ufw logs in supported locations can - # be found - epatch "${FILESDIR}/${P}-no-log-crash.patch" -} - -python_install() { - distutils-r1_python_install --install-scripts="/usr/sbin" -} - -python_install_all() { - distutils-r1_python_install_all - - if use policykit; then - insinto /usr/share/polkit-1/actions/ - doins "${FILESDIR}"/org.gentoo.pkexec.ufw-gtk.policy - elif ! use kde; then - rm "${D}usr/share/applications/ufw-gtk.desktop" || die - fi -} diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild deleted file mode 100644 index d1d8138a3de..000 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 - -DESCRIPTION="Provides graphical frontend to ufw" -HOMEPAGE="https://github.com/baudm/ufw-frontends; -SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -# CC-BY-NC-SA-3.0 is for a png file -LICENSE="GPL-3 CC-BY-NC-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kde policykit" - -DEPEND="" -RDEPEND="${DEPEND} - dev-python/pygobject:2[${PYTHON_USEDEP}] - dev-python/pygtk[${PYTHON_USEDEP}] - dev-python/pyinotify[${PYTHON_USEDEP}] - net-firewall/ufw[${PYTHON_USEDEP}] - !policykit? ( - kde? ( kde-plasma/kde-cli-tools[kdesu] ) - ) - policykit? ( sys-auth/polkit ) -" - -python_prepare_all() { - if use policykit; then - sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ - share/ufw-gtk.desktop || die - elif use kde; then - sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu5/' \ - share/ufw-gtk.desktop || die - fi - - # don't try to override run() to install the script - # under /usr/sbin; it does not work with distutils-r1 - # and so it is handled differently (in python_install) - sed -i '/cmdclass=/d' setup.py || die - - # Qt version is unusable - rm gfw/frontend_qt.py || die - distutils-r1_python_prepare_all - - # fix crash when no ufw logs in supported locations can - # be found - epatch "${FILESDIR}/${P}-no-log-crash.patch" -} - -python_install() { - distutils-r1_python_install --install-scripts="/usr/sbin" -} - -python_install_all() { - distutils-r1_python_install_all - -
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: de759ff393a37334efb5878456fb398960c87bd6 Author: Amy Liffey gentoo org> AuthorDate: Sat Apr 8 08:25:03 2017 + Commit: Amy Liffey gentoo org> CommitDate: Sat Apr 8 08:25:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de759ff3 net-firewall/ufw: fix maintainer-needed flag Package-Manager: portage-2.3.0 net-firewall/ufw/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index ce6dd860706..b8103d2da1a 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - proxy-ma...@gentoo.org - Proxy Maintainers - + The Uncomplicated Firewall (ufw) is a frontend for iptables and is particularly well-suited for host-based firewalls. It provides a framework
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 46389ff98a2d6d5f3e9228190290b518c9bf4e6b Author: Manuel Rüger gentoo org> AuthorDate: Fri Mar 10 16:00:59 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Mar 10 16:00:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46389ff9 net-firewall/ufw: Add python3_5 support Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-firewall/ufw/ufw-0.35.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/ufw-0.35.ebuild b/net-firewall/ufw/ufw-0.35.ebuild index a14cb05fa3c..996cb40a724 100644 --- a/net-firewall/ufw/ufw-0.35.ebuild +++ b/net-firewall/ufw/ufw-0.35.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) DISTUTILS_IN_SOURCE_BUILD=1 inherit bash-completion-r1 eutils linux-info distutils-r1 systemd
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/, net-misc/vde/, games-arcade/savagewheels/, ...
commit: 73eb8b0a62810d051344018b26c6d6cf07b341b3 Author: Nicholas Vinson gmail com> AuthorDate: Wed Jan 25 03:36:17 2017 + Commit: Matt Thode gentoo org> CommitDate: Sat Mar 4 20:00:05 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73eb8b0a Remove nvinson234 gmail.com as maintainer He is no longer a proxied maintainer. Signed-off-by: Matthew Thode gentoo.org> app-text/wgetpaste/metadata.xml | 4 dev-lisp/sbcl/metadata.xml | 5 - games-arcade/savagewheels/metadata.xml | 4 net-analyzer/nagios-check_logfiles/metadata.xml | 5 - net-firewall/nftables/metadata.xml | 4 net-firewall/ufw/metadata.xml | 4 net-irc/hexchat/metadata.xml| 5 - net-misc/connman/metadata.xml | 4 net-misc/vde/metadata.xml | 5 - 9 files changed, 40 deletions(-) diff --git a/app-text/wgetpaste/metadata.xml b/app-text/wgetpaste/metadata.xml index c928a8952e2..a40a0b2e503 100644 --- a/app-text/wgetpaste/metadata.xml +++ b/app-text/wgetpaste/metadata.xml @@ -2,10 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - nvinson...@gmail.com - Nicholas Vinson - - maksbo...@gentoo.org Maxim Koltsov diff --git a/dev-lisp/sbcl/metadata.xml b/dev-lisp/sbcl/metadata.xml index 360473dfac9..03a2c8bb338 100644 --- a/dev-lisp/sbcl/metadata.xml +++ b/dev-lisp/sbcl/metadata.xml @@ -11,11 +11,6 @@ Stelian Ionescu (fe[nl]ix) second-maintainer - - nvinson...@gmail.com - Nicholas Vinson - Proxied maintainer - common-l...@gentoo.org Gentoo Common Lisp Project diff --git a/games-arcade/savagewheels/metadata.xml b/games-arcade/savagewheels/metadata.xml index 5279e81cbf2..4990054daaf 100644 --- a/games-arcade/savagewheels/metadata.xml +++ b/games-arcade/savagewheels/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - nvinson...@gmail.com - Nicholas Vinson - proxy-ma...@gentoo.org Proxy Maintainers diff --git a/net-analyzer/nagios-check_logfiles/metadata.xml b/net-analyzer/nagios-check_logfiles/metadata.xml index e122f2e5292..721e1e5ad82 100644 --- a/net-analyzer/nagios-check_logfiles/metadata.xml +++ b/net-analyzer/nagios-check_logfiles/metadata.xml @@ -11,11 +11,6 @@ Chris Reffett Proxy maintainer. CC him on bugs. - - nvinson...@gmail.com - Nicholas Vinson - Proxied maintainer - proxy-ma...@gentoo.org Proxy Maintainers diff --git a/net-firewall/nftables/metadata.xml b/net-firewall/nftables/metadata.xml index abf494c5dcf..e120f88cb65 100644 --- a/net-firewall/nftables/metadata.xml +++ b/net-firewall/nftables/metadata.xml @@ -2,10 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - nvinson...@gmail.com - Nicholas Vinson - - mr...@gentoo.org Manuel Rüger diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index c5bafdf21af..ce6dd860706 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -1,10 +1,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - nvinson...@gmail.com - Nicholas Vinson - proxy-ma...@gentoo.org Proxy Maintainers diff --git a/net-irc/hexchat/metadata.xml b/net-irc/hexchat/metadata.xml index 93c94f81fb0..b936df1 100644 --- a/net-irc/hexchat/metadata.xml +++ b/net-irc/hexchat/metadata.xml @@ -2,11 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - nvinson...@gmail.com - Nicholas Vinson - Proxied maintainer - - anthonyry...@gmail.com Anthony Ryan Proxied maintainer diff --git a/net-misc/connman/metadata.xml b/net-misc/connman/metadata.xml index 824ff9e031c..17825807570 100644 --- a/net-misc/connman/metadata.xml +++ b/net-misc/connman/metadata.xml @@ -2,10 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - nvinson...@gmail.com - Nicholas Vinson - - d...@gentoo.org Yixun Lan Co Maintainer, CC bugs diff --git a/net-misc/vde/metadata.xml b/net-misc/vde/metadata.xml index 1191644df14..05cde3601cb 100644 --- a/net-misc/vde/metadata.xml +++ b/net-misc/vde/metadata.xml @@ -2,11 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> -nvinson...@gmail.com -Nicholas Vinson -Proxied maintainer
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: f349c60685f77c6ca4cc004619f7dc9e10970bdd Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 26 00:15:47 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 26 00:16:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f349c606 net-firewall/ufw-frontends: Port USE=kde to kde-plasma/kde-cli-tools Package-Manager: portage-2.2.28 .../ufw-frontends/ufw-frontends-0.3.2-r4.ebuild| 67 ++ 1 file changed, 67 insertions(+) diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild new file mode 100644 index 00..99fc472a0f --- /dev/null +++ b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +DESCRIPTION="Provides graphical frontend to ufw" +HOMEPAGE="https://github.com/baudm/ufw-frontends; +SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +# CC-BY-NC-SA-3.0 is for a png file +LICENSE="GPL-3 CC-BY-NC-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="kde policykit" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/pygobject:2[${PYTHON_USEDEP}] + dev-python/pygtk[${PYTHON_USEDEP}] + dev-python/pyinotify[${PYTHON_USEDEP}] + net-firewall/ufw[${PYTHON_USEDEP}] + !policykit? ( + kde? ( kde-plasma/kde-cli-tools[kdesu] ) + ) + policykit? ( sys-auth/polkit ) +" + +python_prepare_all() { + if use policykit; then + sed -i 's/^Exec=su-to-root -X -c/Exec=pkexec/' \ + share/ufw-gtk.desktop || die + elif use kde; then + sed -i 's/^Exec=su-to-root -X -c/Exec=kdesu5/' \ + share/ufw-gtk.desktop || die + fi + + # don't try to override run() to install the script + # under /usr/sbin; it does not work with distutils-r1 + # and so it is handled differently (in python_install) + sed -i '/cmdclass=/d' setup.py || die + + # Qt version is unusable + rm gfw/frontend_qt.py || die + distutils-r1_python_prepare_all + + # fix crash when no ufw logs in supported locations can + # be found + epatch "${FILESDIR}/${P}-no-log-crash.patch" +} + +python_install() { + distutils-r1_python_install --install-scripts="/usr/sbin" +} + +python_install_all() { + distutils-r1_python_install_all + + if use policykit; then + insinto /usr/share/polkit-1/actions/ + doins "${FILESDIR}"/org.gentoo.pkexec.ufw-gtk.policy + elif ! use kde; then + rm "${D}usr/share/applications/ufw-gtk.desktop" || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/files/
commit: 4fba15eccfb55b66d2786d6c8b8af1cb6ba404ae Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sun Jan 8 12:21:09 2017 + Commit: Göktürk Yüksek gentoo org> CommitDate: Sun Jan 15 02:31:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fba15ec net-firewall/ufw: remove unused patch .../ufw/files/ufw-0.31.1-python-abis.patch | 42 -- 1 file changed, 42 deletions(-) diff --git a/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch b/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch deleted file mode 100644 index 2c04284.. --- a/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch +++ /dev/null @@ -1,42 +0,0 @@ -This patch fixes issues during package build with ebuild supporting -installation for Python versions: sed substitutions in common.py and location -of ufw script in Python ABIs which have prefix different than /usr. -Also makes .mo files not to be installed in wrong paths. - -More info about the first issue: -with support for multiple Python versions in the ebuild, seems the -file isn't copied from staging/ to build-*/lib/ufw/ after being -modified. That's why the copy needs to be done "manually" here. -The issue occurs with "setup.py build -b build-XXX" followed by -"setup.py build -b build-XXX install". - -probably related: https://bugs.launchpad.net/ufw/+bug/819600 setup.py -+++ setup.py -@@ -90,6 +90,8 @@ - "-i", - "s%#SHARE_DIR#%" + real_sharedir + "%g", - os.path.join('staging', file)]) -+self.copy_file(os.path.join('staging', file), -+ os.path.join(self.build_base, "lib", "ufw")) - - # Now byte-compile everything - super(Install, self).run() -@@ -99,7 +101,8 @@ - if self.root != None: - prefix = self.root + real_prefix - --script = os.path.join(prefix, 'sbin', 'ufw') -+# PyPy (and Jython?) has different prefix. Without the change the binary would end up in a wrong path. -+script = os.path.join(self.root, 'usr', 'sbin', 'ufw') - manpage = os.path.join(prefix, 'share', 'man', 'man8', 'ufw.8') - manpage_f = os.path.join(prefix, 'share', 'man', 'man8', \ - 'ufw-framework.8') -@@ -147,7 +150,6 @@ - self.mkpath(i18ndir) - if len(os.listdir('locales/mo')) == 0: - subprocess.call(["make", "mo"]) --self.copy_tree('locales/mo', i18ndir) - - # Install configuration files - confdir = real_confdir
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: 2ecff7f8a28f3a073e5b80305136e48bc6c5a033 Author: Göktürk Yüksek gentoo org> AuthorDate: Thu Dec 22 10:15:20 2016 + Commit: Göktürk Yüksek gentoo org> CommitDate: Thu Dec 22 10:44:35 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecff7f8 net-firewall/ufw-frontends: migrate away from google code #544092 Package-Manager: portage-2.3.0 net-firewall/ufw-frontends/metadata.xml | 1 - net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net-firewall/ufw-frontends/metadata.xml b/net-firewall/ufw-frontends/metadata.xml index 799b405..a3ab739 100644 --- a/net-firewall/ufw-frontends/metadata.xml +++ b/net-firewall/ufw-frontends/metadata.xml @@ -13,7 +13,6 @@ interaction--the ufw command. This project implements graphical frontends for UFW using PyGTK and PyQt (the latter in early stage of development). - ufw-frontends baudm/ufw-frontends diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild index c9a9cac..af47119 100644 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild +++ b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -8,7 +8,7 @@ inherit distutils-r1 DESCRIPTION="Provides graphical frontend to ufw" HOMEPAGE="https://github.com/baudm/ufw-frontends; -SRC_URI="https://ufw-frontends.googlecode.com/files/${P}.tar.gz; +SRC_URI="https://github.com/baudm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" # CC-BY-NC-SA-3.0 is for a png file LICENSE="GPL-3 CC-BY-NC-SA-3.0"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 7386f397410d6c8d4941d947e8a8ffaa81ac5511 Author: Nicholas Vinson gmail com> AuthorDate: Sat Jul 23 17:40:59 2016 + Commit: Patrice Clement gentoo org> CommitDate: Thu Aug 11 06:34:57 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7386f397 net-firewall/ufw: Properly handle cases where |RV| > 1. Properly handle cases where REPLACING_VERSIONS has more than 1 element. Gentoo-Bug: https://bugs.gentoo.org/589484 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/1946 Signed-off-by: Patrice Clement gentoo.org> net-firewall/ufw/ufw-0.35.ebuild | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/net-firewall/ufw/ufw-0.35.ebuild b/net-firewall/ufw/ufw-0.35.ebuild index 8fec635..e9f95f1 100644 --- a/net-firewall/ufw/ufw-0.35.ebuild +++ b/net-firewall/ufw/ufw-0.35.ebuild @@ -162,6 +162,9 @@ python_install_all() { } pkg_postinst() { + local print_check_req_warn + print_check_req_warn=false + if [[ -z ${REPLACING_VERSIONS} ]]; then echo elog "To enable ufw, add it to boot sequence and activate it:" @@ -170,10 +173,17 @@ pkg_postinst() { echo elog "If you want to keep ufw logs in a separate file, take a look at" elog "/usr/share/doc/${PF}/logging." + print_check_req_warn=true + else + for rv in ${REPLACING_VERSIONS}; do + local major=${rv%%.*} + local minor=${rv#${major}.} + if [[ ${major} -eq 0 && ${minor} -lt 34 ]]; then + print_check_req_warn=true + fi + done fi - if [[ -z ${REPLACING_VERSIONS} ]] \ - || [[ ${REPLACING_VERSIONS} < 0.34 ]]; - then + if $print_check_req_warn; then echo elog "/usr/share/ufw/check-requirements script is installed." elog "It is useful for debugging problems with ufw. However one"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 57f34f5f5afb29b9805ef4805eae2760a7178b9a Author: Göktürk Yüksek gentoo org> AuthorDate: Sun Jun 19 01:56:45 2016 + Commit: Göktürk Yüksek gentoo org> CommitDate: Sun Jun 19 02:15:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f34f5f net-firewall/ufw: drop unnecessary from metadata Package-Manager: portage-2.3.0_rc1 net-firewall/ufw/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index 543eca5..c5bafdf 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -4,7 +4,6 @@ nvinson...@gmail.com Nicholas Vinson - Proxy maintainer to be assigned bugs proxy-ma...@gentoo.org
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: 7c562f95edcf2093476629e36bfce2aee89339cb Author: Michał Górny gentoo org> AuthorDate: Fri Mar 18 18:44:04 2016 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 18 19:10:41 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c562f95 net-firewall/ufw-frontends: Collapse multiple blocks net-firewall/ufw-frontends/metadata.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/net-firewall/ufw-frontends/metadata.xml b/net-firewall/ufw-frontends/metadata.xml index 2176d4a..799b405 100644 --- a/net-firewall/ufw-frontends/metadata.xml +++ b/net-firewall/ufw-frontends/metadata.xml @@ -18,8 +18,6 @@ Use pkexec to gain root privileges - - Use kdesu to gain root privileges (note: the flag has lower priority than "policykit")
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/, net-firewall/ufw/files/
commit: 6c1e5a81ed729a304bbbfe6eadc76798a68f6e55 Author: Nicholas Vinson gmail com> AuthorDate: Thu Mar 10 18:54:09 2016 + Commit: Jason Zaman gentoo org> CommitDate: Mon Mar 14 04:29:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1e5a81 net-firewall/ufw: version bump to 0.35 Updates ufw to version 0.35. The ebuild has also been updated to use EAPI 6. Patches were updated to address EAPI and upstream code changes. Gentoo-Bug: 563168 Package-Manager: portage-2.2.28 net-firewall/ufw/Manifest | 1 + .../ufw/files/ufw-0.35-bash-completion.patch | 17 ++ net-firewall/ufw/files/ufw-0.35-move-path.patch| 179 net-firewall/ufw/ufw-0.35.ebuild | 186 + 4 files changed, 383 insertions(+) diff --git a/net-firewall/ufw/Manifest b/net-firewall/ufw/Manifest index 6380dd5..d8f8b5e 100644 --- a/net-firewall/ufw/Manifest +++ b/net-firewall/ufw/Manifest @@ -1 +1,2 @@ DIST ufw-0.34_pre805.tar.gz 335875 SHA256 a78693da04720f9f7eb463447b940eed18c3e2c20d3de336ebf9bf821dfdac2f SHA512 b8bba3bb8c423070d6434d1df7274423edf3a356415f54c6448fa0ff2d13a4b2ac21c4bb627cba01d6955b04f793eeaf2fc535c6221e7de48f11bef745035263 WHIRLPOOL 5e5238925d928e883c9869b3b72a7a04ad18352ebbcb5fead9b14c7bb5225f1bbae613d9117ceb5e9d435e1ca1f1d0d033bbdf673896990eda5efcb7a7d04829 +DIST ufw-0.35.tar.gz 375310 SHA256 662f865bc83bf8aa1a40a6fe578bc2ce796ff60a1be2c1103def7db1b91f8509 SHA512 b36c82559910634505648f717d19eb5a0cb1ce739a804359087e74c966869d0375c4ed5811954b32d2b5b51866f6ae1bec62a4a464f226b2eecc56b096f303fc WHIRLPOOL 789b163bf9cc3b27f231024f33a68d3637ca26cf71f202b438abbf16a2725485ba787b811a040d03d4f99fb8c510f8f9a25154e03d2387d3fb0f03a7c4624de7 diff --git a/net-firewall/ufw/files/ufw-0.35-bash-completion.patch b/net-firewall/ufw/files/ufw-0.35-bash-completion.patch new file mode 100644 index 000..fde635d --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.35-bash-completion.patch @@ -0,0 +1,17 @@ +--- a/shell-completion/bash b/shell-completion/bash +@@ -52,7 +52,6 @@ + echo "numbered verbose" + } + +-have ufw && + _ufw() + { + cur=${COMP_WORDS[COMP_CWORD]} +@@ -83,5 +82,5 @@ + fi + } + +-[ "$have" ] && complete -F _ufw ufw ++complete -F _ufw ufw + diff --git a/net-firewall/ufw/files/ufw-0.35-move-path.patch b/net-firewall/ufw/files/ufw-0.35-move-path.patch new file mode 100644 index 000..58af7721 --- /dev/null +++ b/net-firewall/ufw/files/ufw-0.35-move-path.patch @@ -0,0 +1,179 @@ +diff -Naur ufw-0.31.orig/doc/ufw-framework.8 ufw-0.31/doc/ufw-framework.8 +--- ufw-0.31.orig/doc/ufw-framework.8 2012-03-10 00:07:11.0 +0100 ufw-0.31/doc/ufw-framework.8 2012-03-12 16:55:50.680992962 +0100 +@@ -18,7 +18,7 @@ + parameters and configuration of IPv6. The framework consists of the following + files: + .TP +-#STATE_PREFIX#/ufw\-init ++#SHARE_DIR#/ufw\-init + initialization script + .TP + #CONFIG_PREFIX#/ufw/before[6].rules +@@ -41,7 +41,7 @@ + + .SH "BOOT INITIALIZATION" + .PP +-\fBufw\fR is started on boot with #STATE_PREFIX#/ufw\-init. This script is a ++\fBufw\fR is started on boot with #SHARE_DIR#/ufw\-init. This script is a + standard SysV style initscript used by the \fBufw\fR command and should not be + modified. It supports the following arguments: + .TP +diff -Naur ufw-0.31.orig/README ufw-0.31/README +--- ufw-0.31.orig/README 2012-03-10 00:07:11.0 +0100 ufw-0.31/README2012-03-12 16:55:50.681993089 +0100 +@@ -58,7 +58,7 @@ + on your needs, this can be as simple as adding the following to a startup + script (eg rc.local for systems that use it): + +-# /lib/ufw/ufw-init start ++# /usr/share/ufw/ufw-init start + + For systems that use SysV initscripts, an example script is provided in + doc/initscript.example. See doc/upstart.example for an Upstart example. Consult +@@ -72,9 +72,9 @@ + /etc/defaults/ufw high level configuration + /etc/ufw/before[6].rules rules evaluated before UI added rules + /etc/ufw/after[6].rules rules evaluated after UI added rules +-/lib/ufw/user[6].rulesUI added rules (not to be modified) ++/etc/ufw/user/user[6].rules UI added rules (not to be modified) + /etc/ufw/sysctl.conf kernel network tunables +-/lib/ufw/ufw-init start script ++/usr/share/ufw/ufw-init start script + + + Usage +@@ -149,7 +149,7 @@ + that the primary chains don't move around other non-ufw rules and chains. To + completely flush the built-in chains with this configuration, you can use: + +-# /lib/ufw/ufw-init flush-all ++# /usr/share/ufw/ufw-init flush-all + + Alternately, ufw may also take full control of the firewall by setting + MANAGE_BUILTINS=yes in /etc/defaults/ufw. This will flush all the built-in +@@ -247,7 +247,7 @@ + + Remote Management + - +-On /lib/ufw/ufw-init start and 'ufw enable' the chains are flushed, so
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 4f561a14655848148a304b9f1d5b11154a95e18e Author: Nicholas Vinson gmail com> AuthorDate: Sun Mar 13 19:21:27 2016 + Commit: Jason Zaman gentoo org> CommitDate: Mon Mar 14 04:29:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f561a14 net-firewall/ufw: Updating metadata Updating metatdata to remove Sławomir Nizio as the maintainer and to add myself as the proxy maintainer. Package-Manager: portage-2.2.28 net-firewall/ufw/metadata.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml index 122e64e..543eca5 100644 --- a/net-firewall/ufw/metadata.xml +++ b/net-firewall/ufw/metadata.xml @@ -2,8 +2,9 @@ http://www.gentoo.org/dtd/metadata.dtd;> - slawomir.ni...@sabayon.org - Sławomir Nizio + nvinson...@gmail.com + Nicholas Vinson + Proxy maintainer to be assigned bugs proxy-ma...@gentoo.org
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw/
commit: 9bbefdcd55d898432d51d95f2437a21c098b9f44 Author: Manuel Rüger gentoo org> AuthorDate: Sat Oct 17 22:29:21 2015 + Commit: Manuel Rüger gentoo org> CommitDate: Sat Oct 17 22:29:21 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bbefdcd net-firewall/ufw: Remove old Package-Manager: portage-2.2.23 net-firewall/ufw/ufw-0.34_pre805-r1.ebuild | 184 - 1 file changed, 184 deletions(-) diff --git a/net-firewall/ufw/ufw-0.34_pre805-r1.ebuild b/net-firewall/ufw/ufw-0.34_pre805-r1.ebuild deleted file mode 100644 index fff3947..000 --- a/net-firewall/ufw/ufw-0.34_pre805-r1.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) -DISTUTILS_IN_SOURCE_BUILD=1 - -inherit bash-completion-r1 eutils linux-info distutils-r1 systemd - -DESCRIPTION="A program used to manage a netfilter firewall" -HOMEPAGE="https://launchpad.net/ufw; -SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples ipv6" - -DEPEND="sys-devel/gettext" -RDEPEND=">=net-firewall/iptables-1.4[ipv6?] - !https://bugs.launchpad.net/ufw/+bug/815982 -RESTRICT="test" - -PATCHES=( - # Remove unnecessary build time dependency on net-firewall/iptables. - "${FILESDIR}"/${PN}-0.33-dont-check-iptables.patch - # Move files away from /lib/ufw. - "${FILESDIR}"/${PN}-0.31.1-move-path.patch - # Remove shebang modification. - "${FILESDIR}"/${P}-shebang.patch -) - -pkg_pretend() { - local CONFIG_CHECK="~PROC_FS - ~NETFILTER_XT_MATCH_COMMENT ~NETFILTER_XT_MATCH_HL - ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_MULTIPORT - ~NETFILTER_XT_MATCH_RECENT ~NETFILTER_XT_MATCH_STATE" - - if kernel_is -ge 2 6 39; then - CONFIG_CHECK+=" ~NETFILTER_XT_MATCH_ADDRTYPE" - else - CONFIG_CHECK+=" ~IP_NF_MATCH_ADDRTYPE" - fi - - # https://bugs.launchpad.net/ufw/+bug/1076050 - if kernel_is -ge 3 4; then - CONFIG_CHECK+=" ~NETFILTER_XT_TARGET_LOG" - else - CONFIG_CHECK+=" ~IP_NF_TARGET_LOG" - use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_LOG" - fi - - CONFIG_CHECK+=" ~IP_NF_TARGET_REJECT" - use ipv6 && CONFIG_CHECK+=" ~IP6_NF_TARGET_REJECT" - - check_extra_config - - # Check for default, useful optional features. - if ! linux_config_exists; then - ewarn "Cannot determine configuration of your kernel." - return - fi - - local nf_nat_ftp_ok="yes" - local nf_conntrack_ftp_ok="yes" - local nf_conntrack_netbios_ns_ok="yes" - - linux_chkconfig_present \ - NF_NAT_FTP || nf_nat_ftp_ok="no" - linux_chkconfig_present \ - NF_CONNTRACK_FTP || nf_conntrack_ftp_ok="no" - linux_chkconfig_present \ - NF_CONNTRACK_NETBIOS_NS || nf_conntrack_netbios_ns_ok="no" - - # This is better than an essay for each unset option... - if [[ ${nf_nat_ftp_ok} = no ]] || [[ ${nf_conntrack_ftp_ok} = no ]] \ - || [[ ${nf_conntrack_netbios_ns_ok} = no ]] - then - echo - local mod_msg="Kernel options listed below are not set. They are not" - mod_msg+=" mandatory, but they are often useful." - mod_msg+=" If you don't need some of them, please remove relevant" - mod_msg+=" module name(s) from IPT_MODULES in" - mod_msg+=" '${EROOT}etc/default/ufw' before (re)starting ufw." - mod_msg+=" Otherwise ufw may fail to start!" - ewarn "${mod_msg}" - if [[ ${nf_nat_ftp_ok} = no ]]; then - ewarn "NF_NAT_FTP: for better support for active mode FTP." - fi - if [[ ${nf_conntrack_ftp_ok} = no ]]; then - ewarn "NF_CONNTRACK_FTP: for better support for active mode FTP." - fi - if [[ ${nf_conntrack_netbios_ns_ok} = no ]]; then - ewarn "NF_CONNTRACK_NETBIOS_NS: for better Samba support." - fi - fi -} - -python_prepare_all() { - # Set as enabled by default. User can enable or disable - # the service by adding or removing it to/from a runlevel. - sed -i 's/^ENABLED=no/ENABLED=yes/' conf/ufw.conf \ - || die "sed failed (ufw.conf)" - - sed -i "s/^IPV6=yes/IPV6=$(usex ipv6)/" conf/ufw.defaults || die - - # If LINGUAS is set install selected translations only. - if [[ -n ${LINGUAS+set} ]]; then - _EMPTY_LOCALE_LIST="yes" - pushd locales/po > /dev/null || die - - local lang - for lang in *.po; do -
[gentoo-commits] repo/gentoo:master commit in: net-firewall/ufw-frontends/
commit: e7e7080a3b66c717c6cad9b15dac232c3040116d Author: Tobias Klausmann gentoo org> AuthorDate: Tue Sep 1 19:49:38 2015 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Sep 1 19:49:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e7080a net-firewall/ufw-frontends: Fixing HOMEPAGE move due to code.google.com shutdown Package-Manager: portage-2.2.20.1 net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild index 52957c5..c9a9cac 100644 --- a/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild +++ b/net-firewall/ufw-frontends/ufw-frontends-0.3.2-r3.ebuild @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="Provides graphical frontend to ufw" -HOMEPAGE="https://code.google.com/p/ufw-frontends/; +HOMEPAGE="https://github.com/baudm/ufw-frontends; SRC_URI="https://ufw-frontends.googlecode.com/files/${P}.tar.gz; # CC-BY-NC-SA-3.0 is for a png file