ports/140941: [Maintainer] mail/usendmail: correct tr(1) usage

Thomas-Martin Seck tmseck at netcologne.de
Fri Nov 27 14:40:02 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list