On 2013/08/13 11:14, Vadim Zhukov wrote:
> 2013/8/13 Stuart Henderson <st...@openbsd.org>:
> > On 2013/08/13 02:42, Vadim Zhukov wrote:
> >> +# "nonfree" means containing some patented algorithms, see
> >> +# http://docs.opencv.org/modules/nonfree/doc/nonfree.html
> >> +# Please always build and test this FLAVOR during version updates.
> >> +# As some source modules include this functionality, we couldn't
> >> +# just subpackage "nonfree". Excluding this, here we have a usual
> >> +# BSDL
> >> +PERMIT_DISTFILES_FTP =               Yes
> >> +.if ${FLAVOR:Mnonfree}
> >> +PERMIT_PACKAGE_FTP =         No
> >> +PERMIT_PACKAGE_CDROM =               No
> >> +PERMIT_PACKAGE_FTP-docs =    Yes
> >> +PERMIT_PACKAGE_CDROM-docs =  Yes
> >> +.else
> >> +PERMIT_PACKAGE_CDROM =               Yes
> >> +.endif
> >
> > Seems complicated, and we usually do put this type of thing on ftp (for
> > example, things which write mp3 files, etc). It should be blocked for CDs
> > of course. Second opinion wanted, but I think it would be acceptable to
> > skip the flavour maze and just do this:
> >
> > PERMIT_PACKAGE_CDROM = patents
> > PERMIT_PACKAGE_FTP = Yes
> 
> Do you mean that:
> 
> PERMIT_PACKAGE_FTP = Yes
> .if ${FLAVOR:Mnonfree}
> PERMIT_PACKAGE_CDROM = patents
> .else
> PERMIT_PACKAGE_CDROM = Yes
> .endif
> 
> Or do you mean that "nonfree" FLAVOR should be simply removed?

Personally I think we would be OK to just get rid of the FLAVOR, and
build with SIFT/SURF by default. AIUI as long as we aren't distributing
commercially then things are ok for OpenBSD, and it's up to users to
decide for themselves if they are permitted to use it or not.

As I mentioned already though, second opinion wanted ;)

Reply via email to