diff options
Diffstat (limited to 'core')
158 files changed, 647 insertions, 267 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 e453bb84d..ac9aa8b6c 100644 --- a/core/bash/PKGBUILD +++ b/core/bash/PKGBUILD @@ -8,7 +8,7 @@ _patchlevel=020 #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/binutils/PKGBUILD b/core/binutils/PKGBUILD index 550c845f3..da5674bae 100644 --- a/core/binutils/PKGBUILD +++ b/core/binutils/PKGBUILD @@ -8,7 +8,7 @@ pkgver=2.22 pkgrel=4 _date=20111227 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-devel') @@ -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 90cf43059..b3a32e418 100644 --- a/core/bison/PKGBUILD +++ b/core/bison/PKGBUILD @@ -6,7 +6,7 @@ pkgname=bison pkgver=2.5 pkgrel=3 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 fb452354e..774404d3b 100644 --- a/core/bridge-utils/PKGBUILD +++ b/core/bridge-utils/PKGBUILD @@ -4,9 +4,9 @@ pkgname=bridge-utils pkgver=1.5 -pkgrel=1 +pkgrel=1.1 pkgdesc="Utilities for configuring the Linux ethernet bridge" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" license=('GPL') depends=('glibc') diff --git a/core/btrfs-progs/PKGBUILD b/core/btrfs-progs/PKGBUILD index 343cb55c3..ab848570a 100644 --- a/core/btrfs-progs/PKGBUILD +++ b/core/btrfs-progs/PKGBUILD @@ -5,7 +5,7 @@ pkgname=btrfs-progs pkgver=0.19.20120110 pkgrel=2 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.xz) url="http://btrfs.wiki.kernel.org/" diff --git a/core/bzip2/PKGBUILD b/core/bzip2/PKGBUILD index 5381b848b..0f5a0ed6b 100644 --- a/core/bzip2/PKGBUILD +++ b/core/bzip2/PKGBUILD @@ -4,9 +4,9 @@ pkgname=bzip2 pkgver=1.0.6 -pkgrel=3 +pkgrel=3.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 94a65e428..5960dd95f 100644 --- a/core/cloog/PKGBUILD +++ b/core/cloog/PKGBUILD @@ -5,7 +5,7 @@ pkgname=cloog pkgver=0.17.0 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 18940add4..f825c5f29 100644 --- a/core/coreutils/PKGBUILD +++ b/core/coreutils/PKGBUILD @@ -6,7 +6,7 @@ pkgname=coreutils pkgver=8.15 pkgrel=1 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 d25d26ad6..8b0eec86c 100644 --- a/core/cracklib/PKGBUILD +++ b/core/cracklib/PKGBUILD @@ -4,9 +4,9 @@ pkgname=cracklib pkgver=2.8.18 -pkgrel=2 +pkgrel=2.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 ce6144e17..b79831cb5 100644 --- a/core/crda/PKGBUILD +++ b/core/crda/PKGBUILD @@ -5,11 +5,11 @@ pkgname=crda pkgver=1.1.2 pkgrel=2 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') -makedepends=('python-m2crypto') +makedepends=('python-m2crypto' 'pkg-config') install=crda.install source=(http://wireless.kernel.org/download/crda/${pkgname}-${pkgver}.tar.bz2 crda.rc libnl32.patch) 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 395318ac1..83f108937 100644 --- a/core/cryptsetup/PKGBUILD +++ b/core/cryptsetup/PKGBUILD @@ -4,7 +4,7 @@ pkgname=cryptsetup pkgver=1.4.1 pkgrel=1 pkgdesc="Userspace setup tool for transparent encryption of block devices using dm-crypt" -arch=(i686 x86_64) +arch=(i686 x86_64 'mips64el') license=('GPL') url="http://code.google.com/p/cryptsetup/" groups=('base') diff --git a/core/curl/PKGBUILD b/core/curl/PKGBUILD index 6e1e75200..2d51b93c4 100644 --- a/core/curl/PKGBUILD +++ b/core/curl/PKGBUILD @@ -9,7 +9,7 @@ pkgname=curl pkgver=7.24.0 pkgrel=2 pkgdesc="An URL retrival utility and library" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://curl.haxx.se" license=('MIT') depends=('ca-certificates' 'libssh2' 'openssl' 'zlib') diff --git a/core/dash/PKGBUILD b/core/dash/PKGBUILD index 3aeb4b3fe..b46979bc2 100644 --- a/core/dash/PKGBUILD +++ b/core/dash/PKGBUILD @@ -5,7 +5,7 @@ pkgname=dash pkgver=0.5.7 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') depends=('glibc') diff --git a/core/db/PKGBUILD b/core/db/PKGBUILD index c86b2f44a..a9f751bca 100644 --- a/core/db/PKGBUILD +++ b/core/db/PKGBUILD @@ -7,7 +7,7 @@ pkgname=db pkgver=5.3.15 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 7c1b51286..854a17c40 100644 --- a/core/dbus-core/PKGBUILD +++ b/core/dbus-core/PKGBUILD @@ -4,10 +4,10 @@ # pkgname=dbus-core pkgver=1.4.16 -pkgrel=1 +pkgrel=1.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 3cc3378cc..817f7c7d7 100644 --- a/core/dhcpcd/PKGBUILD +++ b/core/dhcpcd/PKGBUILD @@ -8,7 +8,7 @@ pkgver=5.5.4 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 abf51904c..77aa80bd8 100644 --- a/core/dialog/PKGBUILD +++ b/core/dialog/PKGBUILD @@ -5,9 +5,9 @@ pkgname=dialog pkgver=1.1_20111020 -pkgrel=1 +pkgrel=1.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 44b02060d..ec0c05e0b 100644 --- a/core/diffutils/PKGBUILD +++ b/core/diffutils/PKGBUILD @@ -6,7 +6,7 @@ pkgname=diffutils pkgver=3.2 pkgrel=1 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 e01894138..4d698eaba 100644 --- a/core/dnsutils/PKGBUILD +++ b/core/dnsutils/PKGBUILD @@ -8,12 +8,12 @@ pkgname=dnsutils # Use a period and not a hyphen before the patch level for proper versioning. pkgver=9.8.1 _pkgver=9.8.1 -pkgrel=2 +pkgrel=2.1 pkgdesc='DNS utilities: dig host nslookup' url='http://www.isc.org/software/bind/' license=('custom:ISC') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') options=('!makeflags') depends=('openssl' 'krb5' 'idnkit') source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz" diff --git a/core/e2fsprogs/PKGBUILD b/core/e2fsprogs/PKGBUILD index bd9f609fa..b3ddd142b 100644 --- a/core/e2fsprogs/PKGBUILD +++ b/core/e2fsprogs/PKGBUILD @@ -6,7 +6,7 @@ pkgname=e2fsprogs pkgver=1.42 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 dac07e317..3babe36a6 100644 --- a/core/ed/PKGBUILD +++ b/core/ed/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ed pkgver=1.6 pkgrel=1 pkgdesc="A POSIX-compliant line-oriented text editor" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.gnu.org/software/ed/ed.html" depends=('glibc' 'sh') diff --git a/core/eglibc/PKGBUILD b/core/eglibc/PKGBUILD new file mode 100644 index 000000000..87ea5dc27 --- /dev/null +++ b/core/eglibc/PKGBUILD @@ -0,0 +1,149 @@ +# $Id: PKGBUILD 116984 2011-03-27 06:35:25Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> + +# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc +# NOTE: valgrind requires rebuilt with each new glibc version + +pkgname=eglibc +pkgver=2.13 +pkgrel=1 +_glibcdate=20110117 +pkgdesc="GNU C Library" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.gnu.org/software/libc" +license=('GPL' 'LGPL') +groups=('base') +depends=('linux-api-headers>=2.6.37' 'tzdata') +makedepends=('gcc>=4.4') +backup=(etc/locale.gen + etc/nscd.conf) +options=('!strip') +install=glibc.install +source=(http://repo.parabolagnulinux.org/other/eglibc-2_13.tar.bz2 + http://repo.parabolagnulinux.org/other/eglibc-linuxthreads-2_13.tar.bz2 + http://repo.parabolagnulinux.org/other/eglibc-localedef-2_13.tar.bz2 + http://repo.parabolagnulinux.org/other/eglibc-ports-2_13.tar.bz2 + nscd + locale.gen.txt + locale-gen) + +build() { + cd ${srcdir} + ln -s eglibc-2_13 eglibc + + cd eglibc + + # timezone data is in separate package (tzdata) + sed -i "s/localedata //" Makeconfig + + for addon in ports ; do + ln -s ../eglibc-$addon-2_13 $addon + done + + install -dm755 ${pkgdir}/etc + touch ${pkgdir}/etc/ld.so.conf + + cd ${srcdir} + mkdir build || true + cd build + + if [[ ${CARCH} = "mips64el" ]]; then + # mips64el is only supported out of tree. + extra_addons=",ports" + fi + + echo "slibdir=/lib" >> configparms + + ${srcdir}/eglibc/configure --prefix=/usr \ + --libdir=/usr/lib --libexecdir=/usr/lib \ + --with-headers=/usr/include \ + --enable-add-ons=nptl,libidn$extra_addons \ + --enable-kernel=2.6.27 \ + --with-tls --with-__thread \ + --enable-bind-now --without-gd \ + --without-cvs --disable-profile \ + --disable-multi-arch + + make +} + +check() { + cd ${srcdir}/build + + # some errors are expected - manually check log files + make -k check || true +} + +package() { + cd ${srcdir}/build + make install_root=${pkgdir} install + + rm ${pkgdir}/etc/ld.so.{cache,conf} + + install -dm755 ${pkgdir}/etc/rc.d + install -dm755 ${pkgdir}/usr/sbin + install -dm755 ${pkgdir}/usr/lib/locale + install -m644 ${srcdir}/eglibc/nscd/nscd.conf ${pkgdir}/etc/nscd.conf + install -m755 ${srcdir}/nscd ${pkgdir}/etc/rc.d/nscd + install -m755 ${srcdir}/locale-gen ${pkgdir}/usr/sbin + install -m644 ${srcdir}/eglibc/posix/gai.conf ${pkgdir}/etc/gai.conf + + sed -i -e 's/^\tserver-user/#\tserver-user/' ${pkgdir}/etc/nscd.conf + + # create /etc/locale.gen + install -m644 ${srcdir}/locale.gen.txt ${pkgdir}/etc/locale.gen + sed -i "s|/| |g" ${srcdir}/eglibc/localedata/SUPPORTED + sed -i 's|\\| |g' ${srcdir}/eglibc/localedata/SUPPORTED + sed -i "s|SUPPORTED-LOCALES=||" ${srcdir}/eglibc/localedata/SUPPORTED + cat ${srcdir}/eglibc/localedata/SUPPORTED >> ${pkgdir}/etc/locale.gen + sed -i "s|^|#|g" ${pkgdir}/etc/locale.gen + + if [[ ${CARCH} = "x86_64" ]]; then + # fix for the linker + sed -i '/RTLDLIST/s%lib64%lib%' ${pkgdir}/usr/bin/ldd + # Comply with multilib binaries, they look for the linker in /lib64 + mkdir ${pkgdir}/lib64 + cd ${pkgdir}/lib64 + ln -v -s ../lib/ld* . + fi + + # manually strip files as stripping libpthread-*.so and libthread_db.so + # with the default $STRIP_SHARED breaks gdb and stripping ld-*.so breaks + # valgrind on x86_64 + + cd $pkgdir + strip $STRIP_BINARIES sbin/{ldconfig,sln} \ + usr/bin/{gencat,getconf,getent,iconv,locale} \ + usr/bin/{localedef,pcprofiledump,rpcgen,sprof} \ + usr/lib/getconf/* \ + usr/sbin/{iconvconfig,nscd,rpcinfo} + [[ $CARCH = "i686" ]] && strip $STRIP_BINARIES usr/bin/lddlibc4 + + strip $STRIP_STATIC usr/lib/*.a \ + lib/{{ld,libpthread}-${pkgver},libthread_db-1.0}.so + + strip $STRIP_SHARED lib/{libanl,libBrokenLocale,libc,libcidn,libcrypt}-${pkgver}.so \ + lib/libnss_{compat,dns,files,hesiod,nis,nisplus}-${pkgver}.so \ + lib/{libdl,libm,libnsl,libresolv,librt,libutil}-${pkgver}.so \ + lib/{libmemusage,libpcprofile,libSegFault}.so \ + usr/lib/{pt_chown,gconv/*.so} +} +md5sums=('b7b17d9c6b5b71b5e5322e04ca63c190' + '483f37cfdd619e81d8ca9e9d713944b5' + '4dadb9203b69a3210d53514bb46f41c3' + '0c5540efc51c0b93996c51b57a8540ae' + '40cd342e21f71f5e49e32622b25acc52' + 'a3ac6f318d680347bb6e2805d42b73b2' + 'b042647ea7d6f22ad319e12e796bd13e' + '24dfab6fd244f3773523412588ecc52c' + '7d0154b7e17ea218c9fa953599d24cc4' + 'b587ee3a70c9b3713099295609afde49' + '07ac979b6ab5eeb778d55f041529d623' + '476e9113489f93b348b21e144b6a8fcf') +md5sums=('0f79580a194657aa74e3331d33a3889e' + 'f07ce5e45308fc7e2faaa55f2c766550' + '40b693a9ce8ab0a8837826160b3419c9' + '973e16228492b46bf731ad5ce2e06e9f' + 'b587ee3a70c9b3713099295609afde49' + '07ac979b6ab5eeb778d55f041529d623' + '476e9113489f93b348b21e144b6a8fcf') diff --git a/core/eglibc/glibc-2.13-prelink.patch b/core/eglibc/glibc-2.13-prelink.patch new file mode 100644 index 000000000..bef7998a8 --- /dev/null +++ b/core/eglibc/glibc-2.13-prelink.patch @@ -0,0 +1,26 @@ +diff --git a/elf/rtld.c b/elf/rtld.c +index 9a560b3..201c9cf 100644 +--- a/elf/rtld.c ++++ b/elf/rtld.c +@@ -2168,6 +2168,10 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", + we need it in the memory handling later. */ + GLRO(dl_initial_searchlist) = *GL(dl_ns)[LM_ID_BASE]._ns_main_searchlist; + ++ /* Remember the last search directory added at startup, now that ++ malloc will no longer be the one from dl-minimal.c. */ ++ GLRO(dl_init_all_dirs) = GL(dl_all_dirs); ++ + if (prelinked) + { + if (main_map->l_info [ADDRIDX (DT_GNU_CONFLICT)] != NULL) +@@ -2288,10 +2292,6 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", + lossage); + } + +- /* Remember the last search directory added at startup, now that +- malloc will no longer be the one from dl-minimal.c. */ +- GLRO(dl_init_all_dirs) = GL(dl_all_dirs); +- + if (! prelinked && rtld_multiple_ref) + { + /* There was an explicit ref to the dynamic linker as a shared lib. diff --git a/core/eventlog/PKGBUILD b/core/eventlog/PKGBUILD index 80ec8b064..92abd7bcc 100644 --- a/core/eventlog/PKGBUILD +++ b/core/eventlog/PKGBUILD @@ -7,7 +7,7 @@ pkgname=eventlog pkgver=0.2.12 pkgrel=3 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 6062d4952..1864a6a2a 100644 --- a/core/expat/PKGBUILD +++ b/core/expat/PKGBUILD @@ -4,9 +4,9 @@ pkgname=expat pkgver=2.0.1 -pkgrel=7 +pkgrel=7.1 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 1fb2370ff..d3fd6f97d 100644 --- a/core/fakeroot/PKGBUILD +++ b/core/fakeroot/PKGBUILD @@ -6,7 +6,7 @@ pkgname=fakeroot pkgver=1.18.2 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 3eb77188b..482a40afc 100644 --- a/core/file/PKGBUILD +++ b/core/file/PKGBUILD @@ -6,7 +6,7 @@ pkgname=file pkgver=5.10 pkgrel=1 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 e8d3d8c31..54dd26005 100644 --- a/core/findutils/PKGBUILD +++ b/core/findutils/PKGBUILD @@ -3,9 +3,9 @@ pkgname=findutils pkgver=4.4.2 -pkgrel=4 +pkgrel=4.1 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 b6d795076..62a73bbfc 100644 --- a/core/flex/PKGBUILD +++ b/core/flex/PKGBUILD @@ -4,9 +4,9 @@ pkgname=flex pkgver=2.5.35 -pkgrel=5 +pkgrel=5.1 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 aadd346cf..9a7414798 100644 --- a/core/gawk/PKGBUILD +++ b/core/gawk/PKGBUILD @@ -4,9 +4,9 @@ pkgname=gawk pkgver=4.0.0 -pkgrel=2 +pkgrel=2.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 17e499c1e..5ea4f6637 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -4,27 +4,37 @@ # toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc # NOTE: libtool requires rebuilt with each new gcc version -pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go') +if [[ "${CARCH}" != "mips64el" ]]; then + pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc' 'gcc-ada' 'gcc-go') +else + pkgname=('gcc' 'gcc-libs' 'gcc-fortran' 'gcc-objc') +fi pkgver=4.6.2 pkgrel=7 _snapshot=4.6-20120120 _libstdcppmanver=20111215 # 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.22' 'libmpc' 'cloog' 'ppl' 'gcc-ada') +if [[ "${CARCH}" != "mips64el" ]]; then + makedepends=('binutils>=2.22' 'libmpc' 'cloog' 'ppl' 'gcc-ada') +else + makedepends=('binutils>=2.22' 'libmpc' 'cloog' 'ppl') +fi checkdepends=('dejagnu') options=('!libtool' '!emptydirs') 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++-man.${_libstdcppmanver}.tar.bz2 gcc_pure64.patch + gcc_mips64el_lib.patch gcc-hash-style-both.patch gcc-4.6.2-cloog-0.17.patch) md5sums=('f7ca5d9f7a07216577f81318b7cf56ef' '450772ce32daed97d7383199f8797f33' '4030ee1c08dd1e843c0225b772360e76' + '67e337993d821d72fccacbed52d48c34' '4df25b623799b148a0703eaeec8fdf3f' '6d9939a2e667376031679ac9f9c49263') @@ -45,6 +55,8 @@ build() { if [ "${CARCH}" = "x86_64" ]; then patch -Np1 -i ${srcdir}/gcc_pure64.patch + elif [ "${CARCH}" = "mips64el" ]; then + patch -Np0 -i ${srcdir}/gcc_mips64el_lib.patch fi patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch @@ -56,11 +68,18 @@ build() { cd ${srcdir} mkdir gcc-build && cd gcc-build + + if [[ "${CARCH}" != "mips64el" ]]; then + languages=c,c++,ada,fortran,go,lto,objc,obj-c++ + else + languages=c,c++,fortran,lto,objc,obj-c++ + fi + ${_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=$languages \ --enable-shared --enable-threads=posix \ --with-system-zlib --enable-__cxa_atexit \ --disable-libunwind-exceptions --enable-clocale=gnu \ @@ -101,16 +120,16 @@ package_gcc-libs() make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info - make -j1 DESTDIR=${pkgdir} install-target-libquadmath + make -j1 DESTDIR=${pkgdir} install-target-libquadmath make -j1 DESTDIR=${pkgdir} install-target-libgfortran make -j1 DESTDIR=${pkgdir} install-target-libobjc # remove unnecessary files installed by install-target-{libquadmath,libgfortran,libobjc} - rm -rf ${pkgdir}/usr/lib/{gcc/,libgfortran.spec} + rm -rf ${pkgdir}/usr/lib{,32}/{gcc/,libgfortran.spec} # remove static libraries find ${pkgdir} -name *.a -delete - + # Install Runtime Library Exception install -Dm644 ${_basedir}/COPYING.RUNTIME \ ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION @@ -124,21 +143,21 @@ package_gcc() install=gcc.install cd gcc-build - + # 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/share/man/man3/ffi* + rm -f $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*} + rm -f $pkgdir/usr/lib{,32}/*.so* + rm -f $pkgdir/usr/lib{,32}/lib{ffi,gfortran,go{,begin},objc,quadmath}.a + rm -f $pkgdir/usr/lib{,32}/libgfortran.spec + rm -rf $pkgdir/usr/lib{,32}/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc} + rm -f $pkgdir/usr/lib{,32}/gcc/$CHOST/${pkgver}/include/{ffi{,target}.h,quadmath{,_weak}.h} + rm -f $pkgdir/usr/lib{,32}/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1,libgfortranbegin.a} + rm -rf $pkgdir/usr/lib{,32}/go + rm -f $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath}.info + rm -f $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo + rm -f $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1 + rm -f $pkgdir/usr/share/man/man3/ffi* # many packages require these symlinks install -dm755 ${pkgdir}/lib @@ -205,11 +224,11 @@ package_gcc-fortran() make -j1 -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS make -j1 -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info} install -Dm755 gcc/f951 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/f951 - + # remove libraries included in gcc-libs - rm ${pkgdir}/usr/lib/lib{gfortran,quadmath}.so* - rm ${pkgdir}/usr/share/info/libquadmath.info - + rm -f ${pkgdir}/usr/lib{,32}/lib{gfortran,quadmath}.so* + rm -f ${pkgdir}/usr/share/info/libquadmath.info + # Install Runtime Library Exception install -Dm644 ${_basedir}/COPYING.RUNTIME \ ${pkgdir}/usr/share/licenses/gcc-fortran/RUNTIME.LIBRARY.EXCEPTION @@ -226,7 +245,7 @@ package_gcc-objc() install -m755 gcc/cc1obj{,plus} $pkgdir/usr/lib/gcc/$CHOST/$pkgver/ # remove libraries included in gcc-libs - rm ${pkgdir}/usr/lib/libobjc.so* + rm -f ${pkgdir}/usr/lib{,32}/libobjc.so* # Install Runtime Library Exception install -Dm644 ${_basedir}/COPYING.RUNTIME \ @@ -242,7 +261,7 @@ package_gcc-ada() 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 diff --git a/core/gcc/gcc-libs.install b/core/gcc/gcc-libs.install index 23553b8f0..a6ac198f2 100644 --- a/core/gcc/gcc-libs.install +++ b/core/gcc/gcc-libs.install @@ -4,13 +4,13 @@ filelist=(libgomp.info libquadmath.info) post_upgrade() { [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null + [ -f $infodir/$file.gz ] && install-info $infodir/$file.gz $infodir/dir 2> /dev/null || true done } pre_remove() { [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + [ -f $infodir/$file.gz ] && install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null || true done } 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 30570ddf8..393a4abbe 100644 --- a/core/gdbm/PKGBUILD +++ b/core/gdbm/PKGBUILD @@ -9,7 +9,7 @@ pkgrel=1 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.10-zeroheaders.patch) diff --git a/core/gettext/PKGBUILD b/core/gettext/PKGBUILD index 8b915e52f..7e8af9342 100644 --- a/core/gettext/PKGBUILD +++ b/core/gettext/PKGBUILD @@ -5,7 +5,7 @@ pkgname=gettext pkgver=0.18.1.1 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 27d9d248f..01c980695 100644 --- a/core/glib2/PKGBUILD +++ b/core/glib2/PKGBUILD @@ -6,7 +6,7 @@ pkgver=2.30.2 pkgrel=2 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' 'libffi') makedepends=('pkgconfig' 'python2') diff --git a/core/glibc/.arch b/core/glibc/.arch new file mode 100644 index 000000000..9fe4d07f7 --- /dev/null +++ b/core/glibc/.arch @@ -0,0 +1 @@ +mips64el=false diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 3a70b66ed..8e0684797 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -8,8 +8,10 @@ pkgname=glibc pkgver=2.15 pkgrel=6 _glibcdate=20111227 +_glibcportsver=2.15 +_glibcportsdate=20120127 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,7 +22,8 @@ backup=(etc/gai.conf etc/nscd.conf) options=('!strip') install=glibc.install -source=(ftp://ftp.archlinux.org/other/glibc/${pkgname}-${pkgver}_${_glibcdate}.tar.xz +source=(http://mirrors.kernel.org/archlinux/other/glibc/${pkgname}-${pkgver}_${_glibcdate}.tar.xz + http://repo.parabolagnulinux.org/other/glibc-ports-${_glibcportsver}_${_glibcportsdate}.tar.xz glibc-2.10-dont-build-timezone.patch glibc-2.10-bz4781.patch glibc-__i686.patch @@ -44,6 +47,7 @@ source=(ftp://ftp.archlinux.org/other/glibc/${pkgname}-${pkgver}_${_glibcdate}.t locale.gen.txt locale-gen) md5sums=('6ffdf5832192b92f98bdd125317c0dfc' + '935995663b89924a98d20a636045949a' '4dadb9203b69a3210d53514bb46f41c3' '0c5540efc51c0b93996c51b57a8540ae' '40cd342e21f71f5e49e32622b25acc52' @@ -67,14 +71,22 @@ md5sums=('6ffdf5832192b92f98bdd125317c0dfc' '07ac979b6ab5eeb778d55f041529d623' '476e9113489f93b348b21e144b6a8fcf') - mksource() { - git clone git://sourceware.org/git/glibc.git + git clone http://sourceware.org/git/glibc.git pushd glibc #git checkout -b glibc-2.15-arch origin/release/2.15/master - git checkout -b glibc-2.15-arch origin/master + git checkout -b glibc-${pkgver}-arch origin/master popd tar -cvJf glibc-${pkgver}_${_glibcdate}.tar.xz glibc/* + mksource-ports +} + +mksource-ports() { + git clone http://sourceware.org/git/glibc-ports.git + pushd glibc-ports + git checkout -b glibc-${_glibcportsver}-arch origin/release/${_glibcportsver}/master + popd + tar -cvJf glibc-ports-${_glibcportsver}_${_glibcportsdate}.tar.xz glibc-ports/* } build() { @@ -160,6 +172,13 @@ build() { # http://sourceware.org/git/?p=glibc.git;a=commit;h=3e1aa84e patch -Np1 -i ${srcdir}/glibc-2.15-negative-result-cache.patch + if [ "${CARCH}" = "mips64el" ]; then + ln -s ../glibc-ports ports + + # Fix typo making util-linux build fail. + sed -i "s/_MIPS_SIM_ABIN32/_MIPS_SIM_NABI32/" ports/sysdeps/unix/sysv/linux/mips/Makefile + fi + install -dm755 ${pkgdir}/etc touch ${pkgdir}/etc/ld.so.conf @@ -170,6 +189,9 @@ build() { if [[ ${CARCH} = "i686" ]]; then # Hack to fix NPTL issues with Xen, only required on 32bit platforms export CFLAGS="${CFLAGS} -mno-tls-direct-seg-refs" + elif [[ ${CARCH} = "mips64el" ]]; then + # mips64el is only supported out of tree. + extra_addons=",ports" fi echo "slibdir=/lib" >> configparms @@ -181,7 +203,7 @@ build() { ${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.32 \ --with-tls --with-__thread \ --enable-bind-now --without-gd \ diff --git a/core/gmp/PKGBUILD b/core/gmp/PKGBUILD index 6ed8e0298..fdf85819b 100644 --- a/core/gmp/PKGBUILD +++ b/core/gmp/PKGBUILD @@ -6,7 +6,7 @@ pkgname=gmp pkgver=5.0.4 pkgrel=1 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') @@ -20,6 +20,7 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" [ "${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/gnupg/PKGBUILD b/core/gnupg/PKGBUILD index b6419c832..d3c490d20 100644 --- a/core/gnupg/PKGBUILD +++ b/core/gnupg/PKGBUILD @@ -5,7 +5,7 @@ pkgname=gnupg pkgver=1.4.12 pkgrel=1 pkgdesc="GNU Privacy Guard - a PGP replacement tool" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL3') depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00') source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2) diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD index 830d06cc3..76e2dc8a8 100644 --- a/core/gpgme/PKGBUILD +++ b/core/gpgme/PKGBUILD @@ -7,7 +7,7 @@ pkgname=gpgme pkgver=1.3.1 pkgrel=2 pkgdesc="A C wrapper library for GnuPG" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.gnupg.org/related_software/gpgme/" license=('GPL') depends=('libgpg-error' 'pth' 'gnupg' 'gnupg2') diff --git a/core/gpm/PKGBUILD b/core/gpm/PKGBUILD index 6d315225c..70aa978f1 100644 --- a/core/gpm/PKGBUILD +++ b/core/gpm/PKGBUILD @@ -5,7 +5,7 @@ pkgname=gpm pkgver=1.20.6 pkgrel=7 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 7ecfd5ab6..b7e30775f 100644 --- a/core/grep/PKGBUILD +++ b/core/grep/PKGBUILD @@ -6,7 +6,7 @@ pkgname=grep pkgver=2.10 pkgrel=3 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 f007e1d23..f9661d3f4 100644 --- a/core/groff/PKGBUILD +++ b/core/groff/PKGBUILD @@ -4,7 +4,7 @@ pkgname=groff pkgver=1.21 pkgrel=2 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 67e967ed8..d6ce70c31 100644 --- a/core/gzip/PKGBUILD +++ b/core/gzip/PKGBUILD @@ -4,9 +4,9 @@ pkgname=gzip pkgver=1.4 -pkgrel=4 +pkgrel=4.1 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 5f79d6c76..b996ad45e 100644 --- a/core/hdparm/PKGBUILD +++ b/core/hdparm/PKGBUILD @@ -5,7 +5,7 @@ pkgname=hdparm pkgver=9.39 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 f8c8129dc..e08a0246e 100644 --- a/core/heirloom-mailx/PKGBUILD +++ b/core/heirloom-mailx/PKGBUILD @@ -7,7 +7,7 @@ pkgname=heirloom-mailx pkgver=12.5 pkgrel=3 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 2a5fd256c..74b1cb6b5 100644 --- a/core/idnkit/PKGBUILD +++ b/core/idnkit/PKGBUILD @@ -8,7 +8,7 @@ pkgrel=2 pkgdesc='Provides functionalities about Internationalized Domain Name processing' url='http://www.nic.ad.jp/ja/idn/idnkit/download/' license=('custom:BSD') -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') depends=('glibc') options=('!makeflags' '!libtool') source=("http://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-${pkgver}-src.tar.gz") @@ -19,6 +19,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 a730f2f5e..b5e4897a9 100644 --- a/core/ifenslave/PKGBUILD +++ b/core/ifenslave/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ifenslave pkgver=1.1.0 pkgrel=7 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') @@ -27,3 +27,5 @@ package() { install -Dm755 ifenslave "${pkgdir}"/sbin/ifenslave install -Dm644 bonding.conf.d "${pkgdir}"/etc/conf.d/bonding } +sha1sums=('627333f410809971409023fda6a8b1de419146ba' + '6843971c0254768868b556af33289d7d32d6208d') diff --git a/core/inetutils/PKGBUILD b/core/inetutils/PKGBUILD index 55f74f01e..c72a665aa 100644 --- a/core/inetutils/PKGBUILD +++ b/core/inetutils/PKGBUILD @@ -5,7 +5,7 @@ pkgname=inetutils pkgver=1.9.1 pkgrel=1 pkgdesc="A collection of common network programs" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/inetutils/" license=('GPL3') groups=('base') diff --git a/core/iproute2/PKGBUILD b/core/iproute2/PKGBUILD index b017ba58b..90199ce49 100644 --- a/core/iproute2/PKGBUILD +++ b/core/iproute2/PKGBUILD @@ -6,7 +6,7 @@ pkgname=iproute2 pkgver=3.2.0 pkgrel=2 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=('glibc' 'db') diff --git a/core/iptables/PKGBUILD b/core/iptables/PKGBUILD index b065622ff..604065120 100644 --- a/core/iptables/PKGBUILD +++ b/core/iptables/PKGBUILD @@ -6,7 +6,7 @@ pkgname=iptables pkgver=1.4.12.2 pkgrel=1 pkgdesc='Linux kernel packet control tool' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL2') url='http://www.netfilter.org/projects/iptables/index.html' depends=('glibc' 'bash') diff --git a/core/iputils/PKGBUILD b/core/iputils/PKGBUILD index 0d585e312..bf24c3a6e 100644 --- a/core/iputils/PKGBUILD +++ b/core/iputils/PKGBUILD @@ -5,9 +5,9 @@ pkgname=iputils pkgver=20101006 _traceroutever=1.4a12 -pkgrel=2 +pkgrel=2.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') @@ -31,12 +31,14 @@ build() { # Doc fails to build (see FS#20251) # As a temporary workaround, we use these man pages from Fedora & LFS patch -Np1 -i ../iputils-s20101006-manpages.patch + find . -name Makefile | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/' make # build traceroute # this is combined in this package because it's awkward as a separate package cd "${srcdir}/traceroute-${_traceroutever}" patch -Np1 -i ../permission-fix.patch + find . -name Makefile.in | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/' ./configure --prefix=/usr \ --sbindir=/bin \ --mandir=/usr/share/man diff --git a/core/isl/PKGBUILD b/core/isl/PKGBUILD index c4608bb5d..aaf9fa824 100644 --- a/core/isl/PKGBUILD +++ b/core/isl/PKGBUILD @@ -5,7 +5,7 @@ pkgname=isl pkgver=0.09 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 e237e1b01..027fc7e23 100644 --- a/core/iw/PKGBUILD +++ b/core/iw/PKGBUILD @@ -5,11 +5,11 @@ pkgname=iw pkgver=3.3 pkgrel=2 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") -makedepends=("kernel-headers") +makedepends=("linux-api-headers" "pkg-config") source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2) sha256sums=('567f0d389dd7c9919832101aaa8e3863a463cb505545534eb46b4ddab4400e60') diff --git a/core/jfsutils/PKGBUILD b/core/jfsutils/PKGBUILD index fee4867a2..8ed938017 100644 --- a/core/jfsutils/PKGBUILD +++ b/core/jfsutils/PKGBUILD @@ -5,7 +5,7 @@ pkgname=jfsutils pkgver=1.1.15 pkgrel=3 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 efe8d3ede..23d04ad5c 100644 --- a/core/kbd/PKGBUILD +++ b/core/kbd/PKGBUILD @@ -3,9 +3,9 @@ pkgname=kbd pkgver=1.15.3 -pkgrel=2 +pkgrel=2.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 747257aba..5a9db6545 100644 --- a/core/keyutils/PKGBUILD +++ b/core/keyutils/PKGBUILD @@ -4,7 +4,7 @@ pkgname=keyutils pkgver=1.5.5 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/kmod/PKGBUILD b/core/kmod/PKGBUILD index d0b714fde..b9e69d59f 100644 --- a/core/kmod/PKGBUILD +++ b/core/kmod/PKGBUILD @@ -5,7 +5,7 @@ pkgname=kmod pkgver=5 pkgrel=4 pkgdesc="Linux kernel module handling" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://git.profusion.mobi/cgit.cgi/kmod.git" license=('GPL2') depends=('glibc' 'zlib') diff --git a/core/krb5/PKGBUILD b/core/krb5/PKGBUILD index e93b19963..9eb17fc59 100644 --- a/core/krb5/PKGBUILD +++ b/core/krb5/PKGBUILD @@ -5,7 +5,7 @@ pkgname=krb5 pkgver=1.9.2 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 4b1289429..884fd549e 100644 --- a/core/less/PKGBUILD +++ b/core/less/PKGBUILD @@ -4,10 +4,10 @@ pkgname=less pkgver=444 -pkgrel=3 +pkgrel=3.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 1be3116b4..a447951a5 100644 --- a/core/libarchive/PKGBUILD +++ b/core/libarchive/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libarchive pkgver=3.0.3 pkgrel=3 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/libassuan/PKGBUILD b/core/libassuan/PKGBUILD index 12e79ce0e..2ba5063e8 100644 --- a/core/libassuan/PKGBUILD +++ b/core/libassuan/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libassuan pkgver=2.0.3 pkgrel=1 pkgdesc="A IPC library used by some GnuPG related software" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.gnupg.org/related_software/libassuan" depends=('libgpg-error') diff --git a/core/libcap/PKGBUILD b/core/libcap/PKGBUILD index 5e5bba5e8..6fc8cb8eb 100644 --- a/core/libcap/PKGBUILD +++ b/core/libcap/PKGBUILD @@ -4,9 +4,9 @@ pkgname=libcap pkgver=2.22 -pkgrel=2 +pkgrel=2.1 pkgdesc="POSIX 1003.1e capabilities" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://sites.google.com/site/fullycapable/" license=('GPL2') depends=('glibc' 'attr') diff --git a/core/libedit/PKGBUILD b/core/libedit/PKGBUILD index 280b04ec4..59b8c9433 100644 --- a/core/libedit/PKGBUILD +++ b/core/libedit/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libedit pkgver=20110802_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 45cf1208f..6bad9b288 100644 --- a/core/libevent/PKGBUILD +++ b/core/libevent/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libevent pkgver=2.0.16 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 d651bf612..3d7678a0c 100644 --- a/core/libgssglue/PKGBUILD +++ b/core/libgssglue/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libgssglue pkgver=0.3 pkgrel=1 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/libmpc/PKGBUILD b/core/libmpc/PKGBUILD index f482d4104..df2984082 100644 --- a/core/libmpc/PKGBUILD +++ b/core/libmpc/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libmpc pkgver=0.9 pkgrel=2 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 7893a115f..f31c0e142 100644 --- a/core/libnl/PKGBUILD +++ b/core/libnl/PKGBUILD @@ -6,7 +6,7 @@ pkgname=libnl pkgver=3.2.7 pkgrel=1 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 a528954b0..d938932fe 100644 --- a/core/libpcap/PKGBUILD +++ b/core/libpcap/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libpcap pkgver=1.2.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 bbc315315..513901bbc 100644 --- a/core/libpipeline/PKGBUILD +++ b/core/libpipeline/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libpipeline pkgver=1.2.0 pkgrel=2 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') depends=('glibc') diff --git a/core/librpcsecgss/PKGBUILD b/core/librpcsecgss/PKGBUILD index 71bb1bf39..6e571f9ee 100644 --- a/core/librpcsecgss/PKGBUILD +++ b/core/librpcsecgss/PKGBUILD @@ -6,7 +6,7 @@ pkgname=librpcsecgss pkgver=0.19 pkgrel=7 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 e668cda48..19065a8a0 100644 --- a/core/libsasl/PKGBUILD +++ b/core/libsasl/PKGBUILD @@ -10,11 +10,11 @@ pkgname=libsasl pkgver=2.1.23 pkgrel=9 pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://cyrusimap.web.cmu.edu/" license=('custom') options=('!makeflags' '!libtool') -makedepends=('postgresql-libs' 'libmysqlclient' 'libldap' 'krb5' 'openssl') +makedepends=('postgresql-libs' 'libmysqlclient' 'libldap' 'krb5' 'openssl' 'libtool' 'groff') source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz cyrus-sasl-2.1.19-checkpw.c.patch cyrus-sasl-2.1.22-crypt.patch @@ -97,6 +97,8 @@ build() { popd ./configure --prefix=/usr \ + --host=$CHOST \ + --build=$CHOST \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static \ diff --git a/core/libssh2/PKGBUILD b/core/libssh2/PKGBUILD index 051fa0215..1db4b6786 100644 --- a/core/libssh2/PKGBUILD +++ b/core/libssh2/PKGBUILD @@ -10,7 +10,7 @@ pkgver=1.4.0 pkgrel=1 pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts" url="http://www.libssh2.org/" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('BSD') depends=('openssl') makedepends=('zlib') diff --git a/core/libtirpc/PKGBUILD b/core/libtirpc/PKGBUILD index 6035cdb2c..fac744d86 100644 --- a/core/libtirpc/PKGBUILD +++ b/core/libtirpc/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libtirpc pkgver=0.2.2 pkgrel=2 pkgdesc="Transport Independent RPC library (SunRPC replacement)" -arch=('i686' 'x86_64') +arch=(i686 x86_64 mips64el) url="http://libtirpc.sourceforge.net/" license=('BSD') depends=('libgssglue') diff --git a/core/libtool/PKGBUILD b/core/libtool/PKGBUILD index d05382223..65dc24970 100644 --- a/core/libtool/PKGBUILD +++ b/core/libtool/PKGBUILD @@ -6,18 +6,21 @@ pkgname=('libtool' 'libltdl') pkgver=2.4.2 -pkgrel=3 +pkgrel=4 pkgdesc="A generic library support script" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libtool" license=('GPL') options=('!libtool') -source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig}) +source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.xz{,.sig} + nopic.patch) md5sums=('2ec8997e0c07249eb4cbd072417d70fe' - '1e6ba57420c82c663c85e745d11c7eed') + '1e6ba57420c82c663c85e745d11c7eed' + '46443cf0e3e1b4e4891812af73385615') build() { cd ${srcdir}/${pkgbase}-${pkgver} + [ "$CARCH" = "mips64el" ] && patch -Np1 -i "${srcdir}/nopic.patch" ./configure --prefix=/usr make } diff --git a/core/libtool/nopic.patch b/core/libtool/nopic.patch new file mode 100644 index 000000000..43a712685 --- /dev/null +++ b/core/libtool/nopic.patch @@ -0,0 +1,13 @@ +Index: libtool-2.2.6a/tests/demo-nopic.test +=================================================================== +--- libtool-2.2.6a.orig/tests/demo-nopic.test 2008-11-18 21:11:29.000000000 +0000 ++++ libtool-2.2.6a/tests/demo-nopic.test 2008-11-18 21:12:41.000000000 +0000 +@@ -26,7 +26,7 @@ + . tests/defs || exit 1 + + case "$host" in +-hppa*|x86_64*|s390*) ++hppa*|x86_64*|s390*|mips*|arm*) + func_skip "$host doesn't like non-PIC shared libs" + ;; + *-solaris*|*-sunos*) diff --git a/core/libusb-compat/PKGBUILD b/core/libusb-compat/PKGBUILD index e2f771999..ff8b34a8b 100644 --- a/core/libusb-compat/PKGBUILD +++ b/core/libusb-compat/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libusb-compat pkgver=0.1.3 pkgrel=2 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 31f148fc1..c7ab438b6 100644 --- a/core/libusb/PKGBUILD +++ b/core/libusb/PKGBUILD @@ -5,7 +5,7 @@ pkgver=1.0.8 pkgrel=2 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/links/PKGBUILD b/core/links/PKGBUILD index 1193ed3b0..c658dfa9e 100644 --- a/core/links/PKGBUILD +++ b/core/links/PKGBUILD @@ -5,7 +5,7 @@ pkgname=links pkgver=2.5 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' 'xz' 'zlib' 'openssl' 'gpm') diff --git a/core/linux-api-headers/PKGBUILD b/core/linux-api-headers/PKGBUILD index d69936a88..53cb05f2c 100644 --- a/core/linux-api-headers/PKGBUILD +++ b/core/linux-api-headers/PKGBUILD @@ -8,23 +8,18 @@ pkgver=3.1.6 _basever=3.1 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/v3.x/linux-${_basever}.tar.xz - http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz) -# NOTE: signatures are not automatically verified by makepkg - #http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.sign - #http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.sign -md5sums=('edbdc798f23ae0f8045c82f6fa22c536' - 'b59adeac6d593fe993e964ea9e259c42') +source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basever}-libre/linux-${_basever}-libre.tar.xz" + "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/patch-${_basever}-libre-${pkgver}-libre.xz") build() { cd ${srcdir}/linux-${_basever} - [[ $pkgver != $_basever ]] && patch -Np1 -i ${srcdir}/patch-${pkgver} + [[ $pkgver != $_basever ]] && patch -Np1 -i ${srcdir}/patch-${_basever}-libre-${pkgver}-libre make mrproper make headers_check @@ -40,3 +35,5 @@ package() { # clean-up unnecessary files generated during install find ${pkgdir} -name .install -or -name ..install.cmd | xargs rm -f } +md5sums=('d73df15ab1d36fe3c102755d8f42117f' + 'cb42276bca126c676c51d02d74bf7fe7') diff --git a/core/linux-atm/PKGBUILD b/core/linux-atm/PKGBUILD index e8aaf626f..5134874b1 100644 --- a/core/linux-atm/PKGBUILD +++ b/core/linux-atm/PKGBUILD @@ -6,7 +6,7 @@ pkgname=linux-atm pkgver=2.5.2 pkgrel=1 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 c59ae4eca..4d31f5f17 100644 --- a/core/logrotate/PKGBUILD +++ b/core/logrotate/PKGBUILD @@ -4,9 +4,9 @@ pkgname=logrotate pkgver=3.8.1 -pkgrel=1 +pkgrel=1.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 8bdc641c8..a47d2a5fa 100644 --- a/core/lvm2/PKGBUILD +++ b/core/lvm2/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=lvm2 pkgname=('lvm2' 'device-mapper') pkgver=2.02.90 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 dd0c5e65b..7b56fe632 100644 --- a/core/lzo2/PKGBUILD +++ b/core/lzo2/PKGBUILD @@ -5,7 +5,7 @@ pkgname=lzo2 pkgver=2.06 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 de13524da..749937e1a 100644 --- a/core/m4/PKGBUILD +++ b/core/m4/PKGBUILD @@ -4,9 +4,9 @@ pkgname=m4 pkgver=1.4.16 -pkgrel=2 +pkgrel=2.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 3f38c53f3..4106f80fa 100644 --- a/core/make/PKGBUILD +++ b/core/make/PKGBUILD @@ -6,7 +6,7 @@ pkgname=make pkgver=3.82 pkgrel=4 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 830a0f4cf..1041eb22f 100644 --- a/core/man-db/PKGBUILD +++ b/core/man-db/PKGBUILD @@ -6,7 +6,7 @@ pkgname=man-db pkgver=2.6.1 pkgrel=1 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 5c7819708..6b3fabee0 100644 --- a/core/mdadm/PKGBUILD +++ b/core/mdadm/PKGBUILD @@ -5,7 +5,7 @@ pkgname=mdadm pkgver=3.2.3 pkgrel=1 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://neil.brown.name/blog/mdadm" groups=('base') diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD index eb4f651d9..22980acea 100644 --- a/core/mkinitcpio-busybox/PKGBUILD +++ b/core/mkinitcpio-busybox/PKGBUILD @@ -4,9 +4,9 @@ pkgname=mkinitcpio-busybox pkgver=1.19.2 -pkgrel=1 +pkgrel=1.1 pkgdesc="base initramfs tools" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.busybox.net/" license=('GPL') depends=('glibc') @@ -19,7 +19,12 @@ sha256sums=('ea7ec9b6df70b8c528f4a2b6300e9913431c7223308fb08dfafa7508d75a0cb9' build() { cd "$srcdir/busybox-$pkgver" - local safeflags="${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" + case $CARCH in + mips64el) + local safeflags='loongson2f -O2 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -Os -pipe -fno-strict-aliasing' ;; + *) + local safeflags="${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" ;; + esac sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="-march='"$safeflags"'"|' \ "$srcdir/config" > .config diff --git a/core/mkinitcpio-nfs-utils/PKGBUILD b/core/mkinitcpio-nfs-utils/PKGBUILD index 78d5c4737..69b494888 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=2 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/mkinitcpio/PKGBUILD b/core/mkinitcpio/PKGBUILD new file mode 100644 index 000000000..faed61e50 --- /dev/null +++ b/core/mkinitcpio/PKGBUILD @@ -0,0 +1,30 @@ +pkgname=mkinitcpio +pkgver=0.7.5 +pkgrel=1 +pkgdesc="Modular initramfs image creation utility" +arch=('mips64el') +url="http://www.archlinux.org/" +license=('GPL') +depends=('mkinitcpio-busybox>=1.16.1-2' 'module-init-tools' 'util-linux>=2.19' 'libarchive' 'coreutils' + 'bash' 'findutils' 'sed' 'grep' 'filesystem>=2011.10-1' 'udev>=174-1' 'file' 'gzip') +optdepends=('xz: Use lzma or xz compression for the initramfs image' + 'bzip2: Use bzip2 compression for the initramfs image' + 'lzop: Use lzo compression for the initramfs image' + 'mkinitcpio-nfs-utils: Support for root filesystem on NFS') +replaces=('mkinitrd' 'mkinitramfs' 'klibc' 'klibc-extras' 'klibc-kbd' + 'klibc-module-init-tools' 'klibc-udev') +source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'patch.patch') +backup=(etc/mkinitcpio.conf) +sha256sums=('3210e27fe689a021996d902c117b9c49dd9463c4424a2b3e2c428a4e4f31bff9' + 'abf6bb9d692838cc2f97f12f0901f0209dbf6f437f9590accd26dbcfc48f1b16') + +package() { + cd "$srcdir/$pkgname-$pkgver" + + patch install/base ../patch.patch + + make DESTDIR="$pkgdir" install +} +sha256sums=('3210e27fe689a021996d902c117b9c49dd9463c4424a2b3e2c428a4e4f31bff9' + 'bb6517e0497cc43aea1287e43b0be2892b7af74add5eca3f3740b091f997729e') diff --git a/core/mkinitcpio/patch.patch b/core/mkinitcpio/patch.patch new file mode 100644 index 000000000..62dadac32 --- /dev/null +++ b/core/mkinitcpio/patch.patch @@ -0,0 +1,11 @@ +--- install/base 2011-10-22 12:37:45.000000000 -0300 ++++ install/base.orig 2011-11-03 19:54:45.574991740 -0300 +@@ -1,7 +1,7 @@ + #!/bin/bash + + build() { +- for dir in new_root proc sys dev run usr/{bin,sbin}; do ++ for dir in new_root proc sys dev run usr/{bin,sbin} lib32; do + add_dir "/$dir" + done + diff --git a/core/mlocate/PKGBUILD b/core/mlocate/PKGBUILD index ef1b74590..818bae57c 100644 --- a/core/mlocate/PKGBUILD +++ b/core/mlocate/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mlocate pkgver=0.24 pkgrel=2 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/mpfr/PKGBUILD b/core/mpfr/PKGBUILD index 7c342a21d..f51d9e2a0 100644 --- a/core/mpfr/PKGBUILD +++ b/core/mpfr/PKGBUILD @@ -8,7 +8,8 @@ _patchlevel=p3 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 29daecb1a..08eb2d3e7 100644 --- a/core/nano/PKGBUILD +++ b/core/nano/PKGBUILD @@ -4,9 +4,9 @@ pkgname=nano pkgver=2.2.6 -pkgrel=2 +pkgrel=2.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 b55c21040..866b1f3fd 100644 --- a/core/ncurses/PKGBUILD +++ b/core/ncurses/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ncurses pkgver=5.9 pkgrel=3 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 605620a09..fd9b0d216 100644 --- a/core/net-tools/PKGBUILD +++ b/core/net-tools/PKGBUILD @@ -4,9 +4,9 @@ pkgname=net-tools pkgver=1.60.20110819cvs -pkgrel=3 +pkgrel=3.1 pkgdesc="Configuration tools for Linux networking" -arch=(i686 x86_64) +arch=(i686 x86_64 'mips64el') license=('GPL2') 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 cdcbf3e86..4ec7c926d 100644 --- a/core/nfs-utils/PKGBUILD +++ b/core/nfs-utils/PKGBUILD @@ -7,9 +7,9 @@ pkgname=nfs-utils pkgver=1.2.5 -pkgrel=1 +pkgrel=1.1 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 a402e5c84..08a78b077 100644 --- a/core/nfsidmap/PKGBUILD +++ b/core/nfsidmap/PKGBUILD @@ -6,7 +6,7 @@ pkgname=nfsidmap pkgver=0.24 pkgrel=3 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 81e8305f0..79316346d 100644 --- a/core/nilfs-utils/PKGBUILD +++ b/core/nilfs-utils/PKGBUILD @@ -6,7 +6,7 @@ pkgname=nilfs-utils pkgver=2.1.1 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/openldap/PKGBUILD b/core/openldap/PKGBUILD index 8351587b4..32a6acafe 100644 --- a/core/openldap/PKGBUILD +++ b/core/openldap/PKGBUILD @@ -5,10 +5,10 @@ pkgbase=openldap pkgname=('libldap' 'openldap') pkgver=2.4.28 pkgrel=2 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.openldap.org/" license=('custom') -makedepends=('libfetch' 'libltdl' 'libsasl' 'e2fsprogs' 'util-linux') +makedepends=('libfetch' 'libltdl' 'libsasl' 'e2fsprogs' 'util-linux' 'groff') source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${pkgbase}-${pkgver}.tgz slapd slapd.default ntlm.patch) sha1sums=('d888beae1723002a5a2ff5509d3040df40885774' diff --git a/core/openssh/PKGBUILD b/core/openssh/PKGBUILD index a09087ac1..9b97d4c04 100644 --- a/core/openssh/PKGBUILD +++ b/core/openssh/PKGBUILD @@ -7,7 +7,7 @@ pkgname=openssh pkgver=5.9p1 pkgrel=5 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 c622f21c6..e5c5da68a 100644 --- a/core/openssl/PKGBUILD +++ b/core/openssl/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 146957 2012-01-19 17:48:26Z pierre $ +# $Id: PKGBUILD 137334 2011-09-07 08:58:53Z pierre $ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=openssl -_ver=1.0.0g +_ver=1.0.0e # use a pacman compatible version scheme 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') @@ -15,28 +15,25 @@ optdepends=('ca-certificates') options=('!makeflags') backup=('etc/ssl/openssl.cnf') source=("https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz" - "https://www.openssl.org/source/${pkgname}-${_ver}.tar.gz.asc" 'fix-manpages.patch' 'no-rpath.patch' + 'gnu-linux-mips64el-gcc.patch' 'ca-dir.patch') -md5sums=('07ecbe4324f140d157478637d6beccf1' - '34315cf0fbbd1d18435948eb9712fcdf' +md5sums=('7040b89c4c58c7a1016c0dfa6e821c86' '5bbc0655bda2af95bc8eb568963ce8ba' 'dc78d3d06baffc16217519242ce92478' + 'd7115f0cc44df346d7b68c681819f94b' '3bf51be3a1bbd262be46dc619f92aa90') +[ "$CARCH" = "mips64el" ] && \ +makedepends=('imake') + # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' build() { cd $srcdir/$pkgname-$_ver - if [ "${CARCH}" == 'x86_64' ]; then - openssltarget='linux-x86_64' - elif [ "${CARCH}" == 'i686' ]; then - openssltarget='linux-elf' - fi - # avoid conflicts with other man pages # see http://www.linuxfromscratch.org/patches/downloads/openssl/ patch -p1 -i $srcdir/fix-manpages.patch @@ -44,11 +41,32 @@ build() { patch -p0 -i $srcdir/no-rpath.patch # set ca dir to /etc/ssl by default patch -p0 -i $srcdir/ca-dir.patch + + patch -p0 -i $srcdir/gnu-linux-mips64el-gcc.patch + + case "${CARCH}" in + 'x86_64') + openssltarget='linux-x86_64' ;; + 'i686') + openssltarget='linux-elf' ;; + 'mips64el') +# ./config + openssltarget='gnu-linux-mips64el-gcc' ;; + # openssltarget='linux-generic32' ;; + esac + # mark stack as non-executable: http://bugs.archlinux.org/task/12434 + if [ "$CARCH" = "mips64el" ]; then + ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ + shared zlib enable-md2 \ + "${openssltarget}" -Wa,--noexecstack "${CFLAGS}" + else ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \ shared zlib enable-md2 \ "${openssltarget}" \ - -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}" + -Wa,--noexecstack "${CFLAGS}" "${LDFLAGS}" + + fi make depend make diff --git a/core/openssl/gnu-linux-mips64el-gcc.patch b/core/openssl/gnu-linux-mips64el-gcc.patch new file mode 100644 index 000000000..412ea873f --- /dev/null +++ b/core/openssl/gnu-linux-mips64el-gcc.patch @@ -0,0 +1,10 @@ +--- Configure.orig 2011-09-23 10:49:56.725704188 -0300 ++++ Configure 2011-09-23 11:01:00.377697297 -0300 +@@ -337,6 +337,7 @@ + # *-generic* is endian-neutral target, but ./config is free to + # throw in -D[BL]_ENDIAN, whichever appropriate... + "linux-generic32","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"gnu-linux-mips64el-gcc","gcc:-mabi=n32 -O3 -DTERMIO -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${mips3_asm}:dlfcn:linux-shared:-fPIC::-mabi=n32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::32", + "linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + # It's believed that majority of ARM toolchains predefine appropriate -march. + # If you compiler does not, do complement config command line with one! diff --git a/core/openvpn/PKGBUILD b/core/openvpn/PKGBUILD index 1122a3844..6bda23d46 100644 --- a/core/openvpn/PKGBUILD +++ b/core/openvpn/PKGBUILD @@ -5,7 +5,7 @@ pkgname=openvpn pkgver=2.2.2 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' 'iproute2') license=('custom') diff --git a/core/pam/PKGBUILD b/core/pam/PKGBUILD index c0f4b4841..21e9088b8 100644 --- a/core/pam/PKGBUILD +++ b/core/pam/PKGBUILD @@ -6,7 +6,7 @@ pkgname=pam pkgver=1.1.5 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' 'libtirpc') diff --git a/core/patch/PKGBUILD b/core/patch/PKGBUILD index 8c0185fa9..e66b9163b 100644 --- a/core/patch/PKGBUILD +++ b/core/patch/PKGBUILD @@ -4,9 +4,9 @@ pkgname=patch pkgver=2.6.1 -pkgrel=3 +pkgrel=3.1 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 d9d5619a0..74caa29f6 100644 --- a/core/pciutils/PKGBUILD +++ b/core/pciutils/PKGBUILD @@ -4,7 +4,7 @@ pkgname=pciutils pkgver=3.1.9 pkgrel=1 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 fee30155d..6c165e745 100644 --- a/core/pcmciautils/PKGBUILD +++ b/core/pcmciautils/PKGBUILD @@ -4,7 +4,7 @@ pkgname=pcmciautils pkgver=018 pkgrel=1 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 f9290cebf..3d97ae554 100644 --- a/core/pcre/PKGBUILD +++ b/core/pcre/PKGBUILD @@ -7,7 +7,7 @@ pkgname=pcre pkgver=8.30 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 9fc4a5700..c32205957 100644 --- a/core/perl/PKGBUILD +++ b/core/perl/PKGBUILD @@ -7,7 +7,7 @@ pkgname=perl pkgver=5.14.2 pkgrel=7 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/pinentry/PKGBUILD b/core/pinentry/PKGBUILD index c94625d29..ca098263f 100644 --- a/core/pinentry/PKGBUILD +++ b/core/pinentry/PKGBUILD @@ -4,7 +4,7 @@ pkgname=pinentry pkgver=0.8.1 pkgrel=3 pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.gnupg.org/aegypten2" depends=('ncurses' 'libcap>=2.16') @@ -16,7 +16,7 @@ source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz install=pinentry.install build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver for file in qt4/*.moc; do /usr/bin/moc ${file/.moc/.h} > ${file} done diff --git a/core/pkg-config/PKGBUILD b/core/pkg-config/PKGBUILD index ce42fd9b7..ed96f3380 100644 --- a/core/pkg-config/PKGBUILD +++ b/core/pkg-config/PKGBUILD @@ -4,9 +4,9 @@ pkgname=pkg-config pkgver=0.26 -pkgrel=2 +pkgrel=2.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 202126bab..09ec1ca1a 100644 --- a/core/popt/PKGBUILD +++ b/core/popt/PKGBUILD @@ -9,7 +9,7 @@ pkgname=popt pkgver=1.16 pkgrel=4 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 953f1da9b..193da1a19 100644 --- a/core/ppl/PKGBUILD +++ b/core/ppl/PKGBUILD @@ -6,7 +6,7 @@ pkgname=ppl pkgver=0.11.2 pkgrel=2 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 33c7eccd1..e9e6d7c32 100644 --- a/core/ppp/PKGBUILD +++ b/core/ppp/PKGBUILD @@ -4,7 +4,7 @@ pkgname=ppp pkgver=2.4.5 pkgrel=3 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 b27c7d5bc..1040e8ba9 100644 --- a/core/pptpclient/PKGBUILD +++ b/core/pptpclient/PKGBUILD @@ -6,7 +6,7 @@ pkgname=pptpclient pkgver=1.7.2 pkgrel=4 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 e63a20625..8444232b0 100644 --- a/core/procinfo-ng/PKGBUILD +++ b/core/procinfo-ng/PKGBUILD @@ -4,9 +4,9 @@ pkgname=procinfo-ng pkgver=2.0.304 -pkgrel=3 +pkgrel=3.1 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 b04ebf52c..99d7884a7 100644 --- a/core/procps/PKGBUILD +++ b/core/procps/PKGBUILD @@ -5,7 +5,7 @@ pkgname=procps pkgver=3.2.8 pkgrel=4 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 2c49aec49..e6c726737 100644 --- a/core/psmisc/PKGBUILD +++ b/core/psmisc/PKGBUILD @@ -5,7 +5,7 @@ pkgname=psmisc pkgver=22.15 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 fa21580c0..e86d50fcb 100644 --- a/core/readline/PKGBUILD +++ b/core/readline/PKGBUILD @@ -8,7 +8,7 @@ _patchlevel=002 #prepare for some patches pkgver=$_basever.$_patchlevel pkgrel=1 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 ca73bf439..769a72908 100644 --- a/core/reiserfsprogs/PKGBUILD +++ b/core/reiserfsprogs/PKGBUILD @@ -6,7 +6,7 @@ pkgname=reiserfsprogs pkgver=3.6.21 pkgrel=4 pkgdesc="Reiserfs utilities" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.kernel.org/" license=('GPL') groups=('base') diff --git a/core/rfkill/PKGBUILD b/core/rfkill/PKGBUILD index 95a615f00..040eef5b6 100644 --- a/core/rfkill/PKGBUILD +++ b/core/rfkill/PKGBUILD @@ -6,7 +6,7 @@ pkgname=rfkill pkgver=0.4 pkgrel=3 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 e4ef1f876..c38f302fd 100644 --- a/core/rpcbind/PKGBUILD +++ b/core/rpcbind/PKGBUILD @@ -5,7 +5,7 @@ pkgname=rpcbind pkgver=0.2.0 pkgrel=6 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 aa67049d5..9e40eed03 100644 --- a/core/run-parts/PKGBUILD +++ b/core/run-parts/PKGBUILD @@ -5,7 +5,7 @@ pkgname=run-parts pkgver=4.2.1 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 d983deffd..2ffa37ed8 100644 --- a/core/sdparm/PKGBUILD +++ b/core/sdparm/PKGBUILD @@ -7,7 +7,7 @@ pkgname=sdparm pkgver=1.07 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 5e268d05e..b83f77aaf 100644 --- a/core/sed/PKGBUILD +++ b/core/sed/PKGBUILD @@ -4,9 +4,9 @@ pkgname=sed pkgver=4.2.1 -pkgrel=4 +pkgrel=4.1 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 ed42c0916..79fe34f29 100644 --- a/core/shadow/PKGBUILD +++ b/core/shadow/PKGBUILD @@ -6,7 +6,7 @@ pkgname=shadow pkgver=4.1.5 pkgrel=3 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 f24676f44..c00db6b7d 100644 --- a/core/sqlite3/PKGBUILD +++ b/core/sqlite3/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgbase="sqlite3" -pkgname=('sqlite3' 'sqlite3-tcl' 'sqlite3-doc') +pkgname=('sqlite3' 'sqlite3-tcl') _amalgamationver=3071000 _amalgamationver2=${_amalgamationver/00/} _docver=${_amalgamationver} #3070700 @@ -11,18 +11,15 @@ _docver=${_amalgamationver} #3070700 pkgver=3.7.10 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=('9ed2ca93577b58cfa0d01f64b9312ab9' - 'd4c8070ea2cec54b77002c265e680b0f' 'c1cdbc5544034d9012e421e75a5e4890') build() { @@ -64,25 +61,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}/ - - # fix permissions and remove obsolete files; https://bugs.archlinux.org/task/24605 - find ${pkgdir} -type f -perm 755 -exec ls -lha {} \; - find ${pkgdir} -type f -perm 755 -exec chmod 644 {} \; - - find ${pkgdir} -type f -name '*~' -exec ls -lha {} \; - find ${pkgdir} -type d -name '*~' -exec ls -lha {} \; - find ${pkgdir} -name '*~' -exec rm -f {} \; - - find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite3-doc/usr/share/doc/sqlite3/images/fileformat/.~lock.indexpage.odg# - find ${pkgdir} -type d -name '.~*' -exec ls -lha {} \; - find ${pkgdir} -name '.~*' -exec rm -f {} \; -} diff --git a/core/sqlite3/PKGBUILD.mips64el b/core/sqlite3/PKGBUILD.mips64el new file mode 100644 index 000000000..98f925d56 --- /dev/null +++ b/core/sqlite3/PKGBUILD.mips64el @@ -0,0 +1,62 @@ +# $Id: PKGBUILD 130058 2011-07-01 19:36:29Z andyrtr $ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgbase="sqlite3" +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' '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 + license.txt) +options=('!libtool' '!emptydirs') +md5sums=('554026fe7fac47b1cf61c18d5fe43419' + 'c1cdbc5544034d9012e421e75a5e4890') + +build() { + export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE" + + # build sqlite + cd "$srcdir"/sqlite-autoconf-$_amalgamationver + ./configure --prefix=/usr \ + --disable-static + make + + # build the tcl extension + cd "$srcdir"/sqlite-autoconf-$_amalgamationver/tea + ./configure --prefix=/usr \ + --with-system-sqlite + make + +} + +package_sqlite3() { + + pkgdesc="A C library that implements an SQL database engine" + depends=('readline>=6.0.00') + conflicts=('sqlite') + replaces=('sqlite') + + cd ${srcdir}/sqlite-autoconf-$_amalgamationver + make DESTDIR=${pkgdir} install + + # license + install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt +} + +package_sqlite3-tcl() { + + pkgdesc="sqlite3 Tcl Extension Architecture (TEA)" + depends=('sqlite3>=3.7.5') + + cd ${srcdir}/sqlite-autoconf-$_amalgamationver/tea + make DESTDIR=${pkgdir} install +} diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD index ce9c7d00b..ac5019b5f 100644 --- a/core/sudo/PKGBUILD +++ b/core/sudo/PKGBUILD @@ -7,7 +7,7 @@ _ver=1.8.4 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 96b92b9ce..0d725bfb3 100644 --- a/core/sysfsutils/PKGBUILD +++ b/core/sysfsutils/PKGBUILD @@ -5,7 +5,7 @@ pkgname=sysfsutils pkgver=2.1.0 pkgrel=7 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/.arch b/core/syslinux/.arch new file mode 100644 index 000000000..9fe4d07f7 --- /dev/null +++ b/core/syslinux/.arch @@ -0,0 +1 @@ +mips64el=false diff --git a/core/sysvinit/PKGBUILD b/core/sysvinit/PKGBUILD index 27045eca0..b521d1895 100644 --- a/core/sysvinit/PKGBUILD +++ b/core/sysvinit/PKGBUILD @@ -4,9 +4,9 @@ pkgname=sysvinit pkgver=2.88 -pkgrel=3 +pkgrel=3.1 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 f064f08c1..ffd5cb336 100644 --- a/core/tar/PKGBUILD +++ b/core/tar/PKGBUILD @@ -6,7 +6,7 @@ pkgname=tar pkgver=1.26 pkgrel=2 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/texinfo/PKGBUILD b/core/texinfo/PKGBUILD index 22ef3c6e5..d4463347d 100644 --- a/core/texinfo/PKGBUILD +++ b/core/texinfo/PKGBUILD @@ -6,7 +6,7 @@ pkgname=texinfo pkgver=4.13a pkgrel=7 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 54108609a..a1b8601c0 100644 --- a/core/tzdata/PKGBUILD +++ b/core/tzdata/PKGBUILD @@ -7,7 +7,7 @@ pkgrel=1 _tzcode=2011i _tzdata=2011n 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 8e4448343..80bd4b804 100644 --- a/core/udev/PKGBUILD +++ b/core/udev/PKGBUILD @@ -10,7 +10,7 @@ pkgrel=2 pkgdesc="The userspace dev tools (udev)" depends=('util-linux' 'libusb-compat' 'glib2' 'kmod' 'pciutils' 'usbutils' 'pciutils') install=udev.install -arch=(i686 x86_64) +arch=(i686 x86_64 mips64el) license=('GPL') makedepends=('gobject-introspection' 'gperf' 'libxslt' 'usbutils' 'kmod') source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.xz diff --git a/core/usbutils/PKGBUILD b/core/usbutils/PKGBUILD index 4d2ca6ad2..3fe65e8c4 100644 --- a/core/usbutils/PKGBUILD +++ b/core/usbutils/PKGBUILD @@ -6,7 +6,7 @@ pkgver=004 pkgrel=1 _usb_ids_date=2011.08.17 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 26faab001..b5f7dada8 100644 --- a/core/util-linux/PKGBUILD +++ b/core/util-linux/PKGBUILD @@ -7,7 +7,7 @@ pkgver=2.20.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=('filesystem') replaces=('linux32' 'util-linux-ng') @@ -15,8 +15,7 @@ conflicts=('linux32' 'util-linux-ng' 'e2fsprogs<1.41.8-2') provides=('linux32' "util-linux-ng=${pkgver}") license=('GPL2') options=('!libtool') -#source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v${pkgver}/${pkgname}-${pkgver}.tar.bz2) -source=(ftp://ftp.infradead.org/pub/${pkgname}/v2.20/${pkgname}-${pkgver}.tar.bz2 +source=(ftp://ftp.kernel.org/pub/linux/utils/${pkgname}/v2.20/${pkgname}-${pkgver}.tar.bz2 0001-findmnt-support-alternative-location-of-fstab.patch) optdepends=('perl: for chkdupexe support') diff --git a/core/vi/PKGBUILD b/core/vi/PKGBUILD index edb6f7939..315396003 100644 --- a/core/vi/PKGBUILD +++ b/core/vi/PKGBUILD @@ -6,7 +6,7 @@ pkgver=050325 pkgrel=2 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/wget/PKGBUILD b/core/wget/PKGBUILD index bb30e7e22..941e89846 100644 --- a/core/wget/PKGBUILD +++ b/core/wget/PKGBUILD @@ -4,9 +4,9 @@ pkgname=wget pkgver=1.13.4 -pkgrel=1 +pkgrel=1.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') diff --git a/core/which/PKGBUILD b/core/which/PKGBUILD index 65495fe69..6a60bea84 100644 --- a/core/which/PKGBUILD +++ b/core/which/PKGBUILD @@ -6,7 +6,7 @@ pkgname=which pkgver=2.20 pkgrel=5 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 cb6de3cd9..8019d8ae4 100644 --- a/core/wireless_tools/PKGBUILD +++ b/core/wireless_tools/PKGBUILD @@ -8,7 +8,7 @@ pkgver=29 pkgrel=6 pkgdesc='Wireless Tools' url='http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') source=("http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${pkgname}.${pkgver}.tar.gz") sha1sums=('22040ac1497f4c5f8ddeca365591b01ae3475710') diff --git a/core/wpa_actiond/PKGBUILD b/core/wpa_actiond/PKGBUILD index e8559f15a..582bae1e3 100644 --- a/core/wpa_actiond/PKGBUILD +++ b/core/wpa_actiond/PKGBUILD @@ -2,9 +2,9 @@ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=wpa_actiond pkgver=1.1 -pkgrel=3 +pkgrel=3.1 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 b8f264e29..86a6d3a06 100644 --- a/core/wpa_supplicant/PKGBUILD +++ b/core/wpa_supplicant/PKGBUILD @@ -6,7 +6,7 @@ pkgver=0.7.3 pkgrel=5 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 9dd73691c..e4fcf373b 100644 --- a/core/xfsprogs/PKGBUILD +++ b/core/xfsprogs/PKGBUILD @@ -4,7 +4,7 @@ pkgname=xfsprogs pkgver=3.1.7 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=('049cf9873794ea49d0bb3f12d45748a4') 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 f8cb321f1..8401ed2a9 100644 --- a/core/xinetd/PKGBUILD +++ b/core/xinetd/PKGBUILD @@ -6,7 +6,7 @@ pkgname=xinetd pkgver=2.3.14 pkgrel=8 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') @@ -25,7 +25,8 @@ md5sums=('567382d7972613090215c6c54f9b82d9' build() { cd $srcdir/$pkgname-$pkgver sed -i "s#${prefix}/man#${prefix}/share/man#" configure - ./configure --prefix=/usr --without-libwrap + ./configure --prefix=/usr --without-libwrap \ + --build=${CHOST} --host=${CHOST} make } 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 615e9911e..f96090f18 100644 --- a/core/zlib/PKGBUILD +++ b/core/zlib/PKGBUILD @@ -5,7 +5,7 @@ pkgname=zlib pkgver=1.2.6 pkgrel=1 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') |