Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3178 - (show annotations) (download)
Mon Jul 31 09:05:47 2023 UTC (10 months, 2 weeks ago) by niro
File size: 8297 byte(s)
-new x86_64 lib layout lib/lib32 and honor abis specific libdir/chost with mlibdir() and CHOST
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 # ABI specific libdir
41 ABI_X86_LIBDIR="@@ABI_X86_LIBDIR@@"
42 ABI_X86_64_LIBDIR="@@ABI_X86_64_LIBDIR@@"
43 ABI_DEFAULT_LIBDIR="@@ABI_DEFAULT_LIBDIR@@"
44
45 # ABI specific CHOST
46 ABI_X86_CHOST="@@ABI_X86_CHOST@@"
47 ABI_X86_64_CHOST="@@ABI_X86_64_CHOST@@"
48 ABI_DEFAULT_CHOST="@@ABI_DEFAULT_CHOST@@"
49
50 # Arch specific options and build flags
51 ARCH="@@ARCH@@"
52 CHOST="${ABI_DEFAULT_CHOST}"
53 CPPFLAGS="-D_FORTIFY_SOURCE=2"
54 CFLAGS="-march=@@MARCH@@ -mtune=@@MTUNE@@ -O2 -pipe -fstack-protector-strong"
55 CXXFLAGS="${CFLAGS}"
56 LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
57 MAKEOPTS="-j2"
58
59 # cross-compile host
60 # set this only if you want to crosscompile
61 # you need also a cross-compile toolchain installed
62 #CTARGET="i486-pc-linux-gnu"
63
64 # Strip options
65 STRIP_DYN_LIB="--strip-unneeded"
66 STRIP_DYN_BIN="--strip-all"
67 STRIP_STATIC_LIB="--strip-debug"
68
69 # Extension defaults
70 # Do not modify these settings unless you know what you are doing
71 PKGSUFFIX="mpk"
72 SRCPKGSUFFIX="mpks"
73 MAGESUFFIX="mage"
74 SMAGESUFFIX="smage2"
75
76 # Purge targets
77 # Array with all files which shall be removed from every package on build-time
78 # Do not touch these settings if you don't know what you are doing
79 PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
80
81 # Distcc specific settings
82 #DISTCC_HOSTS=""
83 DISTCC_DIR="${BUILDDIR}/.distcc"
84 DISTCC_VERBOSE="0"
85 DISTCC_LOG="/var/log/distcc.log"
86
87 # Default mirrors and download options
88 MIRRORS="http://magellan-linux.de/magellan"
89 GNU_MIRRORS="https://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu"
90 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 "
91 GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
92 KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
93 RSYNC="rsync://magellan-linux.de/mage-ix86"
94 SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs"
95 PACKAGES_SERVER_PATH="packages/${ARCH}"
96
97 # Default fetch options for rsync
98 RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after"
99 # Default fetch options for wget
100 WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
101 # Default update method for the package database - 'rsync' or 'tarball' method can be selected
102 MAGE_UPDATE_METHOD="tarball"
103
104 # All supported global features in mage/smage:
105 # You can negate any feature with a ! in front
106 # Please use the MAGE_FEATURES array to override these settings in local mage.rc
107 #
108 # autosvc|!autosvc
109 # * Automatically start/stop/restarts services on installation
110 # buildlog|!buildlog
111 # * Enables logging of smage builds
112 # * Currently for src_pepare, src_compile, src_install functions only
113 # * For developers only
114 # ccache|!ccache
115 # * Enable ccache support in smage
116 # * ccache must be installed to use this feature
117 # * For developers only
118 # check|!check
119 # * Runs the check function src_check() after completing src_compile()
120 # * For developers only
121 # compressdoc|!compressdoc
122 # * Enables compression of man, info and other doc files for minimizing diskspace usage
123 # * For developers only
124 # debug|!debug
125 # * Enables or disables debug mode
126 # * Do not touch this feature if you don't know what you are doing
127 # * The debug mode may break things like resolving dependencies
128 # * For developers only
129 # distcc|!distcc
130 # * Enable distcc support in smage
131 # * distcc must be installed to use this feature
132 # * For developers only
133 # icecc|!icecc
134 # * Enable icecc support in smage
135 # * icecream must be installed to use this feature
136 # * For developers only
137 # kernelsrcunpack|!kernelsrcunpack
138 # * Automatically unpacks any kernel-source tarballs to /usr/src
139 # libtool|!libtool
140 # * Includes .la libtool archives in builded packages, to remove them set !libtool
141 # * For developers only
142 # linuxsymlink|!linuxsymlink
143 # * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
144 # * Requires the kernelsrcunpack feature to be activated
145 # pkgbuild|!pkgbuild
146 # * Enables or disables the package build process
147 # * !pkgbuild feature is only intended to be used for special-cases,
148 # * like virtuals and not to be a global feature. Use this with care.
149 # * Only disable this feature, if you know what you are doing!
150 # * For developers only
151 # pkgdistrotag|!pkgdistrotag
152 # * Appends the distribution codename-tag to the builded packages
153 # * Do not touch this feature, for internal use only!!
154 # * For developers only
155 # purge|!purge
156 # * Purges files specified by PURGE_TARGETS array from every package build
157 # * Do not touch this feature if you don't know what you are doing
158 # * For developers only
159 # qalint|!qalint
160 # * Quality assurance checks will be run while building a package
161 # * Magellan lint utilities must be installed to use this feature
162 # * Only enable this feature for QA purposes only,
163 # * pkgbuild may fail even on non-fatal errors and warnings
164 # * For developers only
165 # regentree|!regentree
166 # * Automatically import packages in the mage-tree after building with smage
167 # * The target mage-tree can be defined with the MAGE_TREE_DEST variable
168 # * For developers only
169 # resume|!resume
170 # * resumes a build from the last successful step
171 # * Do not touch this feature, for internal use only!!
172 # * For developers only
173 # srcpkgbuild|!srcpkgbuild
174 # * Enable this to create source-tarballs on-the-fly when building packages
175 # * For developers only
176 # srcpkgtarball|!srcpkgtarball
177 # * Let smage build the package from a src tarball .mpks
178 # * Do not touch this feature, for internal use only!!
179 # static|!static
180 # * Let mconfigure() enable or disable compilation of static libraries
181 # * For developers only
182 # stepbystep|!stepbystep
183 # * Enables step-by-step execution of the smage-file for debugging
184 # * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
185 # * For developers only
186 # strip|!strip
187 # * Enables stripping to remove debugging symbols of resulting binaries
188 # * For developers only
189 # verbose|!verbose
190 # * Enables or disables verbose mode
191 #
192 # To individually change these features within a smage file, you can use the msetfeature() function
193 #
194 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" )