Re: [openssl-dev] 1.1.0 pre release 6: Installing manpages error: tr

2016-08-04 Thread Richard Levitte
In message <20160804190843.ga19...@x2.esmtp.org> on Thu, 4 Aug 2016 12:08:43 
-0700, Claus Assmann  said:

ca+ssl-dev> On Thu, Aug 04, 2016, Richard Levitte wrote:
ca+ssl-dev> 
ca+ssl-dev> > I suppose this depends on what shell is being used.  I've 
attached a
ca+ssl-dev> 
ca+ssl-dev> /bin/ksh
ca+ssl-dev> 
ca+ssl-dev> > fix (apply with 'patch -p1 < unix-Makefile.tmpl.patch'), would you
ca+ssl-dev> > mind trying it out?
ca+ssl-dev> 
ca+ssl-dev> That works (I made those changes by hand to Makefile before).

Thanks for confirming.  It's now in master and will work correctly in
the final release (due in three weeks)

Cheers,
Richard

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] 1.1.0 pre release 6: Installing manpages error: tr

2016-08-04 Thread Claus Assmann
On Thu, Aug 04, 2016, Richard Levitte wrote:

> I suppose this depends on what shell is being used.  I've attached a

/bin/ksh

> fix (apply with 'patch -p1 < unix-Makefile.tmpl.patch'), would you
> mind trying it out?

That works (I made those changes by hand to Makefile before).
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


Re: [openssl-dev] 1.1.0 pre release 6: Installing manpages error: tr

2016-08-04 Thread Richard Levitte
In message <20160804154144.ga14...@x2.esmtp.org> on Thu, 4 Aug 2016 08:41:44 
-0700, Claus Assmann  said:

ca+ssl-dev> Happens on OpenBSD and Linux (similar error message):
ca+ssl-dev> 
ca+ssl-dev> *** Installing manpages
ca+ssl-dev> usage: tr [-cs] string1 string2
ca+ssl-dev>tr [-c] -d string1
ca+ssl-dev>tr [-c] -s string1
ca+ssl-dev>tr [-c] -ds string1 string2
ca+ssl-dev> 
ca+ssl-dev> 
ca+ssl-dev> Seems [A-Z] etc needs to be quoted, e.g.,
ca+ssl-dev> tr '[a-z]' '[A-Z]'
ca+ssl-dev> 
ca+ssl-dev> There are several places like this in the Makefile.

I suppose this depends on what shell is being used.  I've attached a
fix (apply with 'patch -p1 < unix-Makefile.tmpl.patch'), would you
mind trying it out?

Cheers,
Richard

-- 
Richard Levitte levi...@openssl.org
OpenSSL Project http://www.openssl.org/~levitte/
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 3b6914c..608c204 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -578,7 +578,7 @@ PROCESS_PODS=\
 		[ -z "$$SEC" ] && SEC=$$defsec; \
 		fn=`basename $$p .pod`; \
 		Name=$$fn; \
-		NAME=`echo $$fn | tr [a-z] [A-Z]`; \
+		NAME=`echo $$fn | tr '[a-z]' '[A-Z]'`; \
 		suf=`eval "echo $$OUTSUFFIX"`; \
 		top=`eval "echo $$OUTTOP"`; \
 		$(PERL) $(SRCDIR)/util/mkdir-p.pl $$top/man$$SEC; \
@@ -591,8 +591,8 @@ PROCESS_PODS=\
 		  comp_n="$$n"; \
 		  comp_fn="$$fn"; \
 		  case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
-			  comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \
-			  comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \
+			  comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \
+			  comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \
 			  ;; \
 		  esac; \
 		  if [ "$$comp_n" != "$$comp_fn" ]; then \
@@ -621,8 +621,8 @@ UNINSTALL_DOCS=\
 		comp_n="$$n"; \
 		comp_fn="$$fn"; \
 		case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \
-			comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \
-			comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \
+			comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \
+			comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \
 			;; \
 		esac; \
 		if [ "$$comp_n" != "$$comp_fn" ]; then \
-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev