summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/acl/PKGBUILD2
-rw-r--r--core/attr/PKGBUILD3
-rw-r--r--core/bash/PKGBUILD2
-rw-r--r--core/bin86/PKGBUILD30
-rw-r--r--core/bin86/bin86-0.16.17-x86_64-1.patch44
-rw-r--r--core/binutils/PKGBUILD3
-rw-r--r--core/bison/PKGBUILD2
-rw-r--r--core/bridge-utils/PKGBUILD2
-rw-r--r--core/btrfs-progs-unstable/PKGBUILD2
-rw-r--r--core/bzip2/PKGBUILD2
-rw-r--r--core/cloog/PKGBUILD2
-rw-r--r--core/coreutils/PKGBUILD2
-rw-r--r--core/cracklib/PKGBUILD2
-rw-r--r--core/crda/PKGBUILD2
-rw-r--r--core/cronie/PKGBUILD2
-rw-r--r--core/cryptsetup/PKGBUILD2
-rw-r--r--core/dash/PKGBUILD2
-rw-r--r--core/db/PKGBUILD2
-rw-r--r--core/dbus-core/PKGBUILD2
-rw-r--r--core/dhcpcd/PKGBUILD2
-rw-r--r--core/dialog/PKGBUILD2
-rw-r--r--core/diffutils/PKGBUILD2
-rw-r--r--core/dmraid/PKGBUILD2
-rw-r--r--core/dnsutils/PKGBUILD2
-rw-r--r--core/e2fsprogs/PKGBUILD2
-rw-r--r--core/ed/PKGBUILD2
-rw-r--r--core/eventlog/PKGBUILD2
-rw-r--r--core/expat/PKGBUILD2
-rw-r--r--core/fakeroot/PKGBUILD2
-rw-r--r--core/file/PKGBUILD2
-rw-r--r--core/findutils/PKGBUILD2
-rw-r--r--core/flex/PKGBUILD2
-rw-r--r--core/gawk/PKGBUILD2
-rw-r--r--core/gcc/PKGBUILD72
-rw-r--r--core/gcc/gcc_mips64el_lib.patch25
-rw-r--r--core/gdbm/PKGBUILD2
-rw-r--r--core/gettext/PKGBUILD6
-rw-r--r--core/glib2/PKGBUILD2
-rw-r--r--core/glibc/PKGBUILD35
-rw-r--r--core/gmp/PKGBUILD3
-rw-r--r--core/gpm/PKGBUILD2
-rw-r--r--core/grep/PKGBUILD2
-rw-r--r--core/groff/PKGBUILD2
-rw-r--r--core/gzip/PKGBUILD2
-rw-r--r--core/hdparm/PKGBUILD2
-rw-r--r--core/heirloom-mailx/PKGBUILD2
-rw-r--r--core/idnkit/PKGBUILD4
-rw-r--r--core/ifenslave/PKGBUILD2
-rw-r--r--core/inetutils/PKGBUILD2
-rw-r--r--core/iproute2/PKGBUILD2
-rw-r--r--core/iptables/PKGBUILD2
-rw-r--r--core/iputils/PKGBUILD2
-rw-r--r--core/isdn4k-utils/PKGBUILD2
-rw-r--r--core/isl/PKGBUILD2
-rw-r--r--core/iw/PKGBUILD2
-rw-r--r--core/jfsutils/PKGBUILD2
-rw-r--r--core/kbd/PKGBUILD2
-rw-r--r--core/keyutils/PKGBUILD2
-rw-r--r--core/krb5/PKGBUILD2
-rw-r--r--core/less/PKGBUILD2
-rw-r--r--core/libarchive/PKGBUILD2
-rw-r--r--core/libcap/PKGBUILD2
-rw-r--r--core/libedit/PKGBUILD2
-rw-r--r--core/libevent/PKGBUILD2
-rw-r--r--core/libfetch/PKGBUILD2
-rw-r--r--core/libgcrypt/PKGBUILD2
-rw-r--r--core/libgpg-error/PKGBUILD2
-rw-r--r--core/libgssglue/PKGBUILD2
-rw-r--r--core/libldap/PKGBUILD2
-rw-r--r--core/libmpc/PKGBUILD2
-rw-r--r--core/libnl/PKGBUILD2
-rw-r--r--core/libpcap/PKGBUILD2
-rw-r--r--core/libpipeline/PKGBUILD2
-rw-r--r--core/librpcsecgss/PKGBUILD2
-rw-r--r--core/libsasl/PKGBUILD2
-rw-r--r--core/libtirpc/PKGBUILD2
-rw-r--r--core/libtool/PKGBUILD3
-rw-r--r--core/libusb-compat/PKGBUILD2
-rw-r--r--core/libusb/PKGBUILD2
-rw-r--r--core/lilo/PKGBUILD40
-rw-r--r--core/lilo/lilo.conf28
-rw-r--r--core/lilo/lilo.install5
-rw-r--r--core/links/PKGBUILD2
-rw-r--r--core/linux-api-headers/PKGBUILD12
-rw-r--r--core/linux-atm/PKGBUILD2
-rw-r--r--core/logrotate/PKGBUILD2
-rw-r--r--core/lvm2/PKGBUILD2
-rw-r--r--core/lzo2/PKGBUILD2
-rw-r--r--core/m4/PKGBUILD2
-rw-r--r--core/make/PKGBUILD2
-rw-r--r--core/man-db/PKGBUILD2
-rw-r--r--core/mdadm/PKGBUILD2
-rw-r--r--core/mkinitcpio-busybox/PKGBUILD15
-rw-r--r--core/mkinitcpio-nfs-utils/PKGBUILD2
-rw-r--r--core/mlocate/PKGBUILD2
-rw-r--r--core/module-init-tools/PKGBUILD2
-rw-r--r--core/mpfr/PKGBUILD3
-rw-r--r--core/nano/PKGBUILD2
-rw-r--r--core/ncurses/PKGBUILD2
-rw-r--r--core/net-tools/PKGBUILD2
-rw-r--r--core/nfs-utils/PKGBUILD2
-rw-r--r--core/nfsidmap/PKGBUILD2
-rw-r--r--core/nilfs-utils/PKGBUILD2
-rw-r--r--core/openssh/PKGBUILD2
-rw-r--r--core/openssl/PKGBUILD2
-rw-r--r--core/openvpn/PKGBUILD2
-rw-r--r--core/pacman/pacman.conf.mips64el86
-rw-r--r--core/pam/PKGBUILD4
-rw-r--r--core/patch/PKGBUILD2
-rw-r--r--core/pciutils/PKGBUILD2
-rw-r--r--core/pcmciautils/PKGBUILD2
-rw-r--r--core/pcre/PKGBUILD2
-rw-r--r--core/perl/PKGBUILD2
-rw-r--r--core/pkg-config/PKGBUILD2
-rw-r--r--core/popt/PKGBUILD2
-rw-r--r--core/ppl/PKGBUILD2
-rw-r--r--core/ppp/PKGBUILD2
-rw-r--r--core/pptpclient/PKGBUILD2
-rw-r--r--core/procinfo-ng/PKGBUILD2
-rw-r--r--core/procps/PKGBUILD2
-rw-r--r--core/psmisc/PKGBUILD2
-rw-r--r--core/readline/PKGBUILD2
-rw-r--r--core/reiserfsprogs/PKGBUILD2
-rw-r--r--core/rfkill/PKGBUILD2
-rw-r--r--core/rpcbind/PKGBUILD2
-rw-r--r--core/run-parts/PKGBUILD2
-rw-r--r--core/sdparm/PKGBUILD2
-rw-r--r--core/sed/PKGBUILD2
-rw-r--r--core/shadow/PKGBUILD2
-rw-r--r--core/sqlite3/PKGBUILD17
-rw-r--r--core/sudo/PKGBUILD2
-rw-r--r--core/sysfsutils/PKGBUILD2
-rw-r--r--core/syslinux/PKGBUILD49
-rw-r--r--core/syslinux/syslinux-dont-build-dos-windows-targets.patch12
-rw-r--r--core/syslinux/syslinux-install_update459
-rw-r--r--core/syslinux/syslinux.cfg79
-rw-r--r--core/syslinux/syslinux.install13
-rw-r--r--core/syslog-ng/PKGBUILD2
-rw-r--r--core/sysvinit/PKGBUILD2
-rw-r--r--core/tar/PKGBUILD2
-rw-r--r--core/tcp_wrappers/PKGBUILD2
-rw-r--r--core/texinfo/PKGBUILD2
-rw-r--r--core/tzdata/PKGBUILD2
-rw-r--r--core/udev/PKGBUILD9
-rw-r--r--core/usbutils/PKGBUILD2
-rw-r--r--core/util-linux/PKGBUILD2
-rw-r--r--core/vi/PKGBUILD2
-rw-r--r--core/vpnc/PKGBUILD2
-rw-r--r--core/wget/PKGBUILD7
-rw-r--r--core/which/PKGBUILD2
-rw-r--r--core/wireless_tools/PKGBUILD2
-rw-r--r--core/wpa_actiond/PKGBUILD2
-rw-r--r--core/wpa_supplicant/PKGBUILD2
-rw-r--r--core/xfsprogs/PKGBUILD3
-rw-r--r--core/xinetd/PKGBUILD2
-rw-r--r--core/xz/PKGBUILD2
-rw-r--r--core/zlib/PKGBUILD2
157 files changed, 331 insertions, 996 deletions
diff --git a/core/acl/PKGBUILD b/core/acl/PKGBUILD
index e177e74f5..dd6ffd124 100644
--- a/core/acl/PKGBUILD
+++ b/core/acl/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=acl
pkgver=2.2.51
pkgrel=1
pkgdesc="Access control list utilities, libraries and headers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/acl"
license=('LGPL')
depends=('attr>=2.4.46')
diff --git a/core/attr/PKGBUILD b/core/attr/PKGBUILD
index 30f3ad81a..1df0d7b06 100644
--- a/core/attr/PKGBUILD
+++ b/core/attr/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=attr
pkgver=2.4.46
pkgrel=1
pkgdesc="Extended attribute support library for ACL support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/attr"
license=('LGPL')
depends=('glibc')
@@ -26,6 +26,7 @@ build() {
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
+ export CFLAGS+="-Wparentheses"
make DIST_ROOT="${pkgdir}" install install-lib install-dev
diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD
index 6979842b3..6e2469e5a 100644
--- a/core/bash/PKGBUILD
+++ b/core/bash/PKGBUILD
@@ -8,7 +8,7 @@ _patchlevel=010 #prepare for some patches
pkgver=$_basever.$_patchlevel
pkgrel=1
pkgdesc="The GNU Bourne Again shell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnu.org/software/bash/bash.html"
groups=('base')
diff --git a/core/bin86/PKGBUILD b/core/bin86/PKGBUILD
deleted file mode 100644
index c3865a24e..000000000
--- a/core/bin86/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 119692 2011-04-13 17:22:23Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=bin86
-pkgver=0.16.18
-pkgrel=1
-pkgdesc="A complete 8086 assembler and loader"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://www.debath.co.uk/"
-depends=('glibc')
-source=(http://www.debath.co.uk/dev86//$pkgname-$pkgver.tar.gz
- bin86-0.16.17-x86_64-1.patch)
-md5sums=('914068fb649b93642d1cf21857b75699'
- '92bdce7b0655cd2e9f83c83fc56d128e')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- if [ "$CARCH" = "x86_64" ]; then
- patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch
- fi
- make PREFIX=/usr
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1
- make PREFIX=$pkgdir/usr MANDIR=$pkgdir/usr/share/man/man1 install
-}
diff --git a/core/bin86/bin86-0.16.17-x86_64-1.patch b/core/bin86/bin86-0.16.17-x86_64-1.patch
deleted file mode 100644
index 152413ee7..000000000
--- a/core/bin86/bin86-0.16.17-x86_64-1.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Submitted By: Ken Moffat <ken@kenmoffat.uklinux.net>
-Date: 2005-06-28
-Initial Package Version: 0.16.14
-Upstream Status: Submitted Upstream
-Origin: from ROCK Linux
-Description: Allows bin86 to compile on x86_64, which permits lilo to
- be used in a 64-bit system. I'm dubious about ROCK's attempts to
- automatically add dual-licensing to all their patches, but bin86 is
- already GPL'd. I've heard from the maintainer that this will be
- included in the next upload.
-
-
-# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
-#
-# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
-# Please add additional copyright information _after_ the line containing
-# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
-# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
-#
-# ROCK Linux: rock-src/package/x86/bin86/x86_64.patch
-# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
-#
-# This patch file is dual-licensed. It is available under the license the
-# patched project is licensed under, as long as it is an OpenSource license
-# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
-# of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or (at your option) any later
-# version.
-#
-# --- ROCK-COPYRIGHT-NOTE-END ---
-
-diff -urN bin86-0.16.14-orig/ld/x86_aout.h bin86-0.16.14/ld/x86_aout.h
---- bin86-0.16.14-orig/ld/x86_aout.h 2004-11-07 20:07:31.506442000 +0100
-+++ bin86-0.16.14/ld/x86_aout.h 2004-11-07 20:07:41.106982496 +0100
-@@ -12,6 +12,9 @@
- #if defined(i386) || defined(__BCC__) || defined(MSDOS)
- typedef long Long;
- #define __OUT_OK 1
-+#elif defined(__x86_64__)
-+typedef int Long;
-+#define __OUT_OK 1
- #else
- typedef char Long[4];
- #endif
diff --git a/core/binutils/PKGBUILD b/core/binutils/PKGBUILD
index 790948675..53302b45a 100644
--- a/core/binutils/PKGBUILD
+++ b/core/binutils/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.21.1
pkgrel=1
_date=20110627
pkgdesc="A set of programs to assemble and manipulate binary and object files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base')
@@ -34,6 +34,7 @@ build() {
mkdir binutils-build && cd binutils-build
[[ $CARCH == "x86_64" ]] && CONFIGFLAG="--enable-64-bit-bfd --disable-multilib"
+ [[ $CARCH == "mips64el" ]] && CONFIGFLAG="--disable-multilib --disable-werror"
${srcdir}/binutils/configure --prefix=/usr \
--enable-ld=default --enable-gold \
diff --git a/core/bison/PKGBUILD b/core/bison/PKGBUILD
index ebf2c0fc5..9eaf6a155 100644
--- a/core/bison/PKGBUILD
+++ b/core/bison/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bison
pkgver=2.5
pkgrel=1
pkgdesc="The GNU general-purpose parser generator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/bison/bison.html"
depends=('glibc' 'm4' 'sh')
diff --git a/core/bridge-utils/PKGBUILD b/core/bridge-utils/PKGBUILD
index 75993cfa7..d54b6ccd2 100644
--- a/core/bridge-utils/PKGBUILD
+++ b/core/bridge-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bridge-utils
pkgver=1.4
pkgrel=4
pkgdesc="Utilities for configuring the Linux ethernet bridge"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linuxfoundation.org/en/Net:Bridge"
license=('GPL2')
backup=('etc/conf.d/bridges')
diff --git a/core/btrfs-progs-unstable/PKGBUILD b/core/btrfs-progs-unstable/PKGBUILD
index 466829f8c..151a74ef0 100644
--- a/core/btrfs-progs-unstable/PKGBUILD
+++ b/core/btrfs-progs-unstable/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=btrfs-progs-unstable
pkgver=0.19.20101006
pkgrel=1
pkgdesc="btrfs filesystem utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('glibc' 'e2fsprogs')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2)
url="http://btrfs.wiki.kernel.org/"
diff --git a/core/bzip2/PKGBUILD b/core/bzip2/PKGBUILD
index 26634ee4a..f44d4d602 100644
--- a/core/bzip2/PKGBUILD
+++ b/core/bzip2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bzip2
pkgver=1.0.6
pkgrel=1
pkgdesc="A high-quality data compression program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://sources.redhat.com/bzip2"
groups=('base')
diff --git a/core/cloog/PKGBUILD b/core/cloog/PKGBUILD
index 39645a7e5..f53c19480 100644
--- a/core/cloog/PKGBUILD
+++ b/core/cloog/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cloog
pkgver=0.16.2
pkgrel=1
pkgdesc="Library that generates loops for scanning polyhedra"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.bastoul.net/cloog/"
license=('GPL')
depends=('isl' 'gmp')
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD
index 6d75f0659..614a30346 100644
--- a/core/coreutils/PKGBUILD
+++ b/core/coreutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=coreutils
pkgver=8.12
pkgrel=3
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/coreutils"
groups=('base')
diff --git a/core/cracklib/PKGBUILD b/core/cracklib/PKGBUILD
index fb91d8651..fbf548e76 100644
--- a/core/cracklib/PKGBUILD
+++ b/core/cracklib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cracklib
pkgver=2.8.18
pkgrel=1
pkgdesc="Password Checking Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://sourceforge.net/projects/cracklib"
depends=('glibc' 'zlib')
diff --git a/core/crda/PKGBUILD b/core/crda/PKGBUILD
index 18a85717c..f6fbdc8d7 100644
--- a/core/crda/PKGBUILD
+++ b/core/crda/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=crda
pkgver=1.1.1
pkgrel=3
pkgdesc="Central Regulatory Domain Agent for wireless networks"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
license=('custom')
depends=('wireless-regdb' 'libnl' 'libgcrypt' 'udev' 'iw')
diff --git a/core/cronie/PKGBUILD b/core/cronie/PKGBUILD
index 795884823..c23101c6f 100644
--- a/core/cronie/PKGBUILD
+++ b/core/cronie/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pam' 'bash' 'run-parts')
optdepends=('smtp-server: sending cron job output via email')
diff --git a/core/cryptsetup/PKGBUILD b/core/cryptsetup/PKGBUILD
index a2a11ec9e..cee08955b 100644
--- a/core/cryptsetup/PKGBUILD
+++ b/core/cryptsetup/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cryptsetup
pkgver=1.3.1
pkgrel=2
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://code.google.com/p/cryptsetup/"
groups=('base')
diff --git a/core/dash/PKGBUILD b/core/dash/PKGBUILD
index 578f4b17f..a0cf4bb3c 100644
--- a/core/dash/PKGBUILD
+++ b/core/dash/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dash
pkgver=0.5.6.1
pkgrel=2
pkgdesc="A POSIX compliant shell that aims to be as small as possible"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gondor.apana.org.au/~herbert/dash/"
license=('BSD')
groups=('base')
diff --git a/core/db/PKGBUILD b/core/db/PKGBUILD
index 40d1b020b..66b78e4f3 100644
--- a/core/db/PKGBUILD
+++ b/core/db/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=db
pkgver=5.2.28
pkgrel=1
pkgdesc="The Berkeley DB embedded database system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
license=('custom')
depends=('gcc-libs' 'sh')
diff --git a/core/dbus-core/PKGBUILD b/core/dbus-core/PKGBUILD
index 360802755..a9d2505b4 100644
--- a/core/dbus-core/PKGBUILD
+++ b/core/dbus-core/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.12
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'custom')
depends=('expat>=2.0.1' 'coreutils' 'filesystem')
makedepends=('libx11')
diff --git a/core/dhcpcd/PKGBUILD b/core/dhcpcd/PKGBUILD
index 1eb7dc82a..ab53755ab 100644
--- a/core/dhcpcd/PKGBUILD
+++ b/core/dhcpcd/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=5.2.12
pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
groups=('base')
depends=('glibc' 'sh')
diff --git a/core/dialog/PKGBUILD b/core/dialog/PKGBUILD
index b9f4f68ba..864b82ab4 100644
--- a/core/dialog/PKGBUILD
+++ b/core/dialog/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dialog
pkgver=1.1_20110302
pkgrel=1
pkgdesc="A tool to display dialog boxes from shell scripts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/dialog/"
license=('LGPL2.1')
depends=('ncurses')
diff --git a/core/diffutils/PKGBUILD b/core/diffutils/PKGBUILD
index a5cec46b3..56180aca3 100644
--- a/core/diffutils/PKGBUILD
+++ b/core/diffutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=diffutils
pkgver=3.0
pkgrel=2
pkgdesc="Utility programs used for creating patch files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/diffutils"
license=('GPL3')
groups=('base')
diff --git a/core/dmraid/PKGBUILD b/core/dmraid/PKGBUILD
index 5af91a2ec..b15879ebf 100644
--- a/core/dmraid/PKGBUILD
+++ b/core/dmraid/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc="Device mapper RAID interface"
url="http://people.redhat.com/~heinzm/sw/dmraid/"
conflicts=('mkinitcpio<0.7')
depends=('device-mapper>=2.0.54')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
source=(#ftp://ftp.archlinux.org/other/dmraid/$pkgname-$pkgver.tar.bz2
http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-1.0.0.rc16-3.tar.bz2
diff --git a/core/dnsutils/PKGBUILD b/core/dnsutils/PKGBUILD
index 724bb5c4d..b856ed0b5 100644
--- a/core/dnsutils/PKGBUILD
+++ b/core/dnsutils/PKGBUILD
@@ -11,7 +11,7 @@ _pkgver=9.8.0-P4
pkgrel=1
pkgdesc='Various DNS utilities - dig host nslookup nsupdate'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://www.isc.org/software/bind'
license=('custom:ISC')
depends=('openssl' 'idnkit')
diff --git a/core/e2fsprogs/PKGBUILD b/core/e2fsprogs/PKGBUILD
index 09fa0f395..f1683011e 100644
--- a/core/e2fsprogs/PKGBUILD
+++ b/core/e2fsprogs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=e2fsprogs
pkgver=1.41.14
pkgrel=1
pkgdesc="Ext2/3/4 filesystem utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'MIT')
url="http://e2fsprogs.sourceforge.net"
groups=('base')
diff --git a/core/ed/PKGBUILD b/core/ed/PKGBUILD
index a644e33fa..acce94227 100644
--- a/core/ed/PKGBUILD
+++ b/core/ed/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ed
pkgver=1.5
pkgrel=2
pkgdesc="A POSIX-compliant line editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnu.org/software/ed/ed.html"
install=ed.install
diff --git a/core/eventlog/PKGBUILD b/core/eventlog/PKGBUILD
index 638fe3703..f8ddb12dc 100644
--- a/core/eventlog/PKGBUILD
+++ b/core/eventlog/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eventlog
pkgver=0.2.12
pkgrel=2
pkgdesc="API to format and send structured log messages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
diff --git a/core/expat/PKGBUILD b/core/expat/PKGBUILD
index 9daf035ad..ed1f35b48 100644
--- a/core/expat/PKGBUILD
+++ b/core/expat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=expat
pkgver=2.0.1
pkgrel=6
pkgdesc="An XML parser library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://expat.sourceforge.net"
license=('custom')
depends=('glibc')
diff --git a/core/fakeroot/PKGBUILD b/core/fakeroot/PKGBUILD
index 2d869d714..0b214b75b 100644
--- a/core/fakeroot/PKGBUILD
+++ b/core/fakeroot/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fakeroot
pkgver=1.16
pkgrel=1
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://packages.debian.org/fakeroot"
groups=('base-devel')
diff --git a/core/file/PKGBUILD b/core/file/PKGBUILD
index 2a5489e9d..6b1d9377d 100644
--- a/core/file/PKGBUILD
+++ b/core/file/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=file
pkgver=5.07
pkgrel=4
pkgdesc="File type identification utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
groups=('base')
url="http://www.darwinsys.com/file/"
diff --git a/core/findutils/PKGBUILD b/core/findutils/PKGBUILD
index 9eb4dcd00..673dbe87e 100644
--- a/core/findutils/PKGBUILD
+++ b/core/findutils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=findutils
pkgver=4.4.2
pkgrel=3
pkgdesc="GNU utilities to locate files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
groups=('base')
depends=('glibc' 'sh')
diff --git a/core/flex/PKGBUILD b/core/flex/PKGBUILD
index 87ece915f..24d25b67a 100644
--- a/core/flex/PKGBUILD
+++ b/core/flex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=flex
pkgver=2.5.35
pkgrel=4
pkgdesc="A tool for generating text-scanning programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://flex.sourceforge.net"
license=('custom')
groups=('base-devel')
diff --git a/core/gawk/PKGBUILD b/core/gawk/PKGBUILD
index a61f089c0..6782d02f1 100644
--- a/core/gawk/PKGBUILD
+++ b/core/gawk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gawk
pkgver=4.0.0
pkgrel=1
pkgdesc="GNU version of awk"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/directory/GNU/gawk.html"
license=('GPL')
groups=('base')
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index ecba694b3..9b0b02234 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -7,10 +7,12 @@
pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go')
pkgver=4.6.1
pkgrel=2
+pkgver=4.6.0
+pkgrel=7 # hold ver
#_snapshot=4.6-20110603
_libstdcppmanver=20110201 # Note: check source directory name when updating this
pkgdesc="The GNU Compiler Collection"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL' 'custom')
url="http://gcc.gnu.org"
makedepends=('binutils>=2.21-9' 'libmpc' 'cloog' 'ppl' 'gcc-ada')
@@ -20,6 +22,7 @@ source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/libstdc++-api.${_libstdcppmanver}.man.tar.bz2
gcc_pure64.patch
+ gcc_mips64el_lib.patch
gcc-hash-style-both.patch)
md5sums=('c57a9170c677bf795bdc04ed796ca491'
'1e9fd2eaf0ee47ea64e82c48998f1999'
@@ -43,8 +46,10 @@ build() {
if [ "${CARCH}" = "x86_64" ]; then
patch -Np1 -i ${srcdir}/gcc_pure64.patch
- fi
- patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
+ elif [ "${CARCH}" = "mips64el" ]; then
+ patch -Np0 -i ${srcdir}/gcc_mips64el_lib.patch
+ fi
+ patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch
echo ${pkgver} > gcc/BASE-VER
@@ -54,8 +59,8 @@ build() {
${_basedir}/configure --prefix=/usr \
--libdir=/usr/lib --libexecdir=/usr/lib \
--mandir=/usr/share/man --infodir=/usr/share/info \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
+ --with-bugurl=https://bugs.parabolagnulinux.org/ \
+ --enable-languages=c,c++,fortran,lto,objc,obj-c++ \
--enable-shared --enable-threads=posix \
--with-system-zlib --enable-__cxa_atexit \
--disable-libunwind-exceptions --enable-clocale=gnu \
@@ -121,17 +126,17 @@ package_gcc()
# unfortunately it is much, much easier to install the lot and clean-up the mess...
make -j1 DESTDIR=${pkgdir} install
- rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
- rm $pkgdir/usr/lib/*.so*
- rm $pkgdir/usr/lib/lib{ffi,gfortran,go{,begin},objc,quadmath}.a
- rm $pkgdir/usr/lib/libgfortran.spec
- rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
- rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/{ffi{,target}.h,quadmath{,_weak}.h}
- rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1,libgfortranbegin.a}
- rm -r $pkgdir/usr/lib/go
- rm $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath}.info
- rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
- rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
+ rm $pkgdir/usr/lib/*.so* # gcc-libs
+ rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo # gcc-libs
+ rm $pkgdir/usr/share/info/libgomp.info # gcc-libs
+ rm $pkgdir/usr/bin/{$CHOST-,}gfortran # gcc-fortran
+ rm $pkgdir/usr/lib/libgfortran.{spec,a} # gcc-fortran
+ rm $pkgdir/usr/share/info/gfortran.info #gcc-fortran
+ rm $pkgdir/usr/lib/lib{objc,gomp}.a
+ rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{finclude,include/objc}
+ rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,libgfortranbegin.a}
+
+ rm $pkgdir/usr/share/man/man1/gfortran.1
rm $pkgdir/usr/share/man/man3/ffi*
# many packages require these symlinks
@@ -222,33 +227,8 @@ package_gcc-objc()
${pkgdir}/usr/share/licenses/gcc-objc/RUNTIME.LIBRARY.EXCEPTION
}
-package_gcc-ada()
-{
- pkgdesc="Ada front-end for GCC (GNAT)"
- depends=("gcc=$pkgver-$pkgrel")
- install=gcc-ada.install
-
- cd gcc-build/gcc
- make -j1 DESTDIR=$pkgdir ada.install-{common,info}
- install -m755 gnat1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION
-}
-
-package_gcc-go()
-{
- pkgdesc="Go front-end for GCC"
- depends=("gcc=$pkgver-$pkgrel")
- install=gcc-go.install
-
- cd gcc-build
- make -j1 DESTDIR=$pkgdir install-target-libgo
- make -j1 -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
- install -Dm755 gcc/go1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/go1
-
- # Install Runtime Library Exception
- install -Dm644 ${_basedir}/COPYING.RUNTIME \
- ${pkgdir}/usr/share/licenses/gcc-go/RUNTIME.LIBRARY.EXCEPTION
-}
+md5sums=('c97d52b2b4e6c8c5cf665ae3eb9e8e49'
+ '1e9fd2eaf0ee47ea64e82c48998f1999'
+ '4030ee1c08dd1e843c0225b772360e76'
+ '67e337993d821d72fccacbed52d48c34'
+ '4df25b623799b148a0703eaeec8fdf3f')
diff --git a/core/gcc/gcc_mips64el_lib.patch b/core/gcc/gcc_mips64el_lib.patch
new file mode 100644
index 000000000..425758e88
--- /dev/null
+++ b/core/gcc/gcc_mips64el_lib.patch
@@ -0,0 +1,25 @@
+--- gcc/config/mips/t-linux64.orig 2011-04-09 20:28:51.729723495 -0300
++++ gcc/config/mips/t-linux64 2011-04-09 20:29:06.913724013 -0300
+@@ -18,7 +18,7 @@
+
+ MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64
+ MULTILIB_DIRNAMES = n32 32 64
+-MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64
++MULTILIB_OSDIRNAMES = ../lib ../lib32 ../lib64
+
+ EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
+
+--- gcc/config/mips/linux64.h.orig 2011-04-09 20:27:06.909723735 -0300
++++ gcc/config/mips/linux64.h 2011-04-09 20:28:16.033723803 -0300
+@@ -35,9 +35,9 @@
+ %{!shared: \
+ %{profile:-lc_p} %{!profile:-lc}}"
+
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld.so.1"
+ #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
+-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
++#define GLIBC_DYNAMIC_LINKERN32 "/lib/ld.so.1"
+ #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
+ #define LINUX_DYNAMIC_LINKERN32 \
+ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
diff --git a/core/gdbm/PKGBUILD b/core/gdbm/PKGBUILD
index e3c8a2449..362e8966e 100644
--- a/core/gdbm/PKGBUILD
+++ b/core/gdbm/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=8
pkgdesc="GNU database library"
url="http://www.gnu.org/software/gdbm/gdbm.html"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc' 'sh')
source=(ftp://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz
gdbm-1.8.3-zeroheaders.patch
diff --git a/core/gettext/PKGBUILD b/core/gettext/PKGBUILD
index f00a1c31a..1beb44222 100644
--- a/core/gettext/PKGBUILD
+++ b/core/gettext/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gettext
pkgver=0.18.1.1
-pkgrel=3
+pkgrel=4
pkgdesc="GNU internationalization library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gettext/"
license=('GPL')
groups=('base')
@@ -19,7 +19,7 @@ md5sums=('3dd55b952826d2b32f51308f2f91aa89')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
- ./configure --prefix=/usr --enable-csharp
+ ./configure --build=$CHOST --prefix=/usr --enable-csharp
make
}
diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD
index 93729d3a3..019c768a8 100644
--- a/core/glib2/PKGBUILD
+++ b/core/glib2/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.28.8
pkgrel=1
pkgdesc="Common C routines used by GTK+ and other libs"
url="http://www.gtk.org/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('pcre>=8.12')
makedepends=('pkgconfig' 'python2')
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index f3a040236..7e13a12b1 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -7,9 +7,11 @@
pkgname=glibc
pkgver=2.14
pkgrel=4
+pkgver=2.13
+pkgrel=5.1
_glibcdate=20110617
pkgdesc="GNU C Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libc"
license=('GPL' 'LGPL')
groups=('base')
@@ -20,11 +22,13 @@ backup=(etc/locale.gen
options=('!strip')
install=glibc.install
source=(ftp://ftp.archlinux.org/other/glibc/${pkgname}-${pkgver}_${_glibcdate}.tar.xz
+ ftp://ftp.gnu.org/gnu/glibc/${pkgname}-ports-${pkgver}.tar.bz2
glibc-2.10-dont-build-timezone.patch
glibc-2.10-bz4781.patch
glibc-__i686.patch
glibc-2.12.1-static-shared-getpagesize.patch
glibc-2.12.2-ignore-origin-of-privileged-program.patch
+ glibc-2.13-prelink.patch
glibc-2.13-futex.patch
glibc-2.14-libdl-crash.patch
#glibc-2.14-fix-resolver-crash-typo.patch
@@ -34,21 +38,6 @@ source=(ftp://ftp.archlinux.org/other/glibc/${pkgname}-${pkgver}_${_glibcdate}.t
nscd
locale.gen.txt
locale-gen)
-md5sums=('e441d745609d93c907b72548ba646dad'
- '4dadb9203b69a3210d53514bb46f41c3'
- '0c5540efc51c0b93996c51b57a8540ae'
- '40cd342e21f71f5e49e32622b25acc52'
- 'a3ac6f318d680347bb6e2805d42b73b2'
- 'b042647ea7d6f22ad319e12e796bd13e'
- '7d0154b7e17ea218c9fa953599d24cc4'
- 'cea62cc6b903d222c5f26e05a3c0e0e6'
- '46e56492cccb1c9172ed3a235cf43c6c'
- 'c5de2a946215d647c8af5432ec4b0da0'
- '55febbb72139ac7b65757df085024b83'
- 'b587ee3a70c9b3713099295609afde49'
- '07ac979b6ab5eeb778d55f041529d623'
- '476e9113489f93b348b21e144b6a8fcf')
-
mksource() {
git clone git://sourceware.org/git/glibc.git
@@ -79,6 +68,10 @@ build() {
# http://sourceware.org/git/?p=glibc.git;a=patch;h=d14e6b09 (only fedora branch...)
patch -Np1 -i ${srcdir}/glibc-2.12.2-ignore-origin-of-privileged-program.patch
+ # http://sourceware.org/bugzilla/show_bug.cgi?id=12489
+ # http://sourceware.org/git/?p=glibc.git;a=commit;h=25b3aada (only fedora branch...)
+ patch -Np1 -i ${srcdir}/glibc-2.13-prelink.patch
+
# http://sourceware.org/bugzilla/show_bug.cgi?id=12403
patch -Np1 -i ${srcdir}/glibc-2.13-futex.patch
@@ -110,12 +103,18 @@ build() {
export CFLAGS="${CFLAGS} -mno-tls-direct-seg-refs"
fi
+ if [[ ${CARCH} = "mips64el" ]]; then
+ # mips64el is only supported out of tree.
+ mv ${srcdir}/${pkgname}-ports-${pkgver} ${srcdir}/glibc/ports
+ extra_addons=",ports"
+ fi
+
echo "slibdir=/lib" >> configparms
${srcdir}/glibc/configure --prefix=/usr \
--libdir=/usr/lib --libexecdir=/usr/lib \
--with-headers=/usr/include \
- --enable-add-ons=nptl,libidn \
+ --enable-add-ons=nptl,libidn$extra_addons \
--enable-kernel=2.6.27 \
--with-tls --with-__thread \
--enable-bind-now --without-gd \
@@ -174,7 +173,7 @@ package() {
usr/bin/{gencat,getconf,getent,iconv,locale} \
usr/bin/{localedef,pcprofiledump,rpcgen,sprof} \
usr/lib/getconf/* \
- usr/sbin/{iconvconfig,nscd}
+ usr/sbin/{iconvconfig,nscd,rpcinfo}
[[ $CARCH = "i686" ]] && strip $STRIP_BINARIES usr/bin/lddlibc4
strip $STRIP_STATIC usr/lib/*.a \
diff --git a/core/gmp/PKGBUILD b/core/gmp/PKGBUILD
index c8b486dec..237ae7d68 100644
--- a/core/gmp/PKGBUILD
+++ b/core/gmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gmp
pkgver=5.0.2
pkgrel=2
pkgdesc="A free library for arbitrary precision arithmetic"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmplib.org/"
depends=('gcc-libs' 'sh')
license=('LGPL3')
@@ -22,6 +22,7 @@ build() {
patch -Np1 -i $srcdir/538dfce27f41.patch
[ "${CARCH}" = "i686" ] && export ABI="32"
+ [ "${CARCH}" = "mips64el" ] && export ABI="n32"
./configure --build=${CHOST} \
--prefix=/usr --infodir=/usr/share/info \
--enable-cxx
diff --git a/core/gpm/PKGBUILD b/core/gpm/PKGBUILD
index f0284fc2e..aa147eaff 100644
--- a/core/gpm/PKGBUILD
+++ b/core/gpm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gpm
pkgver=1.20.6
pkgrel=6
pkgdesc="A mouse server for the console and xterm"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nico.schottelius.org/software/gpm/"
license=('GPL')
depends=('ncurses' 'bash')
diff --git a/core/grep/PKGBUILD b/core/grep/PKGBUILD
index 958f5b0e5..b8ebbe79c 100644
--- a/core/grep/PKGBUILD
+++ b/core/grep/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=grep
pkgver=2.9
pkgrel=1
pkgdesc="A string search utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/grep/grep.html"
groups=('base')
diff --git a/core/groff/PKGBUILD b/core/groff/PKGBUILD
index 73e68b3a6..9cd958e8c 100644
--- a/core/groff/PKGBUILD
+++ b/core/groff/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=groff
pkgver=1.21
pkgrel=1
pkgdesc="GNU troff text-formatting system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnu.org/software/groff/groff.html"
license=('GPL')
depends=('perl' 'gcc-libs' 'texinfo')
diff --git a/core/gzip/PKGBUILD b/core/gzip/PKGBUILD
index 135dafaa6..87c152292 100644
--- a/core/gzip/PKGBUILD
+++ b/core/gzip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gzip
pkgver=1.4
pkgrel=2
pkgdesc="GNU compression utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gzip/"
license=('GPL3')
groups=('base')
diff --git a/core/hdparm/PKGBUILD b/core/hdparm/PKGBUILD
index 680cf51c9..bc305d6cc 100644
--- a/core/hdparm/PKGBUILD
+++ b/core/hdparm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=hdparm
pkgver=9.37
pkgrel=1
pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('glibc')
optdepends=('sh: required by idectl and ultrabayd')
source=(http://downloads.sourceforge.net/sourceforge/hdparm/${pkgname}-${pkgver}.tar.gz
diff --git a/core/heirloom-mailx/PKGBUILD b/core/heirloom-mailx/PKGBUILD
index 028d593a3..b5f8014d8 100644
--- a/core/heirloom-mailx/PKGBUILD
+++ b/core/heirloom-mailx/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=heirloom-mailx
pkgver=12.5
pkgrel=1
pkgdesc="A commandline utility for sending and receiving email"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://heirloom.sourceforge.net/mailx.html"
license=('custom')
groups=('base')
diff --git a/core/idnkit/PKGBUILD b/core/idnkit/PKGBUILD
index 3dd1e0833..ad97b1283 100644
--- a/core/idnkit/PKGBUILD
+++ b/core/idnkit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=idnkit
pkgver=1.0
pkgrel=1
pkgdesc='Provides functionalities about Internationalized Domain Name processing'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.nic.ad.jp/ja/idn/idnkit/download/'
license=('custom:BSD')
options=('!makeflags' '!libtool')
@@ -17,6 +17,8 @@ backup=('etc/idnalias.conf' 'etc/idn.conf')
build() {
cd "${srcdir}/idnkit-${pkgver}-src"
./configure \
+ --host=$CHOST \
+ --build=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
diff --git a/core/ifenslave/PKGBUILD b/core/ifenslave/PKGBUILD
index 516eba638..767fddecf 100644
--- a/core/ifenslave/PKGBUILD
+++ b/core/ifenslave/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ifenslave
pkgver=1.1.0
pkgrel=6
pkgdesc="Utility for bonding ethernet interfaces"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linuxfoundation.org/en/Net:Bonding"
license=('GPL2')
depends=('glibc')
diff --git a/core/inetutils/PKGBUILD b/core/inetutils/PKGBUILD
index 19feb931e..09d280a1f 100644
--- a/core/inetutils/PKGBUILD
+++ b/core/inetutils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=inetutils
pkgver=1.8
pkgrel=3
pkgdesc="A collection of common network programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/inetutils/"
license=('GPL')
depends=('readline' 'ncurses' 'pam')
diff --git a/core/iproute2/PKGBUILD b/core/iproute2/PKGBUILD
index 68f05ebac..2eabc228d 100644
--- a/core/iproute2/PKGBUILD
+++ b/core/iproute2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=iproute2
pkgver=2.6.39
pkgrel=1
pkgdesc="IP Routing Utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.linux-foundation.org/en/Net:Iproute2"
depends=('perl')
diff --git a/core/iptables/PKGBUILD b/core/iptables/PKGBUILD
index b4d6939b4..57f866273 100644
--- a/core/iptables/PKGBUILD
+++ b/core/iptables/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=iptables
pkgver=1.4.11.1
pkgrel=1
pkgdesc="A Linux kernel packet control tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.netfilter.org/"
depends=('glibc' 'bash')
diff --git a/core/iputils/PKGBUILD b/core/iputils/PKGBUILD
index 4de06deed..ec4f5787e 100644
--- a/core/iputils/PKGBUILD
+++ b/core/iputils/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=20101006
_traceroutever=1.4a12
pkgrel=1
pkgdesc="IP Configuration Utilities (and Ping)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.linuxfoundation.org/en/Net:Iputils"
groups=('base')
diff --git a/core/isdn4k-utils/PKGBUILD b/core/isdn4k-utils/PKGBUILD
index 3db35097e..731138125 100644
--- a/core/isdn4k-utils/PKGBUILD
+++ b/core/isdn4k-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=isdn4k-utils
pkgver=3.2p1
pkgrel=6
pkgdesc="User space administration programs and tools for ISDN"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.isdn4linux.de/"
license=('GPL')
depends=('ncurses')
diff --git a/core/isl/PKGBUILD b/core/isl/PKGBUILD
index bba92fb24..9fc3e3ca6 100644
--- a/core/isl/PKGBUILD
+++ b/core/isl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=isl
pkgver=0.06
pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kotnet.org/~skimo/isl/"
license=('LGPL2.1')
options=('!libtool')
diff --git a/core/iw/PKGBUILD b/core/iw/PKGBUILD
index 67cc374ca..5910aef6c 100644
--- a/core/iw/PKGBUILD
+++ b/core/iw/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=iw
pkgver=0.9.22
pkgrel=1
pkgdesc="nl80211 based CLI configuration utility for wireless devices"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://wireless.kernel.org/en/users/Documentation/iw"
license=("GPL")
depends=("libnl")
diff --git a/core/jfsutils/PKGBUILD b/core/jfsutils/PKGBUILD
index f0342bad0..a96f6b8c5 100644
--- a/core/jfsutils/PKGBUILD
+++ b/core/jfsutils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=jfsutils
pkgver=1.1.15
pkgrel=2
pkgdesc="JFS filesystem utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://jfs.sourceforge.net"
license=('GPL')
groups=('base')
diff --git a/core/kbd/PKGBUILD b/core/kbd/PKGBUILD
index c1643ec9a..e44659732 100644
--- a/core/kbd/PKGBUILD
+++ b/core/kbd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kbd
pkgver=1.15.3
pkgrel=1
pkgdesc="Keytable files and keyboard utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
license=('GPL')
depends=('glibc')
diff --git a/core/keyutils/PKGBUILD b/core/keyutils/PKGBUILD
index 8e1810f9f..0a0258b22 100644
--- a/core/keyutils/PKGBUILD
+++ b/core/keyutils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=keyutils
pkgver=1.4
pkgrel=1
pkgdesc="Linux Key Management Utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
diff --git a/core/krb5/PKGBUILD b/core/krb5/PKGBUILD
index 6dc3dcc01..f8300bf83 100644
--- a/core/krb5/PKGBUILD
+++ b/core/krb5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=krb5
pkgver=1.9.1
pkgrel=2
pkgdesc="The Kerberos network authentication system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://web.mit.edu/kerberos/"
license=('custom')
depends=('e2fsprogs' 'libldap' 'keyutils')
diff --git a/core/less/PKGBUILD b/core/less/PKGBUILD
index 36b928066..0654acb67 100644
--- a/core/less/PKGBUILD
+++ b/core/less/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=444
pkgrel=1
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.greenwoodsoftware.com/less"
groups=('base')
depends=('ncurses' 'pcre')
diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD
index e01ef2861..3092cd438 100644
--- a/core/libarchive/PKGBUILD
+++ b/core/libarchive/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libarchive
pkgver=2.8.4
pkgrel=2
pkgdesc="library that can create and read several streaming archive formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libarchive.googlecode.com/"
license=('BSD')
depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat')
diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD
index 2d91dbbf9..3a5f21eef 100644
--- a/core/libcap/PKGBUILD
+++ b/core/libcap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcap
pkgver=2.21
pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
license=('GPL')
depends=('glibc' 'attr')
diff --git a/core/libedit/PKGBUILD b/core/libedit/PKGBUILD
index fb9152883..e6c2ff4f1 100644
--- a/core/libedit/PKGBUILD
+++ b/core/libedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libedit
pkgver=20110227_3.0
pkgrel=1
pkgdesc='Command line editor library providing generic line editing, history, and tokenization functions'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.thrysoee.dk/editline/'
license=('BSD')
depends=('ncurses')
diff --git a/core/libevent/PKGBUILD b/core/libevent/PKGBUILD
index 21f3f6722..1878da5cb 100644
--- a/core/libevent/PKGBUILD
+++ b/core/libevent/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libevent
pkgver=2.0.12
pkgrel=1
pkgdesc="An event notification library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.monkey.org/~provos/libevent/"
license=('GPL2')
depends=('openssl')
diff --git a/core/libfetch/PKGBUILD b/core/libfetch/PKGBUILD
index 328ebcf88..7ad51c2b5 100644
--- a/core/libfetch/PKGBUILD
+++ b/core/libfetch/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libfetch
pkgver=2.33
pkgrel=3
pkgdesc="URL based download library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('openssl>=1.0.0')
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
diff --git a/core/libgcrypt/PKGBUILD b/core/libgcrypt/PKGBUILD
index 974f69b8a..ec4077548 100644
--- a/core/libgcrypt/PKGBUILD
+++ b/core/libgcrypt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgcrypt
pkgver=1.5.0
pkgrel=1
pkgdesc="a general purpose crypto library based on the code used"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.9')
diff --git a/core/libgpg-error/PKGBUILD b/core/libgpg-error/PKGBUILD
index b0cbef1c0..d24c58623 100644
--- a/core/libgpg-error/PKGBUILD
+++ b/core/libgpg-error/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgpg-error
pkgver=1.10
pkgrel=1
pkgdesc="Support library for libgcrypt"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnupg.org"
license=('LGPL')
depends=('glibc' 'sh')
diff --git a/core/libgssglue/PKGBUILD b/core/libgssglue/PKGBUILD
index 493598561..da8133b37 100644
--- a/core/libgssglue/PKGBUILD
+++ b/core/libgssglue/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgssglue
pkgver=0.1
pkgrel=4
pkgdesc="Exports a gssapi interface which calls other random gssapi libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('BSD')
depends=('glibc')
diff --git a/core/libldap/PKGBUILD b/core/libldap/PKGBUILD
index 1461603b5..b629157ac 100644
--- a/core/libldap/PKGBUILD
+++ b/core/libldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libldap
pkgver=2.4.24
pkgrel=1
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.openldap.org/"
backup=(etc/openldap/ldap.conf)
diff --git a/core/libmpc/PKGBUILD b/core/libmpc/PKGBUILD
index 58dc50c42..edbdb85f6 100644
--- a/core/libmpc/PKGBUILD
+++ b/core/libmpc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmpc
pkgver=0.9
pkgrel=1
pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.multiprecision.org/"
license=('LGPL')
depends=('mpfr>=3.0.0')
diff --git a/core/libnl/PKGBUILD b/core/libnl/PKGBUILD
index 2c835283b..dd181956c 100644
--- a/core/libnl/PKGBUILD
+++ b/core/libnl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnl
pkgver=1.1
pkgrel=2
pkgdesc="Library for applications dealing with netlink sockets"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.infradead.org/~tgr/libnl/"
license=('GPL')
depends=('glibc')
diff --git a/core/libpcap/PKGBUILD b/core/libpcap/PKGBUILD
index 845ff13bf..596e16fcc 100644
--- a/core/libpcap/PKGBUILD
+++ b/core/libpcap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpcap
pkgver=1.1.1
pkgrel=2
pkgdesc="A system-independent interface for user-level packet capture"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.tcpdump.org/"
license=('BSD')
depends=('glibc' 'libnl' 'sh')
diff --git a/core/libpipeline/PKGBUILD b/core/libpipeline/PKGBUILD
index 086d93d54..a0a0f5045 100644
--- a/core/libpipeline/PKGBUILD
+++ b/core/libpipeline/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpipeline
pkgver=1.2.0
pkgrel=1
pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libpipeline.nongnu.org/"
license=('GPL')
groups=('base')
diff --git a/core/librpcsecgss/PKGBUILD b/core/librpcsecgss/PKGBUILD
index c16ea175b..7031203ce 100644
--- a/core/librpcsecgss/PKGBUILD
+++ b/core/librpcsecgss/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=librpcsecgss
pkgver=0.19
pkgrel=5
pkgdesc="Library for RPCSECGSS support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('GPL')
depends=('glibc' 'krb5' 'libgssglue')
diff --git a/core/libsasl/PKGBUILD b/core/libsasl/PKGBUILD
index 0a92c6a7a..ea01c4201 100644
--- a/core/libsasl/PKGBUILD
+++ b/core/libsasl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsasl
pkgver=2.1.23
pkgrel=6
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
license=('custom')
depends=('db>=4.8')
diff --git a/core/libtirpc/PKGBUILD b/core/libtirpc/PKGBUILD
index b222249ff..db3385444 100644
--- a/core/libtirpc/PKGBUILD
+++ b/core/libtirpc/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libtirpc
pkgver=0.2.1
pkgrel=3
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('glibc' 'libgssglue' 'krb5')
url="http://libtirpc.sourceforge.net/"
license=('GPL2')
diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD
index 980ac3408..079de12ca 100644
--- a/core/libtool/PKGBUILD
+++ b/core/libtool/PKGBUILD
@@ -7,8 +7,9 @@
pkgname=libtool
pkgver=2.4
pkgrel=4
+pkgrel=3 # holdver
pkgdesc="A generic library support script"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libtool"
license=('GPL')
depends=('sh' 'tar' 'gcc=4.6.1')
diff --git a/core/libusb-compat/PKGBUILD b/core/libusb-compat/PKGBUILD
index b2b16ced6..2391c2cbd 100644
--- a/core/libusb-compat/PKGBUILD
+++ b/core/libusb-compat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libusb-compat
pkgver=0.1.3
pkgrel=1
pkgdesc="Library to enable user space application programs to communicate with USB devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libusb' 'sh')
url="http://libusb.sourceforge.net/"
license=('LGPL')
diff --git a/core/libusb/PKGBUILD b/core/libusb/PKGBUILD
index 947361b3d..e097bc137 100644
--- a/core/libusb/PKGBUILD
+++ b/core/libusb/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=1.0.8
pkgrel=1
depends=('glibc')
pkgdesc="Library to enable user space application programs to communicate with USB devices."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://libusb.sourceforge.net/"
license=('LGPL')
source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
diff --git a/core/lilo/PKGBUILD b/core/lilo/PKGBUILD
deleted file mode 100644
index 216f1b91d..000000000
--- a/core/lilo/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 118988 2011-04-09 21:38:07Z tpowa $
-# Maintainer: Eric Belanger <eric@archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=lilo
-pkgver=23.2
-pkgrel=1
-pkgdesc="A bootloader for Linux"
-arch=('i686' 'x86_64')
-url="https://alioth.debian.org/projects/lilo/"
-license=('BSD')
-# While lilo should stay in the base category,
-# it usually makes no sense if it is installed
-# with pacman -S base, therefore, don't add
-# the base group here.
-#groups=('base')
-backup=('etc/lilo.conf')
-depends=('device-mapper' 'coreutils')
-makedepends=('bin86' 'sharutils')
-optdepends=('perl: to use keytab-lilo')
-install=lilo.install
-options=('!makeflags')
-source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz"
- 'lilo.conf')
-md5sums=('51b9b9db665d3b8724919e3d46054d12'
- 'a3a4c90bead3f9b8672bd384ff9f8db1')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export LC_ALL=C
- make all
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -D -m644 "${srcdir}/lilo.conf" "${pkgdir}/etc/lilo.conf"
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/core/lilo/lilo.conf b/core/lilo/lilo.conf
deleted file mode 100644
index 0e31e77a5..000000000
--- a/core/lilo/lilo.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# /etc/lilo.conf
-#
-
-boot=/dev/hda
-# This line often fixes L40 errors on bootup
-# disk=/dev/hda bios=0x80
-
-default=arch
-timeout=50
-lba32
-prompt
-
-image=/boot/vmlinuz26
- label=arch
- root=/dev/hda3
- initrd=/boot/kernel26.img
- read-only
-
-image=/boot/vmlinuz26
- label=arch-fallback
- root=/dev/hda3
- initrd=/boot/kernel26-fallback.img
- read-only
-
-#other=/dev/hda1
-# label=dos
-
diff --git a/core/lilo/lilo.install b/core/lilo/lilo.install
deleted file mode 100644
index 7375fddf8..000000000
--- a/core/lilo/lilo.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_upgrade() {
- echo
- echo "If you use the LILO bootloader, you should run 'lilo' after upgrading."
- echo
-}
diff --git a/core/links/PKGBUILD b/core/links/PKGBUILD
index 95a4a05cd..286f4f46b 100644
--- a/core/links/PKGBUILD
+++ b/core/links/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=links
pkgver=2.3pre2
pkgrel=1
pkgdesc="A text WWW browser, similar to Lynx"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://links.twibright.com/"
license=('GPL')
depends=('bzip2' 'zlib' 'openssl' 'gpm')
diff --git a/core/linux-api-headers/PKGBUILD b/core/linux-api-headers/PKGBUILD
index 0a3f8da6e..28a8c4c28 100644
--- a/core/linux-api-headers/PKGBUILD
+++ b/core/linux-api-headers/PKGBUILD
@@ -8,27 +8,23 @@ pkgver=2.6.39.1
_basever=2.6.39
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libc"
license=('GPL2')
provides=("kernel-headers=${pkgver}")
conflicts=('kernel-headers')
replaces=('kernel-headers')
-source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2
- http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2)
-md5sums=('1aab7a741abe08d42e8eccf20de61e05'
- '215f7ebaafe1175dbc5d1e439c9a96d5')
+source=(http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/${pkgver}-libre/linux-${pkgver}-libre.tar.bz2)
build() {
- cd ${srcdir}/linux-${_basever}
- [[ $pkgver != $_basever ]] && patch -Np1 -i ${srcdir}/patch-${pkgver}
+ cd ${srcdir}/linux-${pkgver}
make mrproper
make headers_check
}
package() {
- cd ${srcdir}/linux-${_basever}
+ cd ${srcdir}/linux-${pkgver}
make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
# use headers from libdrm
diff --git a/core/linux-atm/PKGBUILD b/core/linux-atm/PKGBUILD
index 2a7f7c7e0..0939ae538 100644
--- a/core/linux-atm/PKGBUILD
+++ b/core/linux-atm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=linux-atm
pkgver=2.5.1
pkgrel=2
pkgdesc="Drivers and tools to support ATM networking under Linux."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
url="http://linux-atm.sourceforge.net/"
license=(GPL)
diff --git a/core/logrotate/PKGBUILD b/core/logrotate/PKGBUILD
index 95a0681bd..f7927cb75 100644
--- a/core/logrotate/PKGBUILD
+++ b/core/logrotate/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=logrotate
pkgver=3.8.0
pkgrel=1
pkgdesc="Rotates system logs automatically"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/logrotate/"
license=('GPL')
groups=('base')
diff --git a/core/lvm2/PKGBUILD b/core/lvm2/PKGBUILD
index a2f1e5010..feac1a364 100644
--- a/core/lvm2/PKGBUILD
+++ b/core/lvm2/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('lvm2' 'device-mapper')
pkgver=2.02.86
_pkgverlvm=${pkgver}
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceware.org/lvm2/"
license=('GPL2' 'LGPL2.1')
groups=('base')
diff --git a/core/lzo2/PKGBUILD b/core/lzo2/PKGBUILD
index b9aa75ad5..7fe5bc88a 100644
--- a/core/lzo2/PKGBUILD
+++ b/core/lzo2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lzo2
pkgver=2.05
pkgrel=1
pkgdesc="Portable lossless data compression library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.oberhumer.com/opensource/lzo"
license=('GPL')
depends=('glibc')
diff --git a/core/m4/PKGBUILD b/core/m4/PKGBUILD
index 9d8647bff..01f5364f0 100644
--- a/core/m4/PKGBUILD
+++ b/core/m4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=m4
pkgver=1.4.16
pkgrel=1
pkgdesc="The GNU macro processor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/m4"
license=('GPL3')
groups=('base-devel')
diff --git a/core/make/PKGBUILD b/core/make/PKGBUILD
index 2db407582..3da9085d7 100644
--- a/core/make/PKGBUILD
+++ b/core/make/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=make
pkgver=3.82
pkgrel=3
pkgdesc="GNU make utility to maintain groups of programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/make"
license=('GPL3')
groups=('base-devel')
diff --git a/core/man-db/PKGBUILD b/core/man-db/PKGBUILD
index 25675079f..7a2ece22f 100644
--- a/core/man-db/PKGBUILD
+++ b/core/man-db/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=man-db
pkgver=2.6.0.2
pkgrel=2
pkgdesc="A utility for reading man pages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/man-db/"
license=('GPL' 'LGPL')
groups=('base')
diff --git a/core/mdadm/PKGBUILD b/core/mdadm/PKGBUILD
index 0f9d96fc8..581422507 100644
--- a/core/mdadm/PKGBUILD
+++ b/core/mdadm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mdadm
pkgver=3.2.2
pkgrel=2
pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.cse.unsw.edu.au/~neilb/source/mdadm/"
groups=('base')
diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD
index e58f87add..7458facf3 100644
--- a/core/mkinitcpio-busybox/PKGBUILD
+++ b/core/mkinitcpio-busybox/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=mkinitcpio-busybox
pkgver=1.18.4
pkgrel=1
pkgdesc="base initramfs tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.busybox.net/"
license=('GPL')
depends=('glibc')
@@ -17,11 +17,14 @@ build() {
cd "${srcdir}/busybox-${pkgver}"
unset CFLAGS CXXFLAGS
- if [ ${CARCH} = "x86_64" ]; then
- sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
- else
- sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
- fi
+ case $CARCH in
+ x86_64)
+ sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config ;;
+ i686)
+ sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config ;;
+ mips64el)
+ sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-O2 -march=loongson2f -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config ;;
+ esac
make
}
diff --git a/core/mkinitcpio-nfs-utils/PKGBUILD b/core/mkinitcpio-nfs-utils/PKGBUILD
index 962bb33ef..7ab7e68fa 100644
--- a/core/mkinitcpio-nfs-utils/PKGBUILD
+++ b/core/mkinitcpio-nfs-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mkinitcpio-nfs-utils
pkgver=0.2
pkgrel=1
pkgdesc="ipconfig and nfsmount tools for NFS root support in mkinitcpio"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.archlinux.org/"
license=('GPL2')
depends=('glibc')
diff --git a/core/mlocate/PKGBUILD b/core/mlocate/PKGBUILD
index d6f1f0be4..ff73f4f8b 100644
--- a/core/mlocate/PKGBUILD
+++ b/core/mlocate/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mlocate
pkgver=0.24
pkgrel=1
pkgdesc="Faster merging drop-in for slocate"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate"
license=('GPL')
conflicts=('slocate')
diff --git a/core/module-init-tools/PKGBUILD b/core/module-init-tools/PKGBUILD
index e65f419df..d3299c964 100644
--- a/core/module-init-tools/PKGBUILD
+++ b/core/module-init-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=module-init-tools
pkgver=3.16
pkgrel=1
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kerneltools.org"
license=('GPL')
depends=('glibc')
diff --git a/core/mpfr/PKGBUILD b/core/mpfr/PKGBUILD
index 3f593116a..78691e05d 100644
--- a/core/mpfr/PKGBUILD
+++ b/core/mpfr/PKGBUILD
@@ -9,7 +9,8 @@ _patchlevel=p4
pkgver=${_pkgver}.${_patchlevel}
pkgrel=1
pkgdesc="Multiple-precision floating-point library"
-arch=('i686' 'x86_64')
+license=('LGPL')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mpfr.org/"
license=('LGPL')
depends=('gmp>=5.0')
diff --git a/core/nano/PKGBUILD b/core/nano/PKGBUILD
index ab760c2df..bdd3d4a5a 100644
--- a/core/nano/PKGBUILD
+++ b/core/nano/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nano
pkgver=2.2.6
pkgrel=1
pkgdesc="Pico editor clone with enhancements"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.nano-editor.org"
groups=('base')
diff --git a/core/ncurses/PKGBUILD b/core/ncurses/PKGBUILD
index 1b387c6b1..a54e03e1e 100644
--- a/core/ncurses/PKGBUILD
+++ b/core/ncurses/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ncurses
pkgver=5.9
pkgrel=1
pkgdesc="System V Release 4.0 curses emulation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ncurses/"
license=('MIT')
depends=('glibc')
diff --git a/core/net-tools/PKGBUILD b/core/net-tools/PKGBUILD
index 6a81124ea..d46f0605e 100644
--- a/core/net-tools/PKGBUILD
+++ b/core/net-tools/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=net-tools
pkgver=1.60
pkgrel=18
pkgdesc="Configuration tools for Linux networking"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.tazenda.demon.co.uk/phil/net-tools"
depends=('glibc')
diff --git a/core/nfs-utils/PKGBUILD b/core/nfs-utils/PKGBUILD
index 3adca96d4..7545884c9 100644
--- a/core/nfs-utils/PKGBUILD
+++ b/core/nfs-utils/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=nfs-utils
pkgver=1.2.3
pkgrel=3
pkgdesc="Support programs for Network File Systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://nfs.sourceforge.net'
license=('GPL')
backup=(etc/{exports,idmapd.conf} etc/conf.d/{nfs-common.conf,nfs-server.conf})
diff --git a/core/nfsidmap/PKGBUILD b/core/nfsidmap/PKGBUILD
index f744598ce..aa253834f 100644
--- a/core/nfsidmap/PKGBUILD
+++ b/core/nfsidmap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nfsidmap
pkgver=0.24
pkgrel=2
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
depends=('glibc' 'libldap>=2.4.18')
license=('custom:nfsidmap')
diff --git a/core/nilfs-utils/PKGBUILD b/core/nilfs-utils/PKGBUILD
index 5821edea0..75f0f8f89 100644
--- a/core/nilfs-utils/PKGBUILD
+++ b/core/nilfs-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nilfs-utils
pkgver=2.0.23
pkgrel=1
pkgdesc="A log-structured file system supporting continuous snapshotting (userspace utils)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nilfs.org/"
license=('GPL2' 'LGPL2.1')
backup=('etc/nilfs_cleanerd.conf')
diff --git a/core/openssh/PKGBUILD b/core/openssh/PKGBUILD
index bf45e6396..33009664d 100644
--- a/core/openssh/PKGBUILD
+++ b/core/openssh/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=openssh
pkgver=5.8p2
pkgrel=9
pkgdesc='Free version of the SSH connectivity tools'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:BSD')
url='http://www.openssh.org/portable.html'
backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd' 'etc/conf.d/sshd')
diff --git a/core/openssl/PKGBUILD b/core/openssl/PKGBUILD
index 756338040..39b90629c 100644
--- a/core/openssl/PKGBUILD
+++ b/core/openssl/PKGBUILD
@@ -7,7 +7,7 @@ _ver=1.0.0d
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://www.openssl.org'
license=('custom:BSD')
depends=('perl')
diff --git a/core/openvpn/PKGBUILD b/core/openvpn/PKGBUILD
index d0d7111b6..da36b6c63 100644
--- a/core/openvpn/PKGBUILD
+++ b/core/openvpn/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=openvpn
pkgver=2.2.0
pkgrel=1
pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://openvpn.net/index.php/open-source.html"
depends=('openssl' 'lzo2')
license=('custom')
diff --git a/core/pacman/pacman.conf.mips64el b/core/pacman/pacman.conf.mips64el
new file mode 100644
index 000000000..09a5c8d5a
--- /dev/null
+++ b/core/pacman/pacman.conf.mips64el
@@ -0,0 +1,86 @@
+#
+# /etc/pacman.conf
+#
+# See the pacman.conf(5) manpage for option and repository directives
+
+#
+# GENERAL OPTIONS
+#
+[options]
+# The following paths are commented out with their default values listed.
+# If you wish to use different paths, uncomment and update the paths.
+#RootDir = /
+#DBPath = /var/lib/pacman/
+#CacheDir = /var/cache/pacman/pkg/
+#LogFile = /var/log/pacman.log
+HoldPkg = pacman glibc
+# If upgrades are available for these packages they will be asked for first
+SyncFirst = pacman
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+#XferCommand = /usr/bin/curl -C - -f %u > %o
+#CleanMethod = KeepInstalled
+Architecture = mips64el
+
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
+#IgnorePkg =
+#IgnoreGroup =
+
+#NoUpgrade =
+#NoExtract =
+
+# Misc options (all disabled by default)
+#UseSyslog
+#ShowSize
+#UseDelta
+#TotalDownload
+#CheckSpace
+
+#
+# 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
+# - repositories listed first will take precedence when packages
+# have identical names, regardless of version number
+# - URLs will have $repo replaced by the name of the current repo
+# - URLs will have $arch replaced by the name of the architecture
+#
+# Repository entries are of the format:
+# [repo-name]
+# Server = ServerName
+# Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+# The testing repositories are disabled by default. To enable, uncomment the
+# repo name header and Include lines. You can add preferred servers immediately
+# after the header, and they will be used before the default mirrors.
+
+#[libre-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+#[testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[libre]
+Include = /etc/pacman.d/mirrorlist
+
+[core]
+Include = /etc/pacman.d/mirrorlist
+
+[extra]
+Include = /etc/pacman.d/mirrorlist
+
+#[community-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[community]
+Include = /etc/pacman.d/mirrorlist
+
+# An example of a custom package repository. See the pacman manpage for
+# tips on creating your own repositories.
+#[custom]
+#Server = file:///home/custompkgs
+
diff --git a/core/pam/PKGBUILD b/core/pam/PKGBUILD
index 5a4f10780..49b0d68d0 100644
--- a/core/pam/PKGBUILD
+++ b/core/pam/PKGBUILD
@@ -6,11 +6,11 @@ pkgname=pam
pkgver=1.1.3
pkgrel=2
pkgdesc="PAM (Pluggable Authentication Modules) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.kernel.org/pub/linux/libs/pam/"
depends=('glibc' 'db' 'cracklib')
-makedepends=('flex' 'w3m' 'docbook-xml>=4.4' 'docbook-xsl')
+makedepends=('flex' 'docbook-xml>=4.4' 'docbook-xsl')
backup=(etc/security/{access.conf,group.conf,limits.conf,namespace.conf,namespace.init,pam_env.conf,time.conf} etc/pam.d/other etc/default/passwd etc/environment)
source=(http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-$pkgver.tar.bz2
ftp://ftp.suse.com/pub/people/kukuk/pam/pam_unix2/pam_unix2-2.6.tar.bz2
diff --git a/core/patch/PKGBUILD b/core/patch/PKGBUILD
index c51ae2eed..6865c1091 100644
--- a/core/patch/PKGBUILD
+++ b/core/patch/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=patch
pkgver=2.6.1
pkgrel=2
pkgdesc="A utility to apply patch files to original sources"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/patch/patch.html"
license=('GPL')
groups=('base-devel')
diff --git a/core/pciutils/PKGBUILD b/core/pciutils/PKGBUILD
index 91c1216e8..0ee60d462 100644
--- a/core/pciutils/PKGBUILD
+++ b/core/pciutils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pciutils
pkgver=3.1.7
pkgrel=4
pkgdesc="PCI bus configuration space access library and tools"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
groups=('base')
url="http://mj.ucw.cz/pciutils.html"
diff --git a/core/pcmciautils/PKGBUILD b/core/pcmciautils/PKGBUILD
index 8744b8392..319a0ae16 100644
--- a/core/pcmciautils/PKGBUILD
+++ b/core/pcmciautils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pcmciautils
pkgver=017
pkgrel=2
pkgdesc="Utilities for inserting and removing PCMCIA cards"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
license=('GPL')
groups=('base')
diff --git a/core/pcre/PKGBUILD b/core/pcre/PKGBUILD
index c765d79a3..92995bc71 100644
--- a/core/pcre/PKGBUILD
+++ b/core/pcre/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pcre
pkgver=8.12
pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pcre.org/"
license=('BSD')
depends=('gcc-libs')
diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD
index d25f2aae4..16db02b6f 100644
--- a/core/perl/PKGBUILD
+++ b/core/perl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl
pkgver=5.14.1
pkgrel=3
pkgdesc="A highly capable, feature-rich programming language"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://www.perl.org"
groups=('base')
diff --git a/core/pkg-config/PKGBUILD b/core/pkg-config/PKGBUILD
index 95ed134c6..f1f0657a1 100644
--- a/core/pkg-config/PKGBUILD
+++ b/core/pkg-config/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pkg-config
pkgver=0.26
pkgrel=1
pkgdesc="A system for managing library compile/link flags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pkgconfig.freedesktop.org/wiki/"
license=('GPL')
groups=('base-devel')
diff --git a/core/popt/PKGBUILD b/core/popt/PKGBUILD
index 4445eb0a1..41f132a87 100644
--- a/core/popt/PKGBUILD
+++ b/core/popt/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=popt
pkgver=1.16
pkgrel=3
pkgdesc="A commandline option parser"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://rpm5.org"
license=('custom')
depends=('glibc')
diff --git a/core/ppl/PKGBUILD b/core/ppl/PKGBUILD
index ba8477680..649f2b572 100644
--- a/core/ppl/PKGBUILD
+++ b/core/ppl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ppl
pkgver=0.11.2
pkgrel=1
pkgdesc="A modern library for convex polyhedra and other numerical abstractions."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cs.unipr.it/ppl"
license=('GPL3')
depends=('gmp>=5.0')
diff --git a/core/ppp/PKGBUILD b/core/ppp/PKGBUILD
index 6d283d52a..038c0f52c 100644
--- a/core/ppp/PKGBUILD
+++ b/core/ppp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=ppp
pkgver=2.4.5
pkgrel=2
pkgdesc="A daemon which implements the Point-to-Point Protocol for dial-up networking"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.samba.org/ppp/"
license=('custom:GPL/BSD')
groups=('base')
diff --git a/core/pptpclient/PKGBUILD b/core/pptpclient/PKGBUILD
index 85bf0544e..68f497aa1 100644
--- a/core/pptpclient/PKGBUILD
+++ b/core/pptpclient/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pptpclient
pkgver=1.7.2
pkgrel=3
pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pptpclient.sourceforge.net/"
license=('GPL')
depends=('ppp' 'iproute2')
diff --git a/core/procinfo-ng/PKGBUILD b/core/procinfo-ng/PKGBUILD
index f908879af..65e348f20 100644
--- a/core/procinfo-ng/PKGBUILD
+++ b/core/procinfo-ng/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=procinfo-ng
pkgver=2.0.304
pkgrel=2
pkgdesc="Displays useful information from /proc"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://procinfo-ng.sourceforge.net/"
license=('GPL2' 'LGPL2.1')
depends=('ncurses' 'perl')
diff --git a/core/procps/PKGBUILD b/core/procps/PKGBUILD
index 225e4db6f..15758341b 100644
--- a/core/procps/PKGBUILD
+++ b/core/procps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=procps
pkgver=3.2.8
pkgrel=3
pkgdesc="Utilities for monitoring your system and processes on your system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://procps.sourceforge.net/"
license=('GPL' 'LGPL')
groups=('base')
diff --git a/core/psmisc/PKGBUILD b/core/psmisc/PKGBUILD
index 1783c528a..4afc63462 100644
--- a/core/psmisc/PKGBUILD
+++ b/core/psmisc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=psmisc
pkgver=22.14
pkgrel=1
pkgdesc="Miscellaneous procfs tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://psmisc.sourceforge.net/index.html"
license=('GPL')
groups=('base')
diff --git a/core/readline/PKGBUILD b/core/readline/PKGBUILD
index 765b76685..f44e6be37 100644
--- a/core/readline/PKGBUILD
+++ b/core/readline/PKGBUILD
@@ -8,7 +8,7 @@ _patchlevel=001 #prepare for some patches
pkgver=$_basever.$_patchlevel
pkgrel=2
pkgdesc="GNU readline library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tiswww.case.edu/php/chet/readline/rltop.html"
license=('GPL')
depends=('glibc' 'ncurses')
diff --git a/core/reiserfsprogs/PKGBUILD b/core/reiserfsprogs/PKGBUILD
index 6b7beb8f6..c723d2922 100644
--- a/core/reiserfsprogs/PKGBUILD
+++ b/core/reiserfsprogs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=reiserfsprogs
pkgver=3.6.21
pkgrel=3
pkgdesc="Reiserfs utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/linux/utils/fs/reiserfs/README"
license=('GPL')
groups=('base')
diff --git a/core/rfkill/PKGBUILD b/core/rfkill/PKGBUILD
index bf8259e65..e17e77cb5 100644
--- a/core/rfkill/PKGBUILD
+++ b/core/rfkill/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rfkill
pkgver=0.4
pkgrel=2
pkgdesc="A tool for enabling and disabling wireless devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://linuxwireless.org/en/users/Documentation/rfkill"
license=('custom')
depends=('glibc' 'filesystem>=2010.01')
diff --git a/core/rpcbind/PKGBUILD b/core/rpcbind/PKGBUILD
index 9120c7d3c..2d3c66e67 100644
--- a/core/rpcbind/PKGBUILD
+++ b/core/rpcbind/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rpcbind
pkgver=0.2.0
pkgrel=3
pkgdesc="portmap replacement which supports RPC over various protocols"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('bash' 'glibc' 'libtirpc')
url="http://rpcbind.sourceforge.net"
license=('custom')
diff --git a/core/run-parts/PKGBUILD b/core/run-parts/PKGBUILD
index c0bbfb4ac..c57b7cdac 100644
--- a/core/run-parts/PKGBUILD
+++ b/core/run-parts/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=run-parts
pkgver=3.4.4
pkgrel=1
pkgdesc='run scripts or programs in a directory'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://packages.qa.debian.org/d/debianutils.html'
license=('GPL')
depends=('glibc')
diff --git a/core/sdparm/PKGBUILD b/core/sdparm/PKGBUILD
index f1ff5950a..a61ecc2c7 100644
--- a/core/sdparm/PKGBUILD
+++ b/core/sdparm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdparm
pkgver=1.06
pkgrel=1
pkgdesc="An utility similar to hdparm but for SCSI devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sg.danny.cz/sg/sdparm.html"
license=('BSD')
depends=('glibc')
diff --git a/core/sed/PKGBUILD b/core/sed/PKGBUILD
index e6e0000a3..78365b98a 100644
--- a/core/sed/PKGBUILD
+++ b/core/sed/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sed
pkgver=4.2.1
pkgrel=3
pkgdesc="GNU stream editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/sed"
license=('GPL3')
groups=('base')
diff --git a/core/shadow/PKGBUILD b/core/shadow/PKGBUILD
index b3a130166..45e945496 100644
--- a/core/shadow/PKGBUILD
+++ b/core/shadow/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=shadow
pkgver=4.1.4.3
pkgrel=2
pkgdesc="Password and account management tool suite with support for shadow files and PAM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://pkg-shadow.alioth.debian.org/'
license=('BSD')
groups=('base')
diff --git a/core/sqlite3/PKGBUILD b/core/sqlite3/PKGBUILD
index fd4fe1d87..98f925d56 100644
--- a/core/sqlite3/PKGBUILD
+++ b/core/sqlite3/PKGBUILD
@@ -3,25 +3,22 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase="sqlite3"
-pkgname=('sqlite3' 'sqlite3-tcl' 'sqlite3-doc')
+pkgname=('sqlite3' 'sqlite3-tcl')
_amalgamationver=3070701
_amalgamationver2=${_amalgamationver/00/}
_docver=${_amalgamationver} #3070700
pkgver=${_amalgamationver2//0/.}
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.sqlite.org/"
makedepends=('tcl' 'readline>=6.0.00')
source=( # tarball containing the amalgamation for SQLite 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA)
http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz
- #http://www.sqlite.org/sqlite-doc-${_amalgamationver}.zip
- http://www.sqlite.org/sqlite-doc-${_docver}.zip
license.txt)
options=('!libtool' '!emptydirs')
md5sums=('554026fe7fac47b1cf61c18d5fe43419'
- '2bca5613abf9352bc525b6a8fd80156e'
'c1cdbc5544034d9012e421e75a5e4890')
build() {
@@ -63,13 +60,3 @@ package_sqlite3-tcl() {
cd ${srcdir}/sqlite-autoconf-$_amalgamationver/tea
make DESTDIR=${pkgdir} install
}
-
-package_sqlite3-doc() {
- pkgdesc="most of the static HTML files that comprise this website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation"
- #arch=('any') - not yet supported
-
- #cd ${srcdir}/sqlite-doc-${_amalgamationver}
- cd ${srcdir}/sqlite-doc-${_docver}
- mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
- cp -R * ${pkgdir}/usr/share/doc/${pkgbase}/
-}
diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD
index fee69d2c1..fcb315b9e 100644
--- a/core/sudo/PKGBUILD
+++ b/core/sudo/PKGBUILD
@@ -7,7 +7,7 @@ _ver=1.8.1p2
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
pkgdesc="Give certain users the ability to run some commands as root"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.sudo.ws/sudo/"
license=('custom')
depends=('glibc' 'pam')
diff --git a/core/sysfsutils/PKGBUILD b/core/sysfsutils/PKGBUILD
index 9749d29b4..d33e59680 100644
--- a/core/sysfsutils/PKGBUILD
+++ b/core/sysfsutils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sysfsutils
pkgver=2.1.0
pkgrel=6
pkgdesc="System Utilities Based on Sysfs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
groups=('base')
diff --git a/core/syslinux/PKGBUILD b/core/syslinux/PKGBUILD
deleted file mode 100644
index 03f529f11..000000000
--- a/core/syslinux/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 120229 2011-04-21 12:44:04Z tpowa $
-# Maintainer: Thomas Bächler <thomas@archlinux.org>
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=syslinux
-pkgver=4.04
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE"
-url="http://syslinux.zytor.com/"
-license=('GPL2')
-depends=('perl' 'glibc')
-optdepends=('perl-passwd-md5: For md5pass'
- 'perl-digest-sha1: For sha1pass'
- 'mtools: For mkdiskimage and syslinux'
- )
-makedepends=('nasm')
-backup=('boot/syslinux/syslinux.cfg')
-install=syslinux.install
-source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-${pkgver}.tar.bz2
- syslinux-dont-build-dos-windows-targets.patch
- syslinux.cfg
- syslinux-install_update)
-md5sums=('a3936208767eb7ced65320abe2e33a10'
- '5274062f91931eae6573f1ec3cd5b640'
- '5ad0a9cccd60ada4fd5a93380c76d5df'
- 'b5b4953c0a5a01cd16441402f6321765')
-
-build() {
- # Do not try to build syslinux with our default LDFLAGS, it will fail
- unset LDFLAGS
- cd "$srcdir"/$pkgname-${pkgver}
- # Do not try to build the Windows or DOS installers
- patch -p1 -i "$srcdir"/syslinux-dont-build-dos-windows-targets.patch
- # Fix FHS manpage path
- sed 's|/usr/man|/usr/share/man|g' -i MCONFIG
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-${pkgver}
- make INSTALLROOT="$pkgdir" AUXDIR=/usr/lib/syslinux install
-
- # Install the default configuration
- install -D -m644 "$srcdir"/syslinux.cfg "$pkgdir"/boot/syslinux/syslinux.cfg
- # Install the installation and update script
- # This script is maintained at git://gist.github.com/772138.git
- install -D -m755 "$srcdir"/syslinux-install_update "$pkgdir"/usr/sbin/syslinux-install_update
-}
diff --git a/core/syslinux/syslinux-dont-build-dos-windows-targets.patch b/core/syslinux/syslinux-dont-build-dos-windows-targets.patch
deleted file mode 100644
index 7355e4acb..000000000
--- a/core/syslinux/syslinux-dont-build-dos-windows-targets.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur syslinux-4.02.orig//Makefile syslinux-4.02//Makefile
---- syslinux-4.02.orig//Makefile 2010-07-21 21:33:13.000000000 +0200
-+++ syslinux-4.02//Makefile 2010-07-22 11:14:03.325522937 +0200
-@@ -55,7 +55,7 @@
- # files that depend only on the B phase, but may have to be regenerated
- # for "make installer".
- BSUBDIRS = codepage com32 lzo core memdisk modules mbr memdump gpxe sample \
-- diag libinstaller dos win32 win64 dosutil
-+ libinstaller
- ITARGET =
- IOBJECTS = $(ITARGET) \
- utils/gethostip utils/isohybrid utils/mkdiskimage \
diff --git a/core/syslinux/syslinux-install_update b/core/syslinux/syslinux-install_update
deleted file mode 100644
index f7cd123e1..000000000
--- a/core/syslinux/syslinux-install_update
+++ /dev/null
@@ -1,459 +0,0 @@
-#!/bin/bash
-#
-# Sylinux Installer / Updater Scripts
-# Copyright (C) 2011 Matthew Gyurgyik <pyther@pyther.net>
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-#-----------------
-# Exit Codes:
-# 1 - get_boot_device or other function failed
-# 2 - install/update failed
-# 3 - set_active failed
-# 4 - install_mbr failed
-#
-shopt -s nullglob
-
-libpath="/usr/lib/syslinux"
-bootpath="/boot/syslinux"
-extlinux="/sbin/extlinux"
-
-autoupdate_file=/boot/syslinux/SYSLINUX_AUTOUPDATE
-com32_files=(menu.c32 vesamenu.c32 chain.c32 hdt.c32 reboot.c32 poweroff.com)
-pciids_file=/usr/share/hwdata/pci.ids
-
-## Helper functions ##
-# Taken from libui-sh
-# $1 needle
-# $2 set (array) haystack
-check_is_in() {
- local needle="$1" element
- shift
- for element; do
- [[ $element = $needle ]] && return 0
- done
- return 1
-}
-
-# return true when blockdevice is an md raid, otherwise return a unset value
-# get all devices that are part of raid device $1
-device_is_raid() {
- [[ $1 && -f /proc/mdstat ]] || return 1
- local devmajor=$(stat -c %t "$1")
- (( devmajor == 9 ))
-}
-
-mdraid_all_slaves() {
- local slave slaves
- for slave in /sys/class/block/${1##*/}/slaves/*; do
- source "$slave/uevent"
- slaves="$slaves/dev/$DEVNAME "
- unset DEVNAME
- done
- echo $slaves
-}
-
-# Check /sys/block to see if device is partitioned
-# If we have a partitioned block device (sda1) /sys/block/sda1/dev will not exist
-# However, if we have an unpartitioned block device (sda) /sys/block/sda/dev will exist
-dev_is_part() {
- # $1 - blockdevice
- local dev=$1
-
- # If block device uevent file should be found
- # If a partition is passed in path shouldn't exist
- if [[ $dev = *cciss* ]]; then
- [[ -f /sys/block/cciss\!${dev##*/}/dev ]] && return 1
- elif [[ $dev = *ida* ]]; then
- [[ -f /sys/block/ida\!${dev##*/}/dev ]] && return 1
- else
- [[ -f /sys/block/${dev##*/}/dev ]] && return 1
- fi
-
- return 0
-}
-
-# If EFI PART is present in the first 8 bytes then it must be a GPT disk
-device_is_gpt() {
- local partsig=$(dd if="$1" skip=64 bs=8 count=1 2>/dev/null)
- [[ $partsig = "EFI PART" ]]
-}
-
-clear_gpt_attr2() {
- # $1 - Block Device, no partitions
- local disk=$1
-
- # Special Exception for cciss controllers
- if [[ $disk = *cciss* ]]; then
- for part in /dev/cciss/${disk##*/}*p*; do
- local partnum="${part##*[[:alpha:]]}"
- sgdisk "$disk" --attributes="$partnum":clear:2 &>/dev/null
- done
- # Smart 2 Controllers
- elif [[ $disk = *ida* ]]; then
- for part in /dev/ida/${disk##*/}*p*; do
- local partnum="${part##*[[:alpha:]]}"
- sgdisk "$disk" --attributes="$partnum":clear:2 &>/dev/null
- done
- else
- for part in /sys/block/${disk##*/}/${disk##*/}*; do
- local partnum="${part##*[[:alpha:]]}"
- sgdisk "$disk" --attributes="$partnum":clear:2 &>/dev/null
- done
- fi
- return 0
-}
-
-usage() {
-cat << EOF
-usage: $0 options
-
-This script will install or upgrade Syslinux
-
-OPTIONS:
- -h Show this message
- -i Install Syslinux
- -u Update Syslinux
- -a Set Boot flag on boot partiton
- -m Install Syslinux MBR
- -s Updates Syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists
-
- Arguments Required:
- -c Chroot install (ex: -c /mnt)
-
-Example Usage: syslinux-install_update.sh -i -a -m (install, set boot flag, install mbr)
- syslinux-install_update.sh -u (update)
-EOF
-}
-
-# Trys to find the partition that /boot resides on
-# This will either be on /boot or / (root)
-getBoot() {
- if [[ ! -d "$bootpath" ]]; then
- echo "Could not find $bootpath"
- echo "Is boot mounted? Is Syslinux installed?"
- exit 1
- fi
-
- syslinux_fs=(ext2 ext3 ext4 btrfs vfat)
-
- # Use DATA from findmnt see rc.sysint for more info
- if [[ -f /proc/self/mountinfo ]]; then
- read rootdev rootfs < <(findmnt -run -t noautofs -o SOURCE,FSTYPE "$CHROOT/")
- read bootdev bootfs < <(findmnt -run -t noautofs -o SOURCE,FSTYPE "$CHROOT/boot")
- else
- echo "Could not find /proc/self/mountinfo"
- echo "Are you running a kernel greater than 2.6.24?"
- exit 1
- fi
-
- if [[ $bootfs ]]; then
- if ! check_is_in "$bootfs" "${syslinux_fs[@]}"; then
- echo "/boot file system is not supported by Syslinux"
- exit 1
- fi
- boot="boot"
- bootpart="$bootdev"
- elif [[ $rootfs ]]; then
- if ! check_is_in "$rootfs" "${syslinux_fs[@]}"; then
- echo "/ (root) file system is not supported by Syslinux"
- exit 1
- fi
- boot="root"
- bootpart="$rootdev"
- else
- echo "Could not find filesystem on / (root) or /boot."
- exit 1
- fi
-}
-
-# We store the partition table type either gpt or mbr in var ptb
-# In rare cases a user could have one raid disk using mbr and another using gpt
-# In such cases we accept that the output may be incomplete
-
-# Calls get_ptb() for $bootpart or for all device in RAID
-declare -A bootdevs
-get_boot_devices() {
- if device_is_raid "$bootpart"; then
- slaves=$(mdraid_all_slaves "$bootpart")
-
- for slave in ${slaves[@]}; do
- local disk="${slave%%[[:digit:]]*}"
- device_is_gpt "$disk" && local ptb="GPT" || local ptb="MBR"
- bootdevs[$slave]="$ptb"
- done
- else
- local disk="${bootpart%%[[:digit:]]*}"
- device_is_gpt "$disk" && local ptb="GPT" || local ptb="MBR"
- bootdevs[$bootpart]="$ptb"
- fi
-}
-
-# Function Assumes the boot partition should be marked as active
-# All other partitions should not have the boot flag set
-set_active() {
- # If any bootdev is a block device without partitions bail
- # we want to set the boot flag on partitioned disk
- for dev in "${!bootdevs[@]}"; do
- dev_is_part $dev || { echo "$dev - is a block device. Aborting set_active!"; return 1; }
- done
-
- # Clear BIOS Bootable Legacy Attribute for GPT drives
- # In rare cases where a RAID device has slaves on the same block device
- # Attribute 2 will be cleared for each partition multiple times
- for dev in "${!bootdevs[@]}"; do
- local ptb="${bootdevs[$dev]}"
- if [[ "$ptb" = GPT ]]; then
- local disk="${dev%%[[:digit:]]*}" #ex: /dev/sda
- clear_gpt_attr2 "$disk"
- fi
- done
-
- # Set the boot flag on bootdevs (generated from get_boot_devices)
- for part in "${!bootdevs[@]}"; do
- local ptb="${bootdevs[$part]}"
- local partnum="${part##*[[:alpha:]]}"
- case "$part" in
- *[[:digit:]]p[[:digit:]]*)
- local disk="${part%%p$partnum}" # get everything before p1
- ;;
- *)
- local disk="${part%%[[:digit:]]*}"
- ;;
- esac
-
- if [[ "$ptb" = MBR ]]; then
- if sfdisk "$disk" -A "$partnum" &>/dev/null; then
- echo "Boot Flag Set - $part"
- else
- echo "FAILED to Set the boot flag on $part"
- exit 3
- fi
- elif [[ "$ptb" = GPT ]]; then
- if sgdisk "$disk" --attributes="$partnum":set:2 &>/dev/null; then
- echo "Attribute Legacy Bios Bootable Set - $part"
- else
- echo "FAILED to set attribute Legacy BIOS Bootable on $part"
- exit 3
- fi
- fi
- done
- return 0
-}
-
-install_mbr() {
- # If any bootdev is a block device without partitions bail
- # we want to install the mbr to a partitioned disk
- for dev in "${!bootdevs[@]}"; do
- dev_is_part "$dev" || { echo "$dev - is a block device. Aborting MBR install"; return 1; }
- done
-
- for part in "${!bootdevs[@]}"; do
- local partnum="${part##*[[:alpha:]]}"
- case "$part" in
- *[[:digit:]]p[[:digit:]]*)
- local disk="${part%%p$partnum}" # get everything before p1
- ;;
- *)
- local disk="${part%%[[:digit:]]*}"
- ;;
- esac
- local ptb="${bootdevs[$part]}"
-
- # We want to install to the root of the block device
- # If the device is a partition - ABORT!
- dev_is_part "$disk" && \
- { echo "ABORT! MBR installation to partition ($disk)!"; exit 4;}
-
- if [[ "$ptb" = MBR ]]; then
- mbrfile="$libpath/mbr.bin"
- elif [[ "$ptb" = GPT ]]; then
- mbrfile="$libpath/gptmbr.bin"
- fi
-
- if dd bs=440 count=1 conv=notrunc if="$mbrfile" of="$disk" &> /dev/null; then
- echo "Installed MBR ($mbrfile) to $disk"
- else
- echo "Error Installing MBR ($mbrfile) to $disk"
- exit 4
- fi
- done
- return 0
-}
-
-_install() {
- # Copy files to /boot
- for file in "${com32_files[@]}"; do
- # Symlink files even if links exist
- if [[ "$boot" = root ]]; then
- ln -s "${libpath#$CHROOT}/$file" "$bootpath/$file" &> /dev/null
- elif [[ "$boot" = boot ]]; then
- cp "$libpath/$file" "$bootpath/$file"
- fi
- done
-
- # Copy / Symlink pci.ids if we copy the com32 module and if pci.ids exists in the FS
- if check_is_in "hdt.c32" "${com32_files[@]}" && [[ -f $pciids_file ]]; then
- if [[ "$boot" = root ]]; then
- ln -s "$pciids_file" "$bootpath/pci.ids" &> /dev/null
- elif [[ "$boot" = boot ]]; then
- cp "$pciids_file" "$bootpath/pci.ids" &> /dev/null
- fi
- fi
-
- if device_is_raid "$bootpart"; then
- echo "Detected RAID on /boot - installing Syslinux with --raid"
- "$extlinux" --install "$bootpath" -r > /dev/null 2>&1
- else
- "$extlinux" --install "$bootpath" > /dev/null 2>&1
- fi
-
- if (( $? )); then
- echo "Syslinux install failed"
- exit 2
- else
- echo "Syslinux install successful"
- fi
-
- touch "$CHROOT/$autoupdate_file"
-}
-
-update() {
- # Update any com and c32 files in /boot
- if [[ "$boot" = boot ]]; then
- for file in "$bootpath"/*.{c32,com}; do
- file=$(basename "$file")
- cp "$libpath/$file" "$bootpath/$file" &> /dev/null
- done
- if [[ -f "$bootpath/pci.ids" ]]; then
- cp "$pciids_file" "$bootpath/pci.ids" &> /dev/null
- fi
- fi
-
- if device_is_raid $bootpart; then
- echo "Detected RAID on /boot - installing Syslinux with --raid"
- "$extlinux" --update "$bootpath" -r &> /dev/null
- else
- "$extlinux" --update "$bootpath" &> /dev/null
- fi
-
- if (($?)); then
- echo "Syslinux update failed"
- exit 2
- else
- echo "Syslinux update successful"
- fi
-}
-
-# Make sure only root can run our script
-if (( $(id -u) != 0 )); then
- echo "This script must be run as root" 1>&2
- exit 1
-fi
-
-if (( $# == 0 )); then
- usage
- exit 1
-fi
-
-while getopts "c:uihmas" opt; do
- case $opt in
- c)
- CHROOT=$(readlink -e "$OPTARG")
- if [[ -z $CHROOT ]]; then
- echo "error: chroot path ``$OPTARG does not exist";
- exit 1
- fi
- ;;
- h)
- usage
- exit 0
- ;;
- i)
- INSTALL="True"
- ;;
- u)
- UPDATE="True"
- ;;
- m)
- MBR="True"
- ;;
- a)
- SET_ACTIVE="True"
- ;;
- s)
- # If AUTOUPDATE_FILE does not exist exit the script
- if [[ -f $autoupdate_file ]]; then
- UPDATE="True"
- else
- exit 0
- fi
- ;;
- *)
- usage
- exit 1
- ;;
- esac
-done
-
-# Display Usage Information if both Install and Update are passed
-if [[ $INSTALL && $UPDATE ]]; then
- usage
- exit 1
-fi
-
-# If a chroot dir is path set variables to reflect chroot
-if [[ "$CHROOT" ]]; then
- libpath="$CHROOT$libpath"
- bootpath="$CHROOT$bootpath"
- extlinux="$CHROOT$extlinux"
-fi
-
-# Exit if no /boot path exists
-if ( f=("$bootpath"/*); (( ! ${#f[@]} )) ); then
- echo "Error: $bootpath is empty!"
- echo "Is /boot mounted?"
- exit 1
-fi
-
-# Get the boot device if any of these options are passed
-if [[ $INSTALL || $UPDATE || $SET_ACTIVE || $MBR ]]; then
- getBoot
-fi
-
-# Install or Update
-if [[ $INSTALL ]]; then
- _install || exit
-elif [[ $UPDATE ]]; then
- update || exit
-fi
-
-
-# SET_ACTIVE and MBR
-if [[ $SET_ACTIVE ]] || [[ $MBR ]]; then
- get_boot_devices
-
- if [[ $SET_ACTIVE ]]; then
- set_active || exit
- fi
-
- if [[ $MBR ]]; then
- install_mbr || exit
- fi
-fi
-
-exit 0
-
-# vim: set et sw=4:
diff --git a/core/syslinux/syslinux.cfg b/core/syslinux/syslinux.cfg
deleted file mode 100644
index 2212283a8..000000000
--- a/core/syslinux/syslinux.cfg
+++ /dev/null
@@ -1,79 +0,0 @@
-# Config file for Syslinux -
-# /boot/syslinux/syslinux.cfg
-#
-# Comboot modules:
-# * menu.c32 - provides a text menu
-# * vesamenu.c32 - provides a graphical menu
-# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
-# * hdt.c32 - hardware detection tool
-# * reboot.c32 - reboots the system
-# * poweroff.com - shutdown the system
-#
-# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
-# If /usr and /boot are on the same file system, symlink the files instead
-# of copying them.
-#
-# If you do not use a menu, a 'boot:' prompt will be shown and the system
-# will boot automatically after 5 seconds.
-#
-# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
-# The wiki provides further configuration examples
-
-DEFAULT arch
-PROMPT 0 # Change to 1 if you do not want to use a menu
-TIMEOUT 50
-# You can create syslinux keymaps with the keytab-lilo tool
-#KBDMAP de.ktl
-
-# Menu Configuration
-# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
-UI menu.c32
-#UI vesamenu.c32
-
-# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
-MENU TITLE Arch Linux
-#MENU BACKGROUND splash.png
-MENU COLOR border 30;44 #40ffffff #a0000000 std
-MENU COLOR title 1;36;44 #9033ccff #a0000000 std
-MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
-MENU COLOR unsel 37;44 #50ffffff #a0000000 std
-MENU COLOR help 37;40 #c0ffffff #a0000000 std
-MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
-MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
-MENU COLOR msg07 37;40 #90ffffff #a0000000 std
-MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
-
-# boot sections follow
-#
-# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
-#
-#-*
-
-LABEL arch
- MENU LABEL Arch Linux
- LINUX ../vmlinuz26
- APPEND root=/dev/sda3 ro
- INITRD ../kernel26.img
-
-LABEL archfallback
- MENU LABEL Arch Linux Fallback
- LINUX ../vmlinuz26
- APPEND root=/dev/sda3 ro
- INITRD ../kernel26-fallback.img
-
-#LABEL windows
-# MENU LABEL Windows
-# COM32 chain.c32
-# APPEND hd0 1
-
-LABEL hdt
- MENU LABEL HDT (Hardware Detection Tool)
- COM32 hdt.c32
-
-LABEL reboot
- MENU LABEL Reboot
- COM32 reboot.c32
-
-LABEL off
- MENU LABEL Power Off
- COMBOOT poweroff.com
diff --git a/core/syslinux/syslinux.install b/core/syslinux/syslinux.install
deleted file mode 100644
index 0dc0ece36..000000000
--- a/core/syslinux/syslinux.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- echo "==> If you want to use syslinux as your bootloader"
- echo "==> edit /boot/syslinux/syslinux.cfg and run"
- echo "==> # /usr/sbin/syslinux-install_update -i -a -m"
- echo "==> to install it."
-}
-
-post_upgrade() {
- # auto-update syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists
- /usr/sbin/syslinux-install_update -s
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/core/syslog-ng/PKGBUILD b/core/syslog-ng/PKGBUILD
index 3c4bc0767..8d048cac8 100644
--- a/core/syslog-ng/PKGBUILD
+++ b/core/syslog-ng/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=syslog-ng
pkgver=3.2.4
pkgrel=3
pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
groups=('base')
url="http://www.balabit.com/network-security/syslog-ng/"
diff --git a/core/sysvinit/PKGBUILD b/core/sysvinit/PKGBUILD
index 308393932..037967a9b 100644
--- a/core/sysvinit/PKGBUILD
+++ b/core/sysvinit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sysvinit
pkgver=2.88
pkgrel=2
pkgdesc="Linux System V Init"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/sysvinit"
license=('GPL')
groups=('base')
diff --git a/core/tar/PKGBUILD b/core/tar/PKGBUILD
index 1ddcafe09..5bc4add28 100644
--- a/core/tar/PKGBUILD
+++ b/core/tar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tar
pkgver=1.26
pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/tar/tar.html"
license=('GPL3')
groups=('base')
diff --git a/core/tcp_wrappers/PKGBUILD b/core/tcp_wrappers/PKGBUILD
index 9373e9239..fa5b8c7e1 100644
--- a/core/tcp_wrappers/PKGBUILD
+++ b/core/tcp_wrappers/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=tcp_wrappers
pkgver=7.6
pkgrel=12
pkgdesc="Monitors and Controls incoming TCP connections"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="ftp://ftp.porcupine.org/pub/security/index.html"
license=('custom')
groups=('base')
diff --git a/core/texinfo/PKGBUILD b/core/texinfo/PKGBUILD
index c660deb2e..b59654b67 100644
--- a/core/texinfo/PKGBUILD
+++ b/core/texinfo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=texinfo
pkgver=4.13a
pkgrel=5
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/texinfo/"
license=('GPL3')
groups=('base')
diff --git a/core/tzdata/PKGBUILD b/core/tzdata/PKGBUILD
index 93a648734..bebd0cb7a 100644
--- a/core/tzdata/PKGBUILD
+++ b/core/tzdata/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
_tzcode=2011g
_tzdata=2011h
pkgdesc="Sources for time zone and daylight saving time data"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.twinsun.com/tz/tz-link.htm"
license=('GPL')
depends=()
diff --git a/core/udev/PKGBUILD b/core/udev/PKGBUILD
index b80fd7707..474fceb5b 100644
--- a/core/udev/PKGBUILD
+++ b/core/udev/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase="udev"
pkgname=('udev' 'udev-compat')
pkgver=171
pkgrel=2
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
license=('GPL')
groups=('base')
@@ -25,6 +25,13 @@ build() {
# fix https://bugs.archlinux.org/task/24362 (will be in udev-172)
patch -Np1 -i ../static-audio-nodes-group.patch
patch -Np1 -i ../static-nodes-permissions.patch
+
+ if [ "$CARCH" = "mips64el" ]; then
+ msg "Remove -Wl,--gc-sections"
+ sed -i "753d" Makefile
+ sed -i "753d" Makefile.in
+ fi
+
./configure --sysconfdir=/etc --with-rootlibdir=/lib --libexecdir=/lib/udev\
--sbindir=/sbin --with-systemdsystemunitdir=/lib/systemd/system\
--disable-rule-generator
diff --git a/core/usbutils/PKGBUILD b/core/usbutils/PKGBUILD
index 6c00f0dc4..124e7189b 100644
--- a/core/usbutils/PKGBUILD
+++ b/core/usbutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=003
pkgrel=1
_usb_ids_date=2011.04.14
pkgdesc="USB Device Utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
groups=('base')
makedepends=('wget')
diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD
index 877e0135a..5828eafd3 100644
--- a/core/util-linux/PKGBUILD
+++ b/core/util-linux/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.19.1
pkgrel=2
pkgdesc="Miscellaneous system utilities for Linux"
url="http://userweb.kernel.org/~kzak/util-linux-ng/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('base')
depends=('bash' 'ncurses>=5.7' 'zlib' 'filesystem')
replaces=('linux32' 'util-linux-ng')
diff --git a/core/vi/PKGBUILD b/core/vi/PKGBUILD
index eec6ce5ef..d818079d0 100644
--- a/core/vi/PKGBUILD
+++ b/core/vi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=050325
pkgrel=1
epoch=1
pkgdesc='The original ex/vi text editor.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://ex-vi.sourceforge.net/'
license=('custom:ex')
depends=('ncurses')
diff --git a/core/vpnc/PKGBUILD b/core/vpnc/PKGBUILD
index d14842636..6cea30a97 100644
--- a/core/vpnc/PKGBUILD
+++ b/core/vpnc/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="VPN client for cisco3000 VPN Concentrators"
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
license=('GPL')
depends=('libgcrypt' 'openssl' 'iproute2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://www.unix-ag.uni-kl.de/~massar/vpnc/$pkgname-$pkgver.tar.gz"
'vpnc.conf' 'vpnc.rc')
backup=('etc/vpnc/default.conf')
diff --git a/core/wget/PKGBUILD b/core/wget/PKGBUILD
index 6712f4491..7de13a124 100644
--- a/core/wget/PKGBUILD
+++ b/core/wget/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=wget
pkgver=1.12
-pkgrel=7
+pkgrel=7.1
pkgdesc="A network utility to retrieve files from the Web"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
groups=('base')
@@ -53,3 +53,6 @@ EOF
sed -i '118,120d' $pkgdir/etc/wgetrc
}
+md5sums=('141461b9c04e454dc8933c9d1f2abf83'
+ '2c8bc23eff98fd4efc3f96394fc8e61e'
+ 'bd589403b7bb4967a6f41b0f43b1c8aa')
diff --git a/core/which/PKGBUILD b/core/which/PKGBUILD
index c9a7b1abf..cd8017801 100644
--- a/core/which/PKGBUILD
+++ b/core/which/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=which
pkgver=2.20
pkgrel=4
pkgdesc="A utility to show the full path of commands"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xs4all.nl/~carlo17/which"
license=('GPL3')
groups=('base')
diff --git a/core/wireless_tools/PKGBUILD b/core/wireless_tools/PKGBUILD
index a60b8b2a6..922f4dc7b 100644
--- a/core/wireless_tools/PKGBUILD
+++ b/core/wireless_tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=wireless_tools
pkgver=29
pkgrel=4
pkgdesc="Wireless Tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
license=('GPL')
depends=('glibc')
diff --git a/core/wpa_actiond/PKGBUILD b/core/wpa_actiond/PKGBUILD
index 7701e4c8f..6ab3a526a 100644
--- a/core/wpa_actiond/PKGBUILD
+++ b/core/wpa_actiond/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=wpa_actiond
pkgver=1.1
pkgrel=2
pkgdesc="Daemon that connects to wpa_supplicant and handles connect and disconnect events"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.archlinux.org/wpa_actiond.git/"
license=('GPL')
depends=('glibc' 'wpa_supplicant')
diff --git a/core/wpa_supplicant/PKGBUILD b/core/wpa_supplicant/PKGBUILD
index c2a1ac2d5..d34f6dd97 100644
--- a/core/wpa_supplicant/PKGBUILD
+++ b/core/wpa_supplicant/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.3
pkgrel=3
pkgdesc="A utility providing key negotiation for WPA wireless networks"
url="http://hostap.epitest.fi/wpa_supplicant"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('openssl' 'dbus-core>=1.2.4' 'readline>=6.0' 'libnl')
optdepends=('wpa_supplicant_gui: wpa_gui program')
license=('GPL')
diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD
index 962f08b0f..9d01c2a9b 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=xfsprogs
pkgver=3.1.5
pkgrel=1
pkgdesc="XFS filesystem utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
groups=('base')
@@ -17,6 +17,7 @@ md5sums=('b1db37749e2b4149a0dd178abff956be')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=loongson2f -O1"
export DEBUG=-DNDEBUG
make
}
diff --git a/core/xinetd/PKGBUILD b/core/xinetd/PKGBUILD
index 27bf3b2a0..2c167791e 100644
--- a/core/xinetd/PKGBUILD
+++ b/core/xinetd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xinetd
pkgver=2.3.14
pkgrel=7
pkgdesc="A secure replacement for inetd"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xinetd.org/"
license=('custom')
optdepends=('perl: for xconv.pl script')
diff --git a/core/xz/PKGBUILD b/core/xz/PKGBUILD
index e2c47b128..cb1c045b3 100644
--- a/core/xz/PKGBUILD
+++ b/core/xz/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xz
pkgver=5.0.3
pkgrel=1
pkgdesc='Library and command line tools for XZ and LZMA compressed files'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://tukaani.org/xz/'
license=('GPL' 'LGPL' 'custom')
depends=('sh')
diff --git a/core/zlib/PKGBUILD b/core/zlib/PKGBUILD
index ee91eff75..cbf9bdaef 100644
--- a/core/zlib/PKGBUILD
+++ b/core/zlib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zlib
pkgver=1.2.5
pkgrel=3
pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.zlib.net/"
depends=('glibc')