From: <smi...@us...> - 2004-03-13 00:27:43
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26181/scripts Modified Files: Tag: rel-1-0-patches bind Log Message: - updated bind to v9.2.3 (Heiko / Oliver Jehle) Index: bind =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/bind,v retrieving revision 1.26 retrieving revision 1.26.2.1 diff -u -d -r1.26 -r1.26.2.1 --- bind 20 Aug 2003 19:15:35 -0000 1.26 +++ bind 13 Mar 2004 00:19:02 -0000 1.26.2.1 @@ -17,11 +17,13 @@ case $1 in build ) if [ "$CONFIG_ISC_BIND" = "y" ]; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-openssl=/usr/ssl --enable-threads --with-libtool || exit 1 + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-openssl=/usr/ssl --enable-libbind --enable-threads --with-libtool || exit 1 make depend || exit 1 #make $PMAKE all || exit 1 make all || exit 1 strip_debug + # install to base system... because of library install of libdns + make install || exit 1 fi ;; @@ -47,8 +49,13 @@ echo "#empty file" > $ETCDIR/etc/named.conf || exit 1 rm -rf $WORKDIR/tmp || exit 1 - useradd -u 44 -g nogroup -s /bin/false named || exit 1 - + getent passwd named >/dev/null + rc=$? + if [ "$rc" == "0" ]; then + echo "user already exist" + else + useradd -u 44 -g nogroup -s /bin/false named || exit 1 + fi echo "# Start Bind Name Server?" >> $CONFIGFILE echo "START_NAMED=no" >> $CONFIGFILE echo >> $CONFIGFILE |