Re: shebangfix for /bin/sh

2014-03-26 Thread Steven Kreuzer
On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin b...@freebsd.org wrote:
 On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
 On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org wrote:
  Hi All-
 
  I am in the process of cleaning up sysutils/DTraceToolkit and I would
  like to make use of USES=shebangfix
 
  However, it looks like on solaris, sh is /usr/bin/sh so I would like
  to propose the following change:
 
  http://people.freebsd.org/~skreuzer/patches/shebang.patch

 Can someone from portmgr chime in on this? I would like to get it committed 
 so
 I can commit some changes to sysutils/DTraceToolkit

 Thanks

 How many ports are concerned?
 if just one there is no need to add this into shebangfix.mk

So far I have only seen this in one port. I am not sure how widespread it is.
However, it looks like this is a solaris-ism so it seems like we should just
include it as part of shebangfix instead of doing it in just that one port.

If you guys disagree, I will just do it in the port.

Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-26 Thread Mathieu Arnold
+--On 26 mars 2014 11:44:21 -0400 Steven Kreuzer skreu...@freebsd.org
wrote:
| On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin b...@freebsd.org
| wrote:
| On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
| On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org
| wrote:
|  Hi All-
|  
|  I am in the process of cleaning up sysutils/DTraceToolkit and I would
|  like to make use of USES=shebangfix
|  
|  However, it looks like on solaris, sh is /usr/bin/sh so I would like
|  to propose the following change:
|  
|  http://people.freebsd.org/~skreuzer/patches/shebang.patch
| 
| Can someone from portmgr chime in on this? I would like to get it
| committed so I can commit some changes to sysutils/DTraceToolkit
| 
| Thanks
| 
| How many ports are concerned?
| if just one there is no need to add this into shebangfix.mk
| 
| So far I have only seen this in one port. I am not sure how widespread it
| is. However, it looks like this is a solaris-ism so it seems like we
| should just include it as part of shebangfix instead of doing it in just
| that one port.
| 
| If you guys disagree, I will just do it in the port.

Well, unless it's needed in more than, say, a dozen ports, I see no reason
to have all of the possible edge cases in the generic shebangfix.mk, it is
extendable, for that exact reason.

-- 
Mathieu Arnold
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-26 Thread Baptiste Daroussin
On Wed, Mar 26, 2014 at 11:44:21AM -0400, Steven Kreuzer wrote:
 On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin b...@freebsd.org wrote:
  On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
  On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org 
  wrote:
   Hi All-
  
   I am in the process of cleaning up sysutils/DTraceToolkit and I would
   like to make use of USES=shebangfix
  
   However, it looks like on solaris, sh is /usr/bin/sh so I would like
   to propose the following change:
  
   http://people.freebsd.org/~skreuzer/patches/shebang.patch
 
  Can someone from portmgr chime in on this? I would like to get it 
  committed so
  I can commit some changes to sysutils/DTraceToolkit
 
  Thanks
 
  How many ports are concerned?
  if just one there is no need to add this into shebangfix.mk
 
 So far I have only seen this in one port. I am not sure how widespread it is.
 However, it looks like this is a solaris-ism so it seems like we should just
 include it as part of shebangfix instead of doing it in just that one port.
 
 If you guys disagree, I will just do it in the port.
 
I disagree, I prefer it be be done in a couple of ports and if the number of
ports using that is growing then we can merge it into the infra.

regards,
Bapt


pgp5he77ZjyPM.pgp
Description: PGP signature


Re: shebangfix for /bin/sh

2014-03-26 Thread Steven Kreuzer
On Wed, Mar 26, 2014 at 12:01 PM, Baptiste Daroussin b...@freebsd.org wrote:
 On Wed, Mar 26, 2014 at 11:44:21AM -0400, Steven Kreuzer wrote:
 On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin b...@freebsd.org wrote:
  On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
  On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org 
  wrote:
   Hi All-
  
   I am in the process of cleaning up sysutils/DTraceToolkit and I would
   like to make use of USES=shebangfix
  
   However, it looks like on solaris, sh is /usr/bin/sh so I would like
   to propose the following change:
  
   http://people.freebsd.org/~skreuzer/patches/shebang.patch
 
  Can someone from portmgr chime in on this? I would like to get it 
  committed so
  I can commit some changes to sysutils/DTraceToolkit
 
  Thanks
 
  How many ports are concerned?
  if just one there is no need to add this into shebangfix.mk

 So far I have only seen this in one port. I am not sure how widespread it is.
 However, it looks like this is a solaris-ism so it seems like we should just
 include it as part of shebangfix instead of doing it in just that one port.

 If you guys disagree, I will just do it in the port.

 I disagree, I prefer it be be done in a couple of ports and if the number of
 ports using that is growing then we can merge it into the infra.

Sounds like a plan. Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-25 Thread Steven Kreuzer
On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org wrote:
 Hi All-

 I am in the process of cleaning up sysutils/DTraceToolkit and I would
 like to make use of USES=shebangfix

 However, it looks like on solaris, sh is /usr/bin/sh so I would like
 to propose the following change:

 http://people.freebsd.org/~skreuzer/patches/shebang.patch

Can someone from portmgr chime in on this? I would like to get it committed so
I can commit some changes to sysutils/DTraceToolkit

Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-25 Thread Baptiste Daroussin
On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
 On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer skreu...@freebsd.org wrote:
  Hi All-
 
  I am in the process of cleaning up sysutils/DTraceToolkit and I would
  like to make use of USES=shebangfix
 
  However, it looks like on solaris, sh is /usr/bin/sh so I would like
  to propose the following change:
 
  http://people.freebsd.org/~skreuzer/patches/shebang.patch
 
 Can someone from portmgr chime in on this? I would like to get it committed so
 I can commit some changes to sysutils/DTraceToolkit
 
 Thanks

How many ports are concerned?

if just one there is no need to add this into shebangfix.mk

just do it in the DTraceToolkit port:
USES=   shebangfix
sh_OLD_CMD= /usr/bin/sh
sh_CMD= ${SH}
SHEBANG_LANGsh

regards,
Bapt


pgpDMaQ0JqCC9.pgp
Description: PGP signature


shebangfix for /bin/sh

2014-03-14 Thread Steven Kreuzer
Hi All-

I am in the process of cleaning up sysutils/DTraceToolkit and I would
like to make use of USES=shebangfix

However, it looks like on solaris, sh is /usr/bin/sh so I would like
to propose the following change:

http://people.freebsd.org/~skreuzer/patches/shebang.patch

Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-14 Thread Garance A Drosehn
On 14 Mar 2014, at 13:08, Steven Kreuzer wrote:

 I am in the process of cleaning up sysutils/DTraceToolkit and I would
 like to make use of USES=shebangfix

 However, it looks like on solaris, sh is /usr/bin/sh so I would like
 to propose the following change:

On my solaris machines, /usr/bin/sh is exactly the same as /bin/sh.
(although it is true that my solaris machines are not up-to-date)

-- 
Garance Alistair Drosehn= dro...@rpi.edu
Senior Systems Programmer   or   g...@freebsd.org
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: shebangfix for /bin/sh

2014-03-14 Thread Joseph Benden
This is true for Solaris 11.1 too. The major difference is they both are
a symlink to i86/ksh93.

-Joseph Benden


Garance A Drosehn wrote:
 On my solaris machines, /usr/bin/sh is exactly the same as /bin/sh.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org