Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv27358/scripts
Modified Files:
Mail-SpamAssassin grub
Added Files:
gocr libungif netpbm
Log Message:
- you can now use the OCR Spamassassin plugins with DL !
- added gocr 0.41
- added libungif 4.1.3
- added netpbm 10.26.32
- updated dovecot to v1.0-RC10
- added missing perl modules (prerequisites for other modules)
- updated all perl modules and added the ones for the SpamAssassin
'optional' list
--- NEW FILE: gocr ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/gocr,v $
# $Revision: 1.2 $
# $Date: 2006/10/23 16:54:55 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: gocr
# Required-Start: $basebuildtools $libs netpbm
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: gocr
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=GOCR
case $1 in
build )
if [ "$CONFIG_GOCR" = "y" ]; then
./configure --prefix=/usr || exit 1
make || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_GOCR" = "y" ]; then
rm -rf $TMPDIR
mkdir -p $TMPDIR || exit 1
make install DESTDIR=$TMPDIR || exit 1
copy_docs $TMPDIR
rm -rf $TMPDIR/{include,lib} || exit 1
rm -rf $TMPDIR/bin/*.tcl || exit 1
cp -vdpR $TMPDIR/* $CDDIR/usr/ || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: netpbm ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/netpbm,v $
# $Revision: 1.2 $
# $Date: 2006/10/23 16:54:55 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: netpbm
# Required-Start: $basebuildtools $libs
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: netpbm
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=NETPBM
case $1 in
build )
if [ "$CONFIG_NETPBM" = "y" ]; then
cp $MYDIR/config/netpbm Makefile.config || exit 1
make || exit 1
strip_debug
rm -rf $TMPDIR
make package pkgdir=$TMPDIR || exit 1
mkdir -p $DESTDIR/share/netpbm || exit 1
cp -vdpR $TMPDIR/{bin,lib,include} $DESTDIR/ || exit
cp -vdpR $TMPDIR/link/* $DESTDIR/lib/ || exit
cp -vdpR $TMPDIR/man $DESTDIR/share/ || exit
cp -vdpR $TMPDIR/misc/* $DESTDIR/share/netpbm/ || exit
rm -rf $TMPDIR
fi
;;
install )
if [ "$CONFIG_NETPBM" = "y" ]; then
rm -rf $TMPDIR
make package pkgdir=$TMPDIR || exit 1
DESTDIR=$CDDIR/usr
mkdir -p $DESTDIR/share/netpbm || exit 1
cp -vdpR $TMPDIR/{bin,lib} $DESTDIR/ || exit
cp -vdpR $TMPDIR/man $DESTDIR/share/ || exit
cp -vdpR $TMPDIR/misc/* $DESTDIR/share/netpbm/ || exit
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: libungif ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/libungif,v $
# $Revision: 1.2 $
# $Date: 2006/10/23 16:54:55 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: libungif
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description:
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
./configure --prefix=/usr || exit 1
make $PMAKE || exit 1
strip_debug
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
install )
rm -rf $TMPDIR
mkdir -p $TMPDIR || exit 1
make install DESTDIR=$TMPDIR || exit 1
rm -rf $TMPDIR/usr/include || exit 1
rm -rf $TMPDIR/usr/lib/*.*a || exit 1
cp -dpvR $TMPDIR/* $CDDIR/ || exit 1
rm -rf $TMPDIR
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
Index: grub
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/grub,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- grub 1 Feb 2005 01:22:41 -0000 1.11
+++ grub 23 Oct 2006 16:54:55 -0000 1.12
@@ -31,16 +31,16 @@
touch grub-patches.done
fi
if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then
- CFLAGS="-Os -fno-stack-protector -no-pie -static"
+ CFLAGS="-Os -fno-stack-protector"
else
- CFLAGS="-Os -no-pie -static"
+ CFLAGS="-Os"
fi
export CFLAGS
#autoreconf --install --force
aclocal
automake
autoconf
- ./configure --prefix=/usr --sbindir=/sbin --disable-auto-linux-mem-opt --disable-nls || exit 1
+ ./configure --prefix=/usr --sbindir=/sbin --disable-auto-linux-mem-opt
make $PMAKE || exit 1
pushd grub > /dev/null || exit 1
@@ -56,9 +56,10 @@
make install DESTDIR=$TMPDIR || exit 1
copy_docs $TMPDIR
mkdir -p $CDDIR/sbin
- cp -p $TMPDIR/sbin/grub* $CDDIR/sbin/ || exit 1
+ cp -dpvR $TMPDIR/sbin/* $CDDIR/sbin/ || exit 1
+ cp -dpvR $TMPDIR/usr/lib $CDDIR/usr/ || exit 1
mkdir -p $CDDIR/boot/grub
- cp -p $TMPDIR/usr/lib/grub/i386-pc/* $CDDIR/boot/grub/ || exit 1
+ cp -dpvR $TMPDIR/usr/lib/grub/i386-pc/* $CDDIR/boot/grub/ || exit 1
cp -p $DL_DIR/other/devil-linux.xpm.gz $CDDIR/boot/grub/ || exit 1
rm -rf $TMPDIR || exit 1
;;
@@ -69,4 +70,3 @@
exit 1
;;
esac
-
|