diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-12 03:59:45 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-12 03:59:45 +0000 |
commit | d8679f0250762892ab1e1a6d71badc2e9d42a526 (patch) | |
tree | 2c5893ffb5a88532e043973210221d10ce07f808 | |
parent | 10cc2a54e50ad4aeffd7152937670c8673a096f9 (diff) |
Sat Apr 12 03:57:05 UTC 2014
140 files changed, 1086 insertions, 3042 deletions
diff --git a/community/awesome/PKGBUILD b/community/awesome/PKGBUILD index d3e44b75a..5727fc8fa 100644 --- a/community/awesome/PKGBUILD +++ b/community/awesome/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108725 2014-04-02 09:37:24Z bpiotrowski $ +# $Id: PKGBUILD 109199 2014-04-11 09:39:08Z andrea $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Sébastien Luttringer @@ -7,7 +7,7 @@ # Contributor: Vesa Kaihlavirta pkgname=awesome -pkgver=3.5.4 +pkgver=3.5.5 pkgrel=1 pkgdesc='Highly configurable framework window manager' arch=('i686' 'x86_64') @@ -23,7 +23,7 @@ optdepends=('rlwrap: readline support for awesome-client' provides=('notification-daemon') backup=('etc/xdg/awesome/rc.lua') source=($url/download/$pkgname-$pkgver.tar.xz) -md5sums=('9d52a26bfbc142ace5427bfb55010359') +md5sums=('48a00b747f0279e6164d8b7e9c964346') prepare() { mkdir -p build diff --git a/community/bbe/PKGBUILD b/community/bbe/PKGBUILD new file mode 100644 index 000000000..5862f3c5a --- /dev/null +++ b/community/bbe/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: TDY <tdy@gmx.com> +# Contributor: Nathan Owe <ndowens04+AUR@gmail.com> + +pkgname=bbe +pkgver=0.2.2 +pkgrel=1 +pkgdesc='A sed-like editor for binary files' +arch=(i686 x86_64) +url="http://bbe.sourceforge.net/" +license=(GPL) +depends=(glibc) +install=bbe.install +source=(http://downloads.sourceforge.net/$pkgname-/$pkgname-$pkgver.tar.gz) +sha1sums=('42d5b47d607a9633fb49e7d39e2aebfb7bb89c05') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/community/bbe/bbe.install b/community/bbe/bbe.install new file mode 100644 index 000000000..0b2603a35 --- /dev/null +++ b/community/bbe/bbe.install @@ -0,0 +1,13 @@ +infodir=/usr/share/info + +post_install() { + install-info $infodir/bbe.info.gz $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + install-info delete $infodir/bbe.info.gz $infodir/dir 2> /dev/null +} diff --git a/community/bitcoin/PKGBUILD b/community/bitcoin/PKGBUILD index 4edfc1784..203920b2e 100644 --- a/community/bitcoin/PKGBUILD +++ b/community/bitcoin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 107792 2014-03-19 17:23:43Z tredaelli $ +# $Id: PKGBUILD 109030 2014-04-09 13:43:28Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: shahid <helllamer@gmail.com> pkgbase=bitcoin pkgname=('bitcoin-daemon' 'bitcoin-qt') -pkgver=0.9.0 +pkgver=0.9.1 pkgrel=1 arch=('i686' 'x86_64') url="http://www.bitcoin.org/" @@ -16,7 +16,7 @@ source=(http://bitcoin.org/bin/$pkgver/bitcoin-$pkgver-linux.tar.gz https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/examples/bitcoin.conf https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/manpages/bitcoind.1 https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/manpages/bitcoin.conf.5) -sha256sums=('0f767c13b2c670939750a26558cbb40a7f89ff5ba7d42ce63da0bcc0b701642d' +sha256sums=('3fabc1c629007b465a278525883663d41a2ba62699f2773536a8bf59ca210425' 'b65b377c0d9ecae9eea722843bca0add6bdb7e50929a7e1f751b79b6621c6073' 'ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722' 'e141088b07641e4e58cc750f93bbdda1ca0e8f07262fce66b73524c1ed97480e' diff --git a/community/cgal/PKGBUILD b/community/cgal/PKGBUILD index eba147901..8d52d7a1c 100644 --- a/community/cgal/PKGBUILD +++ b/community/cgal/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 105550 2014-02-10 04:57:25Z kkeen $ +# $Id: PKGBUILD 109148 2014-04-10 21:03:32Z kkeen $ # Maintainer: Kyle Keen <keenerd@gmail.com> # Contributor: Dmitriy Morozov <foxcub> pkgname=cgal -pkgver=4.3 -pkgrel=2 -_pkgid=32995 +pkgver=4.4 +pkgrel=1 +_pkgid=33526 pkgdesc="Computational Geometry Algorithms Library" arch=('i686' 'x86_64') url="http://www.cgal.org" @@ -15,7 +15,7 @@ depends=('mpfr' 'boost-libs' 'gmp' 'mesa' 'glu') optdepends=('qt4: for CGAL_Qt4' 'eigen: for some packages, see the CGAL manual') makedepends=('cmake' 'qt4' 'eigen' 'boost') -md5sums=('c0af5e3a56300b0c92ebd3a1f0df9149') +md5sums=('72b1a7b8342cdb06882b5466155ecea4') # consider building with swig for python stuff @@ -36,3 +36,4 @@ package() { install -D -m644 "$srcdir/CGAL-$pkgver/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license" done } + diff --git a/community/couchdb/PKGBUILD b/community/couchdb/PKGBUILD index e8e8298d0..50e376d3e 100644 --- a/community/couchdb/PKGBUILD +++ b/community/couchdb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 100600 2013-11-06 13:21:19Z spupykin $ +# $Id: PKGBUILD 109076 2014-04-10 09:01:51Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua # Contributor: Michael Fellinger <m.fellinger@gmail.com> pkgname=couchdb -pkgver=1.5.0 +pkgver=1.5.1 pkgrel=1 pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ backup=('etc/couchdb/local.ini' source=("http://www.eu.apache.org/dist/couchdb/source/$pkgver/apache-couchdb-$pkgver.tar.gz"{,.asc} "couchdb.service" "couchdb.tmpfiles") -md5sums=('55a2f86469e0697817da8defee730f04' +md5sums=('1118a9f4ca6f58b751d3187838248b3c' 'SKIP' '8914a7ffc6745f94106d96206709acb4' '1e254ebe32eeb061be64193bafa35dbf') diff --git a/community/dart/PKGBUILD b/community/dart/PKGBUILD index 47b873400..89437f915 100644 --- a/community/dart/PKGBUILD +++ b/community/dart/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 106382 2014-03-01 23:40:44Z arodseth $ +# $Id: PKGBUILD 109203 2014-04-11 11:58:40Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: T. Jameson Little <t.jameson.little at gmail dot com> # Contributor: Usagi Ito <usagi@WonderRabbitProject.net> @@ -6,7 +6,7 @@ # Contributor: Julien Nicoulaud <julien.nicoulaud@gmail.com> pkgname=dart -pkgver=1.2 +pkgver=1.3 pkgrel=1 pkgdesc='The dart programming language SDK' arch=('x86_64' 'i686') @@ -18,10 +18,10 @@ options=('!strip') if [[ $CARCH == x86_64 ]]; then source=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip") - sha256sums=('d288122e9413710da1ec5b8966c8027073f5c64b83a9a90c61125aa90b30c4ec') + sha256sums=('62de0c4bcc2c7fd5c3ef0667350d51415010f96815951f4dc0a4e97de2ec68d4') else -source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") - sha256sums=('beb0f817870f76308beb446c87b2918495bd7735fad8291cec127dcf641f6c52') + source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") + sha256sums=('0b8d00479eae6f100bbfcdd04801e217373289e8897dded074abdfe947a9596c') fi prepare() { diff --git a/community/dillo/PKGBUILD b/community/dillo/PKGBUILD index b79a61416..f5e05129c 100644 --- a/community/dillo/PKGBUILD +++ b/community/dillo/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 90016 2013-05-06 19:36:40Z foutrelis $ +# $Id: PKGBUILD 109078 2014-04-10 09:02:19Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: dorphell <dorphell@archlinux.org> pkgname=dillo -pkgver=3.0.3 -pkgrel=2 +pkgver=3.0.4 +pkgrel=1 pkgdesc="A small, fast graphical web browser built on FLTK" arch=(i686 x86_64) url="http://www.dillo.org" @@ -13,7 +13,7 @@ depends=('fltk' 'libjpeg' 'perl' 'openssl' 'libpng' 'gcc-libs' 'libxcursor' 'libxi' 'libxinerama') backup=(etc/dillo/{dillorc,dpidrc}) source=(http://www.dillo.org/download/$pkgname-$pkgver.tar.bz2) -md5sums=('726cd0b7a18c5e25f4d80ebeffe7607e') +md5sums=('c85aab6b840527e1dd71b220a1dcfbab') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/drumkv1/PKGBUILD b/community/drumkv1/PKGBUILD index 8decc5f2d..8ffd1b547 100644 --- a/community/drumkv1/PKGBUILD +++ b/community/drumkv1/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: speps <speps at aur dot archlinux dot org> pkgname=drumkv1 -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="An old-school drum-kit sampler" arch=(i686 x86_64) @@ -13,7 +13,7 @@ depends=('jack' 'liblo' 'lv2' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') install="$pkgname.install" source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('d2be11a7c06d62ad789bc4bf7884e1eb') +md5sums=('48b092e94a4fbf8e8e51bd02d39ed348') prepare() { cd $pkgname-$pkgver diff --git a/community/erlang-nox/PKGBUILD b/community/erlang-nox/PKGBUILD index aeef7e0ff..a49cc69ea 100644 --- a/community/erlang-nox/PKGBUILD +++ b/community/erlang-nox/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105465 2014-02-08 18:44:33Z arodseth $ +# $Id: PKGBUILD 109152 2014-04-10 22:42:04Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Lukas Fleischer <archlinux@cryptocrack.de> # Contributor: Vesa Kaihlavirta <vesa@archlinux.org> @@ -7,7 +7,7 @@ # Contributor: Ricardo Catalinas Jiménez <jimenezrick@gmail.com> pkgname=erlang-nox -pkgver=R16B03_1 +pkgver=17.0 pkgrel=1 pkgdesc='General-purpose concurrent functional programming language developed by Ericsson (headless version)' arch=('x86_64' 'i686') @@ -20,32 +20,32 @@ optdepends=('erlang-unixodbc: database support' 'java-environment: for Java support' 'lksctp-tools: for SCTP support') options=('staticlibs') -source=("http://www.erlang.org/download/otp_src_${pkgver/_/-}.tar.gz" - "http://www.erlang.org/download/otp_doc_man_${pkgver/_/-}.tar.gz" +source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz" + "http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz" 'epmd.service' 'epmd.socket' 'epmd.conf') -sha256sums=('17ce53459bc5ceb34fc2da412e15ac8c23835a15fbd84e62c8d1852704747ee7' - '0f31bc7d7215aa4b6834b1a565cd7d6e3173e3b392fb870254bae5136499c39d' +sha256sums=('297f2baaa65e5ed1c2492c500fe191bff852217ad57af5da2470a3218c9acadb' + 'acf72b5876c6f505191a3fb57b7e672733f911141929c4cef050111cf8f8b399' 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e' '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34' '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2') build() { - cd "otp_src_${pkgver/_/-}" + cd "otp_src_$pkgver" ./configure --prefix=/usr --enable-smp-support --with-odbc make } package() { - cd "otp_src_${pkgver/_/-}" + cd "otp_src_$pkgver" make DESTDIR="$pkgdir" install # Documentation install -d "$pkgdir/usr/share/doc/erlang" - install -m0644 "$srcdir/otp_src_${pkgver/_/-}/README.md" \ + install -m0644 "$srcdir/otp_src_$pkgver/README.md" \ "$srcdir"/{README,COPYRIGHT} \ "$pkgdir/usr/share/doc/erlang" @@ -54,7 +54,7 @@ package() { cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang" # License - install -Dm0644 "$srcdir/otp_src_${pkgver/_/-}/EPLICENCE" \ + install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \ "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" # Remove files that are packaged as erlang-unixodbc diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD index 3f2dcb7d6..49bd4e134 100644 --- a/community/erlang/PKGBUILD +++ b/community/erlang/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105463 2014-02-08 18:29:03Z arodseth $ +# $Id: PKGBUILD 109150 2014-04-10 21:18:19Z arodseth $ # Maintainer: Lukas Fleischer <archlinux@cryptocrack.de> # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Vesa Kaihlavirta <vesa@archlinux.org> @@ -8,26 +8,26 @@ pkgbase=erlang pkgname=('erlang' 'erlang-unixodbc') -pkgver=R16B03_1 +pkgver=17.0 pkgrel=1 arch=('x86_64' 'i686') url='http://www.erlang.org/' license=('custom') makedepends=('perl' 'mesa' 'lksctp-tools' 'unixodbc' 'wxgtk' 'glu') options=('staticlibs') -source=("http://www.erlang.org/download/otp_src_${pkgver/_/-}.tar.gz" - "http://www.erlang.org/download/otp_doc_man_${pkgver/_/-}.tar.gz" +source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz" + "http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz" 'epmd.service' 'epmd.socket' 'epmd.conf') -sha256sums=('17ce53459bc5ceb34fc2da412e15ac8c23835a15fbd84e62c8d1852704747ee7' - '0f31bc7d7215aa4b6834b1a565cd7d6e3173e3b392fb870254bae5136499c39d' +sha256sums=('297f2baaa65e5ed1c2492c500fe191bff852217ad57af5da2470a3218c9acadb' + 'acf72b5876c6f505191a3fb57b7e672733f911141929c4cef050111cf8f8b399' 'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e' '998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34' '78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2') build() { - cd "otp_src_${pkgver/_/-}" + cd "otp_src_$pkgver" ./configure --prefix=/usr --enable-smp-support --with-odbc make @@ -42,13 +42,13 @@ package_erlang() { provides=('erlang-nox') conflicts=('erlang-nox') - cd "otp_src_${pkgver/_/-}" + cd "otp_src_$pkgver" make DESTDIR="$pkgdir" install # Documentation install -d "$pkgdir/usr/share/doc/erlang" - install -m0644 "$srcdir/otp_src_${pkgver/_/-}/README.md" \ + install -m0644 "$srcdir/otp_src_$pkgver/README.md" \ "$srcdir"/{README,COPYRIGHT} \ "$pkgdir/usr/share/doc/erlang" @@ -57,7 +57,7 @@ package_erlang() { cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang/" # License - install -Dm0644 "$srcdir/otp_src_${pkgver/_/-}/EPLICENCE" \ + install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \ "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" # Move over files that will be packaged as erlang-unixodbc @@ -82,7 +82,7 @@ package_erlang-unixodbc() { mv "$srcdir/odbc.3.gz" "$pkgdir/usr/lib/erlang/man/man3/" # License - install -Dm0644 "$srcdir/otp_src_${pkgver/_/-}/EPLICENCE" \ + install -Dm0644 "$srcdir/otp_src_$pkgver/EPLICENCE" \ "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" } diff --git a/community/fatsort/PKGBUILD b/community/fatsort/PKGBUILD index b0119a1c9..b256fc6b7 100644 --- a/community/fatsort/PKGBUILD +++ b/community/fatsort/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 106059 2014-02-21 19:05:15Z anatolik $ +# $Id: PKGBUILD 109044 2014-04-09 19:27:36Z anatolik $ # Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> # Contributor: birdflesh <antkoul at gmail dot com> # Contributor: Natan Vivo <nvivo64_gmail_com> @@ -6,7 +6,7 @@ # Contributor: Simon Morgan <simon@16hz.net> pkgname=fatsort -pkgver=1.2.355 +pkgver=1.3.365 pkgrel=1 pkgdesc='Sorts directory structures of FAT16 and FAT32 file systems' arch=(i686 x86_64) @@ -14,14 +14,21 @@ url='http://fatsort.sourceforge.net' license=(GPL) depends=(glibc) makedepends=(help2man) +#checkdepends=(dosfstools bbe) source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz) -sha256sums=('86bc350bd72c96aa83a456f9874c529d2db1b2bf65f00a19356eb3fb73c1ac23') +sha256sums=('77acc374b189e80e3d75d3508f3c0ca559f8030f1c220f7cfde719a4adb03f3d') build() { cd $pkgname-$pkgver make } +check() { + cd $pkgname-$pkgver + # the tests require sudo so we cannot use it in a clean environment build + # make tests +} + package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" SBINDIR=/usr/bin MANDIR=/usr/share/man/man1 install diff --git a/community/fio/PKGBUILD b/community/fio/PKGBUILD index 0c538da1e..7f65d28fe 100644 --- a/community/fio/PKGBUILD +++ b/community/fio/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 108705 2014-04-01 17:29:25Z anatolik $ +# $Id: PKGBUILD 109224 2014-04-11 20:13:21Z anatolik $ # Maintainer: Anatol Pomozov <anatol dot pomozov at gmail> # Contributor: Mariusz Libera <mariusz.libera@gmail.com> # Contributor: John Williams <jwilliams4200 liamg reverse&remove moc> pkgname=fio -pkgver=2.1.7 +pkgver=2.1.8 pkgrel=1 pkgdesc='Scriptable I/O tool for storage benchmarks and drive testing' arch=(i686 x86_64) @@ -17,7 +17,7 @@ optdepends=( 'gnuplot: generating plots using fio_generate_plots' ) source=(http://brick.kernel.dk/snaps/fio-$pkgver.tar.bz2) -sha256sums=('1e35db08337ea090cb5c6b91d6666882ba640bc6826fa67cd6116c6e46bb5def') +sha256sums=('b35eb8309c22ecc4148e4ac608f22b9140638e36cf98c238cb7d5776cd16db16') prepare() { cd fio-$pkgver diff --git a/community/gnunet-gtk/PKGBUILD b/community/gnunet-gtk/PKGBUILD index f3029b7c2..83c415997 100644 --- a/community/gnunet-gtk/PKGBUILD +++ b/community/gnunet-gtk/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 103912 2014-01-13 17:16:43Z andyrtr $ +# $Id: PKGBUILD 109114 2014-04-10 13:51:29Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: wahnby <wahnby@yahoo.fr> pkgname=gnunet-gtk -pkgver=0.10.0 +pkgver=0.10.1 pkgrel=1 pkgdesc="A frontend for GNUnet" arch=('i686' 'x86_64') @@ -12,10 +12,11 @@ license=('GPL') depends=('gnunet' 'glade' 'adns') makedepends=('pkgconfig') source=(ftp://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz) -md5sums=('1a036f1956460cc1ea4c34f1b19bb6b1') +md5sums=('e94d3fea027aa6734a201e4a03c6b752') build() { cd $srcdir/$pkgname-$pkgver + sed -i 's|CC -E|CC -O2 -E|g' configure ./configure --prefix=/usr --with-gnunet=/usr make } @@ -23,5 +24,4 @@ build() { package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install - mv $pkgdir/usr/share/doc/gnunet $pkgdir/usr/share/doc/gnunet-gtk } diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD index 6c5501197..ff38d6c52 100644 --- a/community/gnunet/PKGBUILD +++ b/community/gnunet/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105576 2014-02-10 13:48:00Z spupykin $ +# $Id: PKGBUILD 109112 2014-04-10 13:51:12Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: wahnby <wahnby@yahoo.fr> pkgname=gnunet -pkgver=0.10.0 -pkgrel=2 +pkgver=0.10.1 +pkgrel=1 pkgdesc="A framework for secure peer-to-peer networking" arch=('i686' 'x86_64') url="http://gnunet.org" @@ -12,18 +12,18 @@ license=('GPL') depends=('gmp' 'libgcrypt' 'libextractor' 'sqlite' 'gnurl' 'libmicrohttpd' 'libunistring' 'libidn') makedepends=('gettext' 'pkgconfig' - 'bluez-libs' 'python' 'glpk' 'libpulse') + 'bluez-libs' 'python' 'glpk' 'libpulse' 'opus') optdepends=('bluez-libs' 'python' 'glpk' - 'libpulse') + 'libpulse' + 'opus') backup=(etc/gnunetd.conf) options=('!makeflags') -install=gnunet.install source=(ftp://ftp.gnu.org/gnu/gnunet/gnunet-${pkgver/_/}.tar.gz gnunet.service defaults.conf) -md5sums=('8bff8280c90780b17786fd8b95f12f72' +md5sums=('b1171f038473f8eb7fe86db138624ff7' '54cce3d2415d95b2e5bd1bd88db3a0ea' '0fe23b2ca5b3fc47a0b5645e04406da0') diff --git a/community/gnunet/gnunet.install b/community/gnunet/gnunet.install deleted file mode 100644 index b9aff1dfe..000000000 --- a/community/gnunet/gnunet.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - echo 'Change nobody to proper username in /etc/conf.d/gnunetd' -} - -post_upgrade() { - echo 'Change nobody to proper username in /etc/conf.d/gnunetd' -} diff --git a/community/highlight/PKGBUILD b/community/highlight/PKGBUILD index a3d703e20..090c07d62 100644 --- a/community/highlight/PKGBUILD +++ b/community/highlight/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 104278 2014-01-16 20:21:07Z bluewind $ +# $Id: PKGBUILD 109048 2014-04-09 19:48:24Z bluewind $ # Maintainer: Florian Pritz <flo@xinu.at> # Contributor: Jan Fader <jan.fader@web.de> pkgbase=highlight pkgname=(highlight highlight-gui) -pkgver=3.17 +pkgver=3.18 pkgrel=1 url="http://www.andre-simon.de/doku/highlight/highlight.html" license=('GPL') arch=('i686' 'x86_64') makedepends=(qt4 lua boost) source=(http://www.andre-simon.de/zip/$pkgname-$pkgver.tar.bz2{,.asc}) -md5sums=('52babb37da6a69867dc295e31d8a721e' +md5sums=('085d7639a7e05a0d41923a889dc801c9' 'SKIP') +backup=(etc/highlight/filetypes.conf) build() { cd "$srcdir/$pkgbase-$pkgver" diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD index 39be1d8a8..2fc253f53 100644 --- a/community/libmediainfo/PKGBUILD +++ b/community/libmediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105967 2014-02-20 09:02:05Z spupykin $ +# $Id: PKGBUILD 109015 2014-04-09 11:24:06Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=libmediainfo -pkgver=0.7.67 +pkgver=0.7.68 pkgrel=1 pkgdesc="shared library for mediainfo" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=( 'curl' 'libmms' 'libzen') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2 libmediainfo-0.7.50-libmms.patch) -md5sums=('c6372a176f45a9971740b46c652f65eb' +md5sums=('838a472b430a28383366ad335c7b5416' '2f4b21cc250f663d52b497dedb963e3b') build() { diff --git a/community/libmicrohttpd/PKGBUILD b/community/libmicrohttpd/PKGBUILD index 244202ec5..10e012434 100644 --- a/community/libmicrohttpd/PKGBUILD +++ b/community/libmicrohttpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 104514 2014-01-22 06:55:18Z spupykin $ +# $Id: PKGBUILD 109027 2014-04-09 11:57:32Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Norberto Lopes <shelika@mail.telepac.pt> # Contributor: Kao Dome <kaodome@gmail.com> @@ -6,16 +6,17 @@ # Contributor: Mathias Rohnstock <linksoft@gmx.de> pkgname=libmicrohttpd -pkgver=0.9.33 +pkgver=0.9.34 pkgrel=1 pkgdesc="a small C library that is supposed to make it easy to run an HTTP server as part of another application." arch=('i686' 'x86_64') url="http://www.gnu.org/software/libmicrohttpd/" license=('LGPL') depends=('gnutls' 'libgcrypt') +optdepends=('file' 'curl') install=libmicrohttpd.install source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('013b10f9de1cda5448b29c81305354a3') +md5sums=('2947eee13c2c8affb95023a0cb6fda0c') build() { cd ${pkgname}-${pkgver} @@ -29,8 +30,6 @@ package() { make DESTDIR=${pkgdir} install install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/platform.h \ ${pkgdir}/usr/include/$pkgname/platform.h - install -Dm644 ${srcdir}/${pkgname}-${pkgver}/src/include/plibc/plibc.h \ - ${pkgdir}/usr/include/$pkgname/plibc.h sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I${includedir}/libmicrohttpd#' \ $pkgdir/usr/lib/pkgconfig/libmicrohttpd.pc } diff --git a/community/libnatpmp/PKGBUILD b/community/libnatpmp/PKGBUILD index e82261a32..89e5e3967 100644 --- a/community/libnatpmp/PKGBUILD +++ b/community/libnatpmp/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 107318 2014-03-17 02:18:37Z anatolik $ +# $Id: PKGBUILD 109133 2014-04-10 15:59:00Z anatolik $ # Maintainer: Anatol Pomozov <anatol dot pomozov at gmail> # Contributor: Gustavo Alvarez <s1pkn07@gmail.com> # Contributor: Kristjan Reinloo <mail at kreinloo dot net> # Contributor: Pierre Bourdon <delroth@gmail.com> pkgname=libnatpmp -pkgver=20131126 +pkgver=20140401 pkgrel=1 pkgdesc='A portable and fully compliant implementation of the NAT-PMP protocol' arch=(i686 x86_64) @@ -13,7 +13,7 @@ url='http://miniupnp.free.fr/libnatpmp.html' license=(BSD) depends=(glibc) source=(http://miniupnp.tuxfamily.org/files/libnatpmp-$pkgver.tar.gz) -sha1sums=('604a620fa38e0681d4822400156db2daaee954d1') +sha1sums=('e9511edecb9a75dbe8c9ed39c0469a18dc7e950b') prepare() { sed -e 's/CFLAGS = /CFLAGS += /' -i $pkgname-$pkgver/Makefile @@ -28,4 +28,5 @@ package() { cd $pkgname-$pkgver make INSTALLPREFIX="$pkgdir/usr" INSTALLDIRINC="$pkgdir/usr/include" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 natpmpc.1 "$pkgdir/usr/share/man/man1/natpmpc.1" } diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index d45c4cc54..a7b4718d8 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 108727 2014-04-02 09:41:48Z spupykin $ +# $Id: PKGBUILD 109138 2014-04-10 17:34:53Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt pkgver=1.2.3 -pkgrel=1 +pkgrel=3 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -68,19 +68,24 @@ md5sums=('ad1602a2fcc3609c83b885a28f3eecbd' prepare() { cd "$srcdir/$pkgname-$pkgver" -# patch -p1 <"$srcdir/FS#38546.patch" -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - # python2 fix - export PYTHON=`which python2` for file in $(find . -name '*.py' -print); do sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done + sed -i 's|/sysconfig/|/conf.d/|g' \ + daemon/libvirtd.service.in \ + tools/{libvirt-guests.service,libvirt-guests.sh,virt-pki-validate}.in \ + src/locking/virtlockd.service.in + sed -i 's|@sbindir@|/usr/bin|g' src/locking/virtlockd.service.in + sed -i 's|#group =.*|group="kvm"|' src/qemu/qemu.conf +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export PYTHON=`which python2` export LDFLAGS=-lX11 export RADVD=/usr/bin/radvd [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" --sbindir=/usr/bin \ @@ -89,10 +94,6 @@ build() { --with-qemu-user=nobody --with-qemu-group=nobody \ --without-netcf --with-interface --with-lxc make - - sed -i 's|/etc/sysconfig/|/etc/conf.d/|' daemon/libvirtd.service tools/libvirt-guests.service - sed -i 's|@sbindir@|/usr/bin|g' src/virtlockd.service - sed -i 's|#group =.*|group="kvm"|' src/qemu/qemu.conf } package() { @@ -102,15 +103,10 @@ package() { install -D -m644 "$srcdir"/libvirtd.conf.d "$pkgdir"/etc/conf.d/libvirtd install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirt-guests - - # systemd stuff install -D -m644 "$srcdir"/libvirt.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/libvirt.conf -# mv "$pkgdir"/lib/* "$pkgdir"/usr/lib/ rm -rf \ "$pkgdir"/var/run \ "$pkgdir"/etc/sysconfig \ - "$pkgdir"/etc/rc.d/init.d \ - "$pkgdir"/lib \ - "$pkgdir"/etc/sysctl.d + "$pkgdir"/etc/rc.d } diff --git a/community/libxxf86misc/MKPKG b/community/libxxf86misc/MKPKG new file mode 100644 index 000000000..f85637c93 --- /dev/null +++ b/community/libxxf86misc/MKPKG @@ -0,0 +1,4 @@ +pkgname=('libxxf86misc') +builddeps=('xf86miscproto') + +# vim: ts=2 sw=2 et: diff --git a/community/libxxf86misc/PKGBUILD b/community/libxxf86misc/PKGBUILD new file mode 100644 index 000000000..d73caf7e2 --- /dev/null +++ b/community/libxxf86misc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 109013 2014-04-09 11:11:45Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> + +pkgname=libxxf86misc +pkgver=1.0.3 +pkgrel=2 +pkgdesc='X11 XFree86 misc extension library' +arch=('x86_64' 'i686') +license=('custom') +url='http://xorg.freedesktop.org/' +depends=('libxext' 'xf86miscproto') +makedepends=('xorg-util-macros') +source=("${url}/releases/individual/lib/libXxf86misc-${pkgver}.tar.bz2") +sha256sums=('563f4200862efd3334c33a669e0a0aae5bab31f3998db75b87a99a697cc26b5b') + +build() { + cd libXxf86misc-${pkgver} + + ./configure --prefix='/usr' --disable-static + make +} + +package() { + cd libXxf86misc-${pkgver} + + make DESTDIR="${pkgdir}" install + +# License + install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} + install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}COPYING +} + +# vim: ts=2 sw=2 et: diff --git a/community/light-locker/PKGBUILD b/community/light-locker/PKGBUILD new file mode 100644 index 000000000..d749f3f6b --- /dev/null +++ b/community/light-locker/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 109028 2014-04-09 12:12:14Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> + +pkgname=light-locker +pkgver=1.4.0 +pkgrel=1 +pkgdesc='A simple session locker' +arch=('i686' 'x86_64') +url='https://github.com/the-cavalry/light-locker' +license=('GPL2') +depends=('dbus-glib' 'gtk3' 'libxxf86misc' 'lightdm' 'libxss') +makedepends=('gnome-common' 'intltool') +source=("https://github.com/the-cavalry/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('560f20390b24513d5bf7b691bac5d745b76eb21ac3bccd877b73cb7f6d137ec3') + +build () { + cd ${pkgname}-${pkgver} + + ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --disable-{schemas-compile,static} --with-{mit-ext,systemd,xf86gamma-ext,x} --without-{console-kit,upower} + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: diff --git a/community/lightdm-gtk2-greeter/PKGBUILD b/community/lightdm-gtk2-greeter/PKGBUILD index 1f0638ca8..98d3b77cf 100755 --- a/community/lightdm-gtk2-greeter/PKGBUILD +++ b/community/lightdm-gtk2-greeter/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 108072 2014-03-22 12:14:53Z alucryd $ +# $Id: PKGBUILD 109004 2014-04-09 10:32:53Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor: Padfoot <padfoot@exemail.com.au> pkgname=lightdm-gtk2-greeter -pkgver=1.8.3 +pkgver=1.8.4 pkgrel=1 epoch=1 pkgdesc='GTK+ greeter for LightDM' @@ -17,7 +17,7 @@ conflicts=("${pkgname/2/3}") backup=('etc/lightdm/lightdm-gtk-greeter.conf') install="${pkgname/2/}.install" source=("https://launchpad.net/${pkgname/2/}/${pkgver%.?}/${pkgver}/+download/${pkgname/2/}-${pkgver}.tar.gz") -sha256sums=('5c4676a7aa85f1507d7169df8b2cc026db208811a8945d615adb53c50d80eb03') +sha256sums=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c') build() { cd ${pkgname/2/}-${pkgver} diff --git a/community/lightdm-gtk3-greeter/PKGBUILD b/community/lightdm-gtk3-greeter/PKGBUILD index 0dc96d5f2..68bb34d6a 100755 --- a/community/lightdm-gtk3-greeter/PKGBUILD +++ b/community/lightdm-gtk3-greeter/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 108076 2014-03-22 12:17:38Z alucryd $ +# $Id: PKGBUILD 109002 2014-04-09 10:28:04Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor: Padfoot <padfoot@exemail.com.au> pkgname=lightdm-gtk3-greeter -pkgver=1.8.3 +pkgver=1.8.4 pkgrel=1 epoch=1 pkgdesc='GTK+ greeter for LightDM' @@ -17,7 +17,7 @@ conflicts=("${pkgname/3/2}") backup=('etc/lightdm/lightdm-gtk-greeter.conf') install="${pkgname/3/}.install" source=("https://launchpad.net/${pkgname/3/}/${pkgver%.?}/${pkgver}/+download/${pkgname/3/}-${pkgver}.tar.gz") -sha256sums=('5c4676a7aa85f1507d7169df8b2cc026db208811a8945d615adb53c50d80eb03') +sha256sums=('cb3e93bfcb8fbaf109e01080dc75ec9a6803afcb68acbf9eef3799be927a2c6c') build() { cd ${pkgname/3/}-${pkgver} diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD index d8df2e88f..9f2b2ff2a 100755 --- a/community/lightdm/PKGBUILD +++ b/community/lightdm/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 107208 2014-03-14 15:04:38Z alucryd $ +# $Id: PKGBUILD 109000 2014-04-09 10:22:20Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor: Morfeo <morfeo89@hotmail.it> pkgbase=lightdm pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5') -pkgver=1.8.8 +pkgver=1.10.0 pkgrel=1 epoch=1 pkgdesc='A lightweight display manager' @@ -20,13 +20,13 @@ source=("https://launchpad.net/lightdm/${pkgver%.*}/${pkgver}/+download/${pkgbas 'lightdm.rules' 'lightdm-default-config.patch' 'Xsession') -sha256sums=('b366c7580574766f40d5b24dbaaecdc5e332be6df44bd4b3df0c04a729b493ba' +sha256sums=('0edfaf947984906b1f37be7a24377267cdd3e0ebee64d683c9401dd3988d1824' '0d2adba25cdbe59e97ffd302083db9d5e23920780f41e04f64512cd6b633289a' 'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f' 'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0' '33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a' 'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6' - '0b2f740616110887d5c8662e40f1a8350fc0dfa6c7e99f6e3a5636c6b0ca714f' + '20de3152b9ea037be1cbb9a32c052cb53d3362daf7c4ebd3d8669a1af0f13723' '4d5674906742200b3c171f978457e943560f2c10a2b9156fcd44da3796d185a2') prepare() { diff --git a/community/lightdm/lightdm-default-config.patch b/community/lightdm/lightdm-default-config.patch index 54963c689..89c5a35d9 100755 --- a/community/lightdm/lightdm-default-config.patch +++ b/community/lightdm/lightdm-default-config.patch @@ -1,52 +1,39 @@ ---- a/data/lightdm.conf 2013-09-02 17:17:41.167211771 +0200 -+++ b/data/lightdm.conf 2013-09-02 17:20:41.278613565 +0200 -@@ -18,14 +18,14 @@ - # - [LightDM] +--- a/data/lightdm.conf 2014-03-12 20:56:34.000000000 +0100 ++++ b/data/lightdm.conf 2014-03-14 15:48:32.089948842 +0100 +@@ -19,12 +19,12 @@ #start-default-seat=true --#greeter-user=lightdm -+greeter-user=lightdm + #greeter-user=lightdm #minimum-display-number=0 -#minimum-vt=7 +minimum-vt=1 #lock-memory=true #user-authority-in-system-dir=false #guest-account-script=guest-account --#log-directory=/var/log/lightdm + #log-directory=/var/log/lightdm -#run-directory=/var/run/lightdm -+log-directory=/var/log/lightdm +run-directory=/run/lightdm #cache-directory=/var/cache/lightdm #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions #remote-sessions-directory=/usr/share/lightdm/remote-sessions -@@ -81,7 +81,7 @@ - #xdmcp-key= - #unity-compositor-command=unity-system-compositor - #unity-compositor-timeout=60 --#greeter-session=example-gtk-gnome -+greeter-session=lightdm-gtk-greeter - #greeter-hide-users=false - #greeter-allow-guest=true - #greeter-show-manual-login=false -@@ -89,7 +89,7 @@ +@@ -93,7 +93,7 @@ #user-session=default #allow-guest=true - #guest-session=UNIMPLEMENTED + #guest-session= -#session-wrapper=lightdm-session +session-wrapper=/etc/lightdm/Xsession #greeter-wrapper= + #guest-wrapper= #display-setup-script= - #greeter-setup-script= -@@ -100,6 +100,7 @@ - #autologin-user-timeout=0 +@@ -107,6 +107,7 @@ #autologin-in-background=false #autologin-session=UNIMPLEMENTED -+pam-service=lightdm-autologin #exit-on-failure=false - ++pam-service=lightdm-autologin + # ---- a/data/users.conf 2013-09-02 17:17:41.167211771 +0200 -+++ b/data/users.conf 2013-09-02 17:21:27.955545717 +0200 + # Seat configuration +--- a/data/users.conf 2013-09-02 17:17:41.167211771 +0200 ++++ b/data/users.conf 2013-09-02 17:21:27.955545717 +0200 @@ -9,6 +9,6 @@ # hidden-shells = Shells that indicate a user cannot login # diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD index 6525b8db3..641e0fc39 100644 --- a/community/luajit/PKGBUILD +++ b/community/luajit/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 107117 2014-03-12 18:23:14Z bpiotrowski $ +# $Id: PKGBUILD 109046 2014-04-09 19:38:52Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Chris Brannon <chris@the-brannons.com> # Contributor: Paulo Matias <matiasΘarchlinux-br·org> @@ -6,7 +6,7 @@ pkgname=luajit pkgver=2.0.3 -pkgrel=1 +pkgrel=2 pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1' arch=('i686' 'x86_64') url='http://luajit.org/' @@ -17,7 +17,7 @@ md5sums=('f14e9104be513913810cd59c8c658dc0') build() { cd LuaJIT-$pkgver - make amalg PREFIX=/usr + CFLAGS+=' -DLUAJIT_ENABLE_LUA52COMPAT' make amalg PREFIX=/usr } package() { diff --git a/community/lxc/PKGBUILD b/community/lxc/PKGBUILD index b98440dc9..9900bd5ca 100644 --- a/community/lxc/PKGBUILD +++ b/community/lxc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108541 2014-03-28 07:08:43Z spupykin $ +# $Id: PKGBUILD 109032 2014-04-09 17:07:57Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andrea Zucchelli <zukka77@gmail.com> # Contributor: Daniel Micay <danielmicay@gmail.com> @@ -6,7 +6,7 @@ # Contributor: Jon Nordby <jononor@gmail.com> pkgname=lxc -pkgver=1.0.2 +pkgver=1.0.3 epoch=1 pkgrel=1 pkgdesc="Linux Containers" @@ -21,7 +21,7 @@ options=('emptydirs') source=("http://linuxcontainers.org/downloads/$pkgname-${pkgver}.tar.gz" "lxc.tmpfiles.d" "lxc@.service") -md5sums=('89cddb431672db355483a96046f7fd95' +md5sums=('55873b1411a606397309aa6c4c4263b3' 'df94c9fb8a753011c86ee664e9f521ff' '32db4ef06b27f36e15ff4b67c049dfeb') diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD index 9e3280861..fd9e41a8d 100644 --- a/community/mediainfo-gui/PKGBUILD +++ b/community/mediainfo-gui/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 106439 2014-03-03 06:36:23Z spupykin $ +# $Id: PKGBUILD 109019 2014-04-09 11:24:39Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=mediainfo-gui -pkgver=0.7.67 -pkgrel=2 +pkgver=0.7.68 +pkgrel=1 pkgdesc="GUI for mediainfo" arch=('i686' 'x86_64') url="http://mediainfo.sourceforge.net" @@ -13,7 +13,7 @@ depends=('libmediainfo' 'wxgtk' 'libsm' 'desktop-file-utils') makedepends=('imagemagick') install=mediainfo-gui.install source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2) -md5sums=('480ac31a4080737f21937f9d260b96de') +md5sums=('afd6f5d007d52c1e35a399ec7ca4cfeb') build() { cd MediaInfo/Project/GNU/GUI diff --git a/community/mediainfo/PKGBUILD b/community/mediainfo/PKGBUILD index ead0872f2..5a8007c2f 100644 --- a/community/mediainfo/PKGBUILD +++ b/community/mediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105971 2014-02-20 09:02:40Z spupykin $ +# $Id: PKGBUILD 109017 2014-04-09 11:24:23Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=mediainfo -pkgver=0.7.67 +pkgver=0.7.68 pkgrel=1 pkgdesc="supplies technical and tag information about a video or audio file" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL') depends=('libmediainfo') makedepends=('libtool' 'automake' 'autoconf') source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2) -md5sums=('480ac31a4080737f21937f9d260b96de') +md5sums=('afd6f5d007d52c1e35a399ec7ca4cfeb') build() { cd $srcdir/MediaInfo/Project/GNU/CLI diff --git a/community/miniupnpc/PKGBUILD b/community/miniupnpc/PKGBUILD index ce97cf76b..f3c876df0 100644 --- a/community/miniupnpc/PKGBUILD +++ b/community/miniupnpc/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 105735 2014-02-14 15:45:18Z tredaelli $ +# $Id: PKGBUILD 109006 2014-04-09 10:59:45Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: Florian Loitsch <archlinux@florian.loitsch.com> pkgname=miniupnpc -pkgver=1.9 +pkgver=1.9.20140401 pkgrel=1 pkgdesc="A small UPnP client library/tool to access Internet Gateway Devices" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ url="http://miniupnp.free.fr" license=('BSD') depends=('sh') source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz") -sha256sums=('2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464') +sha256sums=('d02670112125300f7a3d61421714d99105edd90190bf12542d16785f16f017aa') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/miniupnpd/PKGBUILD b/community/miniupnpd/PKGBUILD index 2cdd0c529..4cfee322b 100644 --- a/community/miniupnpd/PKGBUILD +++ b/community/miniupnpd/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 104540 2014-01-22 15:25:26Z tredaelli $ +# $Id: PKGBUILD 109008 2014-04-09 11:00:33Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: fauno <fauno@parabola.nu> pkgname=miniupnpd -pkgver=1.8.20131216 +pkgver=1.8.20140401 pkgrel=1 pkgdesc="Lightweight UPnP IGD daemon" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('libnfnetlink' 'iptables' 'net-tools' 'util-linux') makedepends=('lsb-release') source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz" miniupnpd.systemd) -sha256sums=('f016e21d84ecce7887cef4ec74354afe465412022c013473f3ac3e33ca51a8a7' +sha256sums=('086dfffa59e8e86e792b73a71d275fec55ef17fe3e94a8c140301aceb05bcdbd' '2707d028f28fbb28c3a9d13605c9c738e9628f828e22288a8a1492ac93f9ad7c') build() { diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD index 12558ef0d..3a53c8698 100644 --- a/community/nemo/PKGBUILD +++ b/community/nemo/PKGBUILD @@ -1,24 +1,26 @@ -# $Id: PKGBUILD 108679 2014-04-01 03:36:38Z faidoc $ +# $Id: PKGBUILD 109170 2014-04-11 03:01:08Z bgyorgy $ # Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com> # Contributor: Ner0 pkgname=nemo pkgver=2.0.8 -pkgrel=2 +pkgrel=3 pkgdesc="Cinnamon file manager (Nautilus fork)" arch=('i686' 'x86_64') url="https://github.com/linuxmint/nemo" license=('GPL') depends=('libexif' 'gvfs' 'dconf' 'desktop-file-utils' 'exempi' 'python2' - 'cinnamon-desktop' 'gnome-icon-theme' 'libnotify' 'libtracker-sparql' 'libxml2' + 'cinnamon-desktop' 'gnome-icon-theme' 'libnotify' 'libxml2' 'cinnamon-translations') makedepends=('gtk-doc' 'gobject-introspection' 'intltool' 'gnome-common') options=('!emptydirs') install=nemo.install source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver" - "Fix_rename_entry_position.patch") + "Fix_rename_entry_position.patch" + "adwaita_style.patch") sha256sums=('6a40868e46fd2ed6c27e694e76c160996d16e2d27681bf5126e6b0e647c24033' - '07e81aaeeff9ae8c6de76fe2b87b28b89323577ef425596241b96e94b4e04750') + '07e81aaeeff9ae8c6de76fe2b87b28b89323577ef425596241b96e94b4e04750' + '6faa6a5a7042832fb1230a5d21ebe8572c100798e724fcd72fee86dc01d69290') prepare() { cd linuxmint-nemo-* @@ -26,6 +28,9 @@ prepare() { # Rename files and directory : invisible field: https://bugzilla.redhat.com/show_bug.cgi?id=1045181 patch -Np1 -i ../Fix_rename_entry_position.patch + # Fix white text on breadcrumb with Adwaita + patch -Np1 -i ../adwaita_style.patch + # Python2 fix sed -i 's/bin\/python/bin\/python2/g' files/usr/share/nemo/actions/myaction.py @@ -44,6 +49,7 @@ build() { --libexecdir=/usr/lib/nemo \ --disable-update-mimedb \ --disable-packagekit \ + --disable-tracker \ --disable-gtk-doc-html \ --disable-schemas-compile make diff --git a/community/nemo/adwaita_style.patch b/community/nemo/adwaita_style.patch new file mode 100644 index 000000000..1c9e814c5 --- /dev/null +++ b/community/nemo/adwaita_style.patch @@ -0,0 +1,10 @@ +--- a/src/nemo-style-fallback.css ++++ b/src/nemo-style-fallback.css +@@ -8,7 +8,6 @@ NemoPathbarButton { + color-stop (.7, shade(alpha(@bg_color, 0.8), 0.90)), + color-stop (1, shade(alpha(@bg_color, 0.8), 0.80))); + border-color: #808080; +- color: @fg_color; + -NemoPathbarButton-border-radius: 3px; + } + diff --git a/community/opensips/PKGBUILD b/community/opensips/PKGBUILD index bb7205168..dac8ca64b 100644 --- a/community/opensips/PKGBUILD +++ b/community/opensips/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 103707 2014-01-10 10:51:45Z spupykin $ +# $Id: PKGBUILD 109034 2014-04-09 17:08:13Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=opensips -pkgver=1.10.0 -pkgrel=2 +pkgver=1.10.1 +pkgrel=1 pkgdesc="An Open Source SIP Server able to act as a SIP proxy, registrar, location server, redirect server ..." url="http://www.opensips.org" depends=('gcc-libs' 'openssl' 'db' 'attr' 'libxml2') @@ -25,7 +25,7 @@ install=opensips.install options=('!emptydirs' 'zipman' '!makeflags' 'docs') source=(http://opensips.org/pub/opensips/$pkgver/src/opensips-${pkgver}_src.tar.gz opensips.service) -md5sums=('5cbccda321940c51baed798f2f6c5b1a' +md5sums=('168d005f6c8706665877aa82f01afbae' '35cdcb3692f6925236fd5fe7e9484c58') prepare() { diff --git a/community/perl-class-methodmaker/PKGBUILD b/community/perl-class-methodmaker/PKGBUILD index 0f119f852..497c1992c 100644 --- a/community/perl-class-methodmaker/PKGBUILD +++ b/community/perl-class-methodmaker/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105815 2014-02-15 20:44:29Z spupykin $ +# $Id: PKGBUILD 109090 2014-04-10 12:41:18Z fyan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-class-methodmaker -pkgver=2.20 +pkgver=2.21 pkgrel=1 pkgdesc="Create generic class methods" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-${pkgver}.tar.gz") -md5sums=('6ff22acb19ebfccaa9de07c7d4358129') +md5sums=('d53a587fb84d5c5209e55ec0d4fab21d') build() { cd $srcdir/Class-MethodMaker-$pkgver diff --git a/community/perl-curses/PKGBUILD b/community/perl-curses/PKGBUILD index 458498978..c501dc462 100644 --- a/community/perl-curses/PKGBUILD +++ b/community/perl-curses/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 91661 2013-05-26 09:24:52Z bluewind $ +# $Id: PKGBUILD 109110 2014-04-10 13:24:43Z fyan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-curses -pkgver=1.28 -pkgrel=6 +pkgver=1.29 +pkgrel=1 pkgdesc="Character screen handling and windowing" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Curses" @@ -13,7 +13,7 @@ license=('GPL' 'PerlArtistic') depends=('perl' 'ncurses') options=('!emptydirs') source=(http://www.cpan.org/authors/id/G/GI/GIRAFFED/Curses-$pkgver.tgz) -md5sums=('ed9f7ddf2d90f4266da91c3dc9fad9c9') +md5sums=('236de0209223e40b458c55e5250da2b3') build() { cd $srcdir/Curses-$pkgver diff --git a/community/perl-data-dumper/PKGBUILD b/community/perl-data-dumper/PKGBUILD index 2f96b2588..3fecd2203 100644 --- a/community/perl-data-dumper/PKGBUILD +++ b/community/perl-data-dumper/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-data-dumper -pkgver=2.145 -pkgrel=2 +pkgver=2.151 +pkgrel=1 pkgdesc="stringified perl data structures, suitable for both printing and eval" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') @@ -10,7 +10,7 @@ url="http://search.cpan.org/dist/Data-Dumper/" depends=('perl') options=(!emptydirs) source=(http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Data-Dumper-$pkgver.tar.gz) -md5sums=('b773c875afcca866faf8481adc3464b0') +md5sums=('b804bf2137b6b62382136598baafa645') build() { cd $srcdir/Data-Dumper-${pkgver} diff --git a/community/perl-dbd-pg/PKGBUILD b/community/perl-dbd-pg/PKGBUILD index 0f10252ab..f7b9d942f 100644 --- a/community/perl-dbd-pg/PKGBUILD +++ b/community/perl-dbd-pg/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105418 2014-02-07 09:53:58Z spupykin $ +# $Id: PKGBUILD 109103 2014-04-10 13:00:48Z fyan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-dbd-pg -pkgver=3.0.0 +pkgver=3.1.1 pkgrel=1 pkgdesc="Postgres Driver for DBI" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL' 'PerlArtistic') depends=('perl-dbi>=1.52' 'postgresql-libs') options=('!emptydirs') source=("http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-${pkgver}.tar.gz") -md5sums=('58c2613bcb241279aca4c111ba16db48') +md5sums=('ad5c5439356351f908fa47e91856e75f') build() { cd DBD-Pg-${pkgver} diff --git a/community/perl-gd/PKGBUILD b/community/perl-gd/PKGBUILD index 9e5049524..b83beba9b 100644 --- a/community/perl-gd/PKGBUILD +++ b/community/perl-gd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105781 2014-02-15 20:33:01Z spupykin $ +# $Id: PKGBUILD 109088 2014-04-10 12:37:39Z fyan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com> pkgname=perl-gd -pkgver=2.51 +pkgver=2.53 pkgrel=1 pkgdesc="Interface to Gd Graphics Library" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('GPL' 'PerlArtistic') depends=('gd') options=('!emptydirs') source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz) -md5sums=('49ab25536d4708ab10b7f4879d2fbbc8') +md5sums=('d2c9b18123bcaff8672eb50f2eb37ed3') build() { cd $srcdir/GD-$pkgver diff --git a/community/perl-xml-libxml/PKGBUILD b/community/perl-xml-libxml/PKGBUILD index 7c639a69d..1affda098 100644 --- a/community/perl-xml-libxml/PKGBUILD +++ b/community/perl-xml-libxml/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105751 2014-02-15 09:51:59Z jsteel $ +# $Id: PKGBUILD 109082 2014-04-10 12:31:16Z fyan $ # Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> # Contributor: Justin "juster" Davis <jrcd83@gmail.com> # Contributor: François Charette <francois.archlinux.org> pkgname=perl-xml-libxml -pkgver=2.0110 +pkgver=2.0115 pkgrel=1 pkgdesc="Interface to the libxml library" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ replaces=('perl-libxml' 'perl-xml-libxml-common') options=('!emptydirs') install=$pkgname.install source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz) -md5sums=('5cc869a22613e20d9d0abc58aae11bcd') +md5sums=('456cde9d6733792e35bc45df566e82ad') build() { cd "$srcdir"/XML-LibXML-$pkgver diff --git a/community/perl-xml-libxslt/PKGBUILD b/community/perl-xml-libxslt/PKGBUILD index 333ca4f20..6e56fc870 100644 --- a/community/perl-xml-libxslt/PKGBUILD +++ b/community/perl-xml-libxslt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 105747 2014-02-15 01:58:04Z eric $ +# $Id: PKGBUILD 109074 2014-04-10 09:00:23Z fyan $ # Maintainer: Jonathan Steel <jsteel@aur.archlinux.org> # Contributor: Justin "juster" Davis <jrcd83@gmail.com> # Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-libxslt -pkgver=1.87 +pkgver=1.89 pkgrel=1 pkgdesc="Interface to the gnome libxslt library" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ license=('GPL') depends=('perl-xml-libxml' 'libxslt') options=('!emptydirs') source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXSLT-$pkgver.tar.gz) -md5sums=('6a9303ffada82422781a36c54d3f4a8f') +md5sums=('692d2491b3ebf3465960c270c6a10e8b') build() { cd XML-LibXSLT-$pkgver diff --git a/community/php-mongo/PKGBUILD b/community/php-mongo/PKGBUILD index ce46c64a5..97db8ac28 100644 --- a/community/php-mongo/PKGBUILD +++ b/community/php-mongo/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Jarek Sedlacek <jareksedlacek@gmail.com> pkgname=php-mongo -pkgver=1.4.5 +pkgver=1.5.1 pkgrel=1 pkgdesc="Officially supported PHP driver for MongoDB" arch=("i686" "x86_64") @@ -26,5 +26,6 @@ package() { make INSTALL_ROOT="$pkgdir" install install -Dm644 "$srcdir/mongo.ini" "$pkgdir/etc/php/conf.d/mongo.ini" } -sha256sums=('45b20d4fc37e2ce1bc85dfb79418993ecfe61c519d6ad24e7d28cb4e1b380a55' + +sha256sums=('883aad17c44e8f053b10c8e31d7ff6487d5b5660ea8bd17a7b62976e988c4ea4' 'c89685eee842d5c3a85149a5bb8e310e62bf1a17f94183bb66401593ab2b191b') diff --git a/community/polipo/PKGBUILD b/community/polipo/PKGBUILD index 144e4fe19..9b1ebc1d6 100644 --- a/community/polipo/PKGBUILD +++ b/community/polipo/PKGBUILD @@ -1,13 +1,14 @@ -# $Id: PKGBUILD 90446 2013-05-12 13:12:12Z jelle $ +# $Id: PKGBUILD 109185 2014-04-11 06:07:08Z thestinger $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Jelle van der Waa <jelle vdwaa nl> +# Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: Thomas Holmquist <thomas@vorget.com> # Contributor: Jan Boehringer <ja(a)bm-boehringer.de> # Contributor: Alex Griffin <griffin.aj(a)gmail.com> pkgname=polipo pkgver=1.0.4.1 -pkgrel=10 +pkgrel=12 pkgdesc="A small and fast caching web proxy." arch=('i686' 'x86_64') url="http://www.pps.jussieu.fr/~jch/software/polipo/" @@ -16,14 +17,12 @@ depends=('bash') makedepends=('texinfo') install=polipo.install source=("http://freehaven.net/~chrisd/polipo/polipo-$pkgver.tar.gz" - "polipo.conf.d" "polipo.service") + polipo.service) md5sums=('bfc5c85289519658280e093a270d6703' - '685aa0c6070dee11c701932d23afcc6a' - '143ef45db99dc745b6c3a606847be9fe') + '3861a067f6cdd2b8afcee1de97678902') build() { cd "$srcdir/$pkgname-$pkgver" - make } @@ -34,19 +33,19 @@ package() { INFODIR="$pkgdir/usr/share/info" \ LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \ DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \ - install - + install # install config files - install -Dm 644 config.sample $pkgdir/etc/polipo/config.sample - install -Dm 644 forbidden.sample $pkgdir/etc/polipo/forbidden.sample + install -Dm 644 config.sample "$pkgdir/etc/polipo/config.sample" + install -Dm 644 forbidden.sample "$pkgdir/etc/polipo/forbidden.sample" # install license - install -Dm644 COPYING $pkgdir/usr/share/licenses/polipo/LICENSE + install -Dm644 COPYING "$pkgdir/usr/share/licenses/polipo/LICENSE" + + # install systemd service + install -Dm 644 "$srcdir/polipo.service" "$pkgdir/usr/lib/systemd/system/polipo.service" - # install systemd service / cron - install -Dm 644 $srcdir/polipo.service $pkgdir/usr/lib/systemd/system/polipo.service - install -Dm 644 $srcdir/polipo.conf.d $pkgdir/etc/conf.d/polipo.conf + install -dm 700 -o 185 -g 185 "$pkgdir/var/cache/polipo" } # vim:set ts=2 sw=2 et: diff --git a/community/polipo/polipo.conf.d b/community/polipo/polipo.conf.d deleted file mode 100644 index dc879d32b..000000000 --- a/community/polipo/polipo.conf.d +++ /dev/null @@ -1,4 +0,0 @@ -# -# Parameters to be passed to polipo -# -POLIPO_ARGS="daemonise=true logFile=\"/var/log/polipo.log\"" diff --git a/community/polipo/polipo.install b/community/polipo/polipo.install index bacc46377..03ed67ead 100644 --- a/community/polipo/polipo.install +++ b/community/polipo/polipo.install @@ -1,17 +1,37 @@ infodir=/usr/share/info filelist=(polipo.info) +create_polipo_user() { + getent group polipo &>/dev/null || groupadd -g 185 polipo >/dev/null + getent passwd polipo &>/dev/null || useradd -u 185 -g polipo \ + -d /var/cache/polipo \ + -c 'Caching web proxy' \ + -s /bin/nologin polipo >/dev/null +} + post_install() { [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do install-info $infodir/$file $infodir/dir 2> /dev/null done - install -d /var/cache/polipo 2> /dev/null - touch /var/log/polipo.log 2> /dev/null - chown -R nobody:nobody /var/cache/polipo /var/log/polipo.log 2> /dev/null + create_polipo_user } post_upgrade() { + if [[ $(vercmp $2 1.0.4.1-11) -le 0 ]]; then + echo Stopping polipo service in order to modify the user/group. + systemctl stop polipo + + # in case the user/group were already created as recommended by the wiki + userdel polipo &>/dev/null + groupdel polipo &>/dev/null + + create_polipo_user + chown -R 185:185 /var/cache/polipo + + echo You may now restart the polipo service. + fi + post_install $1 } @@ -22,4 +42,10 @@ pre_remove() { done } +post_remove() { + getent passwd polipo &>/dev/null && userdel polipo >/dev/null + getent group polipo &>/dev/null && groupdel polipo >/dev/null + true +} + # vim:set ts=2 sw=2 et: diff --git a/community/polipo/polipo.service b/community/polipo/polipo.service index a4c0f6d94..185d6db36 100644 --- a/community/polipo/polipo.service +++ b/community/polipo/polipo.service @@ -3,9 +3,9 @@ Description=Polipo Proxy Server After=network.target [Service] -Type=forking -ExecStart=/usr/bin/polipo daemonise=true logFile="/var/log/polipo.log" -User=nobody +ExecStart=/usr/bin/polipo +User=polipo +PrivateDevices=yes [Install] WantedBy=multi-user.target diff --git a/community/privoxy/PKGBUILD b/community/privoxy/PKGBUILD index a016a0e67..c3ceb4d23 100644 --- a/community/privoxy/PKGBUILD +++ b/community/privoxy/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92055 2013-05-31 01:13:33Z seblu $ +# $Id: PKGBUILD 109181 2014-04-11 05:32:55Z thestinger $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Juergen Hoetzel <juergen@hoetzel.info> # Contributor: basilburn (basilburn), Paul Bredbury (brebs) pkgname=privoxy pkgver=3.0.21 -pkgrel=1 +pkgrel=2 pkgdesc='A web proxy with advanced filtering capabilities.' arch=('i686' 'x86_64') url='http://www.privoxy.org' @@ -21,7 +21,7 @@ source=("http://downloads.sourceforge.net/ijbswa/${pkgname}-${pkgver}-stable-src 'privoxy.service') md5sums=('79558f2545cfcf9731f7de611646d837' 'fc3046377137003726a151ee27b142a2' - '358e614190247fc1671bbcadddf500db') + '37965b9a52ab1f2cb9f36cee617f5cf9') build() { cd "${srcdir}/${pkgname}-${pkgver}-stable" diff --git a/community/privoxy/privoxy.service b/community/privoxy/privoxy.service index e8b04447b..23bc8347a 100644 --- a/community/privoxy/privoxy.service +++ b/community/privoxy/privoxy.service @@ -7,6 +7,7 @@ Type=forking PIDFile=/run/privoxy.pid ExecStart=/usr/bin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config SuccessExitStatus=15 +PrivateDevices=yes [Install] WantedBy=multi-user.target diff --git a/community/python-apsw/PKGBUILD b/community/python-apsw/PKGBUILD index 29788a146..5eca89749 100644 --- a/community/python-apsw/PKGBUILD +++ b/community/python-apsw/PKGBUILD @@ -4,14 +4,14 @@ pkgbase=python-apsw pkgname=('python-apsw' 'python2-apsw') -pkgver=3.8.1 -pkgrel=2 +pkgver=3.8.4.3 +pkgrel=1 arch=('i686' 'x86_64') -url="http://code.google.com/p/apsw/" +url="https://github.com/rogerbinns/apsw" license=('MIT') makedepends=('python' 'python2') -source=("http://apsw.googlecode.com/files/apsw-${pkgver}-r1.zip" 'LICENSE') -md5sums=('83ffdbda803f9ea2091705d35ca6b0e5' +source=("https://github.com/rogerbinns/apsw/archive/$pkgver-r1.tar.gz" "LICENSE") +md5sums=('e61577de3e60c1822ce98da4027f09f3' 'efc704d50cb39441d00f9dc76cbe6665') build() { diff --git a/community/python-pygit2/PKGBUILD b/community/python-pygit2/PKGBUILD index 3a67e169a..3771a6d44 100644 --- a/community/python-pygit2/PKGBUILD +++ b/community/python-pygit2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 108473 2014-03-27 14:48:08Z fyan $ +# $Id: PKGBUILD 109059 2014-04-09 23:39:38Z thestinger $ # Maintainer: Daniel Micay <danielmicay@gmail.com> pkgbase=python-pygit2 pkgname=(python-pygit2 python2-pygit2) -pkgver=0.20.2 -pkgrel=2 +pkgver=0.20.3 +pkgrel=1 pkgdesc='Python bindings for libgit2' url="https://github.com/libgit2/pygit2" depends=(libgit2) @@ -12,7 +12,7 @@ makedepends=(python python2) arch=(i686 x86_64) license=('GPL2') source=(https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz) -md5sums=('97631fd2b468fa91a2f6f771ce95f242') +md5sums=('3002cc84ab85600a7eeca5611e20dca0') package_python-pygit2() { cd "$srcdir/pygit2-$pkgver" diff --git a/community/python-pytables/PKGBUILD b/community/python-pytables/PKGBUILD index d377c37e2..043aa352b 100644 --- a/community/python-pytables/PKGBUILD +++ b/community/python-pytables/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 108483 2014-03-27 14:48:15Z fyan $ +# $Id: PKGBUILD 109123 2014-04-10 14:24:45Z fyan $ # Maintainer: Andrzej Giniewicz <gginiu@gmail.com> # Contributor: Sebastien Binet <binet@cern.ch> pkgbase=python-pytables pkgname=('python2-pytables' 'python-pytables') -pkgver=3.1.0 -pkgrel=2 +pkgver=3.1.1 +pkgrel=1 arch=("i686" "x86_64") pkgdesc="A package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data" url="http://www.pytables.org" license=("BSD") makedepends=('lzo2' 'hdf5' 'python2-numexpr' 'cython2' 'python-numexpr' 'cython') source=("http://pypi.python.org/packages/source/t/tables/tables-$pkgver.tar.gz") -md5sums=('22e048ef20883269c4a2a3f2026c38ee') +md5sums=('38d917f0c6dfb0bc28ce9ea0c3492524') build() { cd "$srcdir" diff --git a/community/python-pyzmq/PKGBUILD b/community/python-pyzmq/PKGBUILD index 119f80027..ceba38a87 100644 --- a/community/python-pyzmq/PKGBUILD +++ b/community/python-pyzmq/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 108489 2014-03-27 14:48:19Z fyan $ +# $Id: PKGBUILD 109144 2014-04-10 20:30:56Z kkeen $ # Maintainer: Kyle Keen <keenerd at gmail dot com> pkgbase=python-pyzmq pkgname=(python2-pyzmq python-pyzmq) -pkgver=14.1.0 -pkgrel=2 +pkgver=14.1.1 +pkgrel=1 pkgdesc="Python bindings for zeromq, written in Cython" arch=(i686 x86_64) url="http://www.zeromq.org/bindings:python" @@ -12,7 +12,7 @@ depends=(zeromq python) makedepends=(python python2 zeromq) #source=(https://github.com/zeromq/pyzmq/downloads/pyzmq-$pkgver.tar.gz) source=(https://pypi.python.org/packages/source/p/pyzmq/pyzmq-$pkgver.tar.gz) -md5sums=('174901a85e4574629d4e586b5d37acc4') +md5sums=('bea18143c347dcde92cd0409392fbb58') build() { cd "$srcdir" diff --git a/community/python-simplejson/PKGBUILD b/community/python-simplejson/PKGBUILD index 3e9c1875d..188c9c436 100644 --- a/community/python-simplejson/PKGBUILD +++ b/community/python-simplejson/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108498 2014-03-27 14:48:26Z fyan $ +# $Id: PKGBUILD 109119 2014-04-10 14:12:57Z fyan $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> @@ -6,15 +6,15 @@ pkgbase=python-simplejson pkgname=("$pkgbase" 'python2-simplejson') -pkgver=3.3.3 -pkgrel=2 +pkgver=3.4.0 +pkgrel=1 pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python' license=('MIT') arch=('x86_64' 'i686') url='http://undefined.org/python/#simplejson' makedepends=('python-setuptools' 'python2-setuptools') source=("$pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/tarball/v${pkgver}") -sha256sums=('3c1ea4826afdbbb2e8f589540772f8b06ea2a81f575db1edde84fc1829bb293b') +sha256sums=('636c7a43f4b42e71b7e0bd07232621804d6b43e2b4b3f4c942bd620f001c1a8a') package_python-simplejson() { depends=('python') diff --git a/community/python2-ldap/PKGBUILD b/community/python2-ldap/PKGBUILD index b3e9a8209..736d5b2f3 100644 --- a/community/python2-ldap/PKGBUILD +++ b/community/python2-ldap/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 105333 2014-02-05 12:43:33Z spupykin $ +# $Id: PKGBUILD 109134 2014-04-10 17:03:17Z fyan $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Morgan LEFIEUX <comete_AT_archlinuxfr.org> pkgname=python2-ldap -pkgver=2.4.14 +pkgver=2.4.15 pkgrel=1 pkgdesc="Provides an object-oriented API to access LDAP directory servers from Python programs" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('python2' 'libldap>=2.4.26') makedepends=('chrpath') replaces=('python-ldap') source=(http://pypi.python.org/packages/source/p/python-ldap/python-ldap-$pkgver.tar.gz) -md5sums=('15eb167403b3706fe2e40db751117c28') +md5sums=('f12183c87579631584c4bbe2d85ad0d9') build() { cd $srcdir/python-ldap-$pkgver diff --git a/community/rethinkdb/PKGBUILD b/community/rethinkdb/PKGBUILD index 0e6d247e8..92030aeba 100644 --- a/community/rethinkdb/PKGBUILD +++ b/community/rethinkdb/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 108699 2014-04-01 14:35:41Z anatolik $ +# $Id: PKGBUILD 109136 2014-04-10 17:21:08Z anatolik $ # Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> # Contributor: Sigmund Lahn <sigmund@lahn.no> pkgname=rethinkdb -pkgver=1.12.1 +pkgver=1.12.2 pkgrel=1 pkgdesc='An open-source distributed database built with love.' arch=(i686 x86_64) @@ -20,7 +20,7 @@ source=( rethinkdb-tmpfile.conf rethinkdb.service ) -sha256sums=('422e2046fe1136e63c5c2ed03c9bebffcb085211128984f605128f2ee85baa68' +sha256sums=('bf6f69ab963e8eb60301dde203f33ae112c7f005e19697be073369b2d4aef492' '656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4' 'e56bffa2b9ebc3a00ef566ab2be0719a633c89d961a2461dfa2d9ffdb258c1a2') @@ -33,8 +33,7 @@ build() { check() { cd rethinkdb-$pkgver make build/release/rethinkdb-unittest - # https://github.com/rethinkdb/rethinkdb/issues/2187 PageTest.* tests are hanging - ./build/release/rethinkdb-unittest --gtest_filter=-PageTest.BiggerTestTightMemory:PageTest.BiggerTestSuperTightMemory:PageTest.BiggerTestNoMemory + ./build/release/rethinkdb-unittest # some tests might be flaky on btrfs filesystem! } diff --git a/community/samplv1/PKGBUILD b/community/samplv1/PKGBUILD index 8e9ae518c..442708570 100644 --- a/community/samplv1/PKGBUILD +++ b/community/samplv1/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: speps <speps at aur dot archlinux dot org> pkgname=samplv1 -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="Polyphonic sampler synthesizer with stereo fx" arch=(i686 x86_64) @@ -13,7 +13,7 @@ depends=('jack' 'liblo' 'lv2' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') install="$pkgname.install" source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('dbd306fa2aeb1ac005a7467028b9c779') +md5sums=('77b94efe772f0f3bee7c6ccc67dacf8d') prepare() { cd $pkgname-$pkgver diff --git a/community/scite/PKGBUILD b/community/scite/PKGBUILD index bd5986d39..f18e5eddb 100644 --- a/community/scite/PKGBUILD +++ b/community/scite/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108391 2014-03-27 12:57:37Z arodseth $ +# $Id: PKGBUILD 109205 2014-04-11 12:38:36Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Thomas S Hatch <thatch45@gmail.com> # Contributor: Corrado 'bardo' Primier <corrado.primier@mail.polimi.it> @@ -6,7 +6,7 @@ # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=scite -pkgver=3.4.0 +pkgver=3.4.1 pkgrel=1 pkgdesc='Editor with facilities for building and running programs' arch=('x86_64' 'i686') @@ -17,7 +17,7 @@ makedepends=('setconf') backup=('usr/share/scite/SciTEGlobal.properties') install="$pkgname.install" source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz") -sha256sums=('6e247543e08840c6103b50308bb394892525194bffcd98b673e4c7f6d03ba1a4') +sha256sums=('ab2940ba6ad3f1c7c33aea233dd5b44efc75319062fe0b3625db04c747bf3341') prepare() { if [ $?CXXBASEFLAGS == 1 ]; then diff --git a/community/snappy-player/PKGBUILD b/community/snappy-player/PKGBUILD new file mode 100644 index 000000000..4e238363b --- /dev/null +++ b/community/snappy-player/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 109192 2014-04-11 06:54:48Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=snappy-player +_pkgname=snappy +pkgver=1.0 +pkgrel=1 +pkgdesc="Powerful media player with a minimalistic interface" +arch=('i686' 'x86_64') +url="https://wiki.gnome.org/Apps/Snappy" +license=('GPL') +depends=('gst-plugins-base' 'clutter-gst' 'clutter-gtk' 'desktop-file-utils') +optdepends=('gst-plugins-good: Extra media codecs' + 'gst-plugins-bad: Extra media codecs' + 'gst-plugins-ugly: Extra media codecs' + 'gst-libav: Extra media codecs' + 'gst-vaapi: Hardware accelerated video decode') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.xz) +sha256sums=('0d33a05c1ad3cc075b8b9bf38d45634ea5204159454597b0882dd6a8d9763f58') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/snappy-player/snappy-player.install b/community/snappy-player/snappy-player.install new file mode 100644 index 000000000..709ad81f2 --- /dev/null +++ b/community/snappy-player/snappy-player.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/community/spice-gtk3/PKGBUILD b/community/spice-gtk3/PKGBUILD index 466e014a1..ef73ab376 100644 --- a/community/spice-gtk3/PKGBUILD +++ b/community/spice-gtk3/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 105626 2014-02-12 09:17:31Z spupykin $ +# $Id: PKGBUILD 109197 2014-04-11 09:23:59Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Stefano Facchini <stefano.facchini@gmail.com> # Contributor: Jonathan Lestrelin <zanko@daemontux.org> # Contributor: Lucio Zara <pennega@gmail.com> pkgname=spice-gtk3 -pkgver=0.23 +pkgver=0.24 pkgrel=1 pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)" arch=('i686' 'x86_64') url="http://spice-space.org" license=('LGPL2.1') -depends=('celt0.5.1' 'dbus-glib' 'gtk3' 'libcacard' 'libpulse' 'usbredir') +depends=('celt0.5.1' 'dbus-glib' 'gtk3' 'libcacard' 'libpulse' 'usbredir' 'libsoup') makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'spice-protocol' 'usbutils' 'vala') source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2") sha256sums=('05e9e5d915a99005a812846f733bba177ef3b1a9de9356690047250fb1b1fa3a') sha256sums=('bfdfa6cb12c40327b63167fe7191ce94e7f2a272473c87df31790c25d60cc81d') +sha256sums=('6efe500845f910945670f11664f584fd13b9db494075c41137eb7bacd60d1ed1') prepare() { cd "$srcdir/spice-gtk-$pkgver" diff --git a/community/stone-soup/PKGBUILD b/community/stone-soup/PKGBUILD index 42953f682..4ae0f41ae 100644 --- a/community/stone-soup/PKGBUILD +++ b/community/stone-soup/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Jakob Gruber <jakob.gruber@gmail.com> pkgname=stone-soup -pkgver=0.13.2 +pkgver=0.14.0 pkgrel=1 pkgdesc='Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting' arch=('i686' 'x86_64') @@ -66,4 +66,4 @@ package() { } -md5sums=('c63074afa81c74c311697b04fb6e7610') +md5sums=('d71cd86cda1e00fd52c3a6d009fa3fcb') diff --git a/community/synthv1/PKGBUILD b/community/synthv1/PKGBUILD index b79f71ec6..85e763062 100644 --- a/community/synthv1/PKGBUILD +++ b/community/synthv1/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: speps <speps at aur dot archlinux dot org> pkgname=synthv1 -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=1 pkgdesc="An old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx" arch=(i686 x86_64) @@ -13,7 +13,7 @@ depends=('jack' 'liblo' 'lv2' 'qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info') install="$pkgname.install" source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('f32510e1f5065f574970b13035d9ff57') +md5sums=('848413db4318819fd9fe8e0274845285') prepare() { cd $pkgname-$pkgver diff --git a/community/tea/PKGBUILD b/community/tea/PKGBUILD index 99739e215..396acfb0d 100644 --- a/community/tea/PKGBUILD +++ b/community/tea/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 108379 2014-03-27 09:27:10Z spupykin $ +# $Id: PKGBUILD 109023 2014-04-09 11:25:29Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Roman Kyrylych <roman@archlinux.org> @@ -6,7 +6,7 @@ # Contributor: Zsolt Varadi <sysop_xxl@fibermail.hu> pkgname=tea -pkgver=37.2.0 +pkgver=37.2.1 pkgrel=1 pkgdesc="A Qt-based text editor for Linux and *BSD. With an ultimate small size TEA provides you hundreds of functions." arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ depends=('qt4' 'aspell' 'hunspell') install=tea.install source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2 tea.desktop) -md5sums=('810fbe3c85027cd42919fec8d1be8d2d' +md5sums=('a74c2d18cc2cace9d961d1a215b19e31' '377ace3363124f4c086de0babb820761') build() { diff --git a/community/tint2/PKGBUILD b/community/tint2/PKGBUILD index 899e9b240..a3ff06aea 100644 --- a/community/tint2/PKGBUILD +++ b/community/tint2/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 107237 2014-03-15 10:43:27Z arodseth $ +# $Id: PKGBUILD 109218 2014-04-11 19:25:53Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Blue Peppers <bluepeppers@archlinux.us> @@ -6,7 +6,7 @@ pkgname=tint2 pkgver=0.11 -pkgrel=7 +pkgrel=8 pkgdesc='Basic, good-looking task manager for WMs' arch=('x86_64' 'i686') url='http://code.google.com/p/tint2/' @@ -14,8 +14,8 @@ license=('GPL2') conflicts=('ttm-svn' 'tint') replaces=('tint') depends=('gtk2' 'imlib2') -optdepends=('pygtk: for tint2wizard') -makedepends=('pygtk' 'cmake') +optdepends=('pygtk: for tint2wizard' 'python2') +makedepends=('pygtk' 'cmake' 'python2') provides=('tint') source=("http://tint2.googlecode.com/files/tint2-$pkgver.tar.bz2" 'add-power-now-support.patch' @@ -53,7 +53,7 @@ build() { cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_TINT2CONF=0 + -DENABLE_TINT2CONF=1 make } diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD index c2adfa0b2..8b22f7de3 100644 --- a/community/tinyproxy/PKGBUILD +++ b/community/tinyproxy/PKGBUILD @@ -1,23 +1,32 @@ -# $Id: PKGBUILD 92033 2013-05-30 23:55:47Z seblu $ +# $Id: PKGBUILD 109220 2014-04-11 20:03:09Z thestinger $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: Andrea Zucchelli <zukka77@gmail.com> pkgname=tinyproxy pkgver=1.8.3 -pkgrel=7 +pkgrel=8 pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.' arch=('i686' 'x86_64') url='https://banu.com/tinyproxy/' license=('GPL') +depends=(glibc) makedepends=('asciidoc') install="${pkgname}.install" backup=('etc/tinyproxy/tinyproxy.conf') source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2" 'tinyproxy.tmpfiles.conf' - 'tinyproxy.service') + 'tinyproxy.service' + config.patch) md5sums=('292ac51da8ad6ae883d4ebf56908400d' - '3c2764578f26581346fe312da0519a3e' - '41938243faca487a14beeee5114f244e') + 'b747d0f253ba7bb3f604e69a35a278bf' + '41938243faca487a14beeee5114f244e' + '9739e020c40abefd6e921e9cff854f35') + +prepare() { + cd $pkgname-$pkgver + patch -p0 -i ../config.patch +} build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -33,11 +42,6 @@ package() { make DESTDIR="${pkgdir}" install install -Dm0644 "${srcdir}/tinyproxy.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/tinyproxy.conf" - install -dm0755 -o nobody -g nobody "${pkgdir}/var/log/${pkgname}" - - # Provide sane defaults - sed -i '/^#Listen/a\Listen 127.0.0.1' "${pkgdir}/etc/tinyproxy/tinyproxy.conf" - install -Dm0644 "${srcdir}/tinyproxy.service" \ "${pkgdir}/usr/lib/systemd/system/tinyproxy.service" } diff --git a/community/tinyproxy/config.patch b/community/tinyproxy/config.patch new file mode 100644 index 000000000..66f0e33b9 --- /dev/null +++ b/community/tinyproxy/config.patch @@ -0,0 +1,31 @@ +--- etc/tinyproxy.conf.in 2010-03-03 04:37:24.000000000 -0500 ++++ etc/tinyproxy.conf.in.arch 2014-04-11 15:43:53.340725405 -0400 +@@ -12,8 +12,8 @@ + # as the root user. Either the user or group name or the UID or GID + # number may be used. + # +-User nobody +-Group nobody ++User tinyproxy ++Group tinyproxy + + # + # Port: Specify the port which tinyproxy will listen on. Please note +@@ -27,7 +27,7 @@ + # only one. If this is commented out, tinyproxy will bind to all + # interfaces present. + # +-#Listen 192.168.0.1 ++Listen 127.0.0.1 + + # + # Bind: This allows you to specify which interface will be used for +@@ -99,7 +99,7 @@ + # option must not be enabled if the Logfile directive is being used. + # These two directives are mutually exclusive. + # +-#Syslog On ++Syslog On + + # + # LogLevel: diff --git a/community/tinyproxy/tinyproxy.install b/community/tinyproxy/tinyproxy.install index 85f3dfc41..f3bbe7c71 100644 --- a/community/tinyproxy/tinyproxy.install +++ b/community/tinyproxy/tinyproxy.install @@ -1,9 +1,25 @@ post_install() { - if [ ! -d /var/run/tinyproxy ]; then - install -dm0770 -o nobody -g nobody /var/run/tinyproxy + getent group tinyproxy &>/dev/null || groupadd -g 186 tinyproxy >/dev/null + getent passwd tinyproxy &>/dev/null || useradd -u 186 -g tinyproxy -d / \ + -c 'HTTP proxy daemon' \ + -s /bin/nologin \ + tinyproxy >/dev/null + if [ ! -d /run/tinyproxy ]; then + install -dm0770 -o tinyproxy -g tinyproxy /run/tinyproxy fi } post_upgrade() { post_install "$@" + + if [[ $(vercmp $2 1.8.3-7) -le 0 ]]; then + post_install + chown -R tinyproxy:tinyproxy /run/tinyproxy + fi +} + +post_remove() { + getent passwd tinyproxy &>/dev/null && userdel tinyproxy >/dev/null + getent group tinyproxy &>/dev/null && groupdel tinyproxy >/dev/null + true } diff --git a/community/tinyproxy/tinyproxy.tmpfiles.conf b/community/tinyproxy/tinyproxy.tmpfiles.conf index 791a99ad1..5a89fcb6b 100644 --- a/community/tinyproxy/tinyproxy.tmpfiles.conf +++ b/community/tinyproxy/tinyproxy.tmpfiles.conf @@ -1 +1 @@ -d /var/run/tinyproxy 0770 nobody nobody - +d /run/tinyproxy 0770 tinyproxy tinyproxy - diff --git a/community/tor/PKGBUILD b/community/tor/PKGBUILD index fa5571ed4..175b3e36b 100644 --- a/community/tor/PKGBUILD +++ b/community/tor/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 107294 2014-03-16 16:26:12Z lfleischer $ +# $Id: PKGBUILD 109226 2014-04-11 20:15:49Z thestinger $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: simo <simo@archlinux.org> # Contributor: Sid Karunaratne pkgname=tor pkgver=0.2.4.21 -pkgrel=1 +pkgrel=3 pkgdesc='Anonymizing overlay network.' arch=('i686' 'x86_64') url='http://www.torproject.org/' @@ -14,8 +15,7 @@ depends=('openssl' 'libevent' 'bash') optdepends=('torsocks: for torify') makedepends=('ca-certificates') backup=('etc/tor/torrc' - 'etc/tor/torrc-dist' - 'etc/tor/tor-tsocks.conf') + 'etc/tor/torrc-dist') install='tor.install' source=("http://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc} 'torrc' diff --git a/community/vidalia/PKGBUILD b/community/vidalia/PKGBUILD index cafab9059..b6cf761ef 100644 --- a/community/vidalia/PKGBUILD +++ b/community/vidalia/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 85421 2013-03-01 10:41:47Z andrea $ +# $Id: PKGBUILD 109010 2014-04-09 11:02:32Z tredaelli $ # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> # Contributor: Rorschach <r0rschach@lavabit.com> pkgname=vidalia pkgver=0.2.21 -pkgrel=2 +pkgrel=3 pkgdesc="Controller GUI for Tor" url="https://www.torproject.org/vidalia" arch=('i686' 'x86_64') diff --git a/community/virtualbox-modules/PKGBUILD b/community/virtualbox-modules/PKGBUILD index 87ee4bfce..b8ba0afb4 100644 --- a/community/virtualbox-modules/PKGBUILD +++ b/community/virtualbox-modules/PKGBUILD @@ -1,21 +1,21 @@ -# $Id: PKGBUILD 108361 2014-03-27 01:57:28Z seblu $ +# $Id: PKGBUILD 109057 2014-04-09 22:22:55Z thomas $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Maintainer: Sébastien Luttringer pkgbase=virtualbox-modules pkgname=('virtualbox-host-modules' 'virtualbox-guest-modules') pkgver=4.3.10 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -makedepends=('linux>=3.13' 'linux<3.14' - 'linux-headers>=3.13' 'linux-headers<3.14' +makedepends=('linux>=3.14' 'linux<3.15' + 'linux-headers>=3.14' 'linux-headers<3.15' "virtualbox-host-dkms>=$pkgver" "virtualbox-guest-dkms>=$pkgver") # remember to also adjust the .install files and the package deps below -_extramodules=extramodules-3.13-ARCH +_extramodules=extramodules-3.14-ARCH build() { _kernver="$(cat /usr/lib/modules/$_extramodules/version)" @@ -33,7 +33,7 @@ build() { package_virtualbox-host-modules(){ _kernver="$(cat /usr/lib/modules/$_extramodules/version)" pkgdesc='Host kernel modules for VirtualBox' - depends=('linux>=3.13' 'linux<3.14') + depends=('linux>=3.14' 'linux<3.15') replaces=('virtualbox-modules') conflicts=('virtualbox-modules') install=virtualbox-host-modules.install @@ -48,7 +48,7 @@ package_virtualbox-guest-modules(){ _kernver="$(cat /usr/lib/modules/$_extramodules/version)" pkgdesc='Guest kernel modules for VirtualBox' license=('GPL') - depends=('linux>=3.13' 'linux<3.14') + depends=('linux>=3.14' 'linux<3.15') replaces=('virtualbox-archlinux-modules') conflicts=('virtualbox-archlinux-modules') install=virtualbox-guest-modules.install diff --git a/community/virtualbox-modules/virtualbox-guest-modules.install b/community/virtualbox-modules/virtualbox-guest-modules.install index cfc68a808..dc34249da 100644 --- a/community/virtualbox-modules/virtualbox-guest-modules.install +++ b/community/virtualbox-modules/virtualbox-guest-modules.install @@ -1,5 +1,5 @@ _depmod() { - EXTRAMODULES=extramodules-3.13-ARCH + EXTRAMODULES=extramodules-3.14-ARCH depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } diff --git a/community/virtualbox-modules/virtualbox-host-modules.install b/community/virtualbox-modules/virtualbox-host-modules.install index 82fea85e3..c450e28e6 100644 --- a/community/virtualbox-modules/virtualbox-host-modules.install +++ b/community/virtualbox-modules/virtualbox-host-modules.install @@ -1,5 +1,5 @@ _depmod() { - EXTRAMODULES=extramodules-3.13-ARCH + EXTRAMODULES=extramodules-3.14-ARCH depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) } diff --git a/core/coreutils/0001-cp-don-t-reserve-a-device-number.patch b/core/coreutils/0001-cp-don-t-reserve-a-device-number.patch new file mode 100644 index 000000000..1f276b4a4 --- /dev/null +++ b/core/coreutils/0001-cp-don-t-reserve-a-device-number.patch @@ -0,0 +1,77 @@ +From d0294ff3b90430750a631556277c75f1a555dd44 Mon Sep 17 00:00:00 2001 +From: Paul Eggert <eggert@cs.ucla.edu> +Date: Thu, 3 Apr 2014 09:48:22 -0700 +Subject: [PATCH] cp: don't reserve a device number + +* src/copy.c (copy_internal): Replace dev_t arg DEVICE with struct +stat pointer arg PARENT. All callers changed. This removes an +unwarranted assumption that dev_t values of 0 cannot occur in file +systems. See: http://bugs.gnu.org/17179 +--- + src/copy.c | 15 +++++++-------- + 1 file changed, 7 insertions(+), 8 deletions(-) + +diff --git a/src/copy.c b/src/copy.c +index 781cc1e..d471a77 100644 +--- a/src/copy.c ++++ b/src/copy.c +@@ -117,7 +117,7 @@ struct dir_list + #define DEST_INFO_INITIAL_CAPACITY 61 + + static bool copy_internal (char const *src_name, char const *dst_name, +- bool new_dst, dev_t device, ++ bool new_dst, struct stat const *parent, + struct dir_list *ancestors, + const struct cp_options *x, + bool command_line_arg, +@@ -621,7 +621,7 @@ copy_dir (char const *src_name_in, char const *dst_name_in, bool new_dst, + char *dst_name = file_name_concat (dst_name_in, namep, NULL); + bool first_dir_created = *first_dir_created_per_command_line_arg; + +- ok &= copy_internal (src_name, dst_name, new_dst, src_sb->st_dev, ++ ok &= copy_internal (src_name, dst_name, new_dst, src_sb, + ancestors, &non_command_line_options, false, + &first_dir_created, + &local_copy_into_self, NULL); +@@ -1725,9 +1725,8 @@ should_dereference (const struct cp_options *x, bool command_line_arg) + /* Copy the file SRC_NAME to the file DST_NAME. The files may be of + any type. NEW_DST should be true if the file DST_NAME cannot + exist because its parent directory was just created; NEW_DST should +- be false if DST_NAME might already exist. DEVICE is the device +- number of the parent directory, or 0 if the parent of this file is +- not known. ANCESTORS points to a linked, null terminated list of ++ be false if DST_NAME might already exist. A nonnull PARENT describes the ++ parent directory. ANCESTORS points to a linked, null terminated list of + devices and inodes of parent directories of SRC_NAME. COMMAND_LINE_ARG + is true iff SRC_NAME was specified on the command line. + FIRST_DIR_CREATED_PER_COMMAND_LINE_ARG is both input and output. +@@ -1737,7 +1736,7 @@ should_dereference (const struct cp_options *x, bool command_line_arg) + static bool + copy_internal (char const *src_name, char const *dst_name, + bool new_dst, +- dev_t device, ++ struct stat const *parent, + struct dir_list *ancestors, + const struct cp_options *x, + bool command_line_arg, +@@ -2434,7 +2433,7 @@ copy_internal (char const *src_name, char const *dst_name, + } + + /* Decide whether to copy the contents of the directory. */ +- if (x->one_file_system && device != 0 && device != src_sb.st_dev) ++ if (x->one_file_system && parent && parent->st_dev != src_sb.st_dev) + { + /* Here, we are crossing a file system boundary and cp's -x option + is in effect: so don't copy the contents of this directory. */ +@@ -2827,7 +2826,7 @@ copy (char const *src_name, char const *dst_name, + top_level_dst_name = dst_name; + + bool first_dir_created_per_command_line_arg = false; +- return copy_internal (src_name, dst_name, nonexistent_dst, 0, NULL, ++ return copy_internal (src_name, dst_name, nonexistent_dst, NULL, NULL, + options, true, + &first_dir_created_per_command_line_arg, + copy_into_self, rename_succeeded); +-- +1.9.1 + diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD index a367cabdc..26113ba39 100644 --- a/core/coreutils/PKGBUILD +++ b/core/coreutils/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 207977 2014-03-16 10:09:10Z bpiotrowski $ +# $Id: PKGBUILD 210100 2014-04-09 22:21:54Z thomas $ # Maintainer: Sébastien "Seblu" Luttringer # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> @@ -6,7 +6,7 @@ pkgname=coreutils pkgver=8.22 -pkgrel=3 +pkgrel=4 pkgdesc='The basic file, shell and text manipulation utilities of the GNU operating system' arch=('i686' 'x86_64') license=('GPL3') @@ -15,14 +15,17 @@ groups=('base') depends=('glibc' 'pam' 'acl' 'gmp' 'libcap' 'openssl') install=$pkgname.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig} - coreutils-8.22-shuf-segfault.patch) + coreutils-8.22-shuf-segfault.patch + 0001-cp-don-t-reserve-a-device-number.patch) md5sums=('8fb0ae2267aa6e728958adc38f8163a2' 'SKIP' - '94f7e6f373f37beb236caabed8fcdb52') + '94f7e6f373f37beb236caabed8fcdb52' + 'ac3825f60b6e0300e375f656a3667c52') prepare() { cd $pkgname-$pkgver patch -p1 -i ../coreutils-8.22-shuf-segfault.patch + patch -p1 -i ../0001-cp-don-t-reserve-a-device-number.patch } build() { diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD index 9856163cc..7b26d0742 100644 --- a/core/kmod/PKGBUILD +++ b/core/kmod/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 203021 2014-01-01 17:44:12Z dreisner $ +# $Id: PKGBUILD 210102 2014-04-09 22:21:57Z thomas $ # Maintainer: Dave Reisner <dreisner@archlinux.org> pkgname=kmod -pkgver=16 +pkgver=17 pkgrel=1 pkgdesc="Linux kernel module handling" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ conflicts=('module-init-tools') replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz" "depmod-search.conf") -md5sums=('3006a0287211212501cdfe1211b29f09' +md5sums=('bc36d28b12dcb2b664a35411560c5610' 'dd62cbf62bd8f212f51ef8c43bec9a77') build() { diff --git a/extra/libseccomp/PKGBUILD b/core/libseccomp/PKGBUILD index fa8af7a77..fa8af7a77 100644 --- a/extra/libseccomp/PKGBUILD +++ b/core/libseccomp/PKGBUILD diff --git a/core/openvpn/PKGBUILD b/core/openvpn/PKGBUILD index cce0d84ec..4696adad5 100644 --- a/core/openvpn/PKGBUILD +++ b/core/openvpn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 199780 2013-11-16 09:28:42Z thomas $ +# $Id: PKGBUILD 210195 2014-04-11 09:28:05Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=openvpn -pkgver=2.3.2 -pkgrel=2 +pkgver=2.3.3 +pkgrel=1 pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" arch=(i686 x86_64) url="http://openvpn.net/index.php/open-source.html" @@ -14,7 +14,7 @@ install=openvpn.install source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc openvpn@.service) -md5sums=('06e5f93dbf13f2c19647ca15ffc23ac1' +md5sums=('5c66ea3143ac884a3075521bd74ede06' 'SKIP' '71fab8d1c2aa3a1f2609e259eaaf88b3') diff --git a/core/s-nail/PKGBUILD b/core/s-nail/PKGBUILD index 961fd0f87..3dfdf6870 100644 --- a/core/s-nail/PKGBUILD +++ b/core/s-nail/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 207126 2014-03-07 04:54:01Z bisson $ +# $Id: PKGBUILD 210186 2014-04-10 21:57:03Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Sergej Pupykin <pupykin.s@arch@gmail.com> # Contributor: Andreas Wagner <Andreas.Wagner@em.uni-frankfurt.de> pkgname=s-nail -pkgver=14.6.2 +pkgver=14.6.4 pkgrel=1 pkgdesc='Mail processing system with a command syntax reminiscent of ed' url='http://sdaoden.users.sourceforge.net/code.html#s-nail' @@ -14,7 +14,7 @@ arch=('i686' 'x86_64') depends=('openssl') optdepends=('smtp-forwarder: for sending mail') source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver//./_}.tar.xz") -sha1sums=('626debfe8516f8a29eec0e69274c1f26e1858172') +sha1sums=('f1aee095030283a75957aca0f16373ad53c28987') groups=('base') backup=('etc/mail.rc') @@ -37,7 +37,7 @@ build() { check() { cd "${srcdir}/${pkgname}-${pkgver}" - make test || true + make test } package() { diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD index 54a29a82e..b9b1befb2 100644 --- a/core/systemd/PKGBUILD +++ b/core/systemd/PKGBUILD @@ -4,12 +4,12 @@ pkgbase=systemd pkgname=('systemd' 'libsystemd' 'systemd-sysvcompat') pkgver=212 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.freedesktop.org/wiki/Software/systemd" makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gobject-introspection' 'gperf' 'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt' 'libmicrohttpd' 'libxslt' - 'libutil-linux' 'linux-api-headers' 'pam' 'python' 'python-lxml' 'quota-tools' 'xz') + 'util-linux' 'linux-api-headers' 'pam' 'python' 'python-lxml' 'quota-tools' 'xz') options=('strip' 'debug') source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 'initcpio-hook-udev' @@ -17,7 +17,7 @@ source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 'initcpio-install-udev') md5sums=('257a75fff826ff91cb1ce567091cf270' '29245f7a240bfba66e2b1783b63b6b40' - '5e04f468a13ae2b9d6a9dfc77c49a7d1' + '66cca7318e13eaf37c5b7db2efa69846' 'bde43090d4ac0ef048e3eaee8202a407') build() { @@ -48,13 +48,13 @@ package_systemd() { pkgdesc="system and service manager" license=('GPL2' 'LGPL2.1' 'MIT') depends=('acl' 'bash' 'dbus' 'glib2' 'kbd' 'kmod' 'hwids' 'libcap' 'libgcrypt' - 'libsystemd' 'pam' 'libseccomp' 'libutil-linux' 'xz') + 'libsystemd' 'pam' 'libseccomp' 'util-linux' 'xz') provides=('nss-myhostname' "systemd-tools=$pkgver" "udev=$pkgver") replaces=('nss-myhostname' 'systemd-tools' 'udev') conflicts=('nss-myhostname' 'systemd-tools' 'udev') optdepends=('python: systemd library bindings' 'cryptsetup: required for encrypted block devices' - 'libmicrohttpd: systemd-journal-gatewayd' + 'libmicrohttpd: remote journald capabilities' 'quota-tools: kernel-level quota management' 'systemd-sysvcompat: symlink package to provide sysvinit binaries') backup=(etc/dbus-1/system.d/org.freedesktop.systemd1.conf diff --git a/core/systemd/initcpio-install-systemd b/core/systemd/initcpio-install-systemd index 93d547bfc..81ae8eb97 100644 --- a/core/systemd/initcpio-install-systemd +++ b/core/systemd/initcpio-install-systemd @@ -103,8 +103,9 @@ build() { add_binary /usr/lib/systemd/systemd /init add_binary /usr/bin/systemd-tmpfiles - # generate sysroot.mount and sysroot-usr.mount + # generators add_file "/usr/lib/systemd/system-generators/systemd-fstab-generator" + add_file "/usr/lib/systemd/system-generators/systemd-gpt-auto-generator" # udev rules and systemd units map add_udev_rule "$rules" \ diff --git a/core/util-linux/0001-libmount-FS-id-and-parent-ID-could-be-zero.patch b/core/util-linux/0001-libmount-FS-id-and-parent-ID-could-be-zero.patch new file mode 100644 index 000000000..01a8d441b --- /dev/null +++ b/core/util-linux/0001-libmount-FS-id-and-parent-ID-could-be-zero.patch @@ -0,0 +1,98 @@ +From 6c373810f5b1d32824371e9dff6ee5a006388f98 Mon Sep 17 00:00:00 2001 +From: Karel Zak <kzak@redhat.com> +Date: Thu, 20 Feb 2014 16:59:11 +0100 +Subject: [PATCH] libmount: FS id and parent ID could be zero +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It seems that linux 3.14 is able to produce things like: + + 19 0 8:3 / / rw,relatime - ext4 /dev/sda3 rw,data=ordered + ^ + +Reported-by: Mantas Mikulėnas <grawity@gmail.com> +Signed-off-by: Karel Zak <kzak@redhat.com> +--- + libmount/src/tab.c | 12 ++++-------- + misc-utils/findmnt.c | 5 +++-- + 2 files changed, 7 insertions(+), 10 deletions(-) + +diff --git a/libmount/src/tab.c b/libmount/src/tab.c +index 4c2f8a4..332312b 100644 +--- a/libmount/src/tab.c ++++ b/libmount/src/tab.c +@@ -505,7 +505,7 @@ int mnt_table_get_root_fs(struct libmnt_table *tb, struct libmnt_fs **root) + assert(tb); + assert(root); + +- if (!tb || !root) ++ if (!tb || !root || !is_mountinfo(tb)) + return -EINVAL; + + DBG(TAB, mnt_debug_h(tb, "lookup root fs")); +@@ -515,8 +515,6 @@ int mnt_table_get_root_fs(struct libmnt_table *tb, struct libmnt_fs **root) + mnt_reset_iter(&itr, MNT_ITER_FORWARD); + while(mnt_table_next_fs(tb, &itr, &fs) == 0) { + int id = mnt_fs_get_parent_id(fs); +- if (!id) +- break; /* @tab is not a mountinfo file? */ + + if (!*root || id < root_id) { + *root = fs; +@@ -524,7 +522,7 @@ int mnt_table_get_root_fs(struct libmnt_table *tb, struct libmnt_fs **root) + } + } + +- return root_id ? 0 : -EINVAL; ++ return *root ? 0 : -EINVAL; + } + + /** +@@ -545,15 +543,13 @@ int mnt_table_next_child_fs(struct libmnt_table *tb, struct libmnt_iter *itr, + struct libmnt_fs *fs; + int parent_id, lastchld_id = 0, chld_id = 0; + +- if (!tb || !itr || !parent) ++ if (!tb || !itr || !parent || !is_mountinfo(tb)) + return -EINVAL; + + DBG(TAB, mnt_debug_h(tb, "lookup next child of '%s'", + mnt_fs_get_target(parent))); + + parent_id = mnt_fs_get_id(parent); +- if (!parent_id) +- return -EINVAL; + + /* get ID of the previously returned child */ + if (itr->head && itr->p != itr->head) { +@@ -584,7 +580,7 @@ int mnt_table_next_child_fs(struct libmnt_table *tb, struct libmnt_iter *itr, + } + } + +- if (!chld_id) ++ if (!*chld) + return 1; /* end of iterator */ + + /* set the iterator to the @chld for the next call */ +diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c +index fb21174..988cd73 100644 +--- a/misc-utils/findmnt.c ++++ b/misc-utils/findmnt.c +@@ -822,8 +822,9 @@ static int tab_is_tree(struct libmnt_table *tb) + if (!itr) + return 0; + +- if (mnt_table_next_fs(tb, itr, &fs) == 0) +- rc = mnt_fs_get_id(fs) > 0 && mnt_fs_get_parent_id(fs) > 0; ++ rc = (mnt_table_next_fs(tb, itr, &fs) == 0 && ++ mnt_fs_is_kernel(fs) && ++ mnt_fs_get_root(fs)); + + mnt_free_iter(itr); + return rc; +-- +1.9.1 + diff --git a/core/util-linux/0001-switch_root-verify-initramfs-by-f_type-not-devno.patch b/core/util-linux/0001-switch_root-verify-initramfs-by-f_type-not-devno.patch new file mode 100644 index 000000000..56191a30e --- /dev/null +++ b/core/util-linux/0001-switch_root-verify-initramfs-by-f_type-not-devno.patch @@ -0,0 +1,59 @@ +From 751c39383adaf5ff5a860516238d524b0e20f835 Mon Sep 17 00:00:00 2001 +From: Dave Reisner <dreisner@archlinux.org> +Date: Wed, 2 Apr 2014 10:41:30 -0400 +Subject: [PATCH] switch_root: verify initramfs by f_type, not devno + +As of linux 3.14, the initramfs device will have both major and +minor 0, causing our paranoia check to fail. Make this version agnostic +by checking the filesystem type, rather than a device number. + +[adopted from master for backport into 2.24.x branch] + +Signed-off-by: Dave Reisner <dreisner@archlinux.org> +--- + sys-utils/switch_root.c | 15 +++++++++------ + 1 file changed, 9 insertions(+), 6 deletions(-) + +diff --git a/sys-utils/switch_root.c b/sys-utils/switch_root.c +index f26f7da..40e222d 100644 +--- a/sys-utils/switch_root.c ++++ b/sys-utils/switch_root.c +@@ -23,6 +23,7 @@ + #include <sys/mount.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/statfs.h> + #include <sys/param.h> + #include <fcntl.h> + #include <stdio.h> +@@ -33,6 +34,8 @@ + #include <ctype.h> + #include <dirent.h> + ++#include <linux/magic.h> ++ + #include "c.h" + #include "nls.h" + #include "closestream.h" +@@ -174,12 +177,12 @@ static int switchroot(const char *newroot) + if (cfd >= 0) { + pid = fork(); + if (pid <= 0) { +- if (fstat(cfd, &sb) == 0) { +- if (sb.st_dev == makedev(0, 1)) +- recursiveRemove(cfd); +- else +- warn(_("old root filesystem is not an initramfs")); +- } ++ struct statfs stfs; ++ if (fstatfs(cfd, &stfs) == 0 && ++ (stfs.f_type == RAMFS_MAGIC || stfs.f_type == TMPFS_MAGIC)) ++ recursiveRemove(cfd); ++ else ++ warn(_("old root filesystem is not an initramfs")); + + if (pid == 0) + exit(EXIT_SUCCESS); +-- +1.9.1 + diff --git a/core/util-linux/PKGBUILD b/core/util-linux/PKGBUILD index 9bf8e36bc..64d725582 100644 --- a/core/util-linux/PKGBUILD +++ b/core/util-linux/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 208808 2014-03-27 14:42:47Z fyan $ +# $Id: PKGBUILD 210105 2014-04-09 22:22:03Z thomas $ # Maintainer: Tom Gundersen <teg@jklm.no> # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> @@ -6,7 +6,7 @@ pkgbase=util-linux pkgname=(util-linux libutil-linux) pkgver=2.24.1 -pkgrel=4 +pkgrel=6 pkgdesc="Miscellaneous system utilities for Linux" url="http://www.kernel.org/pub/linux/utils/util-linux/" arch=('i686' 'x86_64') @@ -19,12 +19,26 @@ source=("ftp://ftp.kernel.org/pub/linux/utils/$pkgname/v2.24/$pkgname-$pkgver.ta uuidd.tmpfiles pam-login pam-common - pam-su) + pam-su + move_is_mountinfo.patch + 0001-switch_root-verify-initramfs-by-f_type-not-devno.patch + 0001-libmount-FS-id-and-parent-ID-could-be-zero.patch) md5sums=('88d46ae23ca599ac5af9cf96b531590f' 'a39554bfd65cccfd8254bb46922f4a67' '4368b3f98abd8a32662e094c54e7f9b1' 'a31374fef2cba0ca34dfc7078e2969e4' - 'fa85e5cce5d723275b14365ba71a8aad') + 'fa85e5cce5d723275b14365ba71a8aad' + '4cdc5f9a6e51b032274761a82937d438' + 'b7ca79a0d5318b7cd813bb2573a3f9a9' + '2f4bc305bd11d6bfaa81e6c1eb0c6f1b') + +prepare() { + cd "$pkgname-$pkgver" + + patch -p1 -i "${srcdir}/move_is_mountinfo.patch" + patch -p1 -i "${srcdir}/0001-libmount-FS-id-and-parent-ID-could-be-zero.patch" + patch -p1 -i "${srcdir}/0001-switch_root-verify-initramfs-by-f_type-not-devno.patch" +} build() { cd "$pkgname-$pkgver" diff --git a/core/util-linux/move_is_mountinfo.patch b/core/util-linux/move_is_mountinfo.patch new file mode 100644 index 000000000..ad9387efc --- /dev/null +++ b/core/util-linux/move_is_mountinfo.patch @@ -0,0 +1,46 @@ +diff --git a/libmount/src/tab.c b/libmount/src/tab.c +index 3633b6a..8ae49c8 100644 +--- a/libmount/src/tab.c ++++ b/libmount/src/tab.c +@@ -47,6 +47,20 @@ + #include "strutils.h" + #include "loopdev.h" + ++static int is_mountinfo(struct libmnt_table *tb) ++{ ++ struct libmnt_fs *fs; ++ ++ if (!tb) ++ return 0; ++ ++ fs = list_first_entry(&tb->ents, struct libmnt_fs, ents); ++ if (fs && mnt_fs_is_kernel(fs) && mnt_fs_get_root(fs)) ++ return 1; ++ ++ return 0; ++} ++ + /** + * mnt_new_table: + * +@@ -1229,20 +1335,6 @@ err: + return NULL; + } + +-static int is_mountinfo(struct libmnt_table *tb) +-{ +- struct libmnt_fs *fs; +- +- if (!tb) +- return 0; +- +- fs = list_first_entry(&tb->ents, struct libmnt_fs, ents); +- if (fs && mnt_fs_is_kernel(fs) && mnt_fs_get_root(fs)) +- return 1; +- +- return 0; +-} +- + /** + * mnt_table_is_fs__mounted: + * @tb: /proc/self/mountinfo file diff --git a/cross/cross-binutils/binutils.install b/cross/cross-binutils/binutils.install deleted file mode 100644 index 9de0533ee..000000000 --- a/cross/cross-binutils/binutils.install +++ /dev/null @@ -1,17 +0,0 @@ -infodir=usr/share/info -filelist=(as.info bfd.info binutils.info gprof.info ld.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 - 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 - done -} - diff --git a/extra/check/PKGBUILD b/extra/check/PKGBUILD index f05cffea2..a02aed5a2 100644 --- a/extra/check/PKGBUILD +++ b/extra/check/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 200362 2013-11-27 06:20:00Z heftig $ +# $Id: PKGBUILD 210085 2014-04-09 18:36:39Z anatolik $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Jeremy Cowgar <jeremy@cowgar.com> pkgname=check -pkgver=0.9.11 +pkgver=0.9.12 pkgrel=1 pkgdesc="A unit testing framework for C" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ license=('LGPL') install=$pkgname.install depends=('awk') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('fd5a03979bcab9fb80ba005b55f54178') +md5sums=('46fe540d1a03714c7a1967dbc6d484e7') build() { cd $pkgname-$pkgver @@ -34,4 +34,7 @@ package() { # get rid of the package's info directory, # install-info adds entries for us at install-time rm "$pkgdir/usr/share/info/dir" + + # svn log file is too big + rm "$pkgdir"/usr/share/doc/check/*ChangeLog* } diff --git a/extra/dnsmasq/PKGBUILD b/extra/dnsmasq/PKGBUILD index 8a5619890..951a21273 100644 --- a/extra/dnsmasq/PKGBUILD +++ b/extra/dnsmasq/PKGBUILD @@ -1,35 +1,31 @@ -# $Id: PKGBUILD 201313 2013-12-08 20:12:10Z dreisner $ +# $Id: PKGBUILD 210146 2014-04-10 11:59:27Z dreisner $ # Maintainer: Dave Reisner <dreisner@archlinux.org> # Contributor: Paul Mattal <paul@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=dnsmasq -pkgver=2.68 -pkgrel=1 +pkgver=2.69 +pkgrel=2 pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server" url="http://www.thekelleys.org.uk/dnsmasq/doc.html" arch=('i686' 'x86_64') license=('GPL') -depends=('glibc' 'dbus-core') +depends=('glibc' 'libdbus' 'gmp' 'nettle') install=$pkgname.install backup=('etc/dnsmasq.conf') -source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz" +source=("http://www.thekelleys.org.uk/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc} 'dnsmasq.service') -md5sums=('fec885ba0a9df0f7d8f2e44db48f19ae' +md5sums=('c5a1152e646eb54db4f33f8e0deee180' + 'SKIP' '7ac45726cabef4145db40d758cc7fedf') -prepare() { - cd "$pkgname-$pkgver" - - # link against dbus. this ugliness is needed to ensure that the - # compile time opts report properly on startup. yuck. - sed -i '/^#ifdef DNSMASQ_COMPILE_OPTS/ i#define HAVE_DBUS' src/config.h -} - build() { cd "$pkgname-$pkgver" - make "CFLAGS=$CPPFLAGS $CFLAGS" "LDFLAGS=$LDFLAGS" + make \ + CFLAGS="$CPPFLAGS $CFLAGS" \ + LDFLAGS="$LDFLAGS" \ + COPTS="-DHAVE_DNSSEC -DHAVE_DBUS" } package() { @@ -40,6 +36,10 @@ package() { install -Dm644 "dbus/dnsmasq.conf" "$pkgdir"/etc/dbus-1/system.d/dnsmasq.conf install -Dm644 "dnsmasq.conf.example" "$pkgdir"/etc/dnsmasq.conf install -Dm644 "$srcdir/dnsmasq.service" "$pkgdir"/usr/lib/systemd/system/dnsmasq.service + + # DNSSEC setup + sed -i 's,%%PREFIX%%,/usr,' "$pkgdir"/etc/dnsmasq.conf + install -Dm644 "trust-anchors.conf" "$pkgdir"/usr/share/dnsmasq/trust-anchors.conf } # vim: ts=2 sw=2 et ft=sh diff --git a/extra/ffmpeg/0001-libx265-Support-API-version-9.patch b/extra/ffmpeg/0001-libx265-Support-API-version-9.patch new file mode 100644 index 000000000..3b6a6e24c --- /dev/null +++ b/extra/ffmpeg/0001-libx265-Support-API-version-9.patch @@ -0,0 +1,50 @@ +From d67dbfa7c195fabce706ca03c439419450f9bd8a Mon Sep 17 00:00:00 2001 +From: Derek Buitenhuis <derek.buitenhuis@gmail.com> +Date: Thu, 6 Mar 2014 20:01:17 +0000 +Subject: [PATCH] libx265: Support API version 9 + +Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> +--- + configure | 4 ++-- + libavcodec/libx265.c | 10 +++++----- + 2 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/configure b/configure +index d3f5f33..4d7382a 100755 +--- a/configure ++++ b/configure +@@ -3980,8 +3980,8 @@ enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 & + { check_cpp_condition x264.h "X264_BUILD >= 118" || + die "ERROR: libx264 version must be >= 0.118."; } + enabled libx265 && require_pkg_config x265 x265.h x265_encoder_encode && +- { check_cpp_condition x265.h "X265_BUILD >= 7" || +- die "ERROR: libx265 version must be >= 7."; } ++ { check_cpp_condition x265.h "X265_BUILD >= 9" || ++ die "ERROR: libx265 version must be >= 9."; } + enabled libxavs && require libxavs xavs.h xavs_encoder_encode -lxavs + enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore + enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto || +diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c +index 961fc74..a6e4193 100644 +--- a/libavcodec/libx265.c ++++ b/libavcodec/libx265.c +@@ -121,11 +121,11 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx) + av_reduce(&sar_num, &sar_den, + avctx->sample_aspect_ratio.num, + avctx->sample_aspect_ratio.den, 4096); +- ctx->params->bEnableVuiParametersPresentFlag = 1; +- ctx->params->bEnableAspectRatioIdc = 1; +- ctx->params->aspectRatioIdc = 255; +- ctx->params->sarWidth = sar_num; +- ctx->params->sarHeight = sar_den; ++ ctx->params->vui.bEnableVuiParametersPresentFlag = 1; ++ ctx->params->vui.bEnableAspectRatioIdc = 1; ++ ctx->params->vui.aspectRatioIdc = 255; ++ ctx->params->vui.sarWidth = sar_num; ++ ctx->params->vui.sarHeight = sar_den; + + if (x265_max_bit_depth == 8) + ctx->params->internalBitDepth = 8; +-- +1.7.10.4 + diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD index d334d5934..5edf28227 100644 --- a/extra/ffmpeg/PKGBUILD +++ b/extra/ffmpeg/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 208905 2014-03-28 15:46:19Z bpiotrowski $ +# $Id: PKGBUILD 210158 2014-04-10 14:28:28Z bpiotrowski $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Contributor: Paul Mattal <paul@archlinux.org> pkgname=ffmpeg -pkgver=2.2 -pkgrel=2 +pkgver=2.2.1 +pkgrel=1 epoch=1 pkgdesc='Complete and free Internet live audio and video broadcasting solution' arch=('i686' 'x86_64') @@ -19,9 +19,16 @@ depends=( 'v4l-utils' 'x264' 'xvidcore' 'zlib' 'x265' ) makedepends=('libvdpau' 'yasm') -source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2{,.asc}) -md5sums=('744febca199548c9393b1f1ed05ccdd8' - 'SKIP') +source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2{,.asc} + 0001-libx265-Support-API-version-9.patch) +md5sums=('b8a1ee4964c2638f46fcc803ed453818' + 'SKIP' + '4cbf9b13dc013e96be36445b4a2bfdac') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../0001-libx265-Support-API-version-9.patch +} build() { cd $pkgname-$pkgver diff --git a/extra/fftw/PKGBUILD b/extra/fftw/PKGBUILD index 08943a759..34f6569b0 100644 --- a/extra/fftw/PKGBUILD +++ b/extra/fftw/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 197299 2013-10-25 01:41:11Z allan $ +# $Id: PKGBUILD 209927 2014-04-09 07:41:45Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=fftw -pkgver=3.3.3 -pkgrel=2 +pkgver=3.3.4 +pkgrel=1 pkgdesc="A library for computing the discrete Fourier transform (DFT)" arch=('i686' 'x86_64') license=('GPL2') url="http://www.fftw.org/" -depends=('glibc' 'bash') +depends=('bash' 'gcc-libs') makedepends=('gcc-fortran') source=("http://www.fftw.org/${pkgname}-${pkgver}.tar.gz") install=fftw.install -sha1sums=('11487180928d05746d431ebe7a176b52fe205cf9') +sha1sums=('fd508bac8ac13b3a46152c54b7ac885b69734262') # notes: # http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 @@ -33,11 +33,12 @@ build() { CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math" CONFIGURE="./configure F77=gfortran --prefix=/usr \ - --enable-shared --enable-threads" + --enable-shared --enable-threads \ + --enable-openmp" # build double precision cd ${srcdir}/${pkgname}-${pkgver}-double - $CONFIGURE --enable-sse2 + $CONFIGURE --enable-sse2 --enable-avx make # build & install long double precission @@ -47,7 +48,7 @@ build() { # build & install single precision cd ${srcdir}/${pkgname}-${pkgver}-single - $CONFIGURE --enable-float --enable-sse + $CONFIGURE --enable-float --enable-sse --enable-avx make } diff --git a/extra/gcin/PKGBUILD b/extra/gcin/PKGBUILD index 6a827b46e..921dfb695 100644 --- a/extra/gcin/PKGBUILD +++ b/extra/gcin/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 193564 2013-08-24 05:33:50Z bisson $ +# $Id: PKGBUILD 210176 2014-04-10 16:42:10Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=gcin -pkgver=2.8.1 +pkgver=2.8.2 pkgrel=1 pkgdesc='Input method server supporting various input methods' url='http://hyperrate.com/dir.php?eid=67' @@ -16,8 +16,8 @@ optdepends=('qt4: support for qt4 input method' 'gtk3: support for gtk3 input method' 'anthy: support for anthy input method' 'libchewing: support for chewing input method') -source=("http://www.csie.nctu.edu.tw/~cp76/gcin/download/${pkgname}-${pkgver}.tar.xz") -sha1sums=('fc7323f1e0558675a94e91de2166c484c72d464d') +source=("http://hyperrate.com/gcin-source/${pkgname}-${pkgver}.tar.xz") +sha1sums=('d045f5369cca83c131abf4f871601cd226a6aaec') install=install diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD index 111f36cda..bfea77083 100644 --- a/extra/git/PKGBUILD +++ b/extra/git/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 208306 2014-03-20 13:23:19Z dan $ +# $Id: PKGBUILD 210112 2014-04-10 01:31:51Z dan $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=git -pkgver=1.9.1 +pkgver=1.9.2 pkgrel=1 pkgdesc="the fast distributed version control system" arch=(i686 x86_64) @@ -107,6 +107,6 @@ package() { install -D -m 644 "$srcdir"/git-daemon.socket "$pkgdir"/usr/lib/systemd/system/git-daemon.socket } -md5sums=('d65ca55041898c226e532425fc673035' +md5sums=('437c32078b5b5b229f1c10f6474eae78' '042524f942785772d7bd52a1f02fe5ae' 'f67869315c2cc112e076f0c73f248002') diff --git a/extra/glpk/PKGBUILD b/extra/glpk/PKGBUILD index 730111e79..4247c5b4d 100644 --- a/extra/glpk/PKGBUILD +++ b/extra/glpk/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 199812 2013-11-17 05:33:51Z allan $ +# $Id: PKGBUILD 209928 2014-04-09 07:42:53Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: bzklrm <bzklrm@gmail.com> # Additional contributors Senjin, Xavier, dundee pkgname=glpk -pkgver=4.52 -pkgrel=2 +pkgver=4.54 +pkgrel=1 pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems." arch=('i686' 'x86_64') url="http://www.gnu.org/software/glpk/glpk.html" license=('GPL') depends=('glibc') source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig}) -sha1sums=('44b30b0de777a0a07e00615ac6791af180ff4d2c' +sha1sums=('69d9c5d83271d34de1a58d2de2f7ababab975492' 'SKIP') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -20,7 +20,7 @@ build() { ./configure --prefix=/usr if [ "$CARCH" == "x86_64" ]; then - make CFLAGS="$CFLAGS -fPIC" + make CFLAGS="$CFLAGS -fPIC" else make fi diff --git a/extra/kdenetwork-kdnssd/PKGBUILD b/extra/kdenetwork-kdnssd/PKGBUILD deleted file mode 100644 index 5da7333a6..000000000 --- a/extra/kdenetwork-kdnssd/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 207056 2014-03-06 12:07:41Z andrea $ -# Maintainer: Andrea Scarpino <andrea@archlinux.org> - -pkgname=kdenetwork-kdnssd -pkgver=4.12.3 -pkgrel=1 -pkgdesc='Monitors the network for DNS-SD services' -url='https://projects.kde.org/projects/kde/kdenetwork/kdnssd' -arch=('i686' 'x86_64') -license=('GPL' 'LGPL' 'FDL') -groups=('kde' 'kdenetwork') -depends=('kdebase-runtime') -makedepends=('cmake' 'automoc4') -source=("http://download.kde.org/stable/${pkgver}/src/kdnssd-${pkgver}.tar.xz") -sha1sums=('6751b009cafa5eececf7c4f9ed6a2d6c59a78c3a') - -build() { - mkdir build - cd build - cmake ../kdnssd-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - -DCMAKE_INSTALL_PREFIX=/usr - make -} - -package() { - cd build - make DESTDIR=$pkgdir install -} diff --git a/extra/libchewing/PKGBUILD b/extra/libchewing/PKGBUILD index e78344048..283087fb1 100644 --- a/extra/libchewing/PKGBUILD +++ b/extra/libchewing/PKGBUILD @@ -1,21 +1,22 @@ -# $Id: PKGBUILD 198138 2013-10-30 13:01:13Z allan $ +# $Id: PKGBUILD 210188 2014-04-11 03:45:09Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: whisky <archlinux.cle(at)gmail.com> # Contributor: damir <damir@archlinux.org> pkgname=libchewing -pkgver=0.3.5 +pkgver=0.4.0 pkgrel=1 pkgdesc='Intelligent Chinese phonetic input method' url='http://chewing.im/' arch=('i686' 'x86_64') license=('GPL') -source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('5ee3941f0f62fa14fbda53e1032970b04a7a88b7') +depends=('sqlite') +source=("https://github.com/chewing/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('7409b0a6753e14510c96574714dcec86c7b10138') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-static + ./configure --prefix=/usr make } diff --git a/extra/libdrm/PKGBUILD b/extra/libdrm/PKGBUILD index 84713ea18..ec72b2811 100644 --- a/extra/libdrm/PKGBUILD +++ b/extra/libdrm/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 204511 2014-01-21 18:58:35Z lcarlier $ +# $Id: PKGBUILD 210192 2014-04-11 05:47:52Z lcarlier $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libdrm -pkgver=2.4.52 +pkgver=2.4.53 pkgrel=1 pkgdesc="Userspace interface to kernel DRM services" arch=(i686 x86_64) @@ -14,7 +14,7 @@ replaces=('libdrm-new' 'libdrm-nouveau') url="http://dri.freedesktop.org/" source=(http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 COPYING) -sha256sums=('fa693c2f1f61befcefbdcc396673e38481110bac9db610afa4b8afb2be0218c1' +sha256sums=('1b0c28fd2f2b92d2df0a73d1aed88f43cb0dee1267aea6bc52ccb5fca5757a08' '9631d4f694952e3e6ae5a05534c2e93e994e47d3413677a3a00e45c8cef6db93') build() { diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 75dbd544a..59e3c1d33 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -1,30 +1,23 @@ -# $Id: PKGBUILD 201420 2013-12-11 04:56:37Z bisson $ +# $Id: PKGBUILD 210178 2014-04-10 16:48:10Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com> pkgname=libjpeg-turbo -pkgver=1.3.0 -pkgrel=4 +pkgver=1.3.1 +pkgrel=1 pkgdesc='JPEG image codec with accelerated baseline compression and decompression' url='http://libjpeg-turbo.virtualgl.org/' license=('GPL' 'custom') arch=('i686' 'x86_64') makedepends=('nasm') -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" - 'cve-2013-6629.patch') -sha1sums=('1792c964b35604cebd3a8846f1ca6de5976e9c28' - '10f2cf2276244d2b94d35bfca24639bc83ce1185') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha1sums=('5fa19252e5ca992cfa40446a0210ceff55fbe468') provides=('libjpeg=8.0.2' 'turbojpeg') conflicts=('libjpeg' 'turbojpeg') replaces=('libjpeg' 'turbojpeg') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -i ../cve-2013-6629.patch # FS#38094 -} - build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man diff --git a/extra/libjpeg-turbo/cve-2013-6629.patch b/extra/libjpeg-turbo/cve-2013-6629.patch deleted file mode 100644 index 7fb02730f..000000000 --- a/extra/libjpeg-turbo/cve-2013-6629.patch +++ /dev/null @@ -1,36 +0,0 @@ -Index: jdmarker.c -=================================================================== ---- jdmarker.c (revision 1088) -+++ jdmarker.c (revision 1089) -@@ -304,7 +304,7 @@ - /* Process a SOS marker */ - { - INT32 length; -- int i, ci, n, c, cc; -+ int i, ci, n, c, cc, pi; - jpeg_component_info * compptr; - INPUT_VARS(cinfo); - -@@ -348,6 +348,13 @@ - - TRACEMS3(cinfo, 1, JTRC_SOS_COMPONENT, cc, - compptr->dc_tbl_no, compptr->ac_tbl_no); -+ -+ /* This CSi (cc) should differ from the previous CSi */ -+ for (pi = 0; pi < i; pi++) { -+ if (cinfo->cur_comp_info[pi] == compptr) { -+ ERREXIT1(cinfo, JERR_BAD_COMPONENT_ID, cc); -+ } -+ } - } - - /* Collect the additional scan parameters Ss, Se, Ah/Al. */ -@@ -465,6 +472,8 @@ - for (i = 0; i < count; i++) - INPUT_BYTE(cinfo, huffval[i], return FALSE); - -+ MEMZERO(&huffval[count], (256 - count) * SIZEOF(UINT8)); -+ - length -= count; - - if (index & 0x10) { /* AC table definition */ diff --git a/extra/libreoffice/PKGBUILD b/extra/libreoffice/PKGBUILD index 73bbaa83e..b458c97a2 100644 --- a/extra/libreoffice/PKGBUILD +++ b/extra/libreoffice/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 208822 2014-03-27 14:43:11Z fyan $ +# $Id: PKGBUILD 210194 2014-04-11 09:13:27Z bpiotrowski $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> @@ -18,24 +18,27 @@ pkgname=('libreoffice-common' 'libreoffice-postgresql-connector' 'libreoffice-extension-wiki-publisher' 'libreoffice-extension-nlpsolver') # svn up -r 142692 (last one with all extensions built) -_LOver=4.2.2.1 -pkgver=4.2.2 -pkgrel=5 +_LOver=4.2.3.3 +pkgver=4.2.3 +pkgrel=1 arch=('i686' 'x86_64') license=('LGPL3') url="http://www.libreoffice.org/" makedepends=( # makedepends - 'sane' 'perl-archive-zip' 'zip' 'unzip' 'unixodbc' - 'apache-ant' 'gperf' 'kdelibs' 'gconf' 'gtk3' 'cppunit' - 'beanshell2' 'vigra' 'clucene' 'junit' 'libmythes' 'libwpg' 'imagemagick' - 'glu' 'mesa' 'gst-plugins-base-libs' 'java-environment' 'postgresql-libs' 'doxygen' - 'clucene' 'bluez-libs' 'harfbuzz-icu' 'gdb' + 'sane' 'perl-archive-zip' 'zip' 'unzip' 'unixodbc' 'apache-ant' + 'gperf' 'kdelibs' 'gconf' 'gtk3' 'cppunit' 'beanshell2' 'vigra' + 'clucene' 'junit' 'libmythes' 'libwpg' 'mesa' 'clucene' + 'java-environment' 'postgresql-libs' 'bluez-libs' 'harfbuzz-icu' + 'gdb' 'doxygen' # the runtime dependencies - "curl>=7.20.0" "hunspell>=1.2.8" "python>=3.3" 'libwpd>=0.9.2' 'libwps' 'libxaw' "neon>=0.28.6" - 'pango' 'nspr' 'libjpeg' 'libxrandr' 'libgl' 'dbus-glib' 'libxslt' 'librsvg' "icu>=52.1" - 'redland' 'hyphen' 'lpsolve' 'gcc-libs' 'sh' 'libtextcat' 'graphite' 'lcms2' 'poppler>=0.24.0' - 'libvisio' 'libetonyek' 'libodfgen' #'telepathy-glib' - 'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info' 'gtk2' 'orbit2' 'translate-toolkit' 'xdg-utils' + "curl>=7.20.0" "hunspell>=1.2.8" "python>=3.4" 'libwpd>=0.9.2' + 'libwps' 'libxaw' "neon>=0.28.6" 'pango' 'nspr' 'libjpeg' 'libxrandr' + 'libgl' 'dbus-glib' 'libxslt' 'librsvg' "icu>=52.1" 'redland' + 'hyphen' 'lpsolve' 'gcc-libs' 'sh' 'libtextcat' 'graphite' + 'lcms2' 'poppler>=0.24.0' 'libvisio' 'libetonyek' 'libodfgen' + 'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info' + 'gtk2' 'orbit2' 'translate-toolkit' 'xdg-utils' #'telepathy-glib' + 'gstreamer0.10-base' 'gst-plugins-base-libs' 'glu' 'ttf-liberation' # to satisfy regression tests 'git') # there's only one single static library in libreoffice-sdk, @@ -125,11 +128,11 @@ noextract=(15cb8c0803064faef0c4ddf5bc5ca279-boost_1_54_0.tar.bz2 libatomic_ops-7_2d.zip libe-book-0.0.3.tar.bz2 libabw-0.0.2.tar.bz2) -md5sums=('b8b00aac99c056e8908c1a89ad999f4b' +md5sums=('0347f2c919e809b3f3794ed509caa902' 'SKIP' - '3c11900dce8a5e520abc8350045b2407' + '11a2381971a7444fe5154ab9ae9578d6' 'SKIP' - '5ac66bd46617d00f759602c00e755ea0' + '21f4ff9b4e49c2b1a6464b4dae6cfb42' 'SKIP' '15cb8c0803064faef0c4ddf5bc5ca279' '1f24ab1d39f4a51faf22244c94a6203f' @@ -312,12 +315,14 @@ build() { #} package_libreoffice-common() { - - pkgdesc="common files for LibreOffice - a productivity suite that is compatible with other major office suites" + pkgdesc="Common files for LibreOffice - a productivity suite that is compatible with other major office suites" install=libreoffice-common.install - depends=('libreoffice-langpack' "hunspell>=1.2.8" "python>=3.3" "neon>=0.28.6" 'dbus-glib' 'librsvg' 'libcups' - 'nss' 'libsm' 'redland' 'hyphen' 'graphite' "icu>=52.1" 'clucene' 'lcms2' "poppler>=0.24.0" #'telepathy-glib' # (calc telepathy-glib libtubeslo.so) - 'libodfgen' 'libvisio' 'harfbuzz-icu' 'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info' 'xdg-utils') + depends=('libreoffice-langpack' "hunspell>=1.2.8" "python>=3.3" "neon>=0.28.6" + 'dbus-glib' 'librsvg' 'libcups' 'nss' 'libsm' 'redland' 'hyphen' + 'graphite' "icu>=52.1" 'clucene' 'lcms2' "poppler>=0.24.0" + #'telepathy-glib' # (calc telepathy-glib libtubeslo.so) + 'libodfgen' 'libvisio' 'harfbuzz-icu' 'hicolor-icon-theme' 'glu' + 'desktop-file-utils' 'shared-mime-info' 'xdg-utils' 'gstreamer0.10-base') optdepends=('libreoffice-langpack: additional language support' 'java-runtime: adds java support' 'pstoedit: translates PostScript and PDF graphics into other vector formats' @@ -520,7 +525,6 @@ package_libreoffice-impress() { pkgdesc="Presentation Application for LibreOffice." install=libreoffice-impress.install depends=('libreoffice-common' 'libetonyek') - optdepends=('glu: for the OGLTrans extension') groups=('libreoffice') replaces=('libreoffice') diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD index 03e6389e5..5937f6fe5 100644 --- a/extra/mpd/PKGBUILD +++ b/extra/mpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 206590 2014-03-02 16:53:57Z bisson $ +# $Id: PKGBUILD 210174 2014-04-10 16:28:59Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -6,7 +6,7 @@ # Contributor: Ben <ben@benmazer.net> pkgname=mpd -pkgver=0.18.9 +pkgver=0.18.10 pkgrel=1 pkgdesc='Flexible, powerful, server-side application for playing music' url='http://www.musicpd.org/' @@ -18,7 +18,7 @@ makedepends=('doxygen') source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig} 'tmpfiles.d' 'conf') -sha1sums=('70e96857d68c0191bbf721aa08a8b5f4ec8120c7' 'SKIP' +sha1sums=('0923318cfda033bb4f89c219e6effa9d5b330c1d' 'SKIP' 'f4d5922abb69abb739542d8e93f4dfd748acdad7' '67c145c046cddd885630d72ce8ebe71f8321ff3b') diff --git a/community/nginx/PKGBUILD b/extra/nginx/PKGBUILD index f38ec463e..5f73a0c88 100644 --- a/community/nginx/PKGBUILD +++ b/extra/nginx/PKGBUILD @@ -1,12 +1,13 @@ -# $Id: PKGBUILD 107711 2014-03-18 17:19:21Z bpiotrowski $ +# $Id: PKGBUILD 210208 2014-04-11 19:22:18Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Maintainer: Sébastien Luttringer # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Miroslaw Szot <mss@czlug.icis.pcz.pl> +# Contributor: Daniel Micay <danielmicay@gmail.com> pkgname=nginx pkgver=1.4.7 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight HTTP server and IMAP/POP3 proxy server' arch=('i686' 'x86_64') url='http://nginx.org' @@ -27,7 +28,7 @@ source=($url/download/nginx-$pkgver.tar.gz service logrotate) md5sums=('aee151d298dcbfeb88b3f7dd3e7a4d17' - 'ce9a06bcaf66ec4a3c4eb59b636e0dfd' + '5c0cd4fd992596938b2d4fd98b2bac41' '3441ce77cdd1aab6f0ab7e212698a8a7') build() { diff --git a/community/nginx/logrotate b/extra/nginx/logrotate index e0fa9ec4c..e0fa9ec4c 100644 --- a/community/nginx/logrotate +++ b/extra/nginx/logrotate diff --git a/community/nginx/nginx.install b/extra/nginx/nginx.install index 7c4adf14b..7c4adf14b 100644 --- a/community/nginx/nginx.install +++ b/extra/nginx/nginx.install diff --git a/community/nginx/service b/extra/nginx/service index 29d3aa877..a50eb4000 100644 --- a/community/nginx/service +++ b/extra/nginx/service @@ -9,6 +9,7 @@ ExecStartPre=/usr/bin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_proc ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' ExecReload=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload ExecStop=/usr/bin/nginx -g 'pid /run/nginx.pid;' -s quit +PrivateDevices=yes [Install] WantedBy=multi-user.target diff --git a/extra/nss/PKGBUILD b/extra/nss/PKGBUILD index c28b21493..239b798bf 100644 --- a/extra/nss/PKGBUILD +++ b/extra/nss/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 208903 2014-03-28 15:28:03Z pierre $ +# $Id: PKGBUILD 209931 2014-04-09 10:55:38Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=nss -pkgver=3.15.5 -pkgrel=2 +pkgver=3.16 +pkgrel=1 pkgdesc="Mozilla Network Security Services" arch=(i686 x86_64) url="http://www.mozilla.org/projects/security/pki/nss/" license=('MPL' 'GPL') -_nsprver=4.10.2 +_nsprver=4.10.4 depends=("nspr>=${_nsprver}" 'sqlite' 'zlib' 'sh') makedepends=('perl') options=('!strip' '!makeflags' 'staticlibs') @@ -16,7 +16,7 @@ source=(ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${pkgver//./_}_RTM/s nss.pc.in nss-config.in ssl-renegotiate-transitional.patch) -sha1sums=('c8d34a33cf5782d35df1aa78cdb38707d7bfc5fe' +sha1sums=('981dc6ef2f1e69ec7e2b277ce27c7005e9837f95' 'aa5b2c0aa38d3c1066d511336cf28d1333e3aebd' 'cb744cc3e56b604e4754bc3c7d9f25bb9a0a136c' '8a964a744ba098711b80c0d279a2993524e8eb92') diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD index e759630ab..2f984e532 100644 --- a/extra/octave/PKGBUILD +++ b/extra/octave/PKGBUILD @@ -1,24 +1,24 @@ -# $Id: PKGBUILD 204926 2014-01-31 13:36:05Z ronald $ +# $Id: PKGBUILD 209929 2014-04-09 07:42:54Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor : shining <shiningxc.at.gmail.com> # Contributor : cyberdune <cyberdune@gmail.com> pkgname=octave -pkgver=3.8.0 -pkgrel=2 +pkgver=3.8.1 +pkgrel=1 pkgdesc="A high-level language, primarily intended for numerical computations." arch=('i686' 'x86_64') url="http://www.octave.org" license=('GPL') -depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'arpack' 'glu') +depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'arpack' 'glu') makedepends=('gcc-fortran' 'texlive-core' 'suitesparse' 'texinfo' 'gnuplot' 'qscintilla') optdepends=('texinfo: for help-support in octave' 'gnuplot: alternative plotting' - 'qscintilla: experimental gui') + 'qscintilla: experimental gui') source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig}) options=('!emptydirs') install=octave.install -sha1sums=('ebb03485b72d97fa01f105460f81016f94680f77' +sha1sums=('2951aeafe58d562672feb80dd8c3cfe0643a5087' 'SKIP') build() { diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index 5c4ba5d9d..1742d1ff6 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,17 +1,19 @@ -# $Id: PKGBUILD 197773 2013-10-29 21:29:45Z eric $ +# $Id: PKGBUILD 210083 2014-04-09 17:50:07Z anatolik $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> + pkgname=openmpi -pkgver=1.6.5 +pkgver=1.8 pkgrel=1 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64') url="http://www.open-mpi.org" license=('custom') -depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc') -makedepends=('inetutils') +depends=('libltdl' 'hwloc') +makedepends=('inetutils' 'valgrind' 'gcc-fortran') +optdepends=('gcc-fortran: fortran support') options=('staticlibs') -source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('93859d515b33dd9a0ee6081db285a2d1dffe21ce') +source=(http://www.open-mpi.org/software/ompi/v1.8/downloads/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('d32961b83c689e086cede6c964b312e1f3d174f0') build() { cd ${pkgname}-${pkgver} @@ -21,7 +23,7 @@ build() { ./configure --prefix=/usr \ --sysconfdir=/etc/${pkgname} \ - --enable-mpi-f90 \ + --enable-mpi-fortran=all \ --libdir=/usr/lib/${pkgname} \ --with-threads=posix \ --enable-smp-locks \ @@ -52,7 +54,6 @@ package() { mv "${pkgdir}"/usr/bin/otfinfo{,mpi} # Remove dangling symlink and useless file - rm "${pkgdir}"/usr/share/man/man1/orteCC.1 rm "${pkgdir}"/usr/share/vampirtrace/config.log install -d -m 755 "${pkgdir}"/etc/ld.so.conf.d diff --git a/extra/oxygen-gtk2/PKGBUILD b/extra/oxygen-gtk2/PKGBUILD index e82967d29..d458e6852 100644 --- a/extra/oxygen-gtk2/PKGBUILD +++ b/extra/oxygen-gtk2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 208162 2014-03-18 11:27:59Z andrea $ +# $Id: PKGBUILD 210148 2014-04-10 12:04:17Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: birdflesh <antkoul at gmail dot com> pkgname=oxygen-gtk2 -pkgver=1.4.4 -pkgrel=2 +pkgver=1.4.5 +pkgrel=1 pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK2" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/playground/artwork/oxygen-gtk/' @@ -13,16 +13,11 @@ depends=('gtk2') conflicts=('oxygen-gtk') replaces=('oxygen-gtk') makedepends=('cmake') -source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" - 'kdebug-331879.patch') -md5sums=('dd55d704f97e0c9e2fcc0d4d88d2eb1d' - '1900b38a9e5fbfe681aa3074fd95b64e') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +md5sums=('b368d074cb13a6020e6ed43016866d93') prepare() { mkdir build - - cd ${pkgname}-${pkgver} - patch -p1 -i "${srcdir}"/kdebug-331879.patch } build() { diff --git a/extra/oxygen-gtk2/kdebug-331879.patch b/extra/oxygen-gtk2/kdebug-331879.patch deleted file mode 100644 index f52a1f8ed..000000000 --- a/extra/oxygen-gtk2/kdebug-331879.patch +++ /dev/null @@ -1,35 +0,0 @@ -From: Hugo Pereira Da Costa <hugo.pereira@free.fr> -Date: Sun, 09 Mar 2014 12:00:33 +0000 -Subject: make sure parent is registered to innerShadowEngine before registering child -X-Git-Url: http://quickgit.kde.org/?p=oxygen-gtk.git&a=commitdiff&h=b39931fa3ad7a2756bcb1494d5c3559513406ce2 ---- -make sure parent is registered to innerShadowEngine before registering child -CCBUG: 331879 ---- - - ---- a/src/oxygenstylewrapper.cpp -+++ b/src/oxygenstylewrapper.cpp -@@ -1669,7 +1669,10 @@ - } - - // register to inner shadow engine -- if( shadow == GTK_SHADOW_IN && gtk_scrolled_window_get_shadow_type( GTK_SCROLLED_WINDOW( widget ) ) == GTK_SHADOW_IN ) -+ if( -+ shadow == GTK_SHADOW_IN && -+ gtk_scrolled_window_get_shadow_type( GTK_SCROLLED_WINDOW( widget ) ) == GTK_SHADOW_IN && -+ Style::instance().animations().innerShadowEngine().contains( widget ) ) - { Style::instance().animations().innerShadowEngine().registerChild( widget, gtk_bin_get_child( GTK_BIN( widget ) ) ); } - - } else if( -@@ -2074,7 +2077,8 @@ - if( gtk_scrolled_window_get_shadow_type( scrolledWindow ) != GTK_SHADOW_IN ) - { - gtk_scrolled_window_set_shadow_type( scrolledWindow, GTK_SHADOW_IN ); -- Style::instance().animations().innerShadowEngine().registerChild( child, gtk_bin_get_child( GTK_BIN( child ) ) ); -+ if( Style::instance().animations().innerShadowEngine().contains( child ) ) -+ { Style::instance().animations().innerShadowEngine().registerChild( child, gtk_bin_get_child( GTK_BIN( child ) ) ); } - } - - return; - diff --git a/extra/oxygen-gtk3/PKGBUILD b/extra/oxygen-gtk3/PKGBUILD index ca4662176..74f94f0fa 100644 --- a/extra/oxygen-gtk3/PKGBUILD +++ b/extra/oxygen-gtk3/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 207336 2014-03-08 08:57:31Z andrea $ +# $Id: PKGBUILD 210150 2014-04-10 12:04:43Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=oxygen-gtk3 -pkgver=1.3.4 +pkgver=1.3.5 pkgrel=1 pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK3" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('LGPL') depends=('gtk3') makedepends=('cmake') source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -md5sums=('0299012f736444230bfdef0aaeb27a2f') +md5sums=('fb0204ad8af22070b0eea2e7b5d6c686') prepare() { mkdir build diff --git a/extra/perl-dbd-mysql/PKGBUILD b/extra/perl-dbd-mysql/PKGBUILD index c39d6e340..881e08b98 100644 --- a/extra/perl-dbd-mysql/PKGBUILD +++ b/extra/perl-dbd-mysql/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 206053 2014-02-16 12:10:42Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# $Id: PKGBUILD 210123 2014-04-10 07:33:31Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: kevin <kevin@archlinux.org> # Contributor: Eric Johnson <eric@coding-zone.com> pkgname=perl-dbd-mysql _realname=DBD-mysql -pkgver=4.026 +pkgver=4.027 pkgrel=1 pkgdesc='Perl/CPAN DBD::mysql module for interacting with MySQL via DBD' arch=('i686' 'x86_64') @@ -15,12 +15,10 @@ depends=('libmariadbclient' 'perl-dbi') makedepends=('mariadb') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz) -md5sums=('b18dc2795ec8628a9b84b6e5f1b58775') +md5sums=('11fa6449715ba9d3fa5f4ee5ae688d6f') build() { cd $_realname-$pkgver - - # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor --testsocket=/tmp/socket.mysql make } diff --git a/extra/perl-ev/PKGBUILD b/extra/perl-ev/PKGBUILD index 1f6075bde..49d35242a 100644 --- a/extra/perl-ev/PKGBUILD +++ b/extra/perl-ev/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 186404 2013-05-26 09:25:10Z bluewind $ +# $Id: PKGBUILD 210156 2014-04-10 13:13:58Z fyan $ pkgname=perl-ev -pkgver=4.15 -pkgrel=2 +pkgver=4.16 +pkgrel=1 pkgdesc='perl interface to libev, a high performance full-featured event loop' arch=(i686 x86_64) license=(PerlArtistic GPL) @@ -10,7 +10,7 @@ options=(!emptydirs) depends=(perl-common-sense) url=https://metacpan.org/release/EV source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-$pkgver.tar.gz") -md5sums=('546d10fb5901f2af937e53b41a92b2bb') +md5sums=('8b2ee81053b0766db8af36b055e4dab5') build() { cd EV-$pkgver diff --git a/extra/perl-netaddr-ip/PKGBUILD b/extra/perl-netaddr-ip/PKGBUILD index b1a1798cc..676e5bcdf 100644 --- a/extra/perl-netaddr-ip/PKGBUILD +++ b/extra/perl-netaddr-ip/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 205925 2014-02-14 03:22:35Z eric $ +# $Id: PKGBUILD 210129 2014-04-10 08:52:32Z fyan $ # Maintainer: pkgname=perl-netaddr-ip -pkgver=4.072 +pkgver=4.073 pkgrel=1 pkgdesc="Perl module to manage IP addresses and subnets" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('PerlArtistic' 'GPL') depends=('perl') options=('!emptydirs') source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-${pkgver}.tar.gz) -md5sums=('7764bf54881cd014880c0b77161f16aa') +md5sums=('4dc78e95809450100c1037cc10942fdf') build() { cd NetAddr-IP-${pkgver} diff --git a/extra/pycups/PKGBUILD b/extra/pycups/PKGBUILD index 6af67b143..0f7020847 100644 --- a/extra/pycups/PKGBUILD +++ b/extra/pycups/PKGBUILD @@ -1,25 +1,30 @@ -# $Id: PKGBUILD 205906 2014-02-13 18:15:29Z eric $ +# $Id: PKGBUILD 210172 2014-04-10 16:01:34Z fyan $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: nesl247 <nesl247@gmail.com> -pkgname=pycups +pkgbase=pycups +pkgname=python2-pycups +_pypiname=pycups pkgver=1.9.66 -pkgrel=1 +pkgrel=2 pkgdesc="Python CUPS Bindings" arch=('i686' 'x86_64') url="http://cyberelk.net/tim/software/pycups/" license=('GPL') depends=('libcups' 'python2') -source=(http://cyberelk.net/tim/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.asc}) +provides=('pycups') +conflicts=('pycups') +replaces=('pycups') +source=(http://cyberelk.net/tim/data/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2{,.asc}) md5sums=('a6cc4d40ac908dd9182ed93739b4bb79' 'SKIP') build() { - cd ${pkgname}-${pkgver} + cd ${_pypiname}-${pkgver} python2 setup.py build } -package() { - cd ${pkgname}-${pkgver} +package_python2-pycups() { + cd ${_pypiname}-${pkgver} python2 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/extra/pysmbc/PKGBUILD b/extra/pysmbc/PKGBUILD index 22c72d62d..895a5c1d1 100644 --- a/extra/pysmbc/PKGBUILD +++ b/extra/pysmbc/PKGBUILD @@ -1,31 +1,29 @@ -# $Id: PKGBUILD 206929 2014-03-06 10:57:48Z andrea $ +# $Id: PKGBUILD 210169 2014-04-10 15:47:29Z fyan $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Shane Peelar <lookatyouhacker@gm@il(d0t)c0m> -pkgname=pysmbc -pkgver=1.0.13 +pkgbase=pysmbc +pkgname=python2-pysmbc +_pypiname=pysmbc +pkgver=1.0.14.1 pkgrel=2 pkgdesc="Python bindings for libsmbclient" arch=('i686' 'x86_64') url="http://pypi.python.org/pypi/pysmbc/" license=('GPL') depends=('python2' 'smbclient') -source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - 'pkg-config.patch') -md5sums=('019dbb3bc6ee217f7389a2330cda9fe0' - '4b1d5498780181cdc9a217894c1cf85c') - -prepare() { - cd ${pkgname}-${pkgver} - patch -p1 -i "${srcdir}"/pkg-config.patch -} +provides=('pysmbc') +conflicts=('pysmbc') +replaces=('pysmbc') +source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2") +md5sums=('9299b5576cf838d07a5048ed22a5c1d4') build(){ - cd ${pkgname}-${pkgver} + cd ${_pypiname}-${pkgver} python2 setup.py build } -package() { - cd ${pkgname}-${pkgver} +package_python2-pysmbc() { + cd ${_pypiname}-${pkgver} python2 setup.py install --root="$pkgdir" --optimize=1 } diff --git a/extra/pysmbc/pkg-config.patch b/extra/pysmbc/pkg-config.patch deleted file mode 100644 index 9586b8666..000000000 --- a/extra/pysmbc/pkg-config.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile ---- pysmbc-1.0.13/Makefile.pkg-config 2010-08-22 15:59:36.000000000 +0100 -+++ pysmbc-1.0.13/Makefile 2012-11-21 12:44:29.051173967 +0000 -@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d. - - smbc.so: force - python setup.py build -- mv build/lib*/$@ . -+ mv build/lib*/smbc*.so . - - doc: smbc.so - rm -rf html -@@ -14,7 +14,7 @@ doczip: doc - cd html && zip ../smbc-html.zip * - - clean: -- -rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~ -+ -rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~ - - dist: - python setup.py sdist $(SDIST_ARGS) -diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py ---- pysmbc-1.0.13/setup.py.pkg-config 2012-02-15 16:12:44.000000000 +0000 -+++ pysmbc-1.0.13/setup.py 2012-11-21 12:45:05.362285519 +0000 -@@ -1,6 +1,6 @@ - #!/usr/bin/env python - --## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011 Red Hat, Inc -+## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012 Red Hat, Inc - ## Copyright (C) 2010 Open Source Solution Technology Corporation - ## Authors: - ## Tim Waugh <twaugh@redhat.com> -@@ -51,6 +51,18 @@ hello - """ - - from distutils.core import setup, Extension -+import subprocess -+ -+def pkgconfig_I (pkg): -+ dirs = [] -+ c = subprocess.Popen (["pkg-config", "--cflags", pkg], -+ stdout=subprocess.PIPE) -+ (stdout, stderr) = c.communicate () -+ for p in stdout.decode (encoding='ascii').split (): -+ if p.startswith ("-I"): -+ dirs.append (p[2:]) -+ return dirs -+ - setup (name="pysmbc", - version="1.0.13", - description="Python bindings for libsmbclient", -@@ -74,4 +86,5 @@ setup (name="pysmbc", - "dir.c", - "file.c", - "smbcdirent.c"], -- libraries=["smbclient"])]) -+ libraries=["smbclient"], -+ include_dirs=pkgconfig_I("smbclient"))]) diff --git a/extra/python-egenix-mx-base/PKGBUILD b/extra/python-egenix-mx-base/PKGBUILD index 52fcc5aed..fce5151e6 100644 --- a/extra/python-egenix-mx-base/PKGBUILD +++ b/extra/python-egenix-mx-base/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 192252 2013-08-08 18:04:12Z eric $ +# $Id: PKGBUILD 210144 2014-04-10 09:20:23Z fyan $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgbase=python-egenix-mx-base pkgname=('python2-egenix-mx-base') -pkgver=3.2.6 +pkgver=3.2.7 pkgrel=1 pkgdesc="A collection of Python tools" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ makedepends=('python2') conflicts=('python-egenix-mx-base<=3.2.4-1') replaces=('python-egenix-mx-base<=3.2.4-1') source=(http://downloads.egenix.com/python/egenix-mx-base-${pkgver}.tar.gz{,.asc}) -sha1sums=('3e21c6eba53a841070a4e9430a85ecf8a28df20f' +sha1sums=('fd9e470f8d8b14f793d65991858e5cc95ae17fcf' 'SKIP') prepare() { diff --git a/extra/python-urwid/PKGBUILD b/extra/python-urwid/PKGBUILD index 05d85c5a2..1b69f8ec9 100644 --- a/extra/python-urwid/PKGBUILD +++ b/extra/python-urwid/PKGBUILD @@ -4,15 +4,15 @@ # Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com> pkgname=('python-urwid' 'python2-urwid') -pkgver=1.2.0 -pkgrel=2 +pkgver=1.2.1 +pkgrel=1 pkgdesc="Urwid is a curses-based user interface library." license=('LGPL') arch=('i686' 'x86_64') makedepends=('python2-setuptools' 'python-setuptools') url="http://excess.org/urwid/" source=(https://pypi.python.org/packages/source/u/urwid/urwid-$pkgver.tar.gz) -md5sums=('ea046a0f683bc2d46b08df70b29c7f66') +md5sums=('6a05ada11b87e7b026b01fc5150855b0') build() { cp -r urwid-$pkgver python2-urwid-$pkgver diff --git a/extra/re2c/PKGBUILD b/extra/re2c/PKGBUILD index 70720e6cf..6f6fd39bd 100644 --- a/extra/re2c/PKGBUILD +++ b/extra/re2c/PKGBUILD @@ -1,26 +1,31 @@ -# $Id: PKGBUILD 149483 2012-02-08 10:02:54Z pierre $ +# $Id: PKGBUILD 210170 2014-04-10 15:54:53Z anatolik $ # Maintainer: # Contributor: nut543 <kfs1@online.no> # Contributor: Dale Blount <dale@archlinux.org> pkgname=re2c -pkgver=0.13.5 -pkgrel=3 +pkgver=0.13.6 +pkgrel=1 arch=('i686' 'x86_64') depends=('gcc-libs') pkgdesc="A tool for generating C-based recognizers from regular expressions" url="http://re2c.sourceforge.net/" license=('GPL') source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") -md5sums=('4a97d8f77ed6d2c76c8bd840a43f5633') +md5sums=('8927c3f65d445c40f2e6213269dcef2d') build() { - cd "${srcdir}"/$pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr make } +check() { + cd $pkgname-$pkgver + make check +} + package() { - cd "${srcdir}"/$pkgname-$pkgver + cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install } diff --git a/extra/x265/PKGBUILD b/extra/x265/PKGBUILD index c0be24e7e..62dbbbb27 100644 --- a/extra/x265/PKGBUILD +++ b/extra/x265/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 208166 2014-03-18 13:36:20Z bpiotrowski $ +# $Id: PKGBUILD 210087 2014-04-09 19:14:05Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: kfgz <kfgz at interia pl> pkgname=x265 -pkgver=0.8 -pkgrel=2 +pkgver=0.9 +pkgrel=1 pkgdesc='Open Source H265/HEVC video encoder' arch=('i686' 'x86_64') license=('GPL') @@ -12,7 +12,7 @@ depends=('gcc-libs') makedepends=('yasm' 'cmake') url='https://bitbucket.org/multicoreware/x265' source=($url/get/$pkgver.tar.bz2) -md5sums=('0c690dfad024e87f6b617e6fc2f354eb') +md5sums=('0cc0b0189cf9ed7422aad98633c6de8f') build() { cd multicoreware-x265-*/build/linux diff --git a/extra/x2goclient/PKGBUILD b/extra/x2goclient/PKGBUILD index 74b542881..8db9e19d8 100644 --- a/extra/x2goclient/PKGBUILD +++ b/extra/x2goclient/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 204550 2014-01-22 12:35:18Z andyrtr $ +# $Id: PKGBUILD 210182 2014-04-10 18:18:43Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: Gerhard Brauer <gerbra@archlinux.de> # Contributor: Richard Murri <admin@richardmurri.com> pkgname=x2goclient -pkgver=4.0.1.3 +pkgver=4.0.2.0 pkgrel=1 pkgdesc="x2go qt4 client" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-the makedepends=('man2html') install=x2goclient.install source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}) -sha1sums=('37b946b5b6d0a072a6d1fee98ae43bef929f2abd' +sha1sums=('bbe8efb2df88bfa18b056c52ee0b1cca7a52b71b' 'SKIP') build() { diff --git a/extra/xfburn/PKGBUILD b/extra/xfburn/PKGBUILD index b7ae00193..e30abce31 100755 --- a/extra/xfburn/PKGBUILD +++ b/extra/xfburn/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 206175 2014-02-20 21:33:41Z eric $ +# $Id: PKGBUILD 210119 2014-04-10 04:11:29Z fyan $ # Maintainer: Tobias Kieslich <tobias funnychar archlinux.org> # Contributor: Alois Nespor alois.nespor@gmail.com pkgname=xfburn -pkgver=0.5.0 +pkgver=0.5.2 pkgrel=1 pkgdesc="A simple CD/DVD burning tool based on libburnia libraries" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ makedepends=('intltool') groups=('xfce4-goodies') install=xfburn.install source=(http://archive.xfce.org/src/apps/xfburn/${pkgver%.*}/$pkgname-$pkgver.tar.bz2) -sha1sums=('def2ced9a74b5112e992149ce901f3a5a73f20d9') +sha1sums=('d0a39b331353ccbc73b027a09c87bcbc45d9a312') build() { cd $pkgname-$pkgver diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD deleted file mode 100644 index f3795d1b6..000000000 --- a/kernels/linux-libre-lts-knock/PKGBUILD +++ /dev/null @@ -1,425 +0,0 @@ -# $Id: PKGBUILD 207131 2014-03-07 13:50:49Z bpiotrowski $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> -# Maintainer: Thomas Baechler <thomas@archlinux.org> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Contributor (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar> -# Contributor (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org> -# Contributor (Parabola): Michał Masłowski <mtjm@mtjm.eu> -# Contributor (Parabola): Márcio Silva <coadde@lavabit.com> - -pkgbase=linux-libre-lts-knock # Build stock -LIBRE-LTS-KNOCK kernel -#pkgbase=linux-libre-custom # Build kernel with a different name -_basekernel=3.10 -_sublevel=33 -_knockpatchver=${_basekernel} -pkgver=${_basekernel}.${_sublevel} -pkgrel=1 -_lxopkgver=${_basekernel}.33 # nearly always the same as pkgver -arch=('i686' 'x86_64' 'mips64el') -url="http://linux-libre.fsfla.org/" -license=('GPL2') -makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') -options=('!strip') -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz" - "http://gnunet.org/sites/default/files/tcp_stealth_${_knockpatchver}.diff" - # the main kernel config files - 'config.i686' 'config.x86_64' - # standard config files for mkinitcpio ramdisk - "${pkgbase}.preset" - 'Kbuild' - 'Kbuild.platforms' - 'boot-logo.patch' - 'change-default-console-loglevel.patch' - 'criu-no-expert.patch' - "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.xz") -md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c' - 'dea9cb694f12a794604edcfac1d76add' - '26380d6f05471ef8e065a77d87588009' - 'f22e0a6a7634902f5a00eb25ad677c65' - '6550ba0e23b7729cd9db2475bde8fac2' - '02023949955a138c44bb0c46227a6d18' - '2967cecc3af9f954ccc822fd63dca6ff' - '8267264d9a8966e57fdacd1fa1fc65c4' - '04b21c79df0a952c22d681dd4f4562df' - 'f3def2cefdcbb954c21d8505d23cc83c' - 'd50c1ac47394e9aec637002ef3392bd1' - '441a56631bb3c96836061030e58ee1f2') -if [ "$CARCH" != "mips64el" ]; then - # don't use the Loongson-specific patches on non-mips64el arches. - unset source[${#source[@]}-1] - unset md5sums[${#md5sums[@]}-1] -fi - -_kernelname=${pkgbase#linux-libre} -_localversionname=-LIBRE-LTS-KNOCK - -prepare() { - cd "${srcdir}/linux-${_basekernel}" - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" - fi - - # add knock patch - patch -p1 -i "${srcdir}/tcp_stealth_${_knockpatchver}.diff" - - # add freedo as boot logo - patch -Np1 -i "${srcdir}/boot-logo.patch" - - # add latest fixes from stable queue, if needed - # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git - - # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) - # remove this when a Kconfig knob is made available by upstream - # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) - patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch" - - # allow criu without expert option set - # patch from fedora - patch -Np1 -i "${srcdir}/criu-no-expert.patch" - - if [ "$CARCH" == "mips64el" ]; then - sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre-lts-knock|" Makefile - sed -r "s|^( SUBLEVEL = ).*|\1$_sublevel|" \ - < "${srcdir}/lxo-config.patch" > lxo-config.patch - msg2 "Adding loongson-community patches" - patch -Np1 -i ${srcdir}/${_basekernel}*-*-loongson-community.patch - patch -Np0 -i lxo-config.patch - - # ensure N32, add localversion, remove uevent helper as per - # https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README - # and make USB storage support builtin (e.g. for booting from USB - # disks without slowly loading an initramfs) - sed -ri \ - -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \ - -e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \ - -e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" \ - -e "s;(CONFIG_USB(_COMMON|_EHCI_HCD|_OHCI_HCD|_STORAGE.*|_UAS)?)=.*;\1=y;g" \ - ./.config - else - cat "${srcdir}/config.${CARCH}" > ./.config # simpler - fi - - if [ "${_kernelname}" != "" ]; then - sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" ./.config - sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config - fi - - # set extraversion to pkgrel - sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh -} - -build() { - cd "${srcdir}/linux-${_basekernel}" - - # get kernel version - make prepare - - # load configuration - # Configure the kernel. Replace the line below with one of your choice. - #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration - #make xconfig # X-based configuration - #make oldconfig # using old config from previous kernel version - # ... or manually edit .config - - # rewrite configuration - yes "" | make config >/dev/null - - # save configuration for later reuse - if [ "${CARCH}" = "x86_64" ]; then - cat .config > "${startdir}/config.x86_64.last" - else - cat .config > "${startdir}/config.i686.last" - fi - - #################### - # stop here - # this is useful to configure the kernel - #msg "Stopping build"; return 1 - #################### - - # build! - if [ "$CARCH" == "mips64el" ]; then - # The build system passes it directly to linker, disable to avoid - # having unknown -Wl,... options. - export LDFLAGS="" - # bzImage is arch-specific and not supported on mips; vmlinux is - # useful for oprofile. - make ${MAKEFLAGS} LOCALVERSION= vmlinux vmlinuz modules - else - make ${MAKEFLAGS} LOCALVERSION= bzImage modules - fi -} - -_package() { - pkgdesc="The ${pkgbase^} kernel and modules - stable longtime supported kernel package suitable for servers with support for stealth TCP sockets" - [ "${pkgbase}" = "linux-libre" ] && groups=('base') - depends=('coreutils' 'linux-libre-firmware' 'kmod') - optdepends=('crda: to set the correct wireless channels of your country') - provides=("kernel26${_kernelname}=${pkgver}" "linux${_kernelname}=${pkgver}") - conflicts=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - replaces=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - backup=("etc/mkinitcpio.d/${pkgbase}.preset") - install=${pkgbase}.install - if [ "$CARCH" = "mips64el" ]; then - optdepends+=('mkinitcpio: to make the initramfs (needs reinstall of this package)') - conflicts+=('mkinitcpio<0.7') - else - depends+=('mkinitcpio>=0.7') - fi - - cd "${srcdir}/linux-${_basekernel}" - - KARCH=x86 - [ $CARCH = "mips64el" ] && KARCH=mips - - # get kernel version - _kernver="$(make LOCALVERSION= kernelrelease)" - _basekernel=${_kernver%%-*} - _basekernel=${_basekernel%.*} - - mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} - make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install - - if [ "$CARCH" == "mips64el" ]; then - cp vmlinuz "${pkgdir}/boot/vmlinuz-${pkgbase}" - cp vmlinux "${pkgdir}/boot/vmlinux-${pkgbase}" - else - cp arch/${KARCH}/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" - fi - - # add vmlinux - install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux" - - # set correct depmod command for install - cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" - true && install=${install}.pkg - sed \ - -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ - -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ - -i "${startdir}/${install}" - - # install mkinitcpio preset file for kernel - install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - sed \ - -e "1s|'linux*.*'|'${pkgbase}'|" \ - -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ - -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \ - -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - - # mkinitcpio 0.7 relies on bzImage to find the kernel version - if [ "$CARCH" == "mips64el" ]; then - sed -e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - fi - - # remove build and source links - rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} - # remove the firmware - rm -rf "${pkgdir}/lib/firmware" - # gzip -9 all modules to save 100MB of space - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; - # make room for external modules - ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-KNOCK}" "${pkgdir}/lib/modules/${_kernver}/extramodules" - # add real version for building modules and running depmod from post_install/upgrade - mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-KNOCK}" - echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-KNOCK}/version" - - # Now we call depmod... - depmod -b "$pkgdir" -F System.map "$_kernver" - - # move module tree /lib -> /usr/lib - mv "$pkgdir/lib" "$pkgdir/usr" -} - -_package-headers() { - pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-headers=${pkgver}" "linux${_kernelname}-headers=${pkgver}") - conflicts=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - replaces=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - - KARCH=x86 - [ $CARCH = "mips64el" ] && KARCH=mips - - # in case of repackaging this is empty - if [ -z "${_kernver}" ]; then - cd "${srcdir}/linux-${_basekernel}" - _kernver="$(make LOCALVERSION= kernelrelease)" - fi - - install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" - - cd "${pkgdir}/usr/lib/modules/${_kernver}" - ln -sf ../../../src/linux-${_kernver} build - - cd "${srcdir}/linux-${_basekernel}" - install -D -m644 Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/Makefile" - install -D -m644 kernel/Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile" - install -D -m644 .config \ - "${pkgdir}/usr/src/linux-${_kernver}/.config" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include" - - for i in acpi asm-generic config crypto drm generated keys linux math-emu \ - media net pcmcia scsi sound trace uapi video xen; do - cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/" - done - - # copy arch includes for external modules - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}" - cp -a arch/${KARCH}/include "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - - # copy files necessary for later builds - cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}" - cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}" - - if [ "$CARCH" = "mips64el" ]; then - cp arch/${KARCH}/Kbuild "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - cp -a arch/${KARCH}/loongson "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - cp ${srcdir}/Kbuild.platforms "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - fi - - # fix permissions on scripts dir - chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel" - - cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - - if [ "${CARCH}" = "i686" ]; then - cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - fi - - cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/" - - # add headers for lirc package - # pci - for i in bt8xx cx88 saa7134; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}" - cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}" - done - # usb - for i in cpia2 em28xx pwc sn9c102; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}" - cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}" - done - # i2c - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c" - cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/" - for i in cx25840; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}" - cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}" - done - - # add docbook makefile - install -D -m644 Documentation/DocBook/Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" - - # add dm headers - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md" - cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md" - - # add inotify.h - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux" - cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/" - - # add wireless headers - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/" - cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/" - - # add dvb headers for external modules - # in reference to: - # http://bugs.archlinux.org/task/9912 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core" - cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/" - # and... - # http://bugs.archlinux.org/task/11194 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/" - cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/" - - # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new - # in reference to: - # http://bugs.archlinux.org/task/13146 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/" - - # add dvb headers - # in reference to: - # http://bugs.archlinux.org/task/20402 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb" - cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends" - cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners" - cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/" - - # add xfs and shmem for aufs building - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm" - cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h" - - # copy in Kconfig files - for i in `find . -name "Kconfig*"`; do - mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'` - cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}" - done - - chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}" - find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \; - - # strip scripts directory - find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do - case "$(file -bi "${binary}")" in - *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip ${STRIP_SHARED} "${binary}";; - *application/x-archive*) # Libraries (.a) - /usr/bin/strip ${STRIP_STATIC} "${binary}";; - *application/x-executable*) # Binaries - /usr/bin/strip ${STRIP_BINARIES} "${binary}";; - esac - done - - # remove unneeded architectures - rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa} - if [ "$CARCH" = "mips64el" ]; then - rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/x86 - else - rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/mips - fi -} - -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") - conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - - cd "${srcdir}/linux-${_basekernel}" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}" - cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" -} - -pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") -for _p in ${pkgname[@]}; do - eval "package_${_p}() { - _package${_p#${pkgbase}} - }" -done - -# vim:set ts=8 sts=2 sw=2 et: diff --git a/kernels/linux-libre-pae/PKGBUILD b/kernels/linux-libre-pae/PKGBUILD deleted file mode 100644 index e1625893a..000000000 --- a/kernels/linux-libre-pae/PKGBUILD +++ /dev/null @@ -1,366 +0,0 @@ -# $Id: PKGBUILD 207134 2014-03-07 14:06:45Z thomas $ -# Contributor: Tobias Powalowski <tpowa@archlinux.org> -# Contributor: Thomas Baechler <thomas@archlinux.org> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -pkgbase=linux-libre-pae # Build stock -LIBRE-PAE kernel -#pkgbase=linux-libre-custom # Build kernel with a different name -_basekernel=3.13 -pkgver=${_basekernel}.6 -pkgrel=1 -arch=('i686') -url="http://linux-libre.fsfla.org/" -license=('GPL2') -makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') -options=('!strip') -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz" - # the main kernel config files - 'config' - # standard config files for mkinitcpio ramdisk - "${pkgbase}.preset" - 'boot-logo.patch' - 'change-default-console-loglevel.patch' - 'criu-no-expert.patch' - '0001-sunrpc-create-a-new-dummy-pipe-for-gssd-to-hold-open.patch' - '0002-sunrpc-replace-sunrpc_net-gssd_running-flag-with-a-m.patch' - '0003-nfs-check-if-gssd-is-running-before-attempting-to-us.patch' - '0004-rpc_pipe-remove-the-clntXX-dir-if-creating-the-pipe-.patch' - '0005-sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch' - '0006-rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-no.patch' - '0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch' - '0001-Bluetooth-allocate-static-minor-for-vhci.patch' - 'i8042-fix-aliases.patch') -md5sums=('98a8e803e0ed08557f3cdd4d56b0ddc1' - 'bd937981937fd3c7a553fc770236e640' - '904835a7af0bc5e88007a94cad7c1d9c' - 'f302c931bd85309da9d9792b4cc96467' - '44260d2cb1a8b51c119d2ce1f83e457a' - '98beb36f9b8cf16e58de2483ea9985e3' - '989dc54ff8b179b0f80333cc97c0d43f' - 'dd2adb99cd3feed6f11022562901965c' - 'b00cc399d3797cb0793e18b5bf387a50' - '7cbd2349cdf046acc37b652c06ba36be' - '10dbaf863e22b2437e68f9190d65c861' - 'd5907a721b97299f0685c583499f7820' - 'a724515b350b29c53f20e631c6cf9a14' - 'e6fa278c092ad83780e2dd0568e24ca6' - '06f1751777e0772c18c3fa4fbae91aa5' - '93dbf73af819b77f03453a9c6de2bb47') - -_kernelname=${pkgbase#linux-libre} -_localversionname=-LIBRE-PAE - -prepare() { - cd "${srcdir}/linux-${_basekernel}" - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -p1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" - fi - - # add freedo as boot logo - patch -p1 -i "${srcdir}/boot-logo.patch" - - # add latest fixes from stable queue, if needed - # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git - - # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) - # remove this when a Kconfig knob is made available by upstream - # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) - patch -p1 -i "${srcdir}/change-default-console-loglevel.patch" - - # allow Checkpoint/restore (for criu) without EXPERT=y - patch -p1 -i "${srcdir}/criu-no-expert.patch" - - # fix 15 seconds nfs delay - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=4b9a445e3eeb8bd9278b1ae51c1b3a651e370cd6 - patch -p1 -i "${srcdir}/0001-sunrpc-create-a-new-dummy-pipe-for-gssd-to-hold-open.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=89f842435c630f8426f414e6030bc2ffea0d6f81 - patch -p1 -i "${srcdir}/0002-sunrpc-replace-sunrpc_net-gssd_running-flag-with-a-m.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=6aa23d76a7b549521a03b63b6d5b7880ea87eab7 - patch -p1 -i "${srcdir}/0003-nfs-check-if-gssd-is-running-before-attempting-to-us.patch" - - # fix nfs kernel oops - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=3396f92f8be606ea485b0a82d4e7749a448b013b - patch -p1 -i "${srcdir}/0004-rpc_pipe-remove-the-clntXX-dir-if-creating-the-pipe-.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=e2f0c83a9de331d9352185ca3642616c13127539 - patch -p1 -i "${srcdir}/0005-sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=23e66ba97127ff3b064d4c6c5138aa34eafc492f - patch -p1 -i "${srcdir}/0006-rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-no.patch" - - # Fix symbols: Revert http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=83460ec8dcac14142e7860a01fa59c267ac4657c - patch -Rp1 -i "${srcdir}/0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch" - - # Fix i8042 aliases - patch -p1 -i "${srcdir}/i8042-fix-aliases.patch" - - # Fix vhci warning in kmod (to restore every kernel maintainer's sanity) - patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch" - - cat "${srcdir}/config" > ./.config # simpler - - if [ "${_kernelname}" != "" ]; then - sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" ./.config - sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config - fi - - # set extraversion to pkgrel - sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh - - # get kernel version - make prepare - - # load configuration - # Configure the kernel. Replace the line below with one of your choice. - #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration - #make xconfig # X-based configuration - #make oldconfig # using old config from previous kernel version - # ... or manually edit .config - - # rewrite configuration - yes "" | make config >/dev/null -} - -build() { - cd "${srcdir}/linux-${_basekernel}" - - make ${MAKEFLAGS} LOCALVERSION= bzImage modules -} - -_package() { - pkgdesc="The ${pkgbase^} kernel and modules with PAE support (HIGHMEM64G)" - [ "${pkgbase}" = "linux-libre" ] && groups=('base') - depends=('coreutils' 'linux-libre-firmware' 'kmod' 'mkinitcpio>=0.7') - optdepends=('crda: to set the correct wireless channels of your country') - provides=("kernel26${_kernelname}=${pkgver}" "linux${_kernelname}=${pkgver}") - conflicts=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - replaces=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - backup=("etc/mkinitcpio.d/${pkgbase}.preset") - install=${pkgbase}.install - - cd "${srcdir}/linux-${_basekernel}" - - KARCH=x86 - - # get kernel version - _kernver="$(make LOCALVERSION= kernelrelease)" - _basekernel=${_kernver%%-*} - _basekernel=${_basekernel%.*} - - mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} - make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install - cp arch/${KARCH}/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" - - - # set correct depmod command for install - cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" - true && install=${install}.pkg - sed \ - -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ - -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ - -i "${startdir}/${install}" - - # install mkinitcpio preset file for kernel - install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - sed \ - -e "1s|'linux*.*'|'${pkgbase}'|" \ - -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ - -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \ - -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - - # remove build and source links - rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} - # remove the firmware - rm -rf "${pkgdir}/lib/firmware" - # gzip -9 all modules to save 100MB of space - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; - # make room for external modules - ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-PAE}" "${pkgdir}/lib/modules/${_kernver}/extramodules" - # add real version for building modules and running depmod from post_install/upgrade - mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-PAE}" - echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-PAE}/version" - - # Now we call depmod... - depmod -b "${pkgdir}" -F System.map "${_kernver}" - - # move module tree /lib -> /usr/lib - mkdir -p "${pkgdir}/usr" - mv "${pkgdir}/lib" "${pkgdir}/usr/" - - # add vmlinux - install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux" -} - -_package-headers() { - pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-headers=${pkgver}" "linux${_kernelname}-headers=${pkgver}") - conflicts=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - replaces=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - - install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" - - cd "${srcdir}/linux-${_basekernel}" - install -D -m644 Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/Makefile" - install -D -m644 kernel/Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/kernel/Makefile" - install -D -m644 .config \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/.config" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include" - - for i in acpi asm-generic config crypto drm generated keys linux math-emu \ - media net pcmcia scsi sound trace uapi video xen; do - cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/" - done - - # copy arch includes for external modules - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}" - cp -a arch/${KARCH}/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - - # copy files necessary for later builds - cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build" - cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build" - - if [ "$CARCH" = "mips64el" ]; then - cp arch/${KARCH}/Kbuild "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - cp -a arch/${KARCH}/loongson "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - cp ${srcdir}/Kbuild.platforms "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - fi - - # fix permissions on scripts dir - chmod og-w -R "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/.tmp_versions" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel" - - cp arch/${KARCH}/Makefile "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - - if [ "${CARCH}" = "i686" ]; then - cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - fi - - cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/" - - # add headers for lirc package - # pci - for i in bt8xx cx88 saa7134; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/pci/${i}" - cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/pci/${i}" - done - # usb - for i in cpia2 em28xx pwc sn9c102; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/${i}" - cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/${i}" - done - # i2c - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c" - cp drivers/media/i2c/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/" - for i in cx25840; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/${i}" - cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/${i}" - done - - # add docbook makefile - install -D -m644 Documentation/DocBook/Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" - - # add dm headers - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" - cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" - - # add inotify.h - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux" - cp include/linux/inotify.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux/" - - # add wireless headers - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" - cp net/mac80211/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" - - # add dvb headers for external modules - # in reference to: - # http://bugs.archlinux.org/task/9912 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core" - cp drivers/media/dvb-core/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core/" - # and... - # http://bugs.archlinux.org/task/11194 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/" - cp include/config/dvb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/" - - # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new - # in reference to: - # http://bugs.archlinux.org/task/13146 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/" - - # add dvb headers - # in reference to: - # http://bugs.archlinux.org/task/20402 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb" - cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb/" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends" - cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners" - cp drivers/media/tuners/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/" - - # add xfs and shmem for aufs building - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/mm" - cp fs/xfs/xfs_sb.h "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs/xfs_sb.h" - - # copy in Kconfig files - for i in $(find . -name "Kconfig*"); do - mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` - cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" - done - - chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" - find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; - - # strip scripts directory - find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do - case "$(file -bi "${binary}")" in - *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip ${STRIP_SHARED} "${binary}";; - *application/x-archive*) # Libraries (.a) - /usr/bin/strip ${STRIP_STATIC} "${binary}";; - *application/x-executable*) # Binaries - /usr/bin/strip ${STRIP_BINARIES} "${binary}";; - esac - done - - # remove unneeded architectures - rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa} -} - -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") - conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - - cd "${srcdir}/linux-${_basekernel}" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build" - cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" -} - -pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") -for _p in ${pkgname[@]}; do - eval "package_${_p}() { - _package${_p#${pkgbase}} - }" -done - -# vim:set ts=8 sts=2 sw=2 et: diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD deleted file mode 100644 index 719c9aa05..000000000 --- a/kernels/linux-libre-xen/PKGBUILD +++ /dev/null @@ -1,366 +0,0 @@ -# $Id: PKGBUILD 207134 2014-03-07 14:06:45Z thomas $ -# Contributor: Tobias Powalowski <tpowa@archlinux.org> -# Contributor: Thomas Baechler <thomas@archlinux.org> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -pkgbase=linux-libre-xen # Build stock -LIBRE-XEN kernel -#pkgbase=linux-libre-custom # Build kernel with a different name -_basekernel=3.13 -pkgver=${_basekernel}.6 -pkgrel=1 -arch=('i686') -url="http://linux-libre.fsfla.org/" -license=('GPL2') -makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') -options=('!strip') -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz" - # the main kernel config files - 'config' - # standard config files for mkinitcpio ramdisk - "${pkgbase}.preset" - 'boot-logo.patch' - 'change-default-console-loglevel.patch' - 'criu-no-expert.patch' - '0001-sunrpc-create-a-new-dummy-pipe-for-gssd-to-hold-open.patch' - '0002-sunrpc-replace-sunrpc_net-gssd_running-flag-with-a-m.patch' - '0003-nfs-check-if-gssd-is-running-before-attempting-to-us.patch' - '0004-rpc_pipe-remove-the-clntXX-dir-if-creating-the-pipe-.patch' - '0005-sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch' - '0006-rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-no.patch' - '0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch' - '0001-Bluetooth-allocate-static-minor-for-vhci.patch' - 'i8042-fix-aliases.patch') -md5sums=('98a8e803e0ed08557f3cdd4d56b0ddc1' - 'bd937981937fd3c7a553fc770236e640' - 'be059d4c29dfd9ac55183133938e9242' - 'b7c2805bb287a644c0a303bf7721e534' - '44260d2cb1a8b51c119d2ce1f83e457a' - '98beb36f9b8cf16e58de2483ea9985e3' - '989dc54ff8b179b0f80333cc97c0d43f' - 'dd2adb99cd3feed6f11022562901965c' - 'b00cc399d3797cb0793e18b5bf387a50' - '7cbd2349cdf046acc37b652c06ba36be' - '10dbaf863e22b2437e68f9190d65c861' - 'd5907a721b97299f0685c583499f7820' - 'a724515b350b29c53f20e631c6cf9a14' - 'e6fa278c092ad83780e2dd0568e24ca6' - '06f1751777e0772c18c3fa4fbae91aa5' - '93dbf73af819b77f03453a9c6de2bb47') - -_kernelname=${pkgbase#linux-libre} -_localversionname=-LIBRE-XEN - -prepare() { - cd "${srcdir}/linux-${_basekernel}" - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -p1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" - fi - - # add freedo as boot logo - patch -p1 -i "${srcdir}/boot-logo.patch" - - # add latest fixes from stable queue, if needed - # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git - - # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) - # remove this when a Kconfig knob is made available by upstream - # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) - patch -p1 -i "${srcdir}/change-default-console-loglevel.patch" - - # allow Checkpoint/restore (for criu) without EXPERT=y - patch -p1 -i "${srcdir}/criu-no-expert.patch" - - # fix 15 seconds nfs delay - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=4b9a445e3eeb8bd9278b1ae51c1b3a651e370cd6 - patch -p1 -i "${srcdir}/0001-sunrpc-create-a-new-dummy-pipe-for-gssd-to-hold-open.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=89f842435c630f8426f414e6030bc2ffea0d6f81 - patch -p1 -i "${srcdir}/0002-sunrpc-replace-sunrpc_net-gssd_running-flag-with-a-m.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=6aa23d76a7b549521a03b63b6d5b7880ea87eab7 - patch -p1 -i "${srcdir}/0003-nfs-check-if-gssd-is-running-before-attempting-to-us.patch" - - # fix nfs kernel oops - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=3396f92f8be606ea485b0a82d4e7749a448b013b - patch -p1 -i "${srcdir}/0004-rpc_pipe-remove-the-clntXX-dir-if-creating-the-pipe-.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=e2f0c83a9de331d9352185ca3642616c13127539 - patch -p1 -i "${srcdir}/0005-sunrpc-add-an-info-file-for-the-dummy-gssd-pipe.patch" - # http://git.linux-nfs.org/?p=trondmy/linux-nfs.git;a=commitdiff;h=23e66ba97127ff3b064d4c6c5138aa34eafc492f - patch -p1 -i "${srcdir}/0006-rpc_pipe-fix-cleanup-of-dummy-gssd-directory-when-no.patch" - - # Fix symbols: Revert http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=83460ec8dcac14142e7860a01fa59c267ac4657c - patch -Rp1 -i "${srcdir}/0001-syscalls.h-use-gcc-alias-instead-of-assembler-aliase.patch" - - # Fix i8042 aliases - patch -p1 -i "${srcdir}/i8042-fix-aliases.patch" - - # Fix vhci warning in kmod (to restore every kernel maintainer's sanity) - patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch" - - cat "${srcdir}/config" > ./.config # simpler - - if [ "${_kernelname}" != "" ]; then - sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" ./.config - sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config - fi - - # set extraversion to pkgrel - sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh - - # get kernel version - make prepare - - # load configuration - # Configure the kernel. Replace the line below with one of your choice. - #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration - #make xconfig # X-based configuration - #make oldconfig # using old config from previous kernel version - # ... or manually edit .config - - # rewrite configuration - yes "" | make config >/dev/null -} - -build() { - cd "${srcdir}/linux-${_basekernel}" - - make ${MAKEFLAGS} LOCALVERSION= bzImage modules -} - -_package() { - pkgdesc="The ${pkgbase^} kernel and modules with Xen guest support" - [ "${pkgbase}" = "linux-libre" ] && groups=('base') - depends=('coreutils' 'linux-libre-firmware' 'kmod' 'mkinitcpio>=0.7') - optdepends=('crda: to set the correct wireless channels of your country') - provides=("kernel26${_kernelname}=${pkgver}" "linux${_kernelname}=${pkgver}") - conflicts=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - replaces=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - backup=("etc/mkinitcpio.d/${pkgbase}.preset") - install=${pkgbase}.install - - cd "${srcdir}/linux-${_basekernel}" - - KARCH=x86 - - # get kernel version - _kernver="$(make LOCALVERSION= kernelrelease)" - _basekernel=${_kernver%%-*} - _basekernel=${_basekernel%.*} - - mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} - make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install - cp arch/${KARCH}/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" - - - # set correct depmod command for install - cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" - true && install=${install}.pkg - sed \ - -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ - -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ - -i "${startdir}/${install}" - - # install mkinitcpio preset file for kernel - install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - sed \ - -e "1s|'linux*.*'|'${pkgbase}'|" \ - -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ - -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \ - -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - - # remove build and source links - rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} - # remove the firmware - rm -rf "${pkgdir}/lib/firmware" - # gzip -9 all modules to save 100MB of space - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; - # make room for external modules - ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}" "${pkgdir}/lib/modules/${_kernver}/extramodules" - # add real version for building modules and running depmod from post_install/upgrade - mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}" - echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}/version" - - # Now we call depmod... - depmod -b "${pkgdir}" -F System.map "${_kernver}" - - # move module tree /lib -> /usr/lib - mkdir -p "${pkgdir}/usr" - mv "${pkgdir}/lib" "${pkgdir}/usr/" - - # add vmlinux - install -D -m644 vmlinux "${pkgdir}/usr/lib/modules/${_kernver}/build/vmlinux" -} - -_package-headers() { - pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-headers=${pkgver}" "linux${_kernelname}-headers=${pkgver}") - conflicts=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - replaces=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - - install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" - - cd "${srcdir}/linux-${_basekernel}" - install -D -m644 Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/Makefile" - install -D -m644 kernel/Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/kernel/Makefile" - install -D -m644 .config \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/.config" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include" - - for i in acpi asm-generic config crypto drm generated keys linux math-emu \ - media net pcmcia scsi sound trace uapi video xen; do - cp -a include/${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/include/" - done - - # copy arch includes for external modules - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}" - cp -a arch/${KARCH}/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - - # copy files necessary for later builds - cp Module.symvers "${pkgdir}/usr/lib/modules/${_kernver}/build" - cp -a scripts "${pkgdir}/usr/lib/modules/${_kernver}/build" - - if [ "$CARCH" = "mips64el" ]; then - cp arch/${KARCH}/Kbuild "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - cp -a arch/${KARCH}/loongson "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - cp ${srcdir}/Kbuild.platforms "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - fi - - # fix permissions on scripts dir - chmod og-w -R "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/.tmp_versions" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel" - - cp arch/${KARCH}/Makefile "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - - if [ "${CARCH}" = "i686" ]; then - cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/" - fi - - cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/kernel/" - - # add headers for lirc package - # pci - for i in bt8xx cx88 saa7134; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/pci/${i}" - cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/pci/${i}" - done - # usb - for i in cpia2 em28xx pwc sn9c102; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/${i}" - cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/${i}" - done - # i2c - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c" - cp drivers/media/i2c/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/" - for i in cx25840; do - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/${i}" - cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/${i}" - done - - # add docbook makefile - install -D -m644 Documentation/DocBook/Makefile \ - "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" - - # add dm headers - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" - cp drivers/md/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/md" - - # add inotify.h - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux" - cp include/linux/inotify.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/linux/" - - # add wireless headers - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" - cp net/mac80211/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/net/mac80211/" - - # add dvb headers for external modules - # in reference to: - # http://bugs.archlinux.org/task/9912 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core" - cp drivers/media/dvb-core/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-core/" - # and... - # http://bugs.archlinux.org/task/11194 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/" - cp include/config/dvb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/include/config/dvb/" - - # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new - # in reference to: - # http://bugs.archlinux.org/task/13146 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/i2c/" - - # add dvb headers - # in reference to: - # http://bugs.archlinux.org/task/20402 - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb" - cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/usb/dvb-usb/" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends" - cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/dvb-frontends/" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners" - cp drivers/media/tuners/*.h "${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/" - - # add xfs and shmem for aufs building - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs" - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build/mm" - cp fs/xfs/xfs_sb.h "${pkgdir}/usr/lib/modules/${_kernver}/build/fs/xfs/xfs_sb.h" - - # copy in Kconfig files - for i in $(find . -name "Kconfig*"); do - mkdir -p "${pkgdir}"/usr/lib/modules/${_kernver}/build/`echo ${i} | sed 's|/Kconfig.*||'` - cp ${i} "${pkgdir}/usr/lib/modules/${_kernver}/build/${i}" - done - - chown -R root.root "${pkgdir}/usr/lib/modules/${_kernver}/build" - find "${pkgdir}/usr/lib/modules/${_kernver}/build" -type d -exec chmod 755 {} \; - - # strip scripts directory - find "${pkgdir}/usr/lib/modules/${_kernver}/build/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do - case "$(file -bi "${binary}")" in - *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip ${STRIP_SHARED} "${binary}";; - *application/x-archive*) # Libraries (.a) - /usr/bin/strip ${STRIP_STATIC} "${binary}";; - *application/x-executable*) # Binaries - /usr/bin/strip ${STRIP_BINARIES} "${binary}";; - esac - done - - # remove unneeded architectures - rm -rf "${pkgdir}"/usr/lib/modules/${_kernver}/build/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa} -} - -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") - conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - - cd "${srcdir}/linux-${_basekernel}" - - mkdir -p "${pkgdir}/usr/lib/modules/${_kernver}/build" - cp -al Documentation "${pkgdir}/usr/lib/modules/${_kernver}/build" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/DocBook/Makefile" -} - -pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") -for _p in ${pkgname[@]}; do - eval "package_${_p}() { - _package${_p#${pkgbase}} - }" -done - -# vim:set ts=8 sts=2 sw=2 et: diff --git a/libre-multilib/lib32-mesa-libcl/PKGBUILD b/libre-multilib/lib32-mesa-libcl/PKGBUILD deleted file mode 100644 index e91c1ac13..000000000 --- a/libre-multilib/lib32-mesa-libcl/PKGBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Maintainer: André Silva <emulatorman@parabola.nu> -# Contributor: Márcio Silva <coadde@parabola.nu> - -pkgbase=mesa -_pkgname=libcl -pkgname=lib32-$pkgbase-$_pkgname -_pkgflag=libre -pkgver=10.1.0 -pkgrel=1 -pkgdesc='Mesa 3-D OpenCL library (32-bit)' -url=http://${pkgbase}3d.sourceforge.net -license=(MIT Khronos LGPL) -arch=(x86_64) -depends=( - lib32-libclc - lib32-$pkgbase -) -optdepends='opencl-headers: headers necessary for OpenCL development' -makedepends=( - gcc-multilib - lib32-clang - dri2proto - dri3proto - glproto - imake - lib32-libxml2 - presentproto - python2 - lib32-libvdpau -) -provides=(lib32-$_pkgname-$_pkgflag lib32-$_pkgname lib32-opencl-nvidia lib32-opencl-nvidia-304xx) -conflicts=(lib32-$_pkgname-$_pkgflag lib32-$_pkgname lib32-opencl-nvidia lib32-opencl-nvidia-304xx) -replaces=(lib32-$_pkgname-$_pkgflag lib32-$_pkgname lib32-opencl-nvidia lib32-opencl-nvidia-304xx) -source=ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2 -sha512sums=a8c57e50c360f3d4ebc850de6b24b87175100cedcbb48ceace2b228f654d29ffa97ec24118ad8e0f281fee80750568fdb2f8b58866713424889c69387e3a6adb - -build() { - cd $srcdir/${pkgbase^}-$pkgver - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - export LLVM_CONFIG=/usr/bin/llvm-config32 - autoreconf -vfi - ./configure --enable-32-bit\ - --libdir=/usr/lib32\ - --prefix=/usr\ - --enable-opencl\ - --enable-gallium-llvm\ - --enable-r600-llvm-compiler\ - --enable-dri3\ - --with-clang-libdir=/usr/lib\ - --with-llvm-shared-libs\ - --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast - make V=0 -} - -package() { - cd $srcdir/${pkgbase^}-$pkgver - make -C src/gallium/targets/opencl DESTDIR=$pkgdir install - install -vdm755 $pkgdir/usr/share/licenses/$pkgname - install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname - install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE -} diff --git a/libre/acpi_call-libre-lts/PKGBUILD b/libre/acpi_call-libre-lts/PKGBUILD deleted file mode 100644 index 2c3816004..000000000 --- a/libre/acpi_call-libre-lts/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# $Id: PKGBUILD 106771 2014-03-07 14:36:15Z bpiotrowski $ -# Maintainer: Maxime Gauduin <alucryd@gmail.com> -# Contributor: mortzu <me@mortzu.de> -# Contributor: fnord0 <fnord0@riseup.net> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -_pkgname=acpi_call-lts -pkgname=acpi_call-libre-lts -pkgver=1.1.0 -pkgrel=4 -_extramodules=extramodules-3.10-LIBRE-LTS -pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call (built for the linux-libre-lts kernel package)' -arch=('i686' 'x86_64') -url="http://github.com/mkottman/${_pkgname%-*}" -license=('GPL') -depends=('linux-libre-lts>=3.10.26') -makedepends=('linux-libre-lts-headers>=3.10.26') -replaces="${_pkgname}" -conflicts="${_pkgname}" -provides=("${_pkgname%-*}" "${_pkgname}=${pkgver}") -install="${_pkgname%-*}.install" -source=("${url}/archive/v${pkgver}.tar.gz") -sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0') - -build() { - cd ${_pkgname%-*}-${pkgver} - - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" - - make KVERSION="${_kernver}" -} - -package() { - cd ${_pkgname%-*}-${pkgver} - - install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d} - install -m 644 ${_pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/ - gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/${_pkgname%-*}.ko - echo ${_pkgname%-*} > "${pkgdir}"/usr/lib/modules-load.d/${_pkgname}.conf - - install -dm 755 "${pkgdir}"/usr/share/${_pkgname} - cp -dr --no-preserve='ownership' {examples,support} "${pkgdir}"/usr/share/${_pkgname}/ -} - -# vim: ts=2 sw=2 et: diff --git a/libre/handbrake-svn/PKGBUILD b/libre/handbrake-svn/PKGBUILD deleted file mode 100644 index 19803de3c..000000000 --- a/libre/handbrake-svn/PKGBUILD +++ /dev/null @@ -1,168 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> -# Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com> -# Contributor (Arch): Giovanni Scafora <giovanni@archlinux.org> -# Contributor (Arch): Sebastien Piccand <sebcactus gmail com> - -pkgname=('handbrake-svn' 'handbrake-cli-svn') -_pkgver=0.9.9.1 -pkgver=6103 -url="http://handbrake.fr/" -license=('GPL') - -pkgrel=1 -arch=('i686' 'x86_64') -makedepends=('intltool' 'python2' 'gcc-libs' 'libnotify' - 'gst-plugins-base' 'gtk3' 'dbus-glib') - -# The format is: handbrake_name:[system_name|tarball] -# This list should pretty closely correspond to `grep contrib/ make/include/main.defs` -# _config_loc -# format: "ignored:pacman_pkgname" -# For packages that optionally use the system's versions. The -# build system is not modified, in order that if the module version -# is used, it fails early (assuming the network is down). -# _config_mod -# format: "module_name:file_name" -# For packages that are built as modules. -# _config_sys -# format: "module_name:pacman_pkgname" -# For modules that we *force* to be the system versions. -# _config_ign -# format: "ignored" -# For modules that are optional, but we don't want to download. -declare -ag _contrib_{loc,sys,mod,ign} -_contrib_loc+=('pkgconfig') # FEATURE.local_pkgconfig -_contrib_loc+=('autoconf' # FEATURE.local_autotools - 'automake' - 'libtool' - 'm4') -_contrib_loc+=('bzip2') # HAS.bz2 -_contrib_loc+=('fontconfig' - 'freetype:freetype2' - 'fribidi' - 'libxml2' - 'libass' - 'libogg' - 'libvorbis' - 'libtheora' - 'libsamplerate') -# XXX: I can't get it to set LDFLAGS right to use system fdk-aac -_contrib_mod+=('fdk-aac:fdk-aac-v0.1.1-6-gbae4553.tar.bz2') # FEATURE.fdk_aac (sys:libfdk-aac) -# XXX: I can't get it to set LDFLAGS right to use system mp4v2 -_contrib_mod+=('mp4v2:mp4v2-trunk-r355.tar.bz2') # FEATURE.mp4v2 (sys:libmp4v2) -# libmkv is patched to add features -_contrib_mod+=('libmkv:libmkv-0.6.5-0-g82075ae.tar.gz') # FEATURE.libmkv -_contrib_ign+=('x265') # FEATURE.x265 -_contrib_sys+=('lame') # always -# Using system ffmpeg will break PGS subtitle processing -# https://forum.handbrake.fr/viewtopic.php?f=13&t=27581 -_contrib_mod+=('ffmpeg:libav-v10_beta1.tar.bz2') # always -_contrib_sys+=('libdvdread') # always -# XXX: I don't even know, but system libdvdnav doesn't work -_contrib_mod+=('libdvdnav:libdvdnav-a5c1325.tar.bz2') # always -_contrib_sys+=('libbluray') # always -_contrib_ign+=('libmfx') # FEATURE.qsv -_contrib_sys+=('x264') # always -_contrib_loc+=('zlib') # HAS.libz -_contrib_loc+=('yasm') # FEATURE.local_yasm - -makedepends+=("${_contrib_loc[@]#*:}" "${_contrib_sys[@]#*:}") - -source=("https://repo.parabolagnulinux.org/other/handbrake/HandBrake-svn${pkgver}.tar.gz") -for _f in "${_contrib_mod[@]#*:}"; do - source+=("http://download.handbrake.fr/handbrake/contrib/${_f}") - noextract+=("${_f}") -done; unset _f -sha256sums=('59aac48702c8b55d78e8cba3f94b4cc42f8077bce6d775d1560891628ed532a1' - 'f08584d59a02db5facf548ae860c64d2870db63477f605af763c161a1508dcbc' - '5b7d4e62df506b1246463da82cc2f02415eb462e6ccd5848f98f5cdcfc1f3d4f' - '7314a296c68f42b826164074a96e247e52d8ef9287c21ebc5fe1bf9e73643e97' - '41e7b81c4bf49acf4f5e74a61ffe2a593d22df5326997aa4fb253b5de1410773' - 'd190ce2ca4d1d9878145acd9c1b8ac76636c3b6d12066e8cc87ee674f943fb2a') - -mksource=("HandBrake-svn${pkgver}::svn://svn.handbrake.fr/HandBrake/trunk") -mkmd5sums=('SKIP') - -prepare() { - cd "$srcdir/HandBrake-svn$pkgver" - - # Use Python 2 - sed -i 's/python /python2 /' gtk/src/Makefile.am - - local contrib - # Use more system libs - for contrib in "${_contrib_sys[@]}"; do - sed -i \ - -e "s/MODULES += contrib\/${contrib%:*}\$/#& # provided by ${contrib#*:}/" \ - make/include/main.defs - done - # Use the pre-downloaded files - mkdir -p download - for contrib in "${_contrib_mod[@]}"; do - ln -srf "${srcdir}/${contrib[@]#*:}" download/ - done - - # Fix libhb to work with the stable release of libmp4v2 - if in_array libmp4v2 "${makedepends[@]}"; then - local arg='\([^,)]*\)' - sed -i \ - -e "s/MP4Close(${arg})/MP4Close(\1, 0)/" \ - -e "s/MP4Create(${arg},${arg},${arg})/MP4Create(\1,\3)/" \ - -e "s/MP4Optimize(${arg},${arg},${arg})/MP4Optimize(\1,\2)/" \ - -e "s/MP4Read(${arg},${arg})/MP4Read(\1)/" \ - libhb/decmetadata.c libhb/muxmp4.c - fi - - # Fix configure.ac to work with automake 1.13 - if in_array automake "${makedepends[@]}"; then - cd gtk - sed -i \ - -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ - -e '/AM_PROG_CC_STDC/d' \ - -e 's/$pkg_gudev"/gmodule-2.0 $pkg_gudev"/' \ - configure.ac - autoreconf -vi - fi -} - -build() { - cd "$srcdir/HandBrake-svn$pkgver" - - ./configure \ - --prefix=/usr \ - --force \ - --disable-gtk-update-checks - cd build - make -j1 -} - -package_handbrake-svn() { - pkgdesc="Multithreaded video transcoder" - depends=('bzip2' 'gcc-libs' 'gst-plugins-base' 'libnotify' 'dbus-glib' - 'fribidi' 'libass' 'gtk3' 'fontconfig' 'freetype2' 'libxml2' - 'libogg' 'libvorbis' 'libtheora' 'libsamplerate' 'libbluray' - 'x264' 'desktop-file-utils' 'hicolor-icon-theme') - optdepends=('gst-plugins-good: for video previews' - 'gst-libav: for video previews') - install=$pkgname.install - provides=("${pkgname%-svn}-${_pkgver}") - conflicts=("${pkgname%-svn}") - - cd "$srcdir/HandBrake-svn$pkgver/build" - - make -j1 DESTDIR="$pkgdir" install - rm "$pkgdir/usr/bin/HandBrakeCLI" -} - -package_handbrake-cli-svn() { - pkgdesc="Multithreaded video transcoder (CLI)" - depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'libxml2' 'libtheora' - 'libsamplerate' 'libbluray' 'x264') - provides=("${pkgname%-svn}-${_pkgver}") - conflicts=("${pkgname%-svn}") - - cd "$srcdir/HandBrake-svn$pkgver/build" - install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" -} - -# vim:set ts=2 sw=2 et: diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD deleted file mode 100644 index 4cc94a66e..000000000 --- a/libre/icedove-libre/PKGBUILD +++ /dev/null @@ -1,136 +0,0 @@ -# Maintainer : André Silva <emulatorman@parabola.nu> -# Contributor : Márcio Silva <coadde@parabola.nu> - -# We're getting this from Debian Sid -_debname=icedove -_debver=24.3.0 -_debrel=deb2 -_debrepo=http://ftp.debian.org/debian/pool/main/ -debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } - -_pkgname=${_debname} -pkgname=${_debname}-libre -epoch=1 -pkgver=${_debver}.${_debrel} -pkgrel=1 -pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird." -arch=('i686' 'x86_64' 'mips64el') -license=('MPL' 'GPL' 'LGPL') -url="http://packages.debian.org/sid/${_pkgname}" -depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification') -makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt' 'jquery-ui') -optdepends=('libcanberra: for sound support') -replaces=('thunderbird') -conflicts=('thunderbird') -provides=('thunderbird') -install=${_pkgname}.install -source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.xz" - "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel#deb}.debian.tar.xz" - mozconfig - vendor.js - ${_pkgname}.desktop) -options=(!emptydirs) -md5sums=('cbf58e11a8eb1ded01167fa927ce9cc0' - '36df0b60bd80a0097783b432a895ca13' - 'c46cf2a671c8fdefcabd4c87e38f3d40' - '5a53179d14ae9631b7afe5e4d0fc0b25' - 'e785e0c267f4435ae1a9aa0b03bcacfb') - -prepare() { - export DEBIAN_BUILD="comm-esr24" - - export QUILT_PATCHES=debian/patches - export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index' - export QUILT_DIFF_ARGS='--no-timestamps' - - mv debian "${srcdir}/${DEBIAN_BUILD}" - cd "${srcdir}/${DEBIAN_BUILD}" - - mv debian/${_pkgname}-branding "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}" - - cp -a debian/app-icons/${_pkgname}big.svg debian/app-icons/${_pkgname}_icon.svg - for i in 16x16 22x22 24x24 32x32 48x48 256x256; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/mailicon${i/x*/}.png" - done - for i in 48x48 64x64; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/content/icon${i/x*/}.png" - done - - # Fix orthographic issue ("Icdove" to "Icedove") in MOZ_APP_BASENAME line for confvars.sh. - sed -i 's|Icdove|Icedove|' debian/patches/debian-hacks/Icedove-branding.patch - - quilt push -av - - # Fix paths on makefile - sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/|topsrcdir = @top_srcdir@|; - s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|; - s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|; - ' mail/branding/icedove/Makefile.in - - sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/[.][.]|topsrcdir = @top_srcdir@|; - s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|; - s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|; - ' mail/branding/icedove/locales/Makefile.in - - # Fix package-manifest.in - sed -i '\|; Phishing Protection| s|$|\n#ifdef MOZ_SAFE_BROWSING|; - \|@BINPATH@/components/url-classifier[.]xpt| s|$|\n#endif| - ' mail/installer/package-manifest.in - - # Fix branding - sed -i 's|Icedove Mail/News|Icedove|' mail/branding/icedove/locales/en-US/brand.{dtd,properties} - - # Replace common URLs - sed -i '\|extensions[.]getAddons[.]get[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]getAddons[.]search[.]browseURL| s|https://addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]getAddons[.]search[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]webservice[.]discoverURL| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - ' mail/app/profile/all-thunderbird.js - - cp "${srcdir}/mozconfig" .mozconfig - - # configure script misdetects the preprocessor without an optimization level - # https://bugs.archlinux.org/task/34644 - sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' mozilla/configure - - # Add symlinks to use jquery files built for us - ln -s /usr/share/javascript/jquery/jquery.min.js mail/jquery - ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js mail/jquery -} - -build() { - export DEBIAN_BUILD="comm-esr24" - - cd "${srcdir}/${DEBIAN_BUILD}" - - export LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/lib/${_pkgname}" - export PYTHON="/usr/bin/python2" - - make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" -} - -package() { - export DEBIAN_BUILD="comm-esr24" - - cd "${srcdir}/${DEBIAN_BUILD}" - - make -j1 -f client.mk DESTDIR="${pkgdir}" install - - install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/usr/lib/${_pkgname}/defaults/preferences/vendor.js" - - for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${pkgdir}/usr/share/icons/hicolor/$i/apps/${_pkgname}.png" - done - install -Dm644 "debian/app-icons/${_pkgname}_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg" - - install -Dm644 "${srcdir}/${_pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${_pkgname}.desktop" - - rm -rf "${pkgdir}"/usr/lib/${_pkgname}/{dictionaries,hyphenation,searchplugins} - ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${_pkgname}/dictionaries" - ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${_pkgname}/hyphenation" - ln -sf /usr/lib/mozilla/searchplugins "${pkgdir}/usr/lib/${_pkgname}/searchplugins" - - # We don't want the development stuff - rm -r "${pkgdir}"/usr/{include,lib/${_pkgname}-devel,share/idl} -} diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD deleted file mode 100644 index e656470f8..000000000 --- a/libre/linux-libre-lts/PKGBUILD +++ /dev/null @@ -1,424 +0,0 @@ -# $Id: PKGBUILD 207131 2014-03-07 13:50:49Z bpiotrowski $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> -# Maintainer: Thomas Baechler <thomas@archlinux.org> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> -# Contributor (Parabola): Nicolás Reynolds <fauno@kiwwwi.com.ar> -# Contributor (Parabola): Sorin-Mihai Vârgolici <smv@yobicore.org> -# Contributor (Parabola): Michał Masłowski <mtjm@mtjm.eu> -# Contributor (Parabola): Márcio Silva <coadde@lavabit.com> - -pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel -#pkgbase=linux-libre-custom # Build kernel with a different name -_basekernel=3.10 -_sublevel=33 -pkgver=${_basekernel}.${_sublevel} -pkgrel=1 -_lxopkgver=${_basekernel}.33 # nearly always the same as pkgver -arch=('i686' 'x86_64' 'mips64el') -url="http://linux-libre.fsfla.org/" -license=('GPL2') -makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') -options=('!strip') -source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gnu/linux-libre-${_basekernel}-gnu.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-gnu/patch-${_basekernel}-gnu-${pkgver}-gnu.xz" - # the main kernel config files - 'config.i686' 'config.x86_64' - # standard config files for mkinitcpio ramdisk - "${pkgbase}.preset" - 'Kbuild' - 'Kbuild.platforms' - 'boot-logo.patch' - 'change-default-console-loglevel.patch' - 'criu-no-expert.patch' - "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.xz") -md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c' - 'dea9cb694f12a794604edcfac1d76add' - '85ce008eaacbb2fc54b81116d35cf946' - '16867e648e4b9f89bec949cb643888c2' - 'c072b17032e80debc6a8626299245d46' - '2967cecc3af9f954ccc822fd63dca6ff' - '8267264d9a8966e57fdacd1fa1fc65c4' - '04b21c79df0a952c22d681dd4f4562df' - 'f3def2cefdcbb954c21d8505d23cc83c' - 'd50c1ac47394e9aec637002ef3392bd1' - '441a56631bb3c96836061030e58ee1f2') -if [ "$CARCH" != "mips64el" ]; then - # don't use the Loongson-specific patches on non-mips64el arches. - unset source[${#source[@]}-1] - unset md5sums[${#md5sums[@]}-1] -fi - -_kernelname=${pkgbase#linux-libre} -_localversionname=-LIBRE-LTS - -prepare() { - cd "${srcdir}/linux-${_basekernel}" - - if [ "${_basekernel}" != "${pkgver}" ]; then - patch -Np1 -i "${srcdir}/patch-${_basekernel}-gnu-${pkgver}-gnu" - fi - - # add freedo as boot logo - patch -Np1 -i "${srcdir}/boot-logo.patch" - - # add latest fixes from stable queue, if needed - # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git - - # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param) - # remove this when a Kconfig knob is made available by upstream - # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) - patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch" - - # allow criu without expert option set - # patch from fedora - patch -Np1 -i "${srcdir}/criu-no-expert.patch" - - if [ "$CARCH" == "mips64el" ]; then - sed -i "s|^EXTRAVERSION.*|EXTRAVERSION =-libre-lts|" Makefile - sed -r "s|^( SUBLEVEL = ).*|\1$_sublevel|" \ - < "${srcdir}/lxo-config.patch" > lxo-config.patch - msg2 "Adding loongson-community patches" - patch -Np1 -i ${srcdir}/${_basekernel}*-*-loongson-community.patch - patch -Np0 -i lxo-config.patch - - # ensure N32, add localversion, remove uevent helper as per - # https://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=README - # and make USB storage support builtin (e.g. for booting from USB - # disks without slowly loading an initramfs) - sed -ri \ - -e "s|CONFIG_MIPS32_N32=.*|CONFIG_MIPS32_N32=y|g" \ - -e "s|CONFIG_UEVENT_HELPER_PATH=.*|CONFIG_UEVENT_HELPER_PATH=\"\"|g" \ - -e "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" \ - -e "s;(CONFIG_USB(_COMMON|_EHCI_HCD|_OHCI_HCD|_STORAGE.*|_UAS)?)=.*;\1=y;g" \ - ./.config - else - cat "${srcdir}/config.${CARCH}" > ./.config # simpler - fi - - if [ "${_kernelname}" != "" ]; then - sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_localversionname}\"|g" ./.config - sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config - fi - - # set extraversion to pkgrel - sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile - - # don't run depmod on 'make install'. We'll do this ourselves in packaging - sed -i '2iexit 0' scripts/depmod.sh -} - -build() { - cd "${srcdir}/linux-${_basekernel}" - - # get kernel version - make prepare - - # load configuration - # Configure the kernel. Replace the line below with one of your choice. - #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration - #make xconfig # X-based configuration - #make oldconfig # using old config from previous kernel version - # ... or manually edit .config - - # rewrite configuration - yes "" | make config >/dev/null - - # save configuration for later reuse - if [ "${CARCH}" = "x86_64" ]; then - cat .config > "${startdir}/config.x86_64.last" - else - cat .config > "${startdir}/config.i686.last" - fi - - #################### - # stop here - # this is useful to configure the kernel - #msg "Stopping build"; return 1 - #################### - - # build! - if [ "$CARCH" == "mips64el" ]; then - # The build system passes it directly to linker, disable to avoid - # having unknown -Wl,... options. - export LDFLAGS="" - # bzImage is arch-specific and not supported on mips; vmlinux is - # useful for oprofile. - make ${MAKEFLAGS} LOCALVERSION= vmlinux vmlinuz modules - else - make ${MAKEFLAGS} LOCALVERSION= bzImage modules - fi -} - -_package() { - pkgdesc="The ${pkgbase^} kernel and modules - stable longtime supported kernel package suitable for servers" - [ "${pkgbase}" = "linux-libre" ] && groups=('base') - depends=('coreutils' 'linux-libre-firmware' 'kmod') - optdepends=('crda: to set the correct wireless channels of your country') - provides=("kernel26${_kernelname}=${pkgver}" "linux${_kernelname}=${pkgver}") - conflicts=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - replaces=("kernel26${_kernelname}" "kernel26-libre${_kernelname}" "linux${_kernelname}") - backup=("etc/mkinitcpio.d/${pkgbase}.preset") - install=${pkgbase}.install - if [ "$CARCH" != "mips64el" ]; then - provides+=("linux-libre${_kernelname}-kmod-alx") - conflicts+=("linux-libre${_kernelname}-kmod-alx") - replaces+=("linux-libre${_kernelname}-kmod-alx") - fi - if [ "$CARCH" = "mips64el" ]; then - optdepends+=('mkinitcpio: to make the initramfs (needs reinstall of this package)') - conflicts+=('mkinitcpio<0.7') - else - depends+=('mkinitcpio>=0.7') - fi - - cd "${srcdir}/linux-${_basekernel}" - - KARCH=x86 - [ $CARCH = "mips64el" ] && KARCH=mips - - # get kernel version - _kernver="$(make LOCALVERSION= kernelrelease)" - _basekernel=${_kernver%%-*} - _basekernel=${_basekernel%.*} - - mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot} - make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install - - if [ "$CARCH" == "mips64el" ]; then - cp vmlinuz "${pkgdir}/boot/vmlinuz-${pkgbase}" - cp vmlinux "${pkgdir}/boot/vmlinux-${pkgbase}" - else - cp arch/${KARCH}/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}" - fi - - # add vmlinux - install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux" - - # set correct depmod command for install - cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" - true && install=${install}.pkg - sed \ - -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \ - -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \ - -i "${startdir}/${install}" - - # install mkinitcpio preset file for kernel - install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - sed \ - -e "1s|'linux*.*'|'${pkgbase}'|" \ - -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \ - -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \ - -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - - # mkinitcpio 0.7 relies on bzImage to find the kernel version - if [ "$CARCH" == "mips64el" ]; then - sed -e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|" \ - -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" - fi - - # remove build and source links - rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} - # remove the firmware - rm -rf "${pkgdir}/lib/firmware" - # gzip -9 all modules to save 100MB of space - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; - # make room for external modules - ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}" "${pkgdir}/lib/modules/${_kernver}/extramodules" - # add real version for building modules and running depmod from post_install/upgrade - mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}" - echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS}/version" - - # Now we call depmod... - depmod -b "$pkgdir" -F System.map "$_kernver" - - # move module tree /lib -> /usr/lib - mv "$pkgdir/lib" "$pkgdir/usr" -} - -_package-headers() { - pkgdesc="Header files and scripts for building modules for ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-headers=${pkgver}" "linux${_kernelname}-headers=${pkgver}") - conflicts=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - replaces=("kernel26${_kernelname}-headers" "kernel26-libre${_kernelname}-headers" "linux${_kernelname}-headers") - - KARCH=x86 - [ $CARCH = "mips64el" ] && KARCH=mips - - # in case of repackaging this is empty - if [ -z "${_kernver}" ]; then - cd "${srcdir}/linux-${_basekernel}" - _kernver="$(make LOCALVERSION= kernelrelease)" - fi - - install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}" - - cd "${pkgdir}/usr/lib/modules/${_kernver}" - ln -sf ../../../src/linux-${_kernver} build - - cd "${srcdir}/linux-${_basekernel}" - install -D -m644 Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/Makefile" - install -D -m644 kernel/Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile" - install -D -m644 .config \ - "${pkgdir}/usr/src/linux-${_kernver}/.config" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include" - - for i in acpi asm-generic config crypto drm generated keys linux math-emu \ - media net pcmcia scsi sound trace uapi video xen; do - cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/" - done - - # copy arch includes for external modules - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}" - cp -a arch/${KARCH}/include "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - - # copy files necessary for later builds - cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}" - cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}" - - if [ "$CARCH" = "mips64el" ]; then - cp arch/${KARCH}/Kbuild "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - cp -a arch/${KARCH}/loongson "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - cp ${srcdir}/Kbuild.platforms "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - fi - - # fix permissions on scripts dir - chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel" - - cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - - if [ "${CARCH}" = "i686" ]; then - cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/" - fi - - cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/" - - # add headers for lirc package - # pci - for i in bt8xx cx88 saa7134; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}" - cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}" - done - # usb - for i in cpia2 em28xx pwc sn9c102; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}" - cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}" - done - # i2c - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c" - cp drivers/media/i2c/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/" - for i in cx25840; do - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}" - cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}" - done - - # add docbook makefile - install -D -m644 Documentation/DocBook/Makefile \ - "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" - - # add dm headers - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md" - cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md" - - # add inotify.h - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux" - cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/" - - # add wireless headers - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/" - cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/" - - # add dvb headers for external modules - # in reference to: - # http://bugs.archlinux.org/task/9912 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core" - cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/" - # and... - # http://bugs.archlinux.org/task/11194 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/" - cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/" - - # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new - # in reference to: - # http://bugs.archlinux.org/task/13146 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/" - - # add dvb headers - # in reference to: - # http://bugs.archlinux.org/task/20402 - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb" - cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends" - cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners" - cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/" - - # add xfs and shmem for aufs building - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs" - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm" - cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h" - - # copy in Kconfig files - for i in `find . -name "Kconfig*"`; do - mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'` - cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}" - done - - chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}" - find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \; - - # strip scripts directory - find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do - case "$(file -bi "${binary}")" in - *application/x-sharedlib*) # Libraries (.so) - /usr/bin/strip ${STRIP_SHARED} "${binary}";; - *application/x-archive*) # Libraries (.a) - /usr/bin/strip ${STRIP_STATIC} "${binary}";; - *application/x-executable*) # Binaries - /usr/bin/strip ${STRIP_BINARIES} "${binary}";; - esac - done - - # remove unneeded architectures - rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa} - if [ "$CARCH" = "mips64el" ]; then - rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/x86 - else - rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/mips - fi -} - -_package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" - provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") - conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") - - cd "${srcdir}/linux-${_basekernel}" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}" - cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" -} - -pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") -for _p in ${pkgname[@]}; do - eval "package_${_p}() { - _package${_p#${pkgbase}} - }" -done - -# vim:set ts=8 sts=2 sw=2 et: diff --git a/libre/mcomix-libre/PKGBUILD b/libre/mcomix-libre/PKGBUILD deleted file mode 100644 index 97c3bde0f..000000000 --- a/libre/mcomix-libre/PKGBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# $Id: PKGBUILD 106934 2014-03-10 18:30:38Z schuay $ -# Maintainer: schuay <jakob.gruber@gmail.com> -# Contributor: Ray Powell <ray_al@xphoniexx.net> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -_pkgname=mcomix -pkgname=mcomix-libre -pkgver=1.00 -pkgrel=6 -pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books, without nonfree unrar recommendation" -arch=('any') -url="http://sourceforge.net/projects/mcomix/" -license=('GPL') -depends=('pygtk' 'python2-pillow' 'xdg-utils' 'python2' \ - 'desktop-file-utils' 'hicolor-icon-theme' 'python2-setuptools') -makedepends=('gettext' 'intltool') -conflicts=('mcomix' 'comix') -replaces=('mcomix' 'comix') -provides=("mcomix=${pkgver}") -install='mcomix.install' -source=("http://downloads.sourceforge.net/project/mcomix/MComix-${pkgver}/mcomix-${pkgver}.tar.bz2" - 'zoom.patch') - -build() { - cd ${srcdir}/${_pkgname}-${pkgver} - - # https://www.archlinux.org/todo/replace-pil-with-pillow/ - sed -i 's/import Image/from PIL import Image/' mime/comicthumb - - # python2 fix - for file in $(grep -Rl "/usr/bin/env python" .); - do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - done - - # Fix zoom in, zoom out keyboard shortcuts: - # https://sourceforge.net/p/mcomix/bugs/62/ - patch -Np1 < ${srcdir}/zoom.patch -} - -package() { - cd ${srcdir}/${_pkgname}-${pkgver} - - export PYTHONPATH=${pkgdir}/usr/lib/python2.7/site-packages/ - mkdir -p $PYTHONPATH - - python2 setup.py install --prefix=/usr --optimize=1 \ - --single-version-externally-managed --root=${pkgdir} - - install -Dm755 mime/comicthumb ${pkgdir}/usr/bin/comicthumb - install -Dm644 mime/comicthumb.1.gz ${pkgdir}/usr/share/man/man1/comicthumb.1.gz - install -Dm644 mime/comicbook.schemas ${pkgdir}/usr/share/gconf/schemas/mcomix.schemas -} - -md5sums=('3a916dd9da17043ab59ccd17e26eb932' - 'c80705bf6f132bfba20dcb84b79c9cb7') diff --git a/libre/mcomix-libre/mcomix.install b/libre/mcomix-libre/mcomix.install deleted file mode 100644 index 82047a202..000000000 --- a/libre/mcomix-libre/mcomix.install +++ /dev/null @@ -1,31 +0,0 @@ -pkgname=mcomix - -post_install() { - if [ -f usr/sbin/gconfpkg ]; then - usr/sbin/gconfpkg --install ${pkgname} &> /dev/null - fi - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q - update-mime-database usr/share/mime &> /dev/null -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - echo 'In case of any issues with zoom keybindings, delete ~/.config/mcomix/keybindings.conf.' - post_install $1 -} - -pre_remove() { - if [ -f usr/sbin/gconfpkg ]; then - usr/sbin/gconfpkg --uninstall ${pkgname} &> /dev/null - fi -} - -post_remove() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database -q - update-mime-database usr/share/mime &> /dev/null -} diff --git a/libre/mcomix-libre/zoom.patch b/libre/mcomix-libre/zoom.patch deleted file mode 100644 index 26dc3ba6f..000000000 --- a/libre/mcomix-libre/zoom.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/mcomix-1.00/mcomix/event.py b/mcomix-1.00-mod/mcomix/event.py -index bc8cf79..bf80ec2 100644 ---- a/mcomix/event.py -+++ b/mcomix/event.py -@@ -117,8 +117,11 @@ class EventHandler: - - # Zooming commands for manual zoom mode - manager.register('zoom in', -- ['equal'], -+ ['plus', 'KP_Add', 'equal'], - self._window.actiongroup.get_action('zoom_in').activate) -+ manager.register('zoom out', -+ ['minus', 'KP_Subtract'], -+ self._window.actiongroup.get_action('zoom_out').activate) - # Zoom out is already defined as GTK menu hotkey - manager.register('zoom original', - ['KP_0'], diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD deleted file mode 100644 index 27bab3829..000000000 --- a/libre/mesa-libcl/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> -# Contributor: André Silva <emulatorman@parabola.nu> - -pkgbase=mesa -_pkgname=libcl -pkgname=$pkgbase-$_pkgname -_pkgflag=libre -pkgver=10.1.0 -pkgrel=1 -pkgdesc='Mesa 3-D OpenCL library' -url=http://${pkgbase}3d.sourceforge.net -license=(MIT Khronos LGPL) -arch=(mips64el x86_64 i686) -depends=( - libclc - $pkgbase -) -optdepends='opencl-headers: headers necessary for OpenCL development' -makedepends=( - clang - dri2proto - dri3proto - glproto - imake - libxml2 - presentproto - python2 -) -provides=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx) -conflicts=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx) -replaces=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx) -source=ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2 -sha512sums=a8c57e50c360f3d4ebc850de6b24b87175100cedcbb48ceace2b228f654d29ffa97ec24118ad8e0f281fee80750568fdb2f8b58866713424889c69387e3a6adb - -build() { - cd $srcdir/${pkgbase^}-$pkgver - autoreconf -vfi - ./configure --prefix=/usr\ - --enable-opencl\ - --enable-gallium-llvm\ - --enable-r600-llvm-compiler\ - --enable-dri3\ - --with-clang-libdir=/usr/lib\ - --with-llvm-shared-libs\ - --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast - make V=0 -} - -package() { - cd $srcdir/${pkgbase^}-$pkgver - make -C src/gallium/targets/opencl DESTDIR=$pkgdir install - install -vdm755 $pkgdir/usr/share/licenses/$pkgname - install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname - install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE -} diff --git a/libre/tp_smapi-libre-lts/PKGBUILD b/libre/tp_smapi-libre-lts/PKGBUILD deleted file mode 100644 index 75ba8520d..000000000 --- a/libre/tp_smapi-libre-lts/PKGBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# $Id: PKGBUILD 106775 2014-03-07 14:36:25Z bpiotrowski $ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: xduugu -# Contributor: nh2 -# Contributor: Steven Davidovitz <steviedizzle ð gmail đ com> -# Contributor: Nick B <Shirakawasuna ð gmail đ com> -# Contributor: Christof Musik <christof ð senfdax đ de> -# Contributor: Stefan Rupp <archlinux ð stefanrupp đ de> -# Contributor: Ignas Anikevicius <anikevicius ð gmail đ com> -# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> - -pkgname=tp_smapi-libre-lts -_pkgname=tp_smapi -_extramodules=/usr/lib/modules/extramodules-3.10-LIBRE-LTS -pkgver=0.41 -pkgrel=26 -pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre-lts kernel package)" -arch=('i686' 'x86_64' 'mips64el') -url='https://github.com/evgeni/tp_smapi' -license=('GPL') -depends=('linux-libre-lts>=3.10' 'linux-libre-lts<3.11') -makedepends=('linux-libre-lts-headers>=3.10' 'linux-libre-lts-headers<3.11') -replaces=('tp_smapi-lts') -conflicts=('tp_smapi-lts') -provides=("tp_smapi-lts=${pkgver}") -install='tp_smapi-lts.install' -source=("https://github.com/downloads/evgeni/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") -md5sums=('63c683415c764568f6bf17c7eabe4752') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - _kernver=$(< "${_extramodules}/version") - - sed -ri -e "s/^(KVER\s*:=).*$/\1 ${_kernver}/" \ - -e "s#^(KBASE\s*:=).*\$#\1 ${_extramodules%/*}/${_kernver}#" Makefile - - make HDAPS=1 -} - -package() { - _kernver=$(< "${_extramodules}/version") - - make -C "${_extramodules%/*}/${_kernver}/build" \ - INSTALL_MOD_PATH="${pkgdir}/${_extramodules%%/lib/*}" \ - M="${srcdir}/${_pkgname}-${pkgver}" modules_install - - cd "${pkgdir}/${_extramodules%/*}" - mv "${_kernver}/extra" "${_extramodules##*/}" - rmdir "${_kernver}" - - # compress kernel modules - find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + - - # load module on startup - echo tp_smapi > "${srcdir}/tp_smapi-lts.conf" - install -Dm644 "${srcdir}/tp_smapi-lts.conf" "${pkgdir}/usr/lib/modules-load.d/tp_smapi-lts.conf" - - # update kernel version in install file - sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/tp_smapi-lts.install" -} diff --git a/nonprism/icedove-libre-nonprism/PKGBUILD b/nonprism/icedove-libre-nonprism/PKGBUILD deleted file mode 100644 index 04356604c..000000000 --- a/nonprism/icedove-libre-nonprism/PKGBUILD +++ /dev/null @@ -1,150 +0,0 @@ -# Maintainer : André Silva <emulatorman@parabola.nu> -# Contributor : Márcio Silva <coadde@parabola.nu> - -# We're getting this from Debian Sid -_debname=icedove -_debver=24.3.0 -_debrel=deb2 -_debrepo=http://ftp.debian.org/debian/pool/main/ -debfile() { echo $@|sed -r 's@(.).*@\1/&/&@'; } - -_pkgname=${_debname} -pkgname=${_debname}-libre-nonprism -epoch=1 -pkgver=${_debver}.${_debrel} -pkgrel=1 -pkgdesc="A libre version of Debian Icedove, the standalone mail/news reader based on Mozilla Thunderbird, without support for unsafe and dangerous for privacy protocols" -arch=('i686' 'x86_64' 'mips64el') -license=('MPL' 'GPL' 'LGPL') -url="http://packages.debian.org/sid/${_pkgname}" -depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification') -makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt' 'jquery-ui') -optdepends=('libcanberra: for sound support') -replaces=('thunderbird' "${pkgname%-nonprism}") -conflicts=('thunderbird' "${pkgname%-nonprism}") -provides=('thunderbird' "${pkgname%-nonprism}=$epoch:$pkgver") -install=${_pkgname}.install -source=("${_debrepo}/`debfile ${_debname}`_${_debver}.orig.tar.xz" - "${_debrepo}/`debfile ${_debname}`_${_debver}-${_debrel#deb}.debian.tar.xz" - mozconfig - vendor.js - ${_pkgname}.desktop) -options=(!emptydirs) -md5sums=('cbf58e11a8eb1ded01167fa927ce9cc0' - '36df0b60bd80a0097783b432a895ca13' - 'c46cf2a671c8fdefcabd4c87e38f3d40' - '5a53179d14ae9631b7afe5e4d0fc0b25' - 'e785e0c267f4435ae1a9aa0b03bcacfb') - -prepare() { - export DEBIAN_BUILD="comm-esr24" - - export QUILT_PATCHES=debian/patches - export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index' - export QUILT_DIFF_ARGS='--no-timestamps' - - mv debian "${srcdir}/${DEBIAN_BUILD}" - cd "${srcdir}/${DEBIAN_BUILD}" - - mv debian/${_pkgname}-branding "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}" - - cp -a debian/app-icons/${_pkgname}big.svg debian/app-icons/${_pkgname}_icon.svg - for i in 16x16 22x22 24x24 32x32 48x48 256x256; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/mailicon${i/x*/}.png" - done - for i in 48x48 64x64; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${srcdir}/${DEBIAN_BUILD}/mail/branding/${_pkgname}/content/icon${i/x*/}.png" - done - - # Fix orthographic issue ("Icdove" to "Icedove") in MOZ_APP_BASENAME line for confvars.sh. - sed -i 's|Icdove|Icedove|' debian/patches/debian-hacks/Icedove-branding.patch - - quilt push -av - - # Fix paths on makefile - sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/|topsrcdir = @top_srcdir@|; - s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|; - s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|; - ' mail/branding/icedove/Makefile.in - - sed -i 's|topsrcdir = [.][.]/[.][.]/[.][.]/[.][.]|topsrcdir = @top_srcdir@|; - s|include $(topsrcdir)/config/autoconf.mk|include $(DEPTH)/config/autoconf.mk|; - s|include $(DEPTH)/config/rules.mk|include $(topsrcdir)/config/rules.mk|; - ' mail/branding/icedove/locales/Makefile.in - - # Fix package-manifest.in - sed -i '\|; Phishing Protection| s|$|\n#ifdef MOZ_SAFE_BROWSING|; - \|@BINPATH@/components/url-classifier[.]xpt| s|$|\n#endif| - ' mail/installer/package-manifest.in - - # Fix branding - sed -i 's|Icedove Mail/News|Icedove|' mail/branding/icedove/locales/en-US/brand.{dtd,properties} - - # Replace common URLs - sed -i '\|extensions[.]getAddons[.]get[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]getAddons[.]search[.]browseURL| s|https://addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]getAddons[.]search[.]url| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - \|extensions[.]webservice[.]discoverURL| s|https://services[.]addons[.]mozilla[.]org.\+["][)][;]|http://directory.fsf.org/wiki/Icedove");|g; - ' mail/app/profile/all-thunderbird.js - - # Remove support for unsafe and dangerous for privacy protocols - sed -i '\|facebook|d - \|gtalk|d - \|twitter|d - ' chat/moz.build - sed -i '\|facebook[.]js|d - \|facebook[.]manifest|d - \|gtalk[.]js|d - \|gtalk[.]manifest|d - \|twitter[.]js|d - \|twitter[.]manifest|d - ' mail/installer/package-manifest.in - rm -r chat/protocols/{facebook,gtalk,twitter} - - cp "${srcdir}/mozconfig" .mozconfig - - # configure script misdetects the preprocessor without an optimization level - # https://bugs.archlinux.org/task/34644 - sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' mozilla/configure - - # Add symlinks to use jquery files built for us - ln -s /usr/share/javascript/jquery/jquery.min.js mail/jquery - ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js mail/jquery -} - -build() { - export DEBIAN_BUILD="comm-esr24" - - cd "${srcdir}/${DEBIAN_BUILD}" - - export LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/lib/${_pkgname}" - export PYTHON="/usr/bin/python2" - - make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" -} - -package() { - export DEBIAN_BUILD="comm-esr24" - - cd "${srcdir}/${DEBIAN_BUILD}" - - make -j1 -f client.mk DESTDIR="${pkgdir}" install - - install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/usr/lib/${_pkgname}/defaults/preferences/vendor.js" - - for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do - install -Dm644 "debian/app-icons/${_pkgname}${i/x*/}.png" "${pkgdir}/usr/share/icons/hicolor/$i/apps/${_pkgname}.png" - done - install -Dm644 "debian/app-icons/${_pkgname}_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg" - - install -Dm644 "${srcdir}/${_pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${_pkgname}.desktop" - - rm -rf "${pkgdir}"/usr/lib/${_pkgname}/{dictionaries,hyphenation,searchplugins} - ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/${_pkgname}/dictionaries" - ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/${_pkgname}/hyphenation" - ln -sf /usr/lib/mozilla/searchplugins "${pkgdir}/usr/lib/${_pkgname}/searchplugins" - - # We don't want the development stuff - rm -r "${pkgdir}"/usr/{include,lib/${_pkgname}-devel,share/idl} -} |