summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/makepkg.conf36
-rw-r--r--etc/pacman.conf53
2 files changed, 89 insertions, 0 deletions
diff --git a/etc/makepkg.conf b/etc/makepkg.conf
new file mode 100644
index 00000000..bb48ec8d
--- /dev/null
+++ b/etc/makepkg.conf
@@ -0,0 +1,36 @@
+#
+# /etc/makepkg.conf
+#
+
+# The FTP/HTTP download utility that makepkg should use to acquire sources
+export FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3"
+#export FTPAGENT="/usr/bin/snarf"
+#export FTPAGENT="/usr/bin/lftpget -c"
+
+export CARCH="i686"
+export CHOST="i686-pc-linux-gnu"
+
+# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries
+# will use the P6 instruction set and only run on P6+ systems)
+export CFLAGS="-march=i686 -O2 -pipe -Wl,-O1"
+export CXXFLAGS="-march=i686 -O2 -pipe -Wl,-O1"
+# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
+# will run on any x86 system)
+#export CFLAGS="-mcpu=i686 -O2 -pipe"
+#export CXXFLAGS="-mcpu=i686 -O2 -pipe"
+
+# SMP Systems
+#export MAKEFLAGS="-j 2"
+
+# Enable fakeroot for building packages as a non-root user
+export USE_FAKEROOT="y"
+
+# Enable colorized output messages
+export USE_COLOR="n"
+
+# Specify a fixed directory where all packages will be placed
+#export PKGDEST=/home/packages
+
+# If you want your name to show up in the packages you build, set this.
+#export PACKAGER="John Doe <john@doe.com>"
+
diff --git a/etc/pacman.conf b/etc/pacman.conf
new file mode 100644
index 00000000..42578338
--- /dev/null
+++ b/etc/pacman.conf
@@ -0,0 +1,53 @@
+#
+# /etc/pacman.conf
+#
+# NOTE: If you find a mirror that is geographically close to you, please
+# move it to the top of the server list, so pacman will choose it
+# first.
+#
+# To re-sort your mirror lists by ping/traceroute results, use the
+# /usr/bin/sortmirrors.pl script. It requires the "netselect" package.
+#
+# # sortmirrors.pl </etc/pacman.conf >pacman.conf.new
+#
+
+# See the pacman manpage for option directives
+
+#
+# GENERAL OPTIONS
+#
+[options]
+LogFile = /var/log/pacman.log
+NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers
+NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf
+NoUpgrade = etc/rc.conf etc/rc.local
+NoUpgrade = etc/modprobe.conf etc/modules.conf
+NoUpgrade = etc/lilo.conf boot/grub/menu.lst
+HoldPkg = pacman glibc
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+
+#
+# REPOSITORIES
+# - can be defined here or included from another file
+# - pacman will search repositories in the order defined here.
+# - local/custom mirrors can be added here or in separate files
+#
+
+#[testing]
+#Server = ftp://ftp.archlinux.org/testing/os/i686
+
+[current]
+# Add your preferred servers here, they will be used first
+Include = /etc/pacman.d/current
+
+[extra]
+# Add your preferred servers here, they will be used first
+Include = /etc/pacman.d/extra
+
+#Include = /etc/pacman.d/unstable
+
+# An example of a custom package repository. See the pacman manpage for
+# tips on creating your own repositories.
+#[custom]
+#Server = file:///home/custompkgs
+