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 . ( cd /package-sendmail-cf/ tar -zxvf $CWD/_sendmail.tar.gz usr/share/sendmail/README.linux mv usr/share/sendmail/README.linux usr/share/sendmail/cf/ ) for dir in cf domain feature hack m4 mailer ostype sh siteconfig do cp -a $TMP/sendmail-$VERSION/cf/$dir . done # Replace the sendmail Build script with a simple (working) one: cp -a /package-sendmail-cf/usr/share/sendmail/cf/cf/Build \ /package-sendmail-cf/usr/share/sendmail/cf/cf/Build.orig zcat $CWD/Build.gz > /package-sendmail-cf/usr/share/sendmail/cf/cf/Build rm -f cf/linux.uucp.cf cf/sendmail-slackware-tls.cf cf/sendmail-slackware.cf } subspecial() { cd $SUBPKG mv package-sendmail-cf/* ./ rmdir package-sendmail-cf/ cd $SUBCTL cat $CWD/slack-desc.sendmail-cf > slack-desc }