Annotation of /trunk/mage/usr/lib/mage/mage.rc.global
Parent Directory | Revision Log
Revision 1554 -
(hide annotations)
(download)
Tue Dec 27 10:53:47 2011 UTC (12 years, 9 months ago) by niro
File size: 2786 byte(s)
Tue Dec 27 10:53:47 2011 UTC (12 years, 9 months ago) by niro
File size: 2786 byte(s)
-moved distribution settings up
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 | |||
21 | niro | 1542 | # Set default install root to / |
22 | niro | 226 | : ${MROOT=""} |
23 | |||
24 | niro | 1542 | # Set default user mage.rc |
25 | niro | 418 | : ${MAGERC="/etc/mage.rc"} |
26 | |||
27 | niro | 1554 | # Distribution settings |
28 | # Internal default: MAGE_DISTRIBUTION=stable | ||
29 | # stable | testing | unstable | ||
30 | : ${MAGE_DISTRIBUTION="stable"} | ||
31 | |||
32 | niro | 1542 | # Default options |
33 | niro | 226 | PKGSUFFIX="mpk" |
34 | VERBOSE="on" | ||
35 | MAGEDEBUG="off" | ||
36 | ARCH="i686" | ||
37 | niro | 965 | : ${MAGE_UNINSTALL_TIMEOUT="3"} |
38 | niro | 288 | PACKAGES_SERVER_PATH="packages/${ARCH}" |
39 | niro | 1085 | |
40 | niro | 1542 | # Default fetch options for rsync |
41 | niro | 386 | RSYNC_FETCH_OPTIONS="--recursive --links --perms --times --devices --timeout=600 --verbose --compress --progress --stats --delete --delete-after" |
42 | niro | 226 | |
43 | niro | 1542 | # Default fetch options for wget |
44 | niro | 1085 | WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar" |
45 | |||
46 | niro | 1553 | # Arch specific options and build flags |
47 | niro | 226 | CHOST="${ARCH}-pc-linux-gnu" |
48 | CFLAGS="-mtune=${ARCH} -O2 -pipe" | ||
49 | CXXFLAGS="${CFLAGS}" | ||
50 | SMAGE_USE_CCACHE="false" | ||
51 | SMAGE_USE_DISTCC="false" | ||
52 | MAKEOPTS="-j2" | ||
53 | |||
54 | niro | 1543 | # Strip options |
55 | STRIP_DYN_LIB="--strip-unneeded" | ||
56 | STRIP_DYN_BIN="--strip-all" | ||
57 | STRIP_STATIC_LIB="--strip-debug" | ||
58 | |||
59 | niro | 1542 | # Distcc specific settings |
60 | niro | 226 | #DISTCC_HOSTS="" |
61 | DISTCC_DIR="${BUILDDIR}/.distcc" | ||
62 | DISTCC_VERBOSE="0" | ||
63 | DISTCC_LOG="/var/log/distcc.log" | ||
64 | |||
65 | niro | 1553 | # Default mirrors and download options |
66 | niro | 226 | MIRRORS="http://magellan-linux.de/magellan" |
67 | niro | 438 | GNU_MIRRORS="ftp://ftp.gnu.org/pub/gnu ftp://ftp.cs.tu-berlin.de/pub/gnu" |
68 | SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge" | ||
69 | niro | 459 | GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/" |
70 | 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" |
71 | niro | 226 | RSYNC="rsync://magellan-linux.de/mage-ix86" |
72 | SMAGE2RSYNC="rsync://magellan-linux.de/smage-cvs" | ||
73 | niro | 288 | |
74 | niro | 407 | # 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. | ||
76 | #REGEN_MAGE_TREE=true | ||
77 | niro | 1437 | MAGE_TREE_DEST="${MAGEDIR}" |
78 | niro | 407 | |
79 | # creates on-the-fly source-tarballs when building packages with smage2 | ||
80 | #CREATE_SRC_PKG_TARBALL=true | ||
81 | niro | 859 | |
82 | # enables step-by-step execution of the smage-file (for debugging only) | ||
83 | niro | 875 | #STEP_BY_STEP=true |
84 | |||
85 | # disables logging of smage builds | ||
86 | # currently for src_pepare, src_compile, src_install functions only | ||
87 | #SMAGE_BUILD_LOGGING=false |