Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/base
In directory vz-cvs-3.sog:/tmp/cvs-serv9505/10.7/stable/main/finkinfo/base

Added Files:
        daemonic.info 
Log Message:
to 10.7

--- NEW FILE: daemonic.info ---
Package: daemonic
Version: 20010902
Revision: 4
Maintainer: Fink Core Group <fink-c...@lists.sourceforge.net>
Depends: libxml2-bin, libxml2-shlibs
BuildDepends: libiconv-dev, libxml2
Recommends: bash-completion
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 20fde65b727578d721bc947d669de7b3
PatchScript: <<
#!/bin/sh -ex
  perl -pi -e 's/static void/void/g' parse.c
  cat >bash_completion <<EOF
_daemonic_daemons()
{
       ls %p/etc/daemons 2>/dev/null | sed -e 's/\.xml//'
}

_daemonic()
{
       local cur prev special i

       COMPREPLY=()
       cur=\${COMP_WORDS[COMP_CWORD]}
       prev=\${COMP_WORDS[COMP_CWORD-1]}

       for (( i=0; i < \${#COMP_WORDS}-1; i++ )); do
            if [[ \${COMP_WORDS[i]} == 
@(enable|disable|install|update|remove|dump) ]]; then
                 special=\${COMP_WORDS[i]}
            fi
       done

       if [ -n "\${special}" ]; then
            case \$special in
                 enable|disable|install|update|remove)
                      COMPREPLY=( \$( _daemonic_daemons ) )
                      ;;
                 dump)
                      COMPREPLY=()
                      ;;
            esac

            return 0
       fi

       COMPREPLY=( \$( compgen -W 'enable disable install update remove dump' 
-- \$cur ) )

       return 0
}
complete -F _daemonic daemonic
EOF
<<
CompileScript: make prefix=%p
InstallScript: <<
  make install prefix=%i
  mkdir -p %i/etc/bash_completion.d
  install -m755 bash_completion %i/etc/bash_completion.d/daemonic
<<
ConfFiles: %p/etc/bash_completion.d/daemonic
DocFiles: COPYING
#
Description: Interface to daemon init scripts
DescDetail: <<
daemonic provides daemon packages with a flexible, system-independent
interface to the init scripts (or whatever the system uses to start
daemons during system startup).
<<
DescPackaging: Previous versions by Christoph Pfisterer.
License: GPL
Homepage: http://daemonic.sourceforge.net/


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to