Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2805 - (hide annotations) (download)
Tue Sep 2 13:53:08 2014 UTC (9 years, 8 months ago) by niro
File size: 7913 byte(s)
-make smage log directory configurable
1 niro 226 # mage.rc.global - global configuration file for mage
2 niro 1552 # $Id$
3 niro 226 #
4 niro 1552 # !! Do not edit this file, it will be overwritten on update. !!
5     # !! Use /etc/mage.rc instead to override any settings. !!
6     #
7 niro 226
8 niro 1542 ## Default locations
9 niro 226 PKGDIR="/var/cache/mage/packages"
10 niro 407 SRCPKGDIR="/var/cache/mage/packages/sources"
11 niro 226 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 niro 2805 SMAGELOGDIR="/var/log/smage"
21 niro 226
22 niro 1542 # Set default install root to /
23 niro 226 : ${MROOT=""}
24    
25 niro 1542 # Set default user mage.rc
26 niro 418 : ${MAGERC="/etc/mage.rc"}
27    
28 niro 1554 # Distribution settings
29     # Internal default: MAGE_DISTRIBUTION=stable
30     # stable | testing | unstable
31     : ${MAGE_DISTRIBUTION="stable"}
32    
33 niro 1542 # Default options
34 niro 965 : ${MAGE_UNINSTALL_TIMEOUT="3"}
35 niro 1085
36 niro 1584 # 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 niro 1557 MAGE_TREE_DEST="${MAGEDIR}"
39    
40 niro 1553 # Arch specific options and build flags
41 niro 1605 ARCH="@@ARCH@@"
42 niro 1685 CHOST="@@ARCH@@-pc-linux-gnu"
43     CFLAGS="-mtune=@@MTUNE@@ -O2 -pipe"
44 niro 226 CXXFLAGS="${CFLAGS}"
45 niro 1558 LDFLAGS="-Wl,--as-needed"
46 niro 226 MAKEOPTS="-j2"
47    
48 niro 1613 # 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 niro 1543 # Strip options
54     STRIP_DYN_LIB="--strip-unneeded"
55     STRIP_DYN_BIN="--strip-all"
56     STRIP_STATIC_LIB="--strip-debug"
57    
58 niro 1555 # Extension defaults
59 niro 2045 # Do not modify these settings unless you know what you are doing
60 niro 1555 PKGSUFFIX="mpk"
61     SRCPKGSUFFIX="mpks"
62     MAGESUFFIX="mage"
63     SMAGESUFFIX="smage2"
64    
65 niro 1583 # 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 niro 1612 PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
69 niro 1583
70 niro 1542 # Distcc specific settings
71 niro 226 #DISTCC_HOSTS=""
72     DISTCC_DIR="${BUILDDIR}/.distcc"
73     DISTCC_VERBOSE="0"
74     DISTCC_LOG="/var/log/distcc.log"
75    
76 niro 1553 # Default mirrors and download options
77 niro 226 MIRRORS="http://magellan-linux.de/magellan"
78 niro 438 GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
79 niro 1676 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 niro 459 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
81 niro 761 KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
82 niro 226 RSYNC="rsync://magellan-linux.de/mage-ix86"
83     SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
84 niro 1556 PACKAGES_SERVER_PATH="packages/${ARCH}"
85 niro 288
86 niro 1556 # 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 niro 2273 # Default update method for the package database - 'rsync' or 'tarball' method can be selected
91     MAGE_UPDATE_METHOD="tarball"
92 niro 1556
93 niro 1584 # 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 niro 2159 # icecc|!icecc
123     # * Enable icecc support in smage
124     # * icecream must be installed to use this feature
125     # * For developers only
126 niro 1584 # kernelsrcunpack|!kernelsrcunpack
127 niro 1677 # * Automatically unpacks any kernel-source tarballs to /usr/src
128 niro 1584 # 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 niro 2044 # * !pkgbuild feature is only intended to be used for special-cases,
137 niro 1584 # * 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 niro 1649 # 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 niro 1584 # 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 niro 1617 # 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 niro 1584 # srcpkgbuild|!srcpkgbuild
163     # * Enable this to create source-tarballs on-the-fly when building packages
164     # * For developers only
165     # srcpkgtarball|!srcpkgtarball
166 niro 1629 # * Let smage build the package from a src tarball .mpks
167 niro 1584 # * Do not touch this feature, for internal use only!!
168 niro 1629 # 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 niro 1584 # 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 niro 2173 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" )