Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19509/scripts Modified Files: cyrus-imapd heartbeat ipsec-tools mgetty openh323 pwlib rng-tools rp-pppoe settings xfsprogs Log Message: - vmware init script now changes the scheduler to noop for all block devices (better perfomance since the vm host needs to schedule across all vms) - updated rp-pppoe to 3.10 - added AMD-K8 support to Kernel (build system only) - added initial support for selection different CPU kinds for GCC (build system only) - updated attr_2.4.43-1 - updated xfsprogs_2.10.2-1 - added missing directory /var/racoon Index: pwlib =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/pwlib,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- pwlib 1 May 2007 00:30:31 -0000 1.20 +++ pwlib 10 Jan 2009 17:28:02 -0000 1.21 @@ -32,7 +32,7 @@ if [ "$CONFIG_PWLIB" = "y" ]; then rm -f /usr/lib/libpt_linux_x86_r.so /usr/lib/libpt.so export PWLIBDIR=$PWD - CFLAGS="-Os" + CFLAGS="$CFLAGS -Os" export CFLAGS # remove the --disable-openldap once a pwlib update comes out ./configure --prefix=/usr --disable-openldap || exit 1 Index: xfsprogs =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/xfsprogs,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- xfsprogs 1 Feb 2008 10:23:51 -0000 1.28 +++ xfsprogs 10 Jan 2009 17:28:02 -0000 1.29 @@ -30,7 +30,7 @@ if [ "$CONFIG_XFS" = "y" ]; then autoconf || exit 1 ./configure --prefix= --enable-shared=yes --enable-shared-uuid=yes --enable-gettext=no || exit 1 - make $PMAKE || exit 1 + make DEBUG=-DNDEBUG $PMAKE || exit 1 strip_debug fi ;; Index: settings =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/settings,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- settings 23 Dec 2007 00:10:11 -0000 1.56 +++ settings 10 Jan 2009 17:28:02 -0000 1.57 @@ -62,7 +62,7 @@ else DL_VERSION="$(cat $SCRCONFIG/VERSION)-$(date -u --iso-8601)" fi -DL_VERSION_FULL="$DL_VERSION-i$CONFIG_CPU" +DL_VERSION_FULL="$DL_VERSION-$CONFIG_GCC_CPU" ISODIR=$WORKDIR/ISO INITRDDIR=$ISODIR/initrdtree @@ -102,3 +102,6 @@ if [ ! "$CONFIG_LINUX_VERSION" = "2.4" ]; then KERNEL_CONFIG_DIR=$DL_DIR/scripts/config/linux-$CONFIG_LINUX_VERSION fi + +export CFLAGS="-mtune=${CONFIG_GCC_CPU} -march=${CONFIG_GCC_CPU}" +export CXXFLAGS="$CFLAGS" Index: cyrus-imapd =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cyrus-imapd,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- cyrus-imapd 14 May 2008 11:46:51 -0000 1.30 +++ cyrus-imapd 10 Jan 2009 17:28:02 -0000 1.31 @@ -36,7 +36,7 @@ fi # com_err.h must be found in /usr/include, so let's create a symlink ln -sf /usr/include/et/com_err.h /usr/include || exit 1 - export CFLAGS=-pthread + export CFLAGS="$CFLAGS -pthread" export LDFLAGS=-pthread ./configure --prefix=/usr --with-cyrus-prefix=/usr/lib/cyrus --with-cyrus-user=cyrus --with-cyrus-group=mail \ --enable-shared --enable-netscapehack \ Index: rng-tools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/rng-tools,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- rng-tools 23 Oct 2007 06:47:03 -0000 1.1 +++ rng-tools 10 Jan 2009 17:28:02 -0000 1.2 @@ -23,7 +23,7 @@ case $1 in build ) if [ "$CONFIG_RNGTOOLS" = "y" ]; then - ./configure CFLAGS="-Wall -pipe -02" --prefix=/usr --sysconfdir=/etc --localstatedir=/var || exit 1 + ./configure CFLAGS="$CFLAGS -Wall -pipe -02" --prefix=/usr --sysconfdir=/etc --localstatedir=/var || exit 1 make $PMAKE all || exit 1 strip_debug fi Index: ipsec-tools =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/ipsec-tools,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- ipsec-tools 12 Dec 2008 19:16:17 -0000 1.13 +++ ipsec-tools 10 Jan 2009 17:28:02 -0000 1.14 @@ -65,6 +65,7 @@ rm -rf $TMPDIR/usr/{include,lib} || exit 1 copy_files $TMPDIR/etc $ETCDIR rm -rf $TMPDIR/etc || exit 1 + mkdir -p $TMPDIR/var/racoon || exit 1 cp -dvpfR $TMPDIR/* $CDDIR/ || exit 1 cp -p $MYDIR/scripts/ipsec-tools $ETCDIR/etc/init.d || exit 1 chmod +x $ETCDIR/etc/init.d/ipsec-tools Index: heartbeat =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- heartbeat 9 Jan 2009 20:05:49 -0000 1.14 +++ heartbeat 10 Jan 2009 17:28:02 -0000 1.15 @@ -37,7 +37,7 @@ #CFLAGS="-D_FORTIFY_SOURCE=0" #CC="gcc -nopie -fno-stack-protector" #CFLAGS="-fno-stack-protector -D_FORTIFY_SOURCE=0" ./ConfigureMe configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1 - CFLAGS="-fno-stack-protector -D_FORTIFY_SOURCE=0" ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1 + CFLAGS="$CFLAGS -fno-stack-protector -D_FORTIFY_SOURCE=0" ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc ${SNMP} || exit 1 make $PMAKE all || exit 1 strip_debug Index: mgetty =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/mgetty,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- mgetty 13 Dec 2004 16:41:11 -0000 1.10 +++ mgetty 10 Jan 2009 17:28:02 -0000 1.11 @@ -29,7 +29,7 @@ if [ "$CONFIG_MGETTY" = "y" ]; then replace_str Makefile /usr/local /usr cp policy.h-dist policy.h - make $PMAKE CONFDIR=/etc/mgetty+sendfax CFLAGS="-O2 -Wall -pipe -DAUTO_PPP" all || exit 1 + make $PMAKE CONFDIR=/etc/mgetty+sendfax CFLAGS="$CFLAGS -O2 -Wall -pipe -DAUTO_PPP" all || exit 1 strip_debug fi ;; Index: openh323 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/openh323,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- openh323 21 Mar 2007 15:42:21 -0000 1.16 +++ openh323 10 Jan 2009 17:28:02 -0000 1.17 @@ -35,7 +35,7 @@ export PWLIBDIR=$(find_src_dir pwlib) ./configure --prefix=/usr || exit 1 # don't use parallel builds ($PMAKE) - CFLAGS="-I/usr/src/linux/include" make || exit 1 + CFLAGS="$CFLAGS -I/usr/src/linux/include" make || exit 1 strip_debug make install || exit 1 fi Index: rp-pppoe =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/rp-pppoe,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- rp-pppoe 21 Sep 2007 09:22:33 -0000 1.18 +++ rp-pppoe 10 Jan 2009 17:28:02 -0000 1.19 @@ -48,7 +48,7 @@ rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR || exit 1 cd src - make install RPM_INSTALL_ROOT=$TMPDIR || exit 1 + make install DESTDIR=$TMPDIR || exit 1 copy_docs $TMPDIR copy_files $TMPDIR/usr $CDDIR/ || exit 1 rm -f $TMPDIR/etc/ppp/firewall* |