Changeset 14542 for trunk/base


Ignore:
Timestamp:
Oct 11, 2005, 4:38:36 AM (15 years ago)
Author:
jberry
Message:

Make the launchd name for startupitems unique under the org.darwinports reverse-domain

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/ChangeLog

    r14541 r14542  
    11#
    2 #       $Id: ChangeLog,v 1.16 2005/10/11 04:16:15 jberry Exp $
     2#       $Id: ChangeLog,v 1.17 2005/10/11 04:38:36 jberry Exp $
    33#
    44#       This is a log of major user-visible changes in each release
     
    1414    - Portfile(7) missing keywords: http://bugzilla.opendarwin.org/show_bug.cgi?id=4905 (???)
    1515    - Maybe: cvs/svn fetch w/ patches: http://bugzilla.opendarwin.org/show_bug.cgi?id=5269 (yeled?)
    16         - Use org.darwinports. prefix for launchd startupitem files.
    17 
    1816
    1917Release 1.2 (unreleased):
  • trunk/base/src/port1.0/portstartupitem.tcl

    r14539 r14542  
    22# portstartupitem.tcl
    33#
    4 # $Id: portstartupitem.tcl,v 1.21 2005/10/11 04:05:49 jberry Exp $
     4# $Id: portstartupitem.tcl,v 1.22 2005/10/11 04:38:36 jberry Exp $
    55#
    66# Copyright (c) 2004, 2005 Markus W. Weissman <mww@opendarwin.org>,
     
    381381       
    382382        set itemname            ${startupitem.name}
    383         set plistname           ${itemname}.plist
     383        set uniquename          org.darwinports.${itemname}
     384        set plistname           ${uniquename}.plist
    384385        set daemondest          LaunchDaemons
    385         set itemdir                     ${prefix}/etc/${daemondest}/${itemname}
     386        set itemdir                     ${prefix}/etc/${daemondest}/${uniquename}
    386387        set program                     "${prefix}/bin/daemondo"
    387388        set args                        [list \
     
    546547        puts ${plist} "<dict>"
    547548       
    548         puts ${plist} "<key>Label</key><string>${itemname}</string>"
     549        puts ${plist} "<key>Label</key><string>${uniquename}</string>"
    549550       
    550551        puts ${plist} "<key>Program</key><string>${program}</string>"
Note: See TracChangeset for help on using the changeset viewer.