|
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.9 2008-09-02 20:31:54 niro Exp $ |
|
|
# |
|
1 |
# mage.rc.global - global configuration file for mage |
# mage.rc.global - global configuration file for mage |
2 |
# will be overidden by /etc/mage.rc |
# $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 |
## Default locations |
9 |
PKGDIR="/var/cache/mage/packages" |
PKGDIR="/var/cache/mage/packages" |
10 |
SRCPKGDIR="/var/cache/mage/packages/sources" |
SRCPKGDIR="/var/cache/mage/packages/sources" |
11 |
BUILDDIR="/var/tmp/magebuild" |
BUILDDIR="/var/tmp/magebuild" |
18 |
BINDIR="${BUILDDIR}/builded" |
BINDIR="${BUILDDIR}/builded" |
19 |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
20 |
|
|
21 |
# set default install root to / |
# Set default install root to / |
22 |
: ${MROOT=""} |
: ${MROOT=""} |
23 |
|
|
24 |
# set default user mage.rc |
# Set default user mage.rc |
25 |
: ${MAGERC="/etc/mage.rc"} |
: ${MAGERC="/etc/mage.rc"} |
26 |
|
|
27 |
# default options |
# Default options |
28 |
PKGSUFFIX="mpk" |
PKGSUFFIX="mpk" |
29 |
VERBOSE="on" |
VERBOSE="on" |
30 |
MAGEDEBUG="off" |
MAGEDEBUG="off" |
31 |
ARCH="i686" |
ARCH="i686" |
32 |
: ${MAGE_UNINSTALL_TIMEOUT="3"} |
: ${MAGE_UNINSTALL_TIMEOUT="3"} |
33 |
PACKAGES_SERVER_PATH="packages/${ARCH}" |
PACKAGES_SERVER_PATH="packages/${ARCH}" |
34 |
|
|
35 |
|
# Default fetch options for rsync |
36 |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
37 |
|
|
38 |
# default build options |
# Default fetch options for wget |
39 |
|
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
40 |
|
|
41 |
|
# Default build options |
42 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="${ARCH}-pc-linux-gnu" |
43 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
44 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
46 |
SMAGE_USE_DISTCC="false" |
SMAGE_USE_DISTCC="false" |
47 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
48 |
|
|
49 |
# distcc specific |
# Strip options |
50 |
|
STRIP_DYN_LIB="--strip-unneeded" |
51 |
|
STRIP_DYN_BIN="--strip-all" |
52 |
|
STRIP_STATIC_LIB="--strip-debug" |
53 |
|
|
54 |
|
# Distcc specific settings |
55 |
#DISTCC_HOSTS="" |
#DISTCC_HOSTS="" |
56 |
DISTCC_DIR="${BUILDDIR}/.distcc" |
DISTCC_DIR="${BUILDDIR}/.distcc" |
57 |
DISTCC_VERBOSE="0" |
DISTCC_VERBOSE="0" |
58 |
DISTCC_LOG="/var/log/distcc.log" |
DISTCC_LOG="/var/log/distcc.log" |
59 |
|
|
60 |
# default mirrors |
# Default mirrors |
61 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
62 |
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
63 |
SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" |
SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" |
66 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
67 |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
68 |
|
|
69 |
# old distribution settings |
# Distribution settings |
70 |
# only for compat; will disapear soon |
# Internal default: MAGE_DISTRIBUTION=stable |
|
#USE_TESTING=true |
|
|
#USE_UNSTABLE=true |
|
|
|
|
|
# new distribution settings |
|
|
# internal default: MAGE_DISTRIBUTION=stable |
|
71 |
# stable | testing | unstable |
# stable | testing | unstable |
72 |
: ${MAGE_DISTRIBUTION="stable"} |
: ${MAGE_DISTRIBUTION="stable"} |
73 |
|
|
74 |
# enables on-the-fly regeneration of the mage tree via smage2 files. |
# enables on-the-fly regeneration of the mage tree via smage2 files. |
75 |
# MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR. |
# MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR. |
76 |
#REGEN_MAGE_TREE=true |
#REGEN_MAGE_TREE=true |
77 |
#MAGE_TREE_DEST="${MAGEDIR}" |
MAGE_TREE_DEST="${MAGEDIR}" |
78 |
|
|
79 |
# creates on-the-fly source-tarballs when building packages with smage2 |
# creates on-the-fly source-tarballs when building packages with smage2 |
80 |
#CREATE_SRC_PKG_TARBALL=true |
#CREATE_SRC_PKG_TARBALL=true |