Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage.rc.global.in

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

trunk/mage/usr/lib/mage/mage.rc.global revision 1085 by niro, Mon Jun 28 18:15:44 2010 UTC trunk/mage/usr/lib/mage/mage.rc.global.in revision 1605 by niro, Tue Jan 3 20:14:43 2012 UTC
# Line 1  Line 1 
 # $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 $  
 #  
1  # mage.rc.global - global configuration file for mage  # mage.rc.global - global configuration file for mage
2  # will be overidden by /etc/mage.rc  # $Id$
3    #
4    # !! Do not edit this file, it will be overwritten on update. !!
5    # !! Use /etc/mage.rc instead to override any settings. !!
6  #  #
7    
8  ## default locations  ## Default locations
9  PKGDIR="/var/cache/mage/packages"  PKGDIR="/var/cache/mage/packages"
10  SRCPKGDIR="/var/cache/mage/packages/sources"  SRCPKGDIR="/var/cache/mage/packages/sources"
11  BUILDDIR="/var/tmp/magebuild"  BUILDDIR="/var/tmp/magebuild"
# Line 17  SOURCEDIR="/var/cache/mage/sources" Line 18  SOURCEDIR="/var/cache/mage/sources"
18  BINDIR="${BUILDDIR}/builded"  BINDIR="${BUILDDIR}/builded"
19  SMAGESCRIPTSDIR="/var/cache/mage/smage"  SMAGESCRIPTSDIR="/var/cache/mage/smage"
20    
21  # set default install root to /  # Set default install root to /
22  : ${MROOT=""}  : ${MROOT=""}
23    
24  # set default user mage.rc  # Set default user mage.rc
25  : ${MAGERC="/etc/mage.rc"}  : ${MAGERC="/etc/mage.rc"}
26    
27  # default options  # Distribution settings
28  PKGSUFFIX="mpk"  # Internal default: MAGE_DISTRIBUTION=stable
29  VERBOSE="on"  # stable | testing | unstable
30  MAGEDEBUG="off"  : ${MAGE_DISTRIBUTION="stable"}
 ARCH="i686"  
 : ${MAGE_UNINSTALL_TIMEOUT="3"}  
 PACKAGES_SERVER_PATH="packages/${ARCH}"  
31    
32  # default fetch options for rsync  # Default options
33  RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"  : ${MAGE_UNINSTALL_TIMEOUT="3"}
34    
35  # default fetch options for wget  # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
36  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"  # MAGE_TREE_DEST must be also set. You should set it to the same value as MAGEDIR.
37    MAGE_TREE_DEST="${MAGEDIR}"
38    
39  # default build options  # Arch specific options and build flags
40    ARCH="@@ARCH@@"
41  CHOST="${ARCH}-pc-linux-gnu"  CHOST="${ARCH}-pc-linux-gnu"
42  CFLAGS="-mtune=${ARCH} -O2 -pipe"  CFLAGS="-mtune=${ARCH} -O2 -pipe"
43  CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
44  SMAGE_USE_CCACHE="false"  LDFLAGS="-Wl,--as-needed"
 SMAGE_USE_DISTCC="false"  
45  MAKEOPTS="-j2"  MAKEOPTS="-j2"
46    
47  # distcc specific  # Strip options
48    STRIP_DYN_LIB="--strip-unneeded"
49    STRIP_DYN_BIN="--strip-all"
50    STRIP_STATIC_LIB="--strip-debug"
51    
52    # Extension defaults
53    #  Do not modify these settings unless you know what you are doing
54    PKGSUFFIX="mpk"
55    SRCPKGSUFFIX="mpks"
56    MAGESUFFIX="mage"
57    SMAGESUFFIX="smage2"
58    
59    # Purge targets
60    # Array with all files which shall be removed from every package on build-time
61    # Do not touch these settings if you don't know what you are doing
62    PURGE_TARGETS=( usr/share/info/dir )
63    
64    # Distcc specific settings
65  #DISTCC_HOSTS=""  #DISTCC_HOSTS=""
66  DISTCC_DIR="${BUILDDIR}/.distcc"  DISTCC_DIR="${BUILDDIR}/.distcc"
67  DISTCC_VERBOSE="0"  DISTCC_VERBOSE="0"
68  DISTCC_LOG="/var/log/distcc.log"  DISTCC_LOG="/var/log/distcc.log"
69    
70  # default mirrors  # Default mirrors and download options
71  MIRRORS="http://magellan-linux.de/magellan"  MIRRORS="http://magellan-linux.de/magellan"
72  GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"  GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
73  SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"  SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"
# Line 59  GNOME_MIRRORS="http://ftp.gnome.org/pub/ Line 75  GNOME_MIRRORS="http://ftp.gnome.org/pub/
75  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
76  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
77  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
78    PACKAGES_SERVER_PATH="packages/${ARCH}"
79    
80  # old distribution settings  # Default fetch options for rsync
81  # only for compat; will disapear soon  RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
82  #USE_TESTING=true  # Default fetch options for wget
83  #USE_UNSTABLE=true  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
   
 # new distribution settings  
 # internal default: MAGE_DISTRIBUTION=stable  
 # stable | testing | unstable  
 : ${MAGE_DISTRIBUTION="stable"}  
84    
85  # enables on-the-fly regeneration of the mage tree via smage2 files.  # All supported global features in mage/smage:
86  # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.  # You can negate any feature with a ! in front
87  #REGEN_MAGE_TREE=true  # Please use the MAGE_FEATURES array to override these settings in local mage.rc
88  #MAGE_TREE_DEST="${MAGEDIR}"  #
89    #      autosvc|!autosvc
90  # creates on-the-fly source-tarballs when building packages with smage2  #          * Automatically start/stop/restarts services on installation
91  #CREATE_SRC_PKG_TARBALL=true  #      buildlog|!buildlog
92    #          * Enables logging of smage builds
93  # enables step-by-step execution of the smage-file (for debugging only)  #          * Currently for src_pepare, src_compile, src_install functions only
94  #STEP_BY_STEP=true  #          * For developers only
95    #      ccache|!ccache
96  # disables logging of smage builds  #          * Enable ccache support in smage
97  # currently for src_pepare, src_compile, src_install functions only  #          * ccache must be installed to use this feature
98  #SMAGE_BUILD_LOGGING=false  #          * For developers only
99    #      check|!check
100    #          * Runs the check function src_check() after completing src_compile()
101    #          * For developers only
102    #      compressdoc|!compressdoc
103    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
104    #          * For developers only
105    #      debug|!debug
106    #          * Enables or disables debug mode
107    #          * Do not touch this feature if you don't know what you are doing
108    #          * The debug mode may break things like resolving dependencies
109    #          * For developers only
110    #      distcc|!distcc
111    #          * Enable distcc support in smage
112    #          * distcc must be installed to use this feature
113    #          * For developers only
114    #      kernelsrcunpack|!kernelsrcunpack
115    #          * Automatically unpacks any kernel-sources tarballs to /usr/src
116    #      libtool|!libtool
117    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
118    #          * For developers only
119    #      linuxsymlink|!linuxsymlink
120    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
121    #          * Requires the kernelsrcunpack feature to be activated
122    #      pkgbuild|!pkgbuild
123    #          * Enables or disables the package build process
124    #          * !buildpkg feature is only intended to be used for special-cases,
125    #          * like virtuals and not to be a global feature. Use this with care.
126    #          * Only disable this feature, if you know what you are doing!
127    #          * For developers only
128    #      purge|!purge
129    #          * Purges files specified by PURGE_TARGETS array from every package build
130    #          * Do not touch this feature if you don't know what you are doing
131    #          * For developers only
132    #      qalint|!qalint
133    #          * Quality assurance checks will be run while building a package
134    #          * Magellan lint utilities must be installed to use this feature
135    #          * Only enable this feature for QA purposes only,
136    #          * pkgbuild may fail even on non-fatal errors and warnings
137    #          * For developers only
138    #      regentree|!regentree
139    #          * Automatically import packages in the mage-tree after building with smage
140    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
141    #          * For developers only
142    #      stepbystep|!stepbystep
143    #          * Enables step-by-step execution of the smage-file for debugging
144    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
145    #          * For developers only
146    #      srcpkgbuild|!srcpkgbuild
147    #          * Enable this to create source-tarballs on-the-fly when building packages
148    #          * For developers only
149    #      srcpkgtarball|!srcpkgtarball
150    #          * let smage build the package from a src tarball .mpks
151    #          * Do not touch this feature, for internal use only!!
152    #      strip|!strip
153    #          * Enables stripping to remove debugging symbols of resulting binaries
154    #          * For developers only
155    #      verbose|!verbose
156    #          * Enables or disables verbose mode
157    #
158    # To individually change these features within a smage file, you can use the msetfeature() function
159    #
160    MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "purge" "!qalint" "regentree" "!srcpkgbuild" "!srcpkgtarball" "!stepbystep" "strip" "!verbose" )

Legend:
Removed from v.1085  
changed lines
  Added in v.1605