--- trunk/mage/etc/mage.rc.example 2006/12/29 23:37:07 405 +++ trunk/mage/etc/mage.rc.example 2012/01/03 20:21:41 1607 @@ -1,59 +1,84 @@ -PKGDIR="/var/cache/mage/packages" -BUILDDIR="/var/tmp/magebuild" -INSTALLDB="/var/db/mage" -MAGEDIR="/usr/mage" -VERBOSE="on" -MAGEDEBUG="off" -ARCH=i686 +# /etc/mage.rc - local mage configuration file +# use this file to override any settings of mage.rc.global +# $Id$ +# Default mirrors and download options MIRRORS="http://magellan-linux.de/magellan" RSYNC="rsync://magellan-linux.de/mage-ix86" - -# for developers or source-install only: -#BINDIR="${BUILDDIR}/builded" -#CHOST="${ARCH}-pc-linux-gnu" -#CFLAGS="-mtune=${ARCH} -O2 -pipe" -#CXXFLAGS="${CFLAGS}" - -# smage2 directories -#SOURCEDIR="/var/cache/mage/sources" -#SRCPKGDIR="/var/cache/mage/packages/sources" -#SMAGESCRIPTSDIR="/var/cache/mage/smage" -#SMAGE2RSYNC="rsync://magellan-linux.de/smage-ix86" - -# enable ccache support; make sure you have dev-util/ccache installed. -#SMAGE_USE_CCACHE=true - -# enable distcc support; make sure you have dev-util/distcc installed. -#SMAGE_USE_DISTCC=true - -# you can either put your hosts here or use distcc-config, -# or export them into environment. -#DISTCC_HOSTS="192.168.0.214 192.168.0.190" - -# distcc temp and state directory. -# when you run any distccmon-xxx you must point them to it, -# to be able to see any proggress. -# e.g.: DISTCC_DIR=/var/tmp/magebuild/.distcc distccmon-text -#DISTCC_DIR="${BUILDDIR}/.distcc" - -# set verbose/debug mode on; you should pipe this into a logfile, -# rather to let syslogd manage this stuff -#DISTCC_VERBOSE=0 # 0=off; 1=on - -# place where your distcc logfile belongs. -# this file may get very big; be warned. -#DISTCC_LOG=/var/log/distcc.log - -# how many jobs will be compiled at the same time. -# please set this value twice to your numbers of cpus. -#MAKEOPTS=-j2 - -# 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}" - -# creates on-the-fly source-tarballs when building packages with smage2 -#CREATE_SRC_PKG_TARBALL=true \ No newline at end of file +# All supported global features in mage/smage: +# You can negate any feature with a ! in front +# Please use the MAGE_FEATURES array to override these settings in local mage.rc +# +# autosvc|!autosvc +# * Automatically start/stop/restarts services on installation +# buildlog|!buildlog +# * Enables logging of smage builds +# * Currently for src_pepare, src_compile, src_install functions only +# * For developers only +# ccache|!ccache +# * Enable ccache support in smage +# * ccache must be installed to use this feature +# * For developers only +# check|!check +# * Runs the check function src_check() after completing src_compile() +# * For developers only +# compressdoc|!compressdoc +# * Enables compression of man, info and other doc files for minimizing diskspace usage +# * For developers only +# debug|!debug +# * Enables or disables debug mode +# * Do not touch this feature if you don't know what you are doing +# * The debug mode may break things like resolving dependencies +# * For developers only +# distcc|!distcc +# * Enable distcc support in smage +# * distcc must be installed to use this feature +# * For developers only +# kernelsrcunpack|!kernelsrcunpack +# * Automatically unpacks any kernel-sources tarballs to /usr/src +# libtool|!libtool +# * Includes .la libtool archives in builded packages, to remove them set !libtool +# * For developers only +# linuxsymlink|!linuxsymlink +# * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version +# * Requires the kernelsrcunpack feature to be activated +# pkgbuild|!pkgbuild +# * Enables or disables the package build process +# * !buildpkg feature is only intended to be used for special-cases, +# * like virtuals and not to be a global feature. Use this with care. +# * Only disable this feature, if you know what you are doing! +# * For developers only +# purge|!purge +# * Purges files specified by PURGE_TARGETS array from every package build +# * Do not touch this feature if you don't know what you are doing +# * For developers only +# qalint|!qalint +# * Quality assurance checks will be run while building a package +# * Magellan lint utilities must be installed to use this feature +# * Only enable this feature for QA purposes only, +# * pkgbuild may fail even on non-fatal errors and warnings +# * For developers only +# regentree|!regentree +# * Automatically import packages in the mage-tree after building with smage +# * The target mage-tree can be defined with the MAGE_TREE_DEST variable +# * For developers only +# stepbystep|!stepbystep +# * Enables step-by-step execution of the smage-file for debugging +# * Currently for src_pepare(), src_compile(), src_check(), src_install() functions +# * For developers only +# srcpkgbuild|!srcpkgbuild +# * Enable this to create source-tarballs on-the-fly when building packages +# * For developers only +# srcpkgtarball|!srcpkgtarball +# * let smage build the package from a src tarball .mpks +# * Do not touch this feature, for internal use only!! +# strip|!strip +# * Enables stripping to remove debugging symbols of resulting binaries +# * For developers only +# verbose|!verbose +# * Enables or disables verbose mode +# +# To individually change these features within a smage file, you can use the msetfeature() function +# +#MAGE_FEATURES=( "autosvc" "ccache" "distcc" "verbose" )