[ITP] csih-0.1-1

Reini Urban rurban@x-ray.at
Wed Mar 5 18:23:00 GMT 2008


Charles Wilson schrieb:
> cygwin-service-installation-helper provides a library of shell functions 
> that can be used by other cygwin packages that provide servers and daemons.
> 
> Usually, these other packages also ship with installation or 
> configuration scripts (such as: ssh-host-config, iu-config, cron-config, 
> etc).  These installation scripts have similar requirements, and can 
> benefit from delegating common tasks to a common library.  Like csih!
> 
> I have notices that some of the *-config scripts mentioned above are 
> posix-shell (#!/bin/sh) compliant. csih is not; it uses many bash-isms, 
> so any -config script that uses its facilities must be a #!/bin/bash 
> script.
> 
> 
> This package basically consists of a single file:
>   /usr/share/csih/cygwin-service-installation-helper.sh
> whose contents are derived from many sources:
> 
>   ssh-host-config from the openssh package
>   cron-config from the cron package
>   exim-config from the exim package
>   iu-config and syslogd-config from the inetutils package
>   cygport from the cygport package
> 
> You can inspect the library without downloading and unpacking the 
> tarballs using this link:
> http://cygwin.cwilson.fastmail.fm/ITP/cygwin-service-installation-helper.sh
> 
> Changes relative to the initial version posted here
> http://cygwin.com/ml/cygwin-apps/2008-02/msg00225.html
> 
> 1) documentation throughout
> 2) tested pretty heavily, but only on my (XP) system
> 3) renamed all functions to 'csih_WHATEVER'
> 4) use 'cyg_server' instead of 'cygwin_svc' as requested by Pierre
> 5) also look for sshd_server and cron_server
> 6) assimilated many functions from cron-config and exim-config
> 7) added debug and trace functions
> 8) added ability to suppress 'color', so that setup.log doesn't get 
> cluttered with escape sequences
> 
> 9) re-wrote inetutils' iu-config and syslogd-config to use this library. 
> See:
> http://cygwin.cwilson.fastmail.fm/ITP/iu-config
> http://cygwin.cwilson.fastmail.fm/ITP/syslogd-config
> 
> This is still very preliminary, and patches, comments, and suggestions 
> are both welcome and solicited.
> 
> Packages here:
> 
> http://cygwin.cwilson.fastmail.fm/ITP/csih-0.1-1-src.tar.bz2
> http://cygwin.cwilson.fastmail.fm/ITP/csih-0.1-1.tar.bz2

Thanks, will be considered for the next postgresql package.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/



More information about the Cygwin-apps mailing list