[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a2ps license



こんばんは、すながわです。

makoto@hauN.org (みのうら まこと) wrote:

Makoto> japanese/a2psのライセンスは、

Makoto> ;# Redistribution for non-commercial purpose, with or without
Makoto> ;# modification, is granted as long as all copyright notices are
Makoto> ;# retained.  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
Makoto> ;# ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED.

Makoto> Commercial useの場合はどうなのか確認してありますか?
Makoto>  - してある場合、Makefileかなにかにコメントが欲しいです
Makoto>  - てない場合、とりあえずRESTRICTEDにして早急に確認しないと...

ありますね。多分どなたも確認されていないと思います。

 - FreeBSDのportsにはとくに関連した記述はありませんでした。
 - debianのパッケージにはGNU a2psしかありませんでした。

Makoto> # patch-aaが邪悪ですね。PREFIXを見て直すようにしないと...

以下でどうでしょうか。


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/japanese/a2ps/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	2001/02/16 15:25:10	1.3
+++ Makefile	2001/04/09 12:59:29
@@ -11,11 +11,23 @@
 MAINTAINER=	tech-pkg-ja@jp.netbsd.org
 COMMENT=	Text file to postscript converter (with Japanese support)
 
+RESTRICTED=	"Currently, it is unknown that redistribution of this program for commercial"
+RESTRICTED+=	"purpose is granted or not."
+NO_BIN_ON_CDROM=${RESTRICTED}
+NO_SRC_ON_CDROM=${RESTRICTED}
+NO_BIN_ON_FTP=  ${RESTRICTED}
+NO_SRC_ON_FTP=  ${RESTRICTED}
+
 USE_PERL5=	YES
 
 EXTRACT_CMD=	${CP} ${DOWNLOADED_DISTFILE} .
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
+
+post-patch:
+	${SED} -e 's!@PERL5@!${PERL5}!' < ${WRKSRC}/${DISTFILES} \
+	    > ${WRKSRC}/${DISTFILES}.tmp; \
+	${MV} ${WRKSRC}/${DISTFILES}.tmp ${WRKSRC}/${DISTFILES}
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/a2ps.pl-1.44 ${PREFIX}/bin/a2ps-j
Index: files/patch-sum
===================================================================
RCS file: /cvsroot/pkgsrc/japanese/a2ps/files/patch-sum,v
retrieving revision 1.1
diff -u -r1.1 patch-sum
--- files/patch-sum	1999/07/09 13:51:16	1.1
+++ files/patch-sum	2001/04/09 12:59:29
@@ -1,3 +1,3 @@
 $NetBSD: patch-sum,v 1.1 1999/07/09 13:51:16 agc Exp $
 
-MD5 (patch-aa) = ae7f27da2cc27677ab149cf2acc13f41
+SHA1 (patch-aa) = 9922fa4494a64c677898c90182cc99642b31acc5
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/japanese/a2ps/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patches/patch-aa	1999/06/07 07:18:37	1.2
+++ patches/patch-aa	2001/04/09 12:59:29
@@ -4,7 +4,7 @@
 +++ a2ps.pl-1.44	Thu Apr  8 02:54:06 1999
 @@ -1,4 +1,4 @@
 -#!/usr/local/bin/perl
-+#!/usr/pkg/bin/perl
++#!@PERL5@
  ;#
  ;# a2ps: ascii to ps
  ;#


--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
http://www05.u-page.so-net.ne.jp/ba2/kei_sun/
http://frill.yi.org/~kei/