Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1605 - (show annotations) (download)
Tue Jan 3 20:14:43 2012 UTC (12 years, 3 months ago) by niro
File size: 6760 byte(s)
-renamed mage.rc.global > mage.rc.global.in
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=${ARCH} -O2 -pipe"
43 CXXFLAGS="${CFLAGS}"
44 LDFLAGS="-Wl,--as-needed"
45 MAKEOPTS="-j2"
46
47 # 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=""
66 DISTCC_DIR="${BUILDDIR}/.distcc"
67 DISTCC_VERBOSE="0"
68 DISTCC_LOG="/var/log/distcc.log"
69
70 # Default mirrors and download options
71 MIRRORS="http://magellan-linux.de/magellan"
72 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"
74 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
75 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"
77 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
78 PACKAGES_SERVER_PATH="packages/${ARCH}"
79
80 # Default fetch options for rsync
81 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
82 # Default fetch options for wget
83 WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
84
85 # All supported global features in mage/smage:
86 # You can negate any feature with a ! in front
87 # Please use the MAGE_FEATURES array to override these settings in local mage.rc
88 #
89 # autosvc|!autosvc
90 # * Automatically start/stop/restarts services on installation
91 # buildlog|!buildlog
92 # * Enables logging of smage builds
93 # * Currently for src_pepare, src_compile, src_install functions only
94 # * For developers only
95 # ccache|!ccache
96 # * Enable ccache support in smage
97 # * ccache must be installed to use this feature
98 # * 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" )