From nobody@FreeBSD.org  Tue Jan  8 01:09:21 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id B42C4341
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Jan 2013 01:09:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 96FE9B7
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Jan 2013 01:09:21 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0819Kaw045197
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 Jan 2013 01:09:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0819KfV045196;
	Tue, 8 Jan 2013 01:09:20 GMT
	(envelope-from nobody)
Message-Id: <201301080109.r0819KfV045196@red.freebsd.org>
Date: Tue, 8 Jan 2013 01:09:20 GMT
From: Chris Petrik <c.petrik.sosa@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] update comms/ebook2cw to 0.8.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175117
>Category:       ports
>Synopsis:       [PATCH] update comms/ebook2cw to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    db
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 08 01:10:00 UTC 2013
>Closed-Date:    Wed Jan 16 18:16:45 UTC 2013
>Last-Modified:  Wed Jan 16 18:20:00 UTC 2013
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Update to 0.8.2
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: ebook2cw/Makefile
===================================================================
--- ebook2cw/Makefile	(revision 310056)
+++ ebook2cw/Makefile	(working copy)
@@ -1,13 +1,8 @@
-# ports collection makefile for:	ebook2cw
-# Date created:		17 July 2008
-# Whom:			db
-#
+# Created by: db
 # $FreeBSD$
-#
 
 PORTNAME=	ebook2cw
-PORTVERSION=	0.8.1
-PORTREVISION?=	2
+PORTVERSION=	0.8.2
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://fkurz.net/ham/ebook2cw/ \
 		${MASTER_SITE_LOCAL}
Index: ebook2cw/distinfo
===================================================================
--- ebook2cw/distinfo	(revision 310056)
+++ ebook2cw/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (ebook2cw-0.8.1.tar.gz) = 3f97d2e6fbb419f8c985b0cbe3a9d33bfaa8fd746ea3651ecf086e523395c908
-SIZE (ebook2cw-0.8.1.tar.gz) = 26581
+SHA256 (ebook2cw-0.8.2.tar.gz) = d8277ac6aaf9e64d9cb9a96457488b3a0dbd77e87622ded8f0825acb500c5758
+SIZE (ebook2cw-0.8.2.tar.gz) = 29170
Index: ebook2cw/files/patch-Makefile
===================================================================
--- ebook2cw/files/patch-Makefile	(revision 310056)
+++ ebook2cw/files/patch-Makefile	(working copy)
@@ -1,18 +1,20 @@
---- Makefile.orig	2011-04-04 15:57:55.000000000 -0400
-+++ Makefile	2011-04-16 11:11:52.000000000 -0400
-@@ -1,34 +1,26 @@
- # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html
+--- Makefile.bak	2013-01-07 22:55:06.000000000 -0600
++++ Makefile	2013-01-07 22:58:08.000000000 -0600
+@@ -3,37 +3,26 @@
+ # $Id: Makefile 547 2012-12-29 21:07:53Z dj1yfk $
  
- VERSION=0.8.1
+ VERSION=0.8.2
 -DESTDIR ?= /usr
-+DESTDIR ?= /usr/local
-+CC	?= gcc
- 
+-
 -# Set to NO to compile without Lame/Ogg-vorbis support
 -USE_LAME?=YES
 -USE_OGG?=YES
++DESTDIR ?= /usr/local
++CC	?= gcc
  
  CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\"
++CFLAGS+= -I/usr/local/include -D LAME -D OGGV
++LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg
  
 -ifeq ($(USE_LAME), YES)
 -		CFLAGS:=$(CFLAGS) -D LAME
@@ -22,10 +24,8 @@
 -		CFLAGS:=$(CFLAGS) -D OGGV
 -		LDFLAGS:=$(LDFLAGS) -lvorbis -lvorbisenc -logg
 -endif
-+CFLAGS+= -I/usr/local/include -D LAME -D OGGV
-+LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg
- 
- 
+-
+-
 -all: ebook2cw
 +all: ebook2cw cgi
  
@@ -37,18 +37,13 @@
 -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
 +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
  
+ cgibuffered: ebook2cw.c codetables.h
+-	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
++	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
+ 
  static:
 -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
 +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
  
  install:
  	install -d -v                      $(DESTDIR)/share/man/man1/
-@@ -41,7 +33,7 @@
- 	install    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
- 	install    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
- 	install    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
--	
-+
- uninstall:
- 	rm -f $(DESTDIR)/bin/ebook2cw
- 	rm -f $(DESTDIR)/share/man/man1/ebook2cw.1


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->db 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jan 8 01:10:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175117 
State-Changed-From-To: open->closed 
State-Changed-By: db 
State-Changed-When: Wed Jan 16 18:16:44 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175117 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175117: commit references a PR
Date: Wed, 16 Jan 2013 18:15:55 +0000 (UTC)

 Author: db
 Date: Wed Jan 16 18:15:33 2013
 New Revision: 310508
 URL: http://svnweb.freebsd.org/changeset/ports/310508
 
 Log:
   - Update to 0.8.2 [1]
   0.8.2 / 2013-01-04   Fabian Kurz   <fabian@fkurz.net>
   	* Time of conversion and speed-up calculations
   	* Fixed text command |T0
   	* Samplerate of output file now always according to -s parameter (no
   	  longer using LAME's own preference for the given bitrate)
   	* New text command |v for volume control
   	* Chapter splitting now possible by duration (-d seconds)
   	  and number of words (-l words) (suggested by DM3KPO)
   	* Fix inconsistent numbers for waveforms (0 = sine, 1 = sawtooth,
   	  2 = square)
   	* Fix OGG/Vorbis headers in CGI mode
   	* New CGI mode (make cgibuffered) where the whole sound file is
   	  first created temporarily and then sent to the client.
   	  This makes it possible to send the Content-Length header.
   	* Code cleanup
   
   PR:		ports/175117 [1]
   Submitted by: 	Chris Petrik <c.petrik.sosa@gmail.com>
 
 Modified:
   head/comms/ebook2cw/Makefile   (contents, props changed)
   head/comms/ebook2cw/distinfo   (contents, props changed)
   head/comms/ebook2cw/files/patch-Makefile   (contents, props changed)
 
 Modified: head/comms/ebook2cw/Makefile
 ==============================================================================
 --- head/comms/ebook2cw/Makefile	Wed Jan 16 18:15:25 2013	(r310507)
 +++ head/comms/ebook2cw/Makefile	Wed Jan 16 18:15:33 2013	(r310508)
 @@ -1,13 +1,8 @@
 -# ports collection makefile for:	ebook2cw
 -# Date created:		17 July 2008
 -# Whom:			db
 -#
  # $FreeBSD$
  #
  
  PORTNAME=	ebook2cw
 -PORTVERSION=	0.8.1
 -PORTREVISION?=	2
 +PORTVERSION=	0.8.2
  CATEGORIES=	comms hamradio
  MASTER_SITES=	http://fkurz.net/ham/ebook2cw/ \
  		${MASTER_SITE_LOCAL}
 @@ -24,6 +19,8 @@ MAN1=		ebook2cw.1
  post-patch:
  	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \
  	     ${WRKSRC}/Makefile
 +	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|'g \
 +	     ${WRKSRC}/Makefile
  do-install:
  	@${INSTALL_SCRIPT} ${WRKSRC}/ebook2cw ${PREFIX}/bin/ebook2cw
  	@${INSTALL_DATA} ${WRKSRC}/ebook2cw.1 ${MANPREFIX}/man/man1
 
 Modified: head/comms/ebook2cw/distinfo
 ==============================================================================
 --- head/comms/ebook2cw/distinfo	Wed Jan 16 18:15:25 2013	(r310507)
 +++ head/comms/ebook2cw/distinfo	Wed Jan 16 18:15:33 2013	(r310508)
 @@ -1,2 +1,2 @@
 -SHA256 (ebook2cw-0.8.1.tar.gz) = 3f97d2e6fbb419f8c985b0cbe3a9d33bfaa8fd746ea3651ecf086e523395c908
 -SIZE (ebook2cw-0.8.1.tar.gz) = 26581
 +SHA256 (ebook2cw-0.8.2.tar.gz) = d8277ac6aaf9e64d9cb9a96457488b3a0dbd77e87622ded8f0825acb500c5758
 +SIZE (ebook2cw-0.8.2.tar.gz) = 29170
 
 Modified: head/comms/ebook2cw/files/patch-Makefile
 ==============================================================================
 --- head/comms/ebook2cw/files/patch-Makefile	Wed Jan 16 18:15:25 2013	(r310507)
 +++ head/comms/ebook2cw/files/patch-Makefile	Wed Jan 16 18:15:33 2013	(r310508)
 @@ -1,18 +1,20 @@
 ---- Makefile.orig	2011-04-04 15:57:55.000000000 -0400
 -+++ Makefile	2011-04-16 11:11:52.000000000 -0400
 -@@ -1,34 +1,26 @@
 - # ebook2cw Makefile -- Fabian Kurz, DJ1YFK -- http://fkurz.net/ham/ebook2cw.html
 +--- Makefile.orig	2013-01-04 09:33:04.000000000 -0500
 ++++ Makefile	2013-01-16 10:16:50.000000000 -0500
 +@@ -3,37 +3,26 @@
 + # $Id: Makefile 547 2012-12-29 21:07:53Z dj1yfk $
   
 - VERSION=0.8.1
 + VERSION=0.8.2
  -DESTDIR ?= /usr
 -+DESTDIR ?= /usr/local
 -+CC	?= gcc
 - 
 +-
  -# Set to NO to compile without Lame/Ogg-vorbis support
  -USE_LAME?=YES
  -USE_OGG?=YES
 ++DESTDIR ?= %%PREFIX%%
 ++CC	?= gcc
   
   CFLAGS:=$(CFLAGS) -D DESTDIR=\"$(DESTDIR)\" -D VERSION=\"$(VERSION)\"
 ++CFLAGS+= -I%%LOCALBASE%%/include -D LAME -D OGGV
 ++LDFLAGS+= -L%%LOCALBASE%%/lib -lmp3lame -lvorbis -lvorbisenc -logg
   
  -ifeq ($(USE_LAME), YES)
  -		CFLAGS:=$(CFLAGS) -D LAME
 @@ -22,10 +24,8 @@
  -		CFLAGS:=$(CFLAGS) -D OGGV
  -		LDFLAGS:=$(LDFLAGS) -lvorbis -lvorbisenc -logg
  -endif
 -+CFLAGS+= -I/usr/local/include -D LAME -D OGGV
 -+LDFLAGS+= -L/usr/local/lib -lmp3lame -lvorbis -lvorbisenc -logg
 - 
 - 
 +-
 +-
  -all: ebook2cw
  +all: ebook2cw cgi
   
 @@ -37,18 +37,13 @@
  -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
  +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -o cw.cgi
   
 + cgibuffered: ebook2cw.c codetables.h
 +-	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
 ++	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -D CGI -D CGIBUFFERED -o cw.cgi
 + 
   static:
  -	gcc -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
  +	${CC} -static ebook2cw.c $(LDFLAGS) -lm $(CFLAGS) -o ebook2cw
   
   install:
   	install -d -v                      $(DESTDIR)/share/man/man1/
 -@@ -41,7 +33,7 @@
 - 	install    -m 0644 ebook2cw.conf   $(DESTDIR)/share/doc/ebook2cw/examples/
 - 	install    -m 0644 isomap.txt      $(DESTDIR)/share/doc/ebook2cw/examples/
 - 	install    -m 0644 utf8map.txt     $(DESTDIR)/share/doc/ebook2cw/examples/
 --	
 -+
 - uninstall:
 - 	rm -f $(DESTDIR)/bin/ebook2cw
 - 	rm -f $(DESTDIR)/share/man/man1/ebook2cw.1
 _______________________________________________
 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"
 
>Unformatted:
