[MacPorts] #26175: xymon server

MacPorts noreply at macports.org
Fri Oct 8 15:47:59 PDT 2010


#26175: xymon server
-----------------------------+----------------------------------------------
 Reporter:  fclaire@…        |       Owner:  macports-tickets@…                   
     Type:  submission       |      Status:  new                                  
 Priority:  Normal           |   Milestone:                                       
Component:  ports            |     Version:  1.9.1                                
 Keywords:                   |        Port:  xymon-server                         
-----------------------------+----------------------------------------------

Comment(by fclaire@…):

 I'm finally back.


 DESTDIR isn't used in the original source package. I may report this to
 the xymon mailing list to have it fixed in future releases.
 I tried destroot.destdir and it didn't worked so I kept destroot.env-
 append.

 For the symlinks, I moved them in post-destroot. Unfortunately, one
 symlink remains when the port is uninstalled:

 {{{
 thepearl:xymon-server fclaire$ sudo port uninstall
 --->  Deactivating xymon-server @4.3.0-beta2_0
 --->  Uninstalling xymon-server @4.3.0-beta2_0
 thepearl:xymon-server fclaire$ ll /opt/local/lib/xymon/client/
 ls: /opt/local/lib/xymon/client/: No such file or directory
 thepearl:xymon-server fclaire$ ll /Library/LaunchDaemons/
 …
 lrwxr-xr-x   1 root  wheel    86  8 oct 23:10 org.macports.xymon-
 server.plist -> /opt/local/etc/LaunchDaemons/org.macports.xymon-
 server/org.macports.xymon-server.plist
 }}}

 It's not a very big problem: it's an "ln -sf" so next time it is installed
 the link is overwritten.

 When installed, a "port contents" doesn't show the symlinks:

 {{{
 thepearl:xymon-server fclaire$ port contents
 Port xymon-server contains:
   /opt/local/etc/LaunchDaemons/org.macports.xymon-server/org.macports
 .xymon-server.plist
 …
 }}}

 I updated the notes section to use ${xymonuser} and I modified the startup
 script to have the right xymon user set into it with a reinplace command.
 I've also improved the WiKi page.

 I'm now praying to get it accepted...

-- 
Ticket URL: <https://trac.macports.org/ticket/26175#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list