Magellan Linux

Diff of /branches/mage-next/conf/mage.rc.global.in

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

trunk/mage/usr/lib/mage/mage.rc.global revision 1554 by niro, Tue Dec 27 10:53:47 2011 UTC branches/mage-next/conf/mage.rc.global.in revision 2806 by niro, Tue Sep 2 13:55:19 2014 UTC
# Line 17  VIRTUALDB_FILE="${INSTALLDB}/virtuals" Line 17  VIRTUALDB_FILE="${INSTALLDB}/virtuals"
17  SOURCEDIR="/var/cache/mage/sources"  SOURCEDIR="/var/cache/mage/sources"
18  BINDIR="${BUILDDIR}/builded"  BINDIR="${BUILDDIR}/builded"
19  SMAGESCRIPTSDIR="/var/cache/mage/smage"  SMAGESCRIPTSDIR="/var/cache/mage/smage"
20    SMAGELOGDIR="/var/log/smage"
21    
22  # Set default install root to /  # Set default install root to /
23  : ${MROOT=""}  : ${MROOT=""}
# Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage" Line 31  SMAGESCRIPTSDIR="/var/cache/mage/smage"
31  : ${MAGE_DISTRIBUTION="stable"}  : ${MAGE_DISTRIBUTION="stable"}
32    
33  # Default options  # Default options
 PKGSUFFIX="mpk"  
 VERBOSE="on"  
 MAGEDEBUG="off"  
 ARCH="i686"  
34  : ${MAGE_UNINSTALL_TIMEOUT="3"}  : ${MAGE_UNINSTALL_TIMEOUT="3"}
 PACKAGES_SERVER_PATH="packages/${ARCH}"  
   
 # Default fetch options for rsync  
 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"  
35    
36  # Default fetch options for wget  # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
37  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.
38    MAGE_TREE_DEST="${MAGEDIR}"
39    
40  # Arch specific options and build flags  # Arch specific options and build flags
41  CHOST="${ARCH}-pc-linux-gnu"  ARCH="@@ARCH@@"
42  CFLAGS="-mtune=${ARCH} -O2 -pipe"  CHOST="@@ARCH@@-pc-linux-gnu"
43    CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe"
44  CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
45  SMAGE_USE_CCACHE="false"  LDFLAGS="-Wl,--as-needed"
 SMAGE_USE_DISTCC="false"  
46  MAKEOPTS="-j2"  MAKEOPTS="-j2"
47    
48    # cross-compile host
49    # set this only if you want to crosscompile
50    # you need also a cross-compile toolchain installed
51    #CTARGET="i486-pc-linux-gnu"
52    
53  # Strip options  # Strip options
54  STRIP_DYN_LIB="--strip-unneeded"  STRIP_DYN_LIB="--strip-unneeded"
55  STRIP_DYN_BIN="--strip-all"  STRIP_DYN_BIN="--strip-all"
56  STRIP_STATIC_LIB="--strip-debug"  STRIP_STATIC_LIB="--strip-debug"
57    
58    # Extension defaults
59    # Do not modify these settings unless you know what you are doing
60    PKGSUFFIX="mpk"
61    SRCPKGSUFFIX="mpks"
62    MAGESUFFIX="mage"
63    SMAGESUFFIX="smage2"
64    
65    # Purge targets
66    # Array with all files which shall be removed from every package on build-time
67    # Do not touch these settings if you don't know what you are doing
68    PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
69    
70  # Distcc specific settings  # Distcc specific settings
71  #DISTCC_HOSTS=""  #DISTCC_HOSTS=""
72  DISTCC_DIR="${BUILDDIR}/.distcc"  DISTCC_DIR="${BUILDDIR}/.distcc"
# Line 65  DISTCC_LOG="/var/log/distcc.log" Line 76  DISTCC_LOG="/var/log/distcc.log"
76  # Default mirrors and download options  # Default mirrors and download options
77  MIRRORS="http://magellan-linux.de/magellan"  MIRRORS="http://magellan-linux.de/magellan"
78  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"
79  SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"  SOURCEFORGE_MIRRORS="http://downloads.sf.net http://garr.dl.sourceforge.net/sourceforge http://dfn.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge http://belnet.dl.sourceforge.net/sourceforge "
80  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
81  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"
82  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
83  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"  SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
84    PACKAGES_SERVER_PATH="packages/${ARCH}"
85    
86  # enables on-the-fly regeneration of the mage tree via smage2 files.  # Default fetch options for rsync
87  # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.  RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
88  #REGEN_MAGE_TREE=true  # Default fetch options for wget
89  MAGE_TREE_DEST="${MAGEDIR}"  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
90    # Default update method for the package database - 'rsync' or 'tarball' method can be selected
91  # creates on-the-fly source-tarballs when building packages with smage2  MAGE_UPDATE_METHOD="tarball"
 #CREATE_SRC_PKG_TARBALL=true  
   
 # enables step-by-step execution of the smage-file (for debugging only)  
 #STEP_BY_STEP=true  
92    
93  # disables logging of smage builds  # All supported global features in mage/smage:
94  # currently for src_pepare, src_compile, src_install functions only  # You can negate any feature with a ! in front
95  #SMAGE_BUILD_LOGGING=false  # Please use the MAGE_FEATURES array to override these settings in local mage.rc
96    #
97    #      autosvc|!autosvc
98    #          * Automatically start/stop/restarts services on installation
99    #      buildlog|!buildlog
100    #          * Enables logging of smage builds
101    #          * Currently for src_pepare, src_compile, src_install functions only
102    #          * For developers only
103    #      ccache|!ccache
104    #          * Enable ccache support in smage
105    #          * ccache must be installed to use this feature
106    #          * For developers only
107    #      check|!check
108    #          * Runs the check function src_check() after completing src_compile()
109    #          * For developers only
110    #      compressdoc|!compressdoc
111    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
112    #          * For developers only
113    #      debug|!debug
114    #          * Enables or disables debug mode
115    #          * Do not touch this feature if you don't know what you are doing
116    #          * The debug mode may break things like resolving dependencies
117    #          * For developers only
118    #      distcc|!distcc
119    #          * Enable distcc support in smage
120    #          * distcc must be installed to use this feature
121    #          * For developers only
122    #      icecc|!icecc
123    #          * Enable icecc support in smage
124    #          * icecream must be installed to use this feature
125    #          * For developers only
126    #      kernelsrcunpack|!kernelsrcunpack
127    #          * Automatically unpacks any kernel-source tarballs to /usr/src
128    #      libtool|!libtool
129    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
130    #          * For developers only
131    #      linuxsymlink|!linuxsymlink
132    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
133    #          * Requires the kernelsrcunpack feature to be activated
134    #      pkgbuild|!pkgbuild
135    #          * Enables or disables the package build process
136    #          * !pkgbuild feature is only intended to be used for special-cases,
137    #          * like virtuals and not to be a global feature. Use this with care.
138    #          * Only disable this feature, if you know what you are doing!
139    #          * For developers only
140    #      pkgdistrotag|!pkgdistrotag
141    #          * Appends the distribution codename-tag to the builded packages
142    #          * Do not touch this feature, for internal use only!!
143    #          * For developers only
144    #      purge|!purge
145    #          * Purges files specified by PURGE_TARGETS array from every package build
146    #          * Do not touch this feature if you don't know what you are doing
147    #          * For developers only
148    #      qalint|!qalint
149    #          * Quality assurance checks will be run while building a package
150    #          * Magellan lint utilities must be installed to use this feature
151    #          * Only enable this feature for QA purposes only,
152    #          * pkgbuild may fail even on non-fatal errors and warnings
153    #          * For developers only
154    #      regentree|!regentree
155    #          * Automatically import packages in the mage-tree after building with smage
156    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
157    #          * For developers only
158    #      resume|!resume
159    #          * resumes a build from the last successful step
160    #          * Do not touch this feature, for internal use only!!
161    #          * For developers only
162    #      srcpkgbuild|!srcpkgbuild
163    #          * Enable this to create source-tarballs on-the-fly when building packages
164    #          * For developers only
165    #      srcpkgtarball|!srcpkgtarball
166    #          * Let smage build the package from a src tarball .mpks
167    #          * Do not touch this feature, for internal use only!!
168    #      static|!static
169    #          * Let mconfigure() enable or disable compilation of static libraries
170    #          * For developers only
171    #      stepbystep|!stepbystep
172    #          * Enables step-by-step execution of the smage-file for debugging
173    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
174    #          * For developers only
175    #      strip|!strip
176    #          * Enables stripping to remove debugging symbols of resulting binaries
177    #          * For developers only
178    #      verbose|!verbose
179    #          * Enables or disables verbose mode
180    #
181    # To individually change these features within a smage file, you can use the msetfeature() function
182    #
183    MAGE_FEATURES_GLOBAL=( "autosvc" "buildlog" "ccache" "check" "compressdoc" "!debug" "!distcc" "!icecc" "kernelsrcunpack" "!libtool" "linuxsymlink" "pkgbuild" "!pkgdistrotag" "purge" "!qalint" "regentree" "!resume" "!srcpkgbuild" "!srcpkgtarball" "!static" "!stepbystep" "strip" "!verbose" )

Legend:
Removed from v.1554  
changed lines
  Added in v.2806