--- trunk/mage/usr/lib/mage/mage.rc.global 2006/12/29 23:44:27 407 +++ trunk/mage/usr/lib/mage/mage.rc.global 2011/12/27 10:58:02 1556 @@ -1,10 +1,11 @@ -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.5 2006-12-29 23:44:27 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,19 +18,24 @@ BINDIR="${BUILDDIR}/builded" SMAGESCRIPTSDIR="/var/cache/mage/smage" -# set default install root to / +# Set default install root to / : ${MROOT=""} -# default options -PKGSUFFIX="mpk" +# Set default user mage.rc +: ${MAGERC="/etc/mage.rc"} + +# Distribution settings +# Internal default: MAGE_DISTRIBUTION=stable +# stable | testing | unstable +: ${MAGE_DISTRIBUTION="stable"} + +# Default options VERBOSE="on" MAGEDEBUG="off" -ARCH="i686" -: ${MAGE_UNINSTALL_TIMEOUT="5"} -PACKAGES_SERVER_PATH="packages/${ARCH}" -RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" +: ${MAGE_UNINSTALL_TIMEOUT="3"} -# default build options +# Arch specific options and build flags +ARCH="i686" CHOST="${ARCH}-pc-linux-gnu" CFLAGS="-mtune=${ARCH} -O2 -pipe" CXXFLAGS="${CFLAGS}" @@ -37,31 +43,50 @@ 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" + +# Extension defaults +# Do not modify these settings unless you know what you are doing +PKGSUFFIX="mpk" +SRCPKGSUFFIX="mpks" +MAGESUFFIX="mage" +SMAGESUFFIX="smage2" + +# 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" +PACKAGES_SERVER_PATH="packages/${ARCH}" -# old distribution settings -# only for compat; will disapear soon -#USE_TESTING=true -#USE_UNSTABLE=true - -# new distribution settings -# internal default: MAGE_DISTRIBUTION=stable -# stable | testing | unstable -: ${MAGE_DISTRIBUTION="stable"} +# Default fetch options for rsync +RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" +# Default fetch options for wget +WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" # 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