Bug 169596 - [MAINTAINER] chinese/CNS11643-font: remove RESITRCTED for license change
Summary: [MAINTAINER] chinese/CNS11643-font: remove RESITRCTED for license change
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-02 11:20 UTC by Hung-te Liang
Modified: 2012-08-05 11:40 UTC (History)
1 user (show)

See Also:


Attachments
CNS11643-font-98.1_1.patch (3.48 KB, patch)
2012-07-02 11:20 UTC, Hung-te Liang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hung-te Liang 2012-07-02 11:20:07 UTC
[DESCRIBE CHANGES]

- Add copyright notice in pkg-message
- remove RESTRICTED form Makefile
- LICENSE* & do-install:show pkg-message in Makefile
- Change distinfo for official font file alternative for built-in license
- Bump PORTREVISION
- Refine pkg-descr

Added file:
- pkg-message

Modified files:
- Makefile
- pkg-descr
- distinfo

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Hung-te Liang 2012-07-02 12:01:37 UTC
By the way, do I need to submit another PR for removing entry from /usr/ports/LEGAL ?
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2012-07-02 12:10:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lwhsu

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-08-05 11:34:51 UTC
Author: lwhsu
Date: Sun Aug  5 10:34:40 2012
New Revision: 302104
URL: http://svn.freebsd.org/changeset/ports/302104

Log:
  - Add copyright notice in pkg-message
  - Remove RESTRICTED form Makefile
  - Add LICENSE* and  show pkg-message after install
  - Change distinfo for official font files with built-in license text
  - Refine pkg-descr
  - Bump PORTREVISION
  
  PR:		ports/169596
  Submitted by:	Hung-te Liang <lhd@cs.nctu.edu.tw> (maintainer)

Added:
  head/chinese/CNS11643-font/pkg-message   (contents, props changed)
Modified:
  head/chinese/CNS11643-font/Makefile
  head/chinese/CNS11643-font/distinfo
  head/chinese/CNS11643-font/pkg-descr

Modified: head/chinese/CNS11643-font/Makefile
==============================================================================
--- head/chinese/CNS11643-font/Makefile	Sun Aug  5 09:42:16 2012	(r302103)
+++ head/chinese/CNS11643-font/Makefile	Sun Aug  5 10:34:40 2012	(r302104)
@@ -7,6 +7,7 @@
 
 PORTNAME=	CNS11643-font
 PORTVERSION=	98.1
+PORTREVISION=	1
 CATEGORIES=	chinese x11-fonts
 MASTER_SITES=	http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E6%A5%B7%E9%AB%94/name/:kai \
 		http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E5%AE%8B%E9%AB%94/name/:sung
@@ -16,10 +17,14 @@ EXTRACT_ONLY=
 MAINTAINER=	lhd@cs.nctu.edu.tw
 COMMENT=	A combine of Kai and Sung with CNS11643 TrueType Fonts
 
+LICENSE=	CC_BY-ND_3.0_TW
+LICENSE_NAME=	Creative Commons Attribution-NoDerivs 3.0 Taiwan License
+LICENSE_TEXT=	Description of the license can be obtained from the following URL: http://creativecommons.org/licenses/by-nd/3.0/tw/
+LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
+
 DIST_SUBDIR=	${PORTNAME}
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
-RESTRICTED=	No redistribution or commercial use is allowed.
 
 TTF=		TW-Kai-98_1.ttf TW-Sung-98_1.ttf
 
@@ -28,6 +33,11 @@ do-install:
 	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Kai-98_1.ttf ${FONTSDIR}
 	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Sung-98_1.ttf ${FONTSDIR}
 
+post-install:
+	@${ECHO_CMD} "*******************************************************************************"
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO_CMD} "*******************************************************************************"
+
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
 .include <bsd.port.post.mk>

Modified: head/chinese/CNS11643-font/distinfo
==============================================================================
--- head/chinese/CNS11643-font/distinfo	Sun Aug  5 09:42:16 2012	(r302103)
+++ head/chinese/CNS11643-font/distinfo	Sun Aug  5 10:34:40 2012	(r302104)
@@ -1,4 +1,4 @@
-SHA256 (CNS11643-font/TW-Kai-98_1.ttf) = 36f288baeb02ad764b49530f1fea038df9fa09f5d020202f202bea53b3d5ba03
-SIZE (CNS11643-font/TW-Kai-98_1.ttf) = 33390372
-SHA256 (CNS11643-font/TW-Sung-98_1.ttf) = d97e25d402908818a88b627107b7da4f19a651b77eb75c93e7acc736ae0c8495
-SIZE (CNS11643-font/TW-Sung-98_1.ttf) = 19388164
+SHA256 (CNS11643-font/TW-Kai-98_1.ttf) = 90e7807c697df4888d32639b40080bd17df73f45c54b12b5a1d9c889a08af36b
+SIZE (CNS11643-font/TW-Kai-98_1.ttf) = 33391108
+SHA256 (CNS11643-font/TW-Sung-98_1.ttf) = 150b627c558a9a846e2bd6e36d47e38a4fd17ccfa3665da1e94801019af1cf4a
+SIZE (CNS11643-font/TW-Sung-98_1.ttf) = 19388932

Modified: head/chinese/CNS11643-font/pkg-descr
==============================================================================
--- head/chinese/CNS11643-font/pkg-descr	Sun Aug  5 09:42:16 2012	(r302103)
+++ head/chinese/CNS11643-font/pkg-descr	Sun Aug  5 10:34:40 2012	(r302104)
@@ -1,4 +1,3 @@
-These fonts are chinese Unicode fonts which include the following charsets: 
-CNS 11643
+These fonts are Chinese Unicode fonts which include the CNS 11643 character set.
 
 WWW: http://www.cns11643.gov.tw/

Added: head/chinese/CNS11643-font/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/CNS11643-font/pkg-message	Sun Aug  5 10:34:40 2012	(r302104)
@@ -0,0 +1,5 @@
+Copyright (c) 2012 RDEC, Executive Yuan, ROC.
+
+These fonts are licensed under Creative Commons Attribution-NoDerivs 3.0
+Taiwan License, and allowed for redistribution, as long as they are passed
+along unchanged with the original font name and copyright notice. 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2012-08-05 11:36:25 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-08-05 11:39:53 UTC
Author: lwhsu
Date: Sun Aug  5 10:39:44 2012
New Revision: 302105
URL: http://svn.freebsd.org/changeset/ports/302105

Log:
  - Remove entry of chinese/CNS11643-font
  
  PR:		ports/169596
  Submitted by:	Hung-te Liang <lhd@cs.nctu.edu.tw>

Modified:
  head/LEGAL

Modified: head/LEGAL
==============================================================================
--- head/LEGAL	Sun Aug  5 10:34:40 2012	(r302104)
+++ head/LEGAL	Sun Aug  5 10:39:44 2012	(r302105)
@@ -554,8 +554,6 @@ rapid-*			math/rapid		No commercial use
 dtiquery-*		science/dtiquery	License agreement is required
 clustalw-*		biology/clustalw	No commercial use
 nttcp-*			benchmarks/nttcp	No commercial use
-TW-*.ttf		chinese/CNS11643-font	No redistribution or
-						commercial use is allowed
 festlex-ogi		audio/festlex-ogi	No commercial use
 apache2/mod_h264_streaming-*	www/mod_h264_streaming	No commercial use
 pcsv*i3fb.tar.gz	lang/petite-chez	Must acknowledge license
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"