Spaceman.conf

From Gnuffy

Revision as of 10:10, 2 March 2009 by Blackpenguin (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

As /etc/spaceman/spaceman.conf is quite well commented, I will not explain everything.


The following block controls spaceman's output colors.

 USE_COLOR="${USE_COLOR:-y}"
 COLOR_ERROR="${RED}"
 COLOR_OK="${GREEN}"
 COLOR_WARN="${COLOR_BOLD}${YELLOW}"
 COLOR_TRUSTED="${GREEN}"
 COLOR_USED="${YELLOW}"
 COLOR_BLOCKED="${RED}"
 COLOR_BOLD="${BOLD}"
 COLOR_SHADED="${BLUE}"
 COLOR_NORMAL="${NORMAL}"
 COLOR_SELECTED="${COLOR_BOLD}${GREEN}"

The following options can be used to redefine some keys used in spaceman's dialogs (i.e. if you don't like F9/F10 or your terminal doesn't let you type this keys)

 KEY_TOGGLEALL_NAME="F9"
 KEY_TOGGLEALL_CODE="$(tput kf9)"
 KEY_CONTINUE_NAME="F10"
 KEY_CONTINUE_CODE="$(tput kf10)"
 KEY_LEFT_CODE="$(tput kcub1)"
 KEY_RIGHT_CODE="$(tput kcuf1)"
 KEY_UP_CODE="$(tput kcuu1)"
 KEY_DOWN_CODE="$(tput kcud1)"
 KEY_PGUP_CODE="$(tput kpp)"
 KEY_PGDOWN_CODE="$(tput knp)"
 KEY_ENTER_CODE="$(tput kent)"

The following variables control spaceman's behaviour concerning its package list.

 PKGLIST_ARCH="i686" # On 64 bit systems, this should be "x86_64". Spaceman will ask you for your architecture.  Please don't change it.
 OLD_PKGLIST_WARN="1" # or "2", "3" etc.; "0" for never.
 AUTOSYNC="yes"
 SPACEMAN_FILE_CACHE=(/var/cache/spaceman/pkg) 

This is an array. You can add other direcories separating them by a space. After the installation, this is most likely set to /mnt/gnuffy/var/cache/spaceman/pkg. You should change this path.


Compiler configuration that is also set according to your platform by spaceman, only change it if you know what you are doing:

 CHOST="i686-pc-linux-gnu" # "x86_64-pc-linux-gnu" for 64 bit
 CFLAGS="-march=i686 -O2 -pipe" # "-march=athlon64 -O2 -pipe" for amd64
 CXXFLAGS="-march=i686 -O2 -pipe" # "-march=athlon64 -O2 -pipe" for amd64
 CARCH="i686" # "x86_64" for 64 bit
 MAKEFLAGS="-j2" # The number after the "j" should be one more than the number of your CPUs in most cases.


The following options can save disk space and traffic if set to "yes":

 REMOVE_PKG_ARCHIVE="no"
 USE_DELTUP_SYNC="yes"
 USE_DELTUP="yes"


The following options are dependent on the use of DELTUP.

 QUEUETIMEOUT="120"
 QUEUERETRY="15"
 BANDWIDTH="1"
 MAXIMUM_ACCEPTABLE_QUEUEPOS="10"


 PKGDB_BACKUPS="5"
 USERAGENT="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Firefox/1.5"