Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332550 Details for
Bug 437266
net-firewall/ufw-0.33* USE=-ipv6 - `ufw status' fails when it cannot find ip6tables and on kernels with disabled IPv6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
version bump
ufw-to-0.34_pre805.patch (text/plain), 9.05 KB, created by
Sławomir Nizio
on 2012-12-17 08:08:08 UTC
(
hide
)
Description:
version bump
Filename:
MIME Type:
Creator:
Sławomir Nizio
Created:
2012-12-17 08:08:08 UTC
Size:
9.05 KB
patch
obsolete
>Wspólne podkatalogi: ufw.old/files i ufw/files >diff -Nu ufw.old/Manifest ufw/Manifest >--- ufw.old/Manifest 2012-12-07 15:30:53.443873874 +0100 >+++ ufw/Manifest 2012-12-07 15:33:43.315523817 +0100 >@@ -11,7 +11,9 @@ > AUX ufw.confd 219 SHA256 069aa7382b40aecebf26ef53f3f4c49890314e0357925c84b3c15f1d0b913be0 SHA512 a010532c97b9cf83f1fb5fa707228e0542a8b109c76e5942aaf2d6552c63e033d32e39e5a6ac87cb9e2ed4c3fdbc5d03c75127e6378665e592b143bc1eda52c7 WHIRLPOOL e6c4537392921c63f8a57fab7ea269fbeea846468ef8968816d988556557495e8abb77aee9d60648a1483a599683613cf5ea832cbcf498a8828baa9abcd31752 > DIST ufw-0.31.1.tar.gz 322448 SHA256 ccf5e00aa76841b9467ad9506fbf96373fb24a4b26bffd858ea1eb2522491dcb SHA512 3c9e61be7ba18ccdbd8195517f0b74a418b460f91b6efcdf0d883fc1dca2bc376ee317836882b67d2fd4825c2e5374d9c6a5da3d77f98794b64c98071d3ac0dc WHIRLPOOL 35064e73f892d6a94413f3560f5f0af945c972b673da4980af0a60576cc641810a74d76ed196935abaf9c2b395c2cc7250b6d27e710e284cbf2df014a6f0820d > DIST ufw-0.33.tar.gz 332893 SHA256 5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8 SHA512 a908d0a2c74bedef418b28f1701048bc9281f314ff747fb1e9497ddee341dbf86402215c470b605523b03a12b2dec812cd7342c310c04231dbed5b6f8e783309 WHIRLPOOL bdd09fbdc2514061b6971e06fa05d6fee04e29c2cecf0c12b237349071e88d188aa8a7bd5c54f5cf3cccd4ddf8d2e3d2bb6ed0db92538b7d76cea471d74848c1 >+DIST ufw-0.34_pre805.tar.gz 335875 SHA256 a78693da04720f9f7eb463447b940eed18c3e2c20d3de336ebf9bf821dfdac2f SHA512 b8bba3bb8c423070d6434d1df7274423edf3a356415f54c6448fa0ff2d13a4b2ac21c4bb627cba01d6955b04f793eeaf2fc535c6221e7de48f11bef745035263 WHIRLPOOL 5e5238925d928e883c9869b3b72a7a04ad18352ebbcb5fead9b14c7bb5225f1bbae613d9117ceb5e9d435e1ca1f1d0d033bbdf673896990eda5efcb7a7d04829 > EBUILD ufw-0.31.1-r2.ebuild 5541 SHA256 0286e38a3b1c8e556f366c75fe9a19a07e8a3bec32c40a65ddc15f8f4b86f88a SHA512 2eefc47a996403b469ed6e51b46dc9b4085bb54f19fa66f27c83bfc2d4b2fc915ab2b958e19e4cd2ccbdcb6eccf6626f78dec0fcde8eef738fbf4966527fb046 WHIRLPOOL 3342b84709029b8cb19c2c3ac332c21722027586e7b267a8ecb4876d39b4572454b5d6b1ceee0641b8fb8ef294b6b22ce31c393cf1e03d912522b3f7e7caa25e > EBUILD ufw-0.33-r2.ebuild 5619 SHA256 2c493fb41c24915e8a3b7cc2055272f56ee53afa341eeb7d3ce825dff681369f SHA512 f64cad986c9a7a586b88b1418e69234caabf5de03cf55c8e9988a55beee51153221c715e13b13c61349b3936b609db8ab90d211b270beb1189d2002a91d32b4d WHIRLPOOL 867439b9d36ac946343c850650c98d3d5f0d0d3951a91ef7cd8e3a1f4ac9ac7c8a6d80a211a0d4d75a12c725f68bef8325a5a9baf91b8b0c4c49638d0731760f >+EBUILD ufw-0.34_pre805.ebuild 5265 SHA256 50f9db3e0171db11737d4619f32189d4c1ecb2b75c0ba1a27b990cde86b041f2 SHA512 9aeac8a7ec43ab76c43f3f67555c9300ba7afba337efaa1ae2e508991a1dd2e6f3fac4ad3a2392a6ce4a238e82efa1e6c5a47f6e705c77c47327d6f9bedceb63 WHIRLPOOL 8587c7f3ec8ccbd74e3e381a271f2f6594eab2db103fde261ce6ce635cc756936c5de564a8055424c8306ae0029955c7a79daec34de192a3a5e992cb0343dfe4 > MISC ChangeLog 3013 SHA256 d378681c6bc7e806ef75b4e76d16c3ad915a0d26e80890e0233d4258be9144a6 SHA512 517d94bff716136ebe2fa278019f8e46de95bcd5e00f74591d8506002271931dae99b01908214e8adf2fd219501d9aae2559d1ea5070a7abb92c9c7344e27f9e WHIRLPOOL b0b68da3ce870b0c3e6b34055d6e9b6be84b9b3d52debb5405d22d24f3436ec71d98e98395791e9c9136dc1f9536a5cd7d4a125b4d04334630746fe6c9cbb23a > MISC metadata.xml 622 SHA256 e504f88d893e02ac0bf5aa71b5b153da69205bcc72463a24b551918686afdcc4 SHA512 27a11c5b355ff6cbf5cccc6d852d0b8702cd73641cf0fbcc79cef7ced889cc7aa89ef1e56b3e8fc5a1e0b82c789f0b272ae75db83d32c8e3963bc08d69dc7e38 WHIRLPOOL cda0950c88207d057a8a952e5294e170216f1bef97b18fa29f15dc128a076761cc40a56ec1096a10450dda86585255c54f4eac699671fbe9a5bab049113feee1 >diff -Nu ufw.old/ufw-0.34_pre805.ebuild ufw/ufw-0.34_pre805.ebuild >--- ufw.old/ufw-0.34_pre805.ebuild 1970-01-01 01:00:00.000000000 +0100 >+++ ufw/ufw-0.34_pre805.ebuild 2012-12-07 15:31:30.577604125 +0100 >@@ -0,0 +1,180 @@ >+# Copyright 1999-2012 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ >+ >+EAPI=4 >+PYTHON_DEPEND="2:2.6 3:3.1" >+SUPPORT_PYTHON_ABIS="1" >+RESTRICT_PYTHON_ABIS="2.5 *-jython" >+ >+inherit bash-completion-r1 eutils linux-info distutils >+ >+DESCRIPTION="A program used to manage a netfilter firewall" >+HOMEPAGE="http://launchpad.net/ufw" >+SRC_URI="mirror://sabayon/${CATEGORY}/${P}.tar.gz" >+ >+LICENSE="GPL-3" >+SLOT="0" >+KEYWORDS="~amd64 ~x86" >+IUSE="examples ipv6" >+ >+DEPEND="sys-devel/gettext" >+RDEPEND=">=net-firewall/iptables-1.4[ipv6?] >+ !<kde-misc/kcm-ufw-0.4.2 >+ !<net-firewall/ufw-frontends-0.3.2 >+" >+ >+# tests fail; upstream bug: https://bugs.launchpad.net/ufw/+bug/815982 >+RESTRICT="test" >+ >+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 >+} >+ >+src_prepare() { >+ # Allow to remove unnecessary build time dependency >+ # on net-firewall/iptables. >+ epatch "${FILESDIR}"/${PN}-0.33-dont-check-iptables.patch >+ # Move files away from /lib/ufw. >+ epatch "${FILESDIR}"/${PN}-0.31.1-move-path.patch >+ # Contains fixes related to SUPPORT_PYTHON_ABIS="1" (see comment in the >+ # file). >+ epatch "${FILESDIR}"/${PN}-0.31.1-python-abis.patch >+ >+ # 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 >+ if ! has "${lang%.po}" ${LINGUAS}; then >+ rm "${lang}" || die >+ else >+ _EMPTY_LOCALE_LIST="no" >+ fi >+ done >+ >+ popd > /dev/null || die >+ else >+ _EMPTY_LOCALE_LIST="no" >+ fi >+} >+ >+src_install() { >+ newconfd "${FILESDIR}"/ufw.confd ufw >+ newinitd "${FILESDIR}"/ufw-2.initd ufw >+ >+ exeinto /usr/share/${PN} >+ doexe tests/check-requirements >+ >+ # users normally would want it >+ insinto /usr/share/doc/${PF}/logging/syslog-ng >+ doins "${FILESDIR}"/syslog-ng/* >+ >+ insinto /usr/share/doc/${PF}/logging/rsyslog >+ doins "${FILESDIR}"/rsyslog/* >+ doins doc/rsyslog.example >+ >+ if use examples; then >+ insinto /usr/share/doc/${PF}/examples >+ doins examples/* >+ fi >+ distutils_src_install >+ [[ $_EMPTY_LOCALE_LIST != yes ]] && domo locales/mo/*.mo >+ newbashcomp shell-completion/bash ${PN} >+} >+ >+pkg_postinst() { >+ distutils_pkg_postinst >+ if [[ -z ${REPLACING_VERSIONS} ]]; then >+ 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" >+ echo >+ elog "If you want to keep ufw logs in a separate file, take a look at" >+ elog "/usr/share/doc/${PF}/logging." >+ fi >+ if [[ -z ${REPLACING_VERSIONS} ]] \ >+ || [[ ${REPLACING_VERSIONS} < 0.34 ]]; >+ then >+ echo >+ elog "/usr/share/ufw/check-requirements script is installed." >+ elog "It is useful for debugging problems with ufw. However one" >+ elog "should keep in mind that the script assumes IPv6 is enabled" >+ elog "on kernel and net-firewall/iptables, and fails when it's not." >+ fi >+ echo >+ ewarn "Note: once enabled, ufw blocks also incoming SSH connections by" >+ ewarn "default. See README, Remote Management section for more information." >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 437266
: 332550