|
From: Heiko Z. <smi...@us...> - 2005-01-28 04:15:48
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23094/scripts Modified Files: grsecurity Log Message: undo some changes to grsec script updated kernel config for latest grsec Index: grsecurity =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/grsecurity,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- grsecurity 27 Jan 2005 03:53:38 -0000 1.25 +++ grsecurity 28 Jan 2005 04:15:27 -0000 1.26 @@ -40,20 +40,18 @@ fi touch devil-linux-grsec-kernel-patches.done fi - # add configuration to kernel config - cat $MYDIR/config/config_grsecurity >> .config + cat $KERNEL_CONFIG_DIR/config_grsecurity >> .config # start oldconfig, in case there are new options make oldconfig || exit 1 # compile the admin program cd $GRADMDIR || exit 1 - if [ ! -f devil-linux-patches.done ]; then - bzcat $DL_DIR/src/gradm-distro.diff.bz2 | patch -p1 - touch devil-linux-patches.done - fi - + if [ ! -f devil-linux-patches.done ]; then + bzcat $DL_DIR/src/gradm-distro.diff.bz2 | patch -p1 + touch devil-linux-patches.done + fi make $PMAKE all || exit 1 strip_debug fi @@ -61,14 +59,14 @@ install ) if [ "$CONFIG_GRSECURITY" = "y" ] ; then - rm -rf $WORKDIR/tmp - mkdir -p $WORKDIR/tmp || exit 1 + rm -rf $TMPDIR + mkdir -p $TMPDIR || exit 1 cd $GRADMDIR || exit 1 - make -C $GRADMDIR DESTDIR=$WORKDIR/tmp install || exit 1 + make -C $GRADMDIR DESTDIR=$TMPDIR install || exit 1 - copy_docs $WORKDIR/tmp || exit 1 - cp -vdpR $WORKDIR/tmp/sbin/* $CDDIR/sbin || exit 1 - cp -vdpR $WORKDIR/tmp/etc $ETCDIR/ || exit 1 + copy_docs $TMPDIR || exit 1 + cp -vdpR $TMPDIR/sbin/* $CDDIR/sbin || exit 1 + cp -vdpR $TMPDIR/etc $ETCDIR/ || exit 1 mkdir -p $DOCDIR/grsecurity/ || exit 1 |