Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2013 09:07:20 -0200
From:      Jan Beich <jbeich@tormail.org>
To:        "Grant D. Watson" <grant_watson@yahoo.com>
Cc:        ports@freebsd.org, Kevin Lo <kevlo@FreeBSD.org>
Subject:   Re: A package for the ubuntu-font port?
Message-ID:  <1UWQ0V-000Eda-TS@internal.tormail.org>
References:  <1366861249.50130.YahooMailNeo@web161201.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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}




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1UWQ0V-000Eda-TS>