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