[pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-11-16 Thread Mantis Bug Tracker via bug-notifications

The following issue has been CLOSED 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: closed
Resolution: open
Fixed in Version:   
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-11-16 15:59 CET
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010639) bonivart (manager) - 2013-11-13 10:35
 https://www.opencsw.org/mantis/view.php?id=5102#c10639 
-- 
I forgot all about it, sorry. It has now been released.



[pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-11-13 Thread Mantis Bug Tracker via bug-notifications

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-11-13 10:35 CET
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010639) bonivart (manager) - 2013-11-13 10:35
 https://www.opencsw.org/mantis/view.php?id=5102#c10639 
-- 
I forgot all about it, sorry. It has now been released.



[pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-11-09 Thread Mantis Bug Tracker via bug-notifications

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-11-09 19:00 CET
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010636) yann (developer) - 2013-11-09 19:00
 https://www.opencsw.org/mantis/view.php?id=5102#c10636 
-- 
Hi Peter,

Still no problem with this version, do you think you will release it
shortly ?

Yann



[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-09-02 Thread Mantis Bug Tracker

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-09-02 13:46 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010567) bonivart (manager) - 2013-09-02 13:46
 https://www.opencsw.org/mantis/view.php?id=5102#c10567 
-- 
There's packages here:
http://buildfarm.opencsw.org/experimental.html#bonivart

Even though it's a simple change I would like the two of us to try it some
before I release it officially.

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications


[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-08-29 Thread Mantis Bug Tracker

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-08-29 23:44 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010563) yann (developer) - 2013-08-29 23:44
 https://www.opencsw.org/mantis/view.php?id=5102#c10563 
-- 
I updated the patch accordingly. I tested on Solaris 10 and it works fine.
https://www.opencsw.org/mantis/file_download.php?file_id=68type=bug

Sorry for the previous defective patch.

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications


[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-08-27 Thread Mantis Bug Tracker

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-08-27 16:54 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010560) bonivart (manager) - 2013-08-27 16:54
 https://www.opencsw.org/mantis/view.php?id=5102#c10560 
-- 
Did you test your patch on a normal Solaris system? I ran it on Solaris 10
and pkgadd/pkgrm are not found. You only added /opt/csw/bin to the path but
some pkg tools are found in /usr/sbin.

Couldn't you accomplish the same thing by placing your pkg tools in the
normal Solaris paths?

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications


[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-08-27 Thread Mantis Bug Tracker

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-08-27 21:27 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010561) yann (developer) - 2013-08-27 21:27
 https://www.opencsw.org/mantis/view.php?id=5102#c10561 
-- 
You're right. I saw the standard /usr/bin:/bin paths and assumed that this
was sufficient to have pkgutil find the native tools if they were present
but I went too fast.

So I think the path modification should rather be:
-$ENV{'PATH'} = '/bin:/usr/bin';
+$ENV{'PATH'} = '/usr/sbin:/bin:/usr/bin:/opt/csw/bin';

To answer your question: no I can't, smartos /usr partition is readonly and
I am using a cloud environment where I don't have control on the OS.

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications


[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-08-19 Thread Mantis Bug Tracker

The following issue has been ASSIGNED. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-08-19 13:52 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010535) yann (developer) - 2013-08-16 17:15
 https://www.opencsw.org/mantis/view.php?id=5102#c10535 
-- 
I attached the modification I've made to make it work:
https://www.opencsw.org/mantis/file_download.php?file_id=67type=bug

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications


[bug-notifications] [pkgutil 0005102]: Remove hardcoded paths to SVR4 package tools

2013-08-19 Thread Mantis Bug Tracker

A NOTE has been added to this issue. 
== 
https://www.opencsw.org/mantis/view.php?id=5102 
== 
Reported By:yann
Assigned To:bonivart
== 
Project:pkgutil
Issue ID:   5102
Category:   regular use
Reproducibility:always
Severity:   feature
Priority:   normal
Status: assigned
== 
Date Submitted: 2013-08-16 17:13 CEST
Last Modified:  2013-08-19 13:54 CEST
== 
Summary:Remove hardcoded paths to SVR4 package tools
Description: 
Hi Peter,

Might be strange but I am trying to use pkgutil on a SmartOS server where
pkgadd, pkgrm.. are not available.

I can get them and put them in a different location but most path are to
these tools are hardcoded in pkgutil so this doesn't work out of the box.

So my feature request is: is this possible to modify pkgutil so path to
SVR4 package tools are not hardcoded ?

Thanks in advance for your answer,

Yann
== 

-- 
 (0010536) bonivart (manager) - 2013-08-19 13:54
 https://www.opencsw.org/mantis/view.php?id=5102#c10536 
-- 
So you're basically adding another path to PATH and then removing all
hardcoded paths? Looks very straightforward.

I can do a minor update with that.

___
bug-notifications mailing list
bug-notifications@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/bug-notifications