PROGNAME="Configuration files for sendmail"
DESC="\
These files are used to create sendmail.cf configuration files.  The  \n\
m4 macro processor (on the D series of disks) is also required in     \n\
order to make use of these files.                                     \n\
                                                                      \n\
These files and the documentation in /usr/src/sendmail should make it \n\
possible to support virtually any mail configuration.  NOTE: you      \n\
probably won't need this package if you're planning to use one of the \n\
sendmail.cf samples included in the sendmail package."

SOURCE=http://www.sendmail.org
BUILD=1
SUBPKGNAME=sendmail-cf-$VERSION-s390-$BUILD
TAG=REC

subinstall() {
   ( cd $TMP/sendmail-$VERSION
     find . -name "*~" -print -exec rm {} \;
   )

   mkdir -p /package-sendmail-cf/usr/share/sendmail/cf
   cd /package-sendmail-cf/usr/share/sendmail/cf
   cp -a $TMP/sendmail-$VERSION/cf/README .
   cp -a /package-sendmail/usr/share/sendmail/README.linux .

   for d in cf domain feature hack m4 mailer ostype sh siteconfig
   do
      cp -a $TMP/sendmail-$VERSION/cf/$d .
   done

   rm -f cf/linux.*.cf cf/config.cf
}

subspecial() {
   cd $SUBPKG
   mv package-sendmail-cf/* ./
   rmdir package-sendmail-cf/

   cd $SUBCTL
   cat $CWD/slack-desc.sendmail-cf > slack-desc
}

