summaryrefslogtreecommitdiffstats
path: root/etc/pacman.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pacman.conf')
-rw-r--r--etc/pacman.conf96
1 files changed, 70 insertions, 26 deletions
diff --git a/etc/pacman.conf b/etc/pacman.conf
index 8ffb78b5..c0b833b6 100644
--- a/etc/pacman.conf
+++ b/etc/pacman.conf
@@ -2,34 +2,78 @@
# /etc/pacman.conf
#
-# name of the tree you want to follow (eg: stable, current, 0.2, 0.3, ...)
-Sync_Tree_Name = current
+# Currently the only option directive is NoUpgrade. Use this with a
+# space-delimited list of files that should never be touched by pacman
+# during an install/upgrade. (note: do not include the leading slash)
+[options]
+NoUpgrade = etc/passwd etc/group etc/shadow
+NoUpgrade = etc/fstab
-# ftp server
-Sync_Server = ftp.ibiblio.org
+[current]
+Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/current
+Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.ibiblio.org/pub/Linux/distributions/archlinux/current
+Server = ftp://ftp.oit.unc.edu/pub/Linux/distributions/archlinux/current
+Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/current
+Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/current
+Server = ftp://ftp2.archlinux.org/current
+Server = ftp://ftp3.archlinux.org/current
+Server = ftp://ftp.archlinux.org/current
-# full path to sync tree
-Sync_Tree_Path = /pub/linux/distributions/archlinux/current
-
-###
-### MIRRORS
-#########################
-
-# Sync_Server = ftp.mpi-sb.mpg.de
-# Sync_Tree_Path = /pub/linux/mirror/ftp.ibiblio.org/pub/Linux/distributions/archlinux/current
-
-# Sync_Server = ftp2.archlinux.org
-# Sync_Tree_Path = /current
-
-# Sync_Server = ftp.oit.unc.edu
-# Sync_Tree_Path = /pub/Linux/distributions/archlinux/current
-
-# Sync_Server = ftp.tu-chemnitz.de
-# Sync_Tree_Path = /pub/linux/sunsite.unc-mirror/distributions/archlinux/current
+# Uncomment this block to access the 'unofficial' package set
+#
+#[unofficial]
+#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/unofficial
+#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.ibiblio.org/pub/Linux/distributions/archlinux/unofficial
+#Server = ftp://ftp.oit.unc.edu/pub/Linux/distributions/archlinux/unofficial
+#Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/unofficial
+#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/unofficial
+#Server = ftp://ftp2.archlinux.org/unofficial
+#Server = ftp://ftp3.archlinux.org/unofficial
+#Server = ftp://ftp.archlinux.org/unofficial
-# Sync_Server = ftp.archlinux.org
-# Sync_Tree_Path = /current
+# If you use the 'stable' tree, you should disable the 'current'
+# tree to avoid conflicts
+#
+#[stable]
+#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/stable
+#Server = ftp://ftp.mpi-sb.mpg.de/pub/linux/mirror/ftp.ibiblio.org/pub/Linux/distributions/archlinux/stable
+#Server = ftp://ftp.oit.unc.edu/pub/Linux/distributions/archlinux/stable
+#Server = ftp://ftp.tu-chemnitz.de/pub/linux/sunsite.unc-mirror/distributions/archlinux/stable
+#Server = ftp://ftp.archlinux.org/stable
+#Server = ftp://ftp.oit.unc.edu/pub/Linux/distributions/archlinux/stable
+#Server = ftp://ftp2.archlinux.org/stable
+#Server = ftp://ftp3.archlinux.org/stable
-# Sync_Server = ftp.oit.unc.edu
-# Sync_Tree_Path = /pub/Linux/distributions/archlinux/current
+# This is a typical setup for a local package repository. To have pacman
+# resolve dependencies and install your custom packages with the --sync
+# operation, you must generate a sync db from your custom PKGBUILDs and
+# place it in the directory specified by the Server directive.
+#
+# # gensync /usr/abs/local /home/custompkgs/custom.db.tar.gz
+#
+# The sync database must be of the form {treename}.db.gz, where treename
+# is the name of the package tree (in this case, 'custom').
+#
+# Then you can activate this custom repository by uncommenting the last
+# two lines and using pacman as usual:
+#
+# # pacman -S --refresh
+# :: Synchronizing package databases...
+# current.db.tar.gz [#################################] 100% | 20K
+# custom.db.tar.gz [/home/custompkgs/ ] 100% | LOCAL
+#
+# # pacman -S my_custom_pkg
+#
+# Targets: my_custom_pkg-0.12-1
+#
+# Do you want to install/upgrade these packages? [Y/n]
+#
+# :: Retrieving packages from custom...
+# my_custom_pkg-0.12-1.pkg [/home/custompkgs/ ] 100% | LOCAL
+#
+# checking for conflicts... done.
+# installing my_custom_pkg... done.
+#
+#[custom]
+#Server = local:///home/custompkgs