Date: Thu, 12 Dec 2013 16:13:49 +0000 From: krad <kraduk@gmail.com> To: Volodymyr Kostyrko <c.kworr@gmail.com> Cc: ports@freebsd.org, quat@squat.no, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: miniupnpd not inserting pf rules Message-ID: <CALfReye4FKSzcySJid%2Bf=OFzx6bmkcAbT8ATcOKqgAB2dSK6QA@mail.gmail.com> In-Reply-To: <52A9C98E.3050509@gmail.com> References: <CALfReyeni-QtQ%2BpJW5CqWOSqcG7OdJhsM_gKDFx3r9UgAJTQtQ@mail.gmail.com> <52A9C98E.3050509@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
cool i was tired so couldnt make the last step, i can confirm removing the
WITH makes the patch get applied
On 12 December 2013 14:34, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:
> 11.12.2013 17:00, krad wrote:
>
>> I have being having some trouble/fun with miniupnpd, in that it didnt seem
>> to be inserting the rules into pf ( pfctl -sr -a miniupnpd
>> ). The rdr rules are inserted fine just not the firewall rules at the
>> rules
>> anchor. I think I have traced the problem down to the port build itself. I
>> have tested and reproduced it on a clean system on both 9.2 and 10 64bit
>> intel builds, but I would be good to have a sanity check make sure i have
>> not missed something before I raise a pr/bug report to the maintainer.
>>
>>
>> The problem lies with the extra_patch that isnt applied even if the
>> dialogue option is checked. Manually specifying it in the environment
>> doesn't work either
>>
>> ..if ${PORT_OPTIONS:MWITH_PF_ENABLE_FILTER_RULES}
>> EXTRA_PATCHES= ${PATCHDIR}/pf_enable_filter_rules.patch
>>
>
> Man you are awesome! I had installed this one and thought there was some
> compatibility problems so I just thrashed it.
>
> In the above example please remove 'WITH_' portion and try to recheck. If
> this will clear things for you - fire up a pr with a patch.
>
> --
> Sphinx of black quartz, judge my vow.
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReye4FKSzcySJid%2Bf=OFzx6bmkcAbT8ATcOKqgAB2dSK6QA>
