Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2013 11:03:09 -0700
From:      Jason Helfman <jgh@FreeBSD.org>
To:        Jan Beich <jbeich@tormail.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, Kevin Lo <kevlo@freebsd.org>, "Grant D. Watson" <grant_watson@yahoo.com>
Subject:   Re: A package for the ubuntu-font port?
Message-ID:  <CAMuy=%2BiXzZndJM3eHZv1AAQ0G=wr6-xWwenb9-9XyE-f=H7FtA@mail.gmail.com>
In-Reply-To: <1UWQ0V-000Eda-TS@internal.tormail.org>
References:  <1366861249.50130.YahooMailNeo@web161201.mail.bf1.yahoo.com> <1UWQ0V-000Eda-TS@internal.tormail.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 25, 2013 at 4:07 AM, Jan Beich <jbeich@tormail.org> wrote:

> "Grant D. Watson" <grant_watson@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@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMuy=%2BiXzZndJM3eHZv1AAQ0G=wr6-xWwenb9-9XyE-f=H7FtA>