Magellan Linux

Diff of /trunk/mage/etc/mage.rc.example

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1606 by niro, Fri Dec 29 23:37:07 2006 UTC revision 1607 by niro, Tue Jan 3 20:21:41 2012 UTC
# Line 1  Line 1 
1  PKGDIR="/var/cache/mage/packages"  # /etc/mage.rc - local mage configuration file
2  BUILDDIR="/var/tmp/magebuild"  # use this file to override any settings of mage.rc.global
3  INSTALLDB="/var/db/mage"  # $Id$
 MAGEDIR="/usr/mage"  
 VERBOSE="on"  
 MAGEDEBUG="off"  
 ARCH=i686  
4    
5    # Default mirrors and download options
6  MIRRORS="http://magellan-linux.de/magellan"  MIRRORS="http://magellan-linux.de/magellan"
7  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
8    
   
 # 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  
9    # All supported global features in mage/smage:
10    # You can negate any feature with a ! in front
11    # Please use the MAGE_FEATURES array to override these settings in local mage.rc
12    #
13    #      autosvc|!autosvc
14    #          * Automatically start/stop/restarts services on installation
15    #      buildlog|!buildlog
16    #          * Enables logging of smage builds
17    #          * Currently for src_pepare, src_compile, src_install functions only
18    #          * For developers only
19    #      ccache|!ccache
20    #          * Enable ccache support in smage
21    #          * ccache must be installed to use this feature
22    #          * For developers only
23    #      check|!check
24    #          * Runs the check function src_check() after completing src_compile()
25    #          * For developers only
26    #      compressdoc|!compressdoc
27    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
28    #          * For developers only
29    #      debug|!debug
30    #          * Enables or disables debug mode
31    #          * Do not touch this feature if you don't know what you are doing
32    #          * The debug mode may break things like resolving dependencies
33    #          * For developers only
34    #      distcc|!distcc
35    #          * Enable distcc support in smage
36    #          * distcc must be installed to use this feature
37    #          * For developers only
38    #      kernelsrcunpack|!kernelsrcunpack
39    #          * Automatically unpacks any kernel-sources tarballs to /usr/src
40    #      libtool|!libtool
41    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
42    #          * For developers only
43    #      linuxsymlink|!linuxsymlink
44    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
45    #          * Requires the kernelsrcunpack feature to be activated
46    #      pkgbuild|!pkgbuild
47    #          * Enables or disables the package build process
48    #          * !buildpkg feature is only intended to be used for special-cases,
49    #          * like virtuals and not to be a global feature. Use this with care.
50    #          * Only disable this feature, if you know what you are doing!
51    #          * For developers only
52    #      purge|!purge
53    #          * Purges files specified by PURGE_TARGETS array from every package build
54    #          * Do not touch this feature if you don't know what you are doing
55    #          * For developers only
56    #      qalint|!qalint
57    #          * Quality assurance checks will be run while building a package
58    #          * Magellan lint utilities must be installed to use this feature
59    #          * Only enable this feature for QA purposes only,
60    #          * pkgbuild may fail even on non-fatal errors and warnings
61    #          * For developers only
62    #      regentree|!regentree
63    #          * Automatically import packages in the mage-tree after building with smage
64    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
65    #          * For developers only
66    #      stepbystep|!stepbystep
67    #          * Enables step-by-step execution of the smage-file for debugging
68    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
69    #          * For developers only
70    #      srcpkgbuild|!srcpkgbuild
71    #          * Enable this to create source-tarballs on-the-fly when building packages
72    #          * For developers only
73    #      srcpkgtarball|!srcpkgtarball
74    #          * let smage build the package from a src tarball .mpks
75    #          * Do not touch this feature, for internal use only!!
76    #      strip|!strip
77    #          * Enables stripping to remove debugging symbols of resulting binaries
78    #          * For developers only
79    #      verbose|!verbose
80    #          * Enables or disables verbose mode
81    #
82    # To individually change these features within a smage file, you can use the msetfeature() function
83    #
84    #MAGE_FEATURES=( "autosvc" "ccache" "distcc" "verbose" )

Legend:
Removed from v.1606  
changed lines
  Added in v.1607