Annotation of embedaddon/dnsmasq/contrib/Solaris10/README.create_package, revision 1.1

1.1     ! misho       1: Ok, script attached ... seems to be working ok for me, 
        !             2: tried to install and remove a few times. It does the
        !             3: right thing with the smf when installing, you can then 
        !             4: simply enable the service. Upon removal it cleans up the
        !             5: files but won't clean up the services (I think until
        !             6: a reboot) ... I've only started looking at the new 
        !             7: packages stuff in the last day or two, so I could be 
        !             8: missing something, but I can't find any way to force
        !             9:  a proper cleanup.
        !            10: 
        !            11: It requires that you have a writable repository setup 
        !            12: as per the docs on the opensolaris website and it will
        !            13: create a dnsmasq package (package name is a variable 
        !            14: in the script). The script takes a version number for 
        !            15: the package and assumes that it's in the contrib/Solaris10 
        !            16: directory, it then works out the base tree directory 
        !            17: from $0.
        !            18: 
        !            19: i.e.  $ contrib/Solaris10/create_package 2.52-1
        !            20: or   $ cd contrib/Solaris10; ./create_package 2.52-1
        !            21: 
        !            22: It's a bit more complex than it could be because I 
        !            23: prefer putting the daemon in /usr/sbin and the config 
        !            24: in /etc, so the script will actually create a new 
        !            25: version of the existing contrib dnsmasq.xml.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>