IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/tmp:/usr/src
STRIPLIB=n
STRIPBIN=n

VERSION=5.1
PROGNAME="Basic /etc files $VERSION"
DESC="\
etc (system configuration files)                                       \n\
                                                                       \n\
System configuration files.  The /etc directory is traditionally the   \n\
location where configuration files are found."

BUILD=1
MAINTAINER="Mark Post <mark.post@eds.com>"
SOURCE=N/A
PKGNAME=etc-$VERSION-noarch-$BUILD
TAG=ADD

compile() {
   echo "Nothing to compile for etc"
}

install() {
   echo "Nothing to install for etc"
}

special() {
   cd $PKG
   tar -zxvpf $CWD/_etc.tar.gz

   cp -a $CWD/termcap-BSD.gz etc/termcap-BSD.gz
   gzip -d --force etc/termcap-BSD.gz
   chown root.root etc/termcap-BSD
   chmod 644 etc/termcap-BSD

   zcat $CWD/nsswitch.conf.gz > etc/nsswitch.conf.new

   cd $CTL
   cat $CWD/slack-desc > slack-desc
}

