--- trunk/mage/usr/lib/mage/mage.rc.global 2007/03/19 19:09:47 438 +++ trunk/mage/usr/lib/mage/mage.rc.global 2011/12/27 10:52:11 1553 @@ -1,10 +1,11 @@ -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.7 2007-03-19 19:09:47 niro Exp $ -# # mage.rc.global - global configuration file for mage -# will be overidden by /etc/mage.rc +# $Id$ +# +# !! Do not edit this file, it will be overwritten on update. !! +# !! Use /etc/mage.rc instead to override any settings. !! # -## default locations +## Default locations PKGDIR="/var/cache/mage/packages" SRCPKGDIR="/var/cache/mage/packages/sources" BUILDDIR="/var/tmp/magebuild" @@ -17,22 +18,27 @@ BINDIR="${BUILDDIR}/builded" SMAGESCRIPTSDIR="/var/cache/mage/smage" -# set default install root to / +# Set default install root to / : ${MROOT=""} -# set default user mage.rc +# Set default user mage.rc : ${MAGERC="/etc/mage.rc"} -# default options +# Default options PKGSUFFIX="mpk" VERBOSE="on" MAGEDEBUG="off" ARCH="i686" -: ${MAGE_UNINSTALL_TIMEOUT="5"} +: ${MAGE_UNINSTALL_TIMEOUT="3"} PACKAGES_SERVER_PATH="packages/${ARCH}" + +# Default fetch options for rsync RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" -# default build options +# Default fetch options for wget +WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" + +# Arch specific options and build flags CHOST="${ARCH}-pc-linux-gnu" CFLAGS="-mtune=${ARCH} -O2 -pipe" CXXFLAGS="${CFLAGS}" @@ -40,33 +46,42 @@ SMAGE_USE_DISTCC="false" MAKEOPTS="-j2" -# distcc specific +# Strip options +STRIP_DYN_LIB="--strip-unneeded" +STRIP_DYN_BIN="--strip-all" +STRIP_STATIC_LIB="--strip-debug" + +# Distcc specific settings #DISTCC_HOSTS="" DISTCC_DIR="${BUILDDIR}/.distcc" DISTCC_VERBOSE="0" DISTCC_LOG="/var/log/distcc.log" -# default mirrors +# Default mirrors and download options MIRRORS="http://magellan-linux.de/magellan" GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" +GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" +KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" RSYNC="rsync://magellan-linux.de/mage-ix86" SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" -# old distribution settings -# only for compat; will disapear soon -#USE_TESTING=true -#USE_UNSTABLE=true - -# new distribution settings -# internal default: MAGE_DISTRIBUTION=stable +# Distribution settings +# Internal default: MAGE_DISTRIBUTION=stable # stable | testing | unstable : ${MAGE_DISTRIBUTION="stable"} # enables on-the-fly regeneration of the mage tree via smage2 files. # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR. #REGEN_MAGE_TREE=true -#MAGE_TREE_DEST="${MAGEDIR}" +MAGE_TREE_DEST="${MAGEDIR}" # creates on-the-fly source-tarballs when building packages with smage2 #CREATE_SRC_PKG_TARBALL=true + +# enables step-by-step execution of the smage-file (for debugging only) +#STEP_BY_STEP=true + +# disables logging of smage builds +# currently for src_pepare, src_compile, src_install functions only +#SMAGE_BUILD_LOGGING=false