Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2010 10:57:21 GMT
From:      Dereckson <dereckson@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151533: [patch] net-im/ttytter upgrade to 1.1.6, with licensing and new port acknowledgment 
Message-ID:  <201010181057.o9IAvLMU003730@www.freebsd.org>
Resent-Message-ID: <201010181100.o9IB0NtP016809@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151533
>Category:       ports
>Synopsis:       [patch] net-im/ttytter upgrade to 1.1.6, with licensing and new port acknowledgment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 18 11:00:22 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dereckson
>Release:        FreeBSD 8.1-RELEASE
>Organization:
>Environment:
>Description:
Dear 
>How-To-Repeat:

>Fix:
Please assign this pr to Julian C. Dunn <jdunn@aquezada.com>, the net-im/ttytter port maintainer.

Dear Julian,

I prepared a port for the new Perl module developed by Floodgap, Term::ReadLine::TTYtter (a fork of Term::ReadLine::Perl with nice extra features I'm currently implementing in a custom application), devel/p5-ReadLine-TTYter.

During this port preparation, I became familiar with the Floodgap Free Software License and exchanged some notes with the author about this license.

I so submit you a patch:
- adding an optional dependency to devel/p5-ReadLine-TTYtter port (I read on the official websites there is some utf-8 problems, I sent successfully French messages in UTF-8 with this without problem, and got a nice deletion support but one week of test isn't really enough to ensure the stability)
- adding proper license tags, to comply with the ports licensing framework
- updating to 1.1.6

Patch attached with submission follows:

diff -ruN ttytter.orig/Makefile ttytter/Makefile
--- ttytter.orig/Makefile	2010-09-16 17:52:28.000000000 +0000
+++ ttytter/Makefile	2010-10-18 10:52:08.000000000 +0000
@@ -5,10 +5,12 @@
 # $FreeBSD: ports/net-im/ttytter/Makefile,v 1.14 2010/09/16 17:52:28 decke Exp $
 
 PORTNAME=	ttytter
-PORTVERSION=	1.1.5
+PORTVERSION=	1.1.6
 CATEGORIES=	net-im
-MASTER_SITES=	http://www.floodgap.com/software/ttytter/dist1/
-DISTFILES=	1.1.05.txt
+MASTER_SITES=	http://www.floodgap.com/software/$(PORTNAME)/dist1/:DIST \
+		http://www.floodgap.com/software/ffsl/:LICENSE
+DIST_SUBDIR=	$(PORTNAME)
+DISTFILES=	1.1.06.txt:DIST license.txt:LICENSE
 EXTRACT_ONLY=
 
 MAINTAINER=	jdunn@aquezada.com
@@ -20,19 +22,30 @@
 NO_BUILD=	yes
 USE_PERL5_RUN=	yes
 
-OPTIONS=	READLINE	"Include rich readline support"	on
+OPTIONS=	READLINE	"Include rich readline support"	on \
+		TRLTTYTTER	"Use Term::ReadLine::TTYtter (experimental)" off
 
 PLIST_FILES=	bin/${PORTNAME}
 
+LICENSE=	FFSL
+LICENSE_FILE=	${WRKSRC}/license.txt
+LICENSE_NAME=	Floodgap Free Software License
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell
+
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_READLINE)
 RUN_DEPENDS+=	${SITE_PERL}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
 .endif
+.if defined(WITH_TRLTTYTTER)
+RUN_DEPENDS+=   ${SITE_PERL}/Term/ReadLine/TTYtter.pm:${PORTSDIR}/devel/p5-ReadLine-TTYtter
+.endif
 
 do-extract:
 	@${MKDIR} ${WRKSRC}
-	@${CP} ${DISTDIR}/${DISTFILES}  ${WRKSRC}/${PORTNAME}-${PORTVERSION}.txt
+	@${CP} ${DISTDIR}/$(DIST_SUBDIR)/1.1.06.txt  ${WRKSRC}/${PORTNAME}-${PORTVERSION}.txt
+	@${CP} ${DISTDIR}/$(DIST_SUBDIR)/license.txt  ${WRKSRC}/
+	
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/${PORTNAME}-${PORTVERSION}.txt
diff -ruN ttytter.orig/distinfo ttytter/distinfo
--- ttytter.orig/distinfo	2010-09-16 17:52:28.000000000 +0000
+++ ttytter/distinfo	2010-10-12 09:06:46.000000000 +0000
@@ -1,3 +1,6 @@
-MD5 (1.1.05.txt) = 354aa87ed02105b800a8dcb9e658f8dd
-SHA256 (1.1.05.txt) = 07882c8ddb4241e3fe6e93f7c561ae48c7fe6bd0089aa56a12e19c916859b5ea
-SIZE (1.1.05.txt) = 138521
+MD5 (ttytter/1.1.06.txt) = cfb9a2b9334c194ace2d695bf01a3025
+SHA256 (ttytter/1.1.06.txt) = 5acb9eda329fa11d7a41bed9d0e0574d6b532dc99e23d7c8c371a117e4547b8a
+SIZE (ttytter/1.1.06.txt) = 147442
+MD5 (ttytter/license.txt) = 056779f62628b5d16bf1b4a36c6fb71d
+SHA256 (ttytter/license.txt) = a56b2e4995041dde62f7c71d5573f96d84b33bbd12e929f1a5dc7946fb469174
+SIZE (ttytter/license.txt) = 14951


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010181057.o9IAvLMU003730>