1 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage.rc.global,v 1.6 2007-01-21 23:46:24 niro Exp $ |
# $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 $ |
2 |
# |
# |
3 |
# mage.rc.global - global configuration file for mage |
# mage.rc.global - global configuration file for mage |
4 |
# will be overidden by /etc/mage.rc |
# will be overridden by /etc/mage.rc |
5 |
# |
# |
6 |
|
|
7 |
## default locations |
## Default locations |
8 |
PKGDIR="/var/cache/mage/packages" |
PKGDIR="/var/cache/mage/packages" |
9 |
SRCPKGDIR="/var/cache/mage/packages/sources" |
SRCPKGDIR="/var/cache/mage/packages/sources" |
10 |
BUILDDIR="/var/tmp/magebuild" |
BUILDDIR="/var/tmp/magebuild" |
17 |
BINDIR="${BUILDDIR}/builded" |
BINDIR="${BUILDDIR}/builded" |
18 |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
SMAGESCRIPTSDIR="/var/cache/mage/smage" |
19 |
|
|
20 |
# set default install root to / |
# Set default install root to / |
21 |
: ${MROOT=""} |
: ${MROOT=""} |
22 |
|
|
23 |
# set default user mage.rc |
# Set default user mage.rc |
24 |
: ${MAGERC="/etc/mage.rc"} |
: ${MAGERC="/etc/mage.rc"} |
25 |
|
|
26 |
# default options |
# Default options |
27 |
PKGSUFFIX="mpk" |
PKGSUFFIX="mpk" |
28 |
VERBOSE="on" |
VERBOSE="on" |
29 |
MAGEDEBUG="off" |
MAGEDEBUG="off" |
30 |
ARCH="i686" |
ARCH="i686" |
31 |
: ${MAGE_UNINSTALL_TIMEOUT="5"} |
: ${MAGE_UNINSTALL_TIMEOUT="3"} |
32 |
PACKAGES_SERVER_PATH="packages/${ARCH}" |
PACKAGES_SERVER_PATH="packages/${ARCH}" |
33 |
|
|
34 |
|
# Default fetch options for rsync |
35 |
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" |
36 |
|
|
37 |
# default build options |
# Default fetch options for wget |
38 |
|
WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
39 |
|
|
40 |
|
# Default build options |
41 |
CHOST="${ARCH}-pc-linux-gnu" |
CHOST="${ARCH}-pc-linux-gnu" |
42 |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
CFLAGS="-mtune=${ARCH} -O2 -pipe" |
43 |
CXXFLAGS="${CFLAGS}" |
CXXFLAGS="${CFLAGS}" |
45 |
SMAGE_USE_DISTCC="false" |
SMAGE_USE_DISTCC="false" |
46 |
MAKEOPTS="-j2" |
MAKEOPTS="-j2" |
47 |
|
|
48 |
# distcc specific |
# Distcc specific settings |
49 |
#DISTCC_HOSTS="" |
#DISTCC_HOSTS="" |
50 |
DISTCC_DIR="${BUILDDIR}/.distcc" |
DISTCC_DIR="${BUILDDIR}/.distcc" |
51 |
DISTCC_VERBOSE="0" |
DISTCC_VERBOSE="0" |
52 |
DISTCC_LOG="/var/log/distcc.log" |
DISTCC_LOG="/var/log/distcc.log" |
53 |
|
|
54 |
# default mirrors |
# Default mirrors |
55 |
MIRRORS="http://magellan-linux.de/magellan" |
MIRRORS="http://magellan-linux.de/magellan" |
56 |
|
GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
57 |
|
SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" |
58 |
|
GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
59 |
|
KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable" |
60 |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
RSYNC="rsync://magellan-linux.de/mage-ix86" |
61 |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" |
62 |
|
|
63 |
# old distribution settings |
# Distribution settings |
64 |
# 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 |
|
65 |
# stable | testing | unstable |
# stable | testing | unstable |
66 |
: ${MAGE_DISTRIBUTION="stable"} |
: ${MAGE_DISTRIBUTION="stable"} |
67 |
|
|
68 |
# enables on-the-fly regeneration of the mage tree via smage2 files. |
# enables on-the-fly regeneration of the mage tree via smage2 files. |
69 |
# 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. |
70 |
#REGEN_MAGE_TREE=true |
#REGEN_MAGE_TREE=true |
71 |
#MAGE_TREE_DEST="${MAGEDIR}" |
MAGE_TREE_DEST="${MAGEDIR}" |
72 |
|
|
73 |
# creates on-the-fly source-tarballs when building packages with smage2 |
# creates on-the-fly source-tarballs when building packages with smage2 |
74 |
#CREATE_SRC_PKG_TARBALL=true |
#CREATE_SRC_PKG_TARBALL=true |
75 |
|
|
76 |
|
# enables step-by-step execution of the smage-file (for debugging only) |
77 |
|
#STEP_BY_STEP=true |
78 |
|
|
79 |
|
# disables logging of smage builds |
80 |
|
# currently for src_pepare, src_compile, src_install functions only |
81 |
|
#SMAGE_BUILD_LOGGING=false |