A package for the ubuntu-font port?

Jason Helfman jgh at FreeBSD.org
Sun Apr 28 18:03:10 UTC 2013


On Thu, Apr 25, 2013 at 4:07 AM, Jan Beich <jbeich at tormail.org> wrote:

> "Grant D. Watson" <grant_watson at yahoo.com> writes:
>
> > Ports folks,
> >
> > I sent a message to Kevin Lo, since the ports search site lists his
> > address for ubuntu-font, but he said this isn't his area.
> >
> > I am a Linux user who's been playing with FreeBSD and enjoying it; in
> > creating and destroying experimental VMs I've made great use of binary
> > packages. For some reason the ubuntu-font port is not available as a
> > package. Would that be difficult to change? It's no hardship to
> > install it from ports of course, but having it as a package would be
> > convenient.
>
> $ make -V _LICENSE_RESTRICTED
> delete-package delete-distfiles
>
> When a port uses Mk/bsd.licenses.mk (defines LICENSE) the permissions
> must include pkg-mirror for the package to be redistributed across
> freebsd mirrors. ubuntu-font license is currently defined as
>
>   # added by the current maintainer
>   LICENSE=      UFL
>   LICENSE_FILE= ${WRKSRC}/LICENCE.txt
>   LICENSE_NAME= Ubuntu Font License (UFL)
>   LICENSE_PERMS=        auto-accept
>
> where probably all of the following apply (IANAL)
>
>   # Available components for LICENSE_PERMS:
>   # dist-mirror - No free redistribution of distfile (like FTP mirroring;
> RESTRICTED).
>   # dist-sell           - No selling of distfile (like in CD-ROM;
> NO_CDROM).
>   # pkg-mirror  - No free redistribution of package (like FTP upload;
> NO_PACKAGE).
>   # pkg-sell            - No selling of package (like in CD-ROM; NO_CDROM).
>   # auto-accept - If license is accepted by default, without presented
>   #                               agreement, unless the user defines
> LICENSES_ASK.
>   #
>
> And the fix
>
> Index: x11-fonts/ubuntu-font/Makefile
> ===================================================================
> --- x11-fonts/ubuntu-font/Makefile      (revision 315726)
> +++ x11-fonts/ubuntu-font/Makefile      (working copy)
> @@ -19,7 +19,7 @@ COMMENT=      Ubuntu font family
>  LICENSE=       UFL
>  LICENSE_FILE=  ${WRKSRC}/LICENCE.txt
>  LICENSE_NAME=  Ubuntu Font License (UFL)
> -LICENSE_PERMS= auto-accept
> +LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
>
>  BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
>  RUN_DEPENDS:=  ${BUILD_DEPENDS}
>
>
>
It is more acceptable to add the actual values of _LICENSE_PERMS_DEFAULT,
rather than the variable. If _LICENSE_PERMS_DEFAULT changes, and the
defaults are not acceptable anymore for that software, then it will still
apply to the software as an acceptable license.

IMHO, if this is defined within a port, it should be marked appropriately,
at exit.

-jgh

--
Jason Helfman          | FreeBSD Committer
jgh at FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve


More information about the freebsd-ports mailing list