Skip site navigation (1)Skip section navigation (2)
Date:      27 Nov 2009 14:36:04 -0000
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140941: [Maintainer] mail/usendmail: correct tr(1) usage
Message-ID:  <20091127143604.11155.qmail@wcfields.tmseck.homedns.org>
Resent-Message-ID: <200911271440.nAREe1jX062759@freefall.freebsd.org>

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

>Number:         140941
>Category:       ports
>Synopsis:       [Maintainer] mail/usendmail: correct tr(1) usage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 14:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of November 27, 2009.

	
>Description:
Correct a tr(1) call that translates lower to upper case letters.
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: Makefile
===================================================================
--- Makefile	(.../mail/usendmail)	(Revision 1685)
+++ Makefile	(.../local/usendmail)	(Revision 1685)
@@ -7,7 +7,7 @@
 
 PORTNAME=	usendmail
 PORTVERSION=	0.1.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.ohse.de/uwe/usendmail/
 
Index: files/patch-src_typesize.sh
===================================================================
--- files/patch-src_typesize.sh	(.../mail/usendmail)	(Revision 0)
+++ files/patch-src_typesize.sh	(.../local/usendmail)	(Revision 1685)
@@ -0,0 +1,11 @@
+--- src/typesize.sh.orig	2009-11-22 19:02:59.000000000 +0100
++++ src/typesize.sh	2009-11-22 19:04:28.000000000 +0100
+@@ -21,7 +21,7 @@
+ 	:
+       else
+ 	x=$?
+-	p=`echo $i | sed 's/ /_/g' | tr "[a-z]]" "[A-Z]"`
++	p=`echo $i | sed 's/ /_/g' | tr "[:lower:]" "[:upper:]"`
+ 	echo "#define SIZEOF_$p $x"
+       fi
+     fi
	


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



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