Mantis - screen
Viewing Issue Advanced Details
4805 packaging minor have not tried 2011-07-14 02:45 2011-09-19 22:11
bwalton  
yann  
normal  
closed  
fixed  
none    
none  
0004805: Please rename package to CSWscreen
It would be nice if the package name matched the catalog name. You could provide screen_stub/CSWscrn that depends on screen/CSWscreen to make the transition easy.

Thanks
-Ben
Issue History
2011-07-14 02:45 bwalton New Issue
2011-07-21 17:05 yann Note Added: 0009203
2011-07-21 17:05 yann Assigned To => yann
2011-07-21 17:05 yann Status new => feedback
2011-07-21 17:13 bwalton Note Added: 0009205
2011-07-21 17:17 bwalton Note Added: 0009206
2011-07-21 17:17 yann Note Added: 0009207
2011-09-19 22:11 yann Note Added: 0009280
2011-09-19 22:11 yann Status feedback => closed
2011-09-19 22:11 yann Resolution open => fixed

Notes
(0009203)
yann   
2011-07-21 17:05   
A new renamed screen package is available in my experimental repository:
http://buildfarm.opencsw.org/experimental.html#yann [^]

Could you try to upgrade to this package and give me some feedback ?
(0009205)
bwalton   
2011-07-21 17:13   
Hi Yann,

There is a standard mechanism in GAR to generate the empty transitional package. This will give you an empty screen_stub package, which we have chosen as the standard naming convention. (You chose _transitional.)

To use this feature, simply add to your GAR recipe:
OBSOLETED_BY_CSWscreen = CSWscrn
CATALOG_NAME_CSWscrn = screen_stub

Those two lines should be enough to do everything required. You'll get CSWscrn/screen_stub depending on CSWscreen/screen.

Can you try this method? I'm happy to test the update as it stands for functionality though.

Thanks
-Ben
(0009206)
bwalton   
2011-07-21 17:17   
The update does work and the new screen package runs the same as the old one as far as I can tell.
(0009207)
yann   
2011-07-21 17:17   
Hi Ben,

Thanks for the information.

I took the opportunity to use the transitional/stub package to put some postinstall code related to the migration of screen socket directory from /tmp/uscreens|screens to /var/opt/csw/run/screen

Can I easily add a preinstall script using the automatic GAR mechanism for generating stub package ?
(0009280)
yann   
2011-09-19 22:11   
The renamed package screen entered the current branch on July, 25, so I am closing this bug :)