--- trunk/mage/usr/lib/mage/mage.rc.global 2008/09/02 20:31:54 761 +++ trunk/mage/usr/lib/mage/mage.rc.global 2011/12/28 12:06:30 1583 @@ -1,10 +1,11 @@ -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.9 2008-09-02 20:31:54 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,36 +18,61 @@ 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 -PKGSUFFIX="mpk" +# 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 +# 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}" + +# Arch specific options and build flags +ARCH="i686" CHOST="${ARCH}-pc-linux-gnu" CFLAGS="-mtune=${ARCH} -O2 -pipe" CXXFLAGS="${CFLAGS}" +LDFLAGS="-Wl,--as-needed" SMAGE_USE_CCACHE="false" 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" + +# Purge targets +# Array with all files which shall be removed from every package on build-time +# Do not touch these settings if you don't know what you are doing +PURGE_TARGETS=( usr/share/info/dir ) + +# 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" @@ -54,21 +80,19 @@ 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"} - -# 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}" +# 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" # 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