Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2806 - (show annotations) (download)
Tue Sep 2 13:55:19 2014 UTC (9 years, 8 months ago) by niro
File size: 7913 byte(s)
-make smage log directory configurable
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 SMAGELOGDIR="/var/log/smage"
21
22 # Set default install root to /
23 : ${MROOT=""}
24
25 # Set default user mage.rc
26 : ${MAGERC="/etc/mage.rc"}
27
28 # Distribution settings
29 # Internal default: MAGE_DISTRIBUTION=stable
30 # stable | testing | unstable
31 : ${MAGE_DISTRIBUTION="stable"}
32
33 # Default options
34 : ${MAGE_UNINSTALL_TIMEOUT="3"}
35
36 # Use MAGE_FEATURE 'regentree' to enable on-the-fly regeneration of the mage tree.
37 # 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
41 ARCH="@@ARCH@@"
42 CHOST="@@ARCH@@-pc-linux-gnu"
43 CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe"
44 CXXFLAGS="${CFLAGS}"
45 LDFLAGS="-Wl,--as-needed"
46 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
54 STRIP_DYN_LIB="--strip-unneeded"
55 STRIP_DYN_BIN="--strip-all"
56 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
71 #DISTCC_HOSTS=""
72 DISTCC_DIR="${BUILDDIR}/.distcc"
73 DISTCC_VERBOSE="0"
74 DISTCC_LOG="/var/log/distcc.log"
75
76 # Default mirrors and download options
77 MIRRORS="http://magellan-linux.de/magellan"
78 GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
79 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/"
81 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"
83 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
84 PACKAGES_SERVER_PATH="packages/${ARCH}"
85
86 # Default fetch options for rsync
87 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
88 # Default fetch options for wget
89 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 MAGE_UPDATE_METHOD="tarball"
92
93 # All supported global features in mage/smage:
94 # You can negate any feature with a ! in front
95 # 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" )