Magellan Linux

Contents of /branches/mage-next/usr/lib/mage/mage.rc.global.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2523 - (show annotations) (download)
Wed Jan 29 10:37:57 2014 UTC (10 years, 3 months ago) by niro
File size: 8476 byte(s)
-open mage-next branch
1 # mage.rc.global - global configuration file for mage
2 # $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
9 PKGDIR="/var/cache/mage/packages"
10 SRCPKGDIR="/var/cache/mage/packages/sources"
11 BUILDDIR="/var/tmp/magebuild"
12 INSTALLDB="/var/db/mage"
13 MAGEDIR="/usr/mage"
14 MLIBDIR="/usr/lib/mage"
15 VIRTUALDB_DEFAULTS="/etc/mage-profile/virtuals.defaults"
16 VIRTUALDB_FILE="${INSTALLDB}/virtuals"
17 SOURCEDIR="/var/cache/mage/sources"
18 BINDIR="${BUILDDIR}/builded"
19 SMAGESCRIPTSDIR="/var/cache/mage/smage"
20
21 # Set default install root to /
22 : ${MROOT=""}
23
24 # Set default user mage.rc
25 : ${MAGERC="/etc/mage.rc"}
26
27 # Distribution settings
28 # Internal default: MAGE_DISTRIBUTION=stable
29 # stable | testing | unstable
30 : ${MAGE_DISTRIBUTION="stable"}
31
32 # Default options
33 : ${MAGE_UNINSTALL_TIMEOUT="3"}
34
35 # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
36 # MAGE_TREE_DEST must be also set. You should set it to the same value as MAGEDIR.
37 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}"
44 LDFLAGS="-Wl,--as-needed"
45 MAKEOPTS="-j2"
46
47 # 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 # Default destination macros for smage
58 # Do not modify these settings unless you know what you are doing
59 M_MACRO_PREFIX="@@M_MACRO_PREFIX@@"
60 M_MACRO_EXECPREFIX="@@M_MACRO_EXECPREFIX@@"
61 M_MACRO_SYSCONFDIR="@@M_MACRO_SYSCONFDIR@@"
62 M_MACRO_BINDIR="@@M_MACRO_BINDIR@@"
63 M_MACRO_SBINDIR="@@M_MACRO_SBINDIR@@"
64 M_MACRO_LIBDIR="@@M_MACRO_LIBDIR@@"
65 M_MACRO_LIB64DIR="@@M_MACRO_LIB64DIR@@"
66 M_MACRO_DATADIR="@@M_MACRO_DATADIR@@"
67 M_MACRO_MANDIR="@@M_MACRO_MANDIR@@"
68 M_MACRO_INFODIR="@@M_MACRO_INFODIR@@"
69 M_MACRO_DOCDIR="@@M_MACRO_DOCDIR@@"
70 M_MACRO_LOCALSTATEDIR="@@M_MACRO_LOCALSTATEDIR@@"
71
72 # Extension defaults
73 # Do not modify these settings unless you know what you are doing
74 PKGSUFFIX="mpk"
75 SRCPKGSUFFIX="mpks"
76 MAGESUFFIX="mage"
77 SMAGESUFFIX="smage2"
78
79 # Purge targets
80 # Array with all files which shall be removed from every package on build-time
81 # Do not touch these settings if you don't know what you are doing
82 PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
83
84 # Distcc specific settings
85 #DISTCC_HOSTS=""
86 DISTCC_DIR="${BUILDDIR}/.distcc"
87 DISTCC_VERBOSE="0"
88 DISTCC_LOG="/var/log/distcc.log"
89
90 # Default mirrors and download options
91 MIRRORS="http://magellan-linux.de/magellan"
92 GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
93 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 "
94 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
95 KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
96 RSYNC="rsync://magellan-linux.de/mage-ix86"
97 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
98 PACKAGES_SERVER_PATH="packages/$(eval echo \${ARCH})"
99
100 # Default fetch options for rsync
101 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
102 # Default fetch options for wget
103 WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
104 # Default update method for the package database - 'rsync' or 'tarball' method can be selected
105 MAGE_UPDATE_METHOD="tarball"
106
107 # All supported global features in mage/smage:
108 # You can negate any feature with a ! in front
109 # Please use the MAGE_FEATURES array to override these settings in local mage.rc
110 #
111 # autosvc|!autosvc
112 # * Automatically start/stop/restarts services on installation
113 # buildlog|!buildlog
114 # * Enables logging of smage builds
115 # * Currently for src_pepare, src_compile, src_install functions only
116 # * For developers only
117 # ccache|!ccache
118 # * Enable ccache support in smage
119 # * ccache must be installed to use this feature
120 # * For developers only
121 # check|!check
122 # * Runs the check function src_check() after completing src_compile()
123 # * For developers only
124 # compressdoc|!compressdoc
125 # * Enables compression of man, info and other doc files for minimizing diskspace usage
126 # * For developers only
127 # debug|!debug
128 # * Enables or disables debug mode
129 # * Do not touch this feature if you don't know what you are doing
130 # * The debug mode may break things like resolving dependencies
131 # * For developers only
132 # distcc|!distcc
133 # * Enable distcc support in smage
134 # * distcc must be installed to use this feature
135 # * For developers only
136 # icecc|!icecc
137 # * Enable icecc support in smage
138 # * icecream must be installed to use this feature
139 # * For developers only
140 # kernelsrcunpack|!kernelsrcunpack
141 # * Automatically unpacks any kernel-source tarballs to /usr/src
142 # libtool|!libtool
143 # * Includes .la libtool archives in builded packages, to remove them set !libtool
144 # * For developers only
145 # linuxsymlink|!linuxsymlink
146 # * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
147 # * Requires the kernelsrcunpack feature to be activated
148 # pkgbuild|!pkgbuild
149 # * Enables or disables the package build process
150 # * !pkgbuild feature is only intended to be used for special-cases,
151 # * like virtuals and not to be a global feature. Use this with care.
152 # * Only disable this feature, if you know what you are doing!
153 # * For developers only
154 # pkgdistrotag|!pkgdistrotag
155 # * Appends the distribution codename-tag to the builded packages
156 # * Do not touch this feature, for internal use only!!
157 # * For developers only
158 # purge|!purge
159 # * Purges files specified by PURGE_TARGETS array from every package build
160 # * Do not touch this feature if you don't know what you are doing
161 # * For developers only
162 # qalint|!qalint
163 # * Quality assurance checks will be run while building a package
164 # * Magellan lint utilities must be installed to use this feature
165 # * Only enable this feature for QA purposes only,
166 # * pkgbuild may fail even on non-fatal errors and warnings
167 # * For developers only
168 # regentree|!regentree
169 # * Automatically import packages in the mage-tree after building with smage
170 # * The target mage-tree can be defined with the MAGE_TREE_DEST variable
171 # * For developers only
172 # resume|!resume
173 # * resumes a build from the last successful step
174 # * Do not touch this feature, for internal use only!!
175 # * For developers only
176 # srcpkgbuild|!srcpkgbuild
177 # * Enable this to create source-tarballs on-the-fly when building packages
178 # * For developers only
179 # srcpkgtarball|!srcpkgtarball
180 # * Let smage build the package from a src tarball .mpks
181 # * Do not touch this feature, for internal use only!!
182 # static|!static
183 # * Let mconfigure() enable or disable compilation of static libraries
184 # * For developers only
185 # stepbystep|!stepbystep
186 # * Enables step-by-step execution of the smage-file for debugging
187 # * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
188 # * For developers only
189 # strip|!strip
190 # * Enables stripping to remove debugging symbols of resulting binaries
191 # * For developers only
192 # verbose|!verbose
193 # * Enables or disables verbose mode
194 #
195 # To individually change these features within a smage file, you can use the msetfeature() function
196 #
197 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" )