23228224 AWK output issue when utilizing pconsole
authorRich Burridge <rich.burridge@oracle.com>
Fri, 06 May 2016 05:10:00 -0700
changeset 5935 678e175397ac
parent 5934 afb2f79e4599
child 5936 56a9d82c570e
23228224 AWK output issue when utilizing pconsole
components/pconsole/Makefile
components/pconsole/patches/pconsole.sh.in.patch
components/pconsole/pconsole.p5m
--- a/components/pconsole/Makefile	Thu May 05 23:00:28 2016 -0700
+++ b/components/pconsole/Makefile	Fri May 06 05:10:00 2016 -0700
@@ -48,3 +48,4 @@
 
 REQUIRED_PACKAGES += shell/bash
 REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += text/gawk
--- a/components/pconsole/patches/pconsole.sh.in.patch	Thu May 05 23:00:28 2016 -0700
+++ b/components/pconsole/patches/pconsole.sh.in.patch	Fri May 06 05:10:00 2016 -0700
@@ -28,7 +28,7 @@
   	set -x
   fi
   
-! PATH=/usr/sbin:/usr/bin:/etc
+! PATH=/usr/gnu/bin:/usr/sbin:/usr/bin:/etc
   
   prefix=@prefix@
   exec_prefix=@exec_prefix@
--- a/components/pconsole/pconsole.p5m	Thu May 05 23:00:28 2016 -0700
+++ b/components/pconsole/pconsole.p5m	Fri May 06 05:10:00 2016 -0700
@@ -46,3 +46,6 @@
 file usr/bin/ssh.sh path=usr/share/doc/pconsole/ssh.sh mode=0555
 file files/pconsole.1 path=usr/share/man/man1/pconsole.1
 license pconsole.copyright license="GPLv2, CDDLv1.0"
+
+# /usr/sbin/pconsole dependency on /usr/gnu/bin/awk is not automatically found.
+depend type=require fmri=__TBD pkg.debug.depend.file=usr/gnu/bin/awk