Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/mage/usr/lib/mage/mage.rc.global revision 1556 by niro, Tue Dec 27 10:58:02 2011 UTC trunk/mage/usr/lib/mage/mage.rc.global.in revision 3034 by niro, Fri Jun 30 12:09:53 2017 UTC
# Line 17  VIRTUALDB_FILE="${INSTALLDB}/virtuals" Line 17  VIRTUALDB_FILE="${INSTALLDB}/virtuals"
17  SOURCEDIR="/var/cache/mage/sources"  SOURCEDIR="/var/cache/mage/sources"
18  BINDIR="${BUILDDIR}/builded"  BINDIR="${BUILDDIR}/builded"
19  SMAGESCRIPTSDIR="/var/cache/mage/smage"  SMAGESCRIPTSDIR="/var/cache/mage/smage"
20    SMAGELOGDIR="/var/log/smage"
21    
22  # Set default install root to /  # Set default install root to /
23  : ${MROOT=""}  : ${MROOT=""}
# Line 30  SMAGESCRIPTSDIR="/var/cache/mage/smage" Line 31  SMAGESCRIPTSDIR="/var/cache/mage/smage"
31  : ${MAGE_DISTRIBUTION="stable"}  : ${MAGE_DISTRIBUTION="stable"}
32    
33  # Default options  # Default options
 VERBOSE="on"  
 MAGEDEBUG="off"  
34  : ${MAGE_UNINSTALL_TIMEOUT="3"}  : ${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  # Arch specific options and build flags  # Arch specific options and build flags
41  ARCH="i686"  ARCH="@@ARCH@@"
42  CHOST="${ARCH}-pc-linux-gnu"  CHOST="@@ARCH@@-pc-linux-gnu"
43  CFLAGS="-mtune=${ARCH} -O2 -pipe"  CPPFLAGS="-D_FORTIFY_SOURCE=2"
44    CFLAGS="-march=@@MARCH@@ -mtune=@@MTUNE@@ -O2 -pipe -fstack-protector-strong"
45  CXXFLAGS="${CFLAGS}"  CXXFLAGS="${CFLAGS}"
46  SMAGE_USE_CCACHE="false"  LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
 SMAGE_USE_DISTCC="false"  
47  MAKEOPTS="-j2"  MAKEOPTS="-j2"
48    
49    # cross-compile host
50    # set this only if you want to crosscompile
51    # you need also a cross-compile toolchain installed
52    #CTARGET="i486-pc-linux-gnu"
53    
54  # Strip options  # Strip options
55  STRIP_DYN_LIB="--strip-unneeded"  STRIP_DYN_LIB="--strip-unneeded"
56  STRIP_DYN_BIN="--strip-all"  STRIP_DYN_BIN="--strip-all"
57  STRIP_STATIC_LIB="--strip-debug"  STRIP_STATIC_LIB="--strip-debug"
58    
59  # Extension defaults  # Extension defaults
60  #  Do not modify these settings unless you know what you are doing  # Do not modify these settings unless you know what you are doing
61  PKGSUFFIX="mpk"  PKGSUFFIX="mpk"
62  SRCPKGSUFFIX="mpks"  SRCPKGSUFFIX="mpks"
63  MAGESUFFIX="mage"  MAGESUFFIX="mage"
64  SMAGESUFFIX="smage2"  SMAGESUFFIX="smage2"
65    
66    # Purge targets
67    # Array with all files which shall be removed from every package on build-time
68    # Do not touch these settings if you don't know what you are doing
69    PURGE_TARGETS=( usr/share/info/dir usr/share/info/dir.gz )
70    
71  # Distcc specific settings  # Distcc specific settings
72  #DISTCC_HOSTS=""  #DISTCC_HOSTS=""
73  DISTCC_DIR="${BUILDDIR}/.distcc"  DISTCC_DIR="${BUILDDIR}/.distcc"
# Line 64  DISTCC_LOG="/var/log/distcc.log" Line 77  DISTCC_LOG="/var/log/distcc.log"
77  # Default mirrors and download options  # Default mirrors and download options
78  MIRRORS="http://magellan-linux.de/magellan"  MIRRORS="http://magellan-linux.de/magellan"
79  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"
80  SOURCEFORGE_MIRRORS="http://belnet.dl.sourceforge.net/sourceforge http://mesh.dl.sourceforge.net/sourceforge"  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 "
81  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"  GNOME_MIRRORS="http://ftp.gnome.org/pub/gnome/sources/ ftp://ftp.gnome.org/pub/gnome/sources/"
82  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"  KDE_MIRRORS="ftp://ftp.kde.org/pub/kde/stable ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.kde.org/pub/kde/stable"
83  RSYNC="rsync://magellan-linux.de/mage-ix86"  RSYNC="rsync://magellan-linux.de/mage-ix86"
# Line 75  PACKAGES_SERVER_PATH="packages/${ARCH}" Line 88  PACKAGES_SERVER_PATH="packages/${ARCH}"
88  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"
89  # Default fetch options for wget  # Default fetch options for wget
90  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"  WGET_FETCH_OPTIONS="--passive-ftp --tries 3 --continue --progress bar"
91    # Default update method for the package database - 'rsync' or 'tarball' method can be selected
92    MAGE_UPDATE_METHOD="tarball"
93    
94  # enables on-the-fly regeneration of the mage tree via smage2 files.  # All supported global features in mage/smage:
95  # MAGE_TREE_DEST must be also set. You should set it to the same as MAGEDIR.  # You can negate any feature with a ! in front
96  #REGEN_MAGE_TREE=true  # Please use the MAGE_FEATURES array to override these settings in local mage.rc
97  MAGE_TREE_DEST="${MAGEDIR}"  #
98    #      autosvc|!autosvc
99  # creates on-the-fly source-tarballs when building packages with smage2  #          * Automatically start/stop/restarts services on installation
100  #CREATE_SRC_PKG_TARBALL=true  #      buildlog|!buildlog
101    #          * Enables logging of smage builds
102  # enables step-by-step execution of the smage-file (for debugging only)  #          * Currently for src_pepare, src_compile, src_install functions only
103  #STEP_BY_STEP=true  #          * For developers only
104    #      ccache|!ccache
105  # disables logging of smage builds  #          * Enable ccache support in smage
106  # currently for src_pepare, src_compile, src_install functions only  #          * ccache must be installed to use this feature
107  #SMAGE_BUILD_LOGGING=false  #          * For developers only
108    #      check|!check
109    #          * Runs the check function src_check() after completing src_compile()
110    #          * For developers only
111    #      compressdoc|!compressdoc
112    #          * Enables compression of man, info and other doc files for minimizing diskspace usage
113    #          * For developers only
114    #      debug|!debug
115    #          * Enables or disables debug mode
116    #          * Do not touch this feature if you don't know what you are doing
117    #          * The debug mode may break things like resolving dependencies
118    #          * For developers only
119    #      distcc|!distcc
120    #          * Enable distcc support in smage
121    #          * distcc must be installed to use this feature
122    #          * For developers only
123    #      icecc|!icecc
124    #          * Enable icecc support in smage
125    #          * icecream must be installed to use this feature
126    #          * For developers only
127    #      kernelsrcunpack|!kernelsrcunpack
128    #          * Automatically unpacks any kernel-source tarballs to /usr/src
129    #      libtool|!libtool
130    #          * Includes .la libtool archives in builded packages, to remove them set !libtool
131    #          * For developers only
132    #      linuxsymlink|!linuxsymlink
133    #          * Automatically updates the /usr/src/linux symlink to the installed kernel-sources version
134    #          * Requires the kernelsrcunpack feature to be activated
135    #      pkgbuild|!pkgbuild
136    #          * Enables or disables the package build process
137    #          * !pkgbuild feature is only intended to be used for special-cases,
138    #          * like virtuals and not to be a global feature. Use this with care.
139    #          * Only disable this feature, if you know what you are doing!
140    #          * For developers only
141    #      pkgdistrotag|!pkgdistrotag
142    #          * Appends the distribution codename-tag to the builded packages
143    #          * Do not touch this feature, for internal use only!!
144    #          * For developers only
145    #      purge|!purge
146    #          * Purges files specified by PURGE_TARGETS array from every package build
147    #          * Do not touch this feature if you don't know what you are doing
148    #          * For developers only
149    #      qalint|!qalint
150    #          * Quality assurance checks will be run while building a package
151    #          * Magellan lint utilities must be installed to use this feature
152    #          * Only enable this feature for QA purposes only,
153    #          * pkgbuild may fail even on non-fatal errors and warnings
154    #          * For developers only
155    #      regentree|!regentree
156    #          * Automatically import packages in the mage-tree after building with smage
157    #          * The target mage-tree can be defined with the MAGE_TREE_DEST variable
158    #          * For developers only
159    #      resume|!resume
160    #          * resumes a build from the last successful step
161    #          * Do not touch this feature, for internal use only!!
162    #          * For developers only
163    #      srcpkgbuild|!srcpkgbuild
164    #          * Enable this to create source-tarballs on-the-fly when building packages
165    #          * For developers only
166    #      srcpkgtarball|!srcpkgtarball
167    #          * Let smage build the package from a src tarball .mpks
168    #          * Do not touch this feature, for internal use only!!
169    #      static|!static
170    #          * Let mconfigure() enable or disable compilation of static libraries
171    #          * For developers only
172    #      stepbystep|!stepbystep
173    #          * Enables step-by-step execution of the smage-file for debugging
174    #          * Currently for src_pepare(), src_compile(), src_check(), src_install() functions
175    #          * For developers only
176    #      strip|!strip
177    #          * Enables stripping to remove debugging symbols of resulting binaries
178    #          * For developers only
179    #      verbose|!verbose
180    #          * Enables or disables verbose mode
181    #
182    # To individually change these features within a smage file, you can use the msetfeature() function
183    #
184    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" )

Legend:
Removed from v.1556  
changed lines
  Added in v.3034