diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-20 03:59:46 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-20 03:59:46 +0000 |
commit | 2fd06aa8fa3c105c4c9161a060192d85dc3d4559 (patch) | |
tree | a70a2272e3bf810140349c2d457398b2d0c78b6f | |
parent | a3afce45dc7988a35810dee7e41050c3a459e731 (diff) |
Fri Jun 20 03:54:27 UTC 2014
-rw-r--r-- | community/assimp/PKGBUILD | 6 | ||||
-rw-r--r-- | community/ccid/PKGBUILD | 8 | ||||
-rw-r--r-- | community/dart/PKGBUILD | 8 | ||||
-rw-r--r-- | community/go/PKGBUILD | 6 | ||||
-rw-r--r-- | community/lazarus/PKGBUILD | 6 | ||||
-rw-r--r-- | community/libc++/PKGBUILD | 18 | ||||
-rw-r--r-- | community/mg/PKGBUILD | 6 | ||||
-rw-r--r-- | core/bash/PKGBUILD | 11 | ||||
-rw-r--r-- | core/bash/privmode-setuid-fail.patch | 29 | ||||
-rw-r--r-- | core/libusb/PKGBUILD | 30 | ||||
-rw-r--r-- | extra/mariadb/PKGBUILD | 8 |
11 files changed, 86 insertions, 50 deletions
diff --git a/community/assimp/PKGBUILD b/community/assimp/PKGBUILD index 06ccb8b65..976696bce 100644 --- a/community/assimp/PKGBUILD +++ b/community/assimp/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: jepaan <jepaan at hotmail dot com> pkgname=assimp -pkgver=3.1 -pkgrel=2 +pkgver=3.1.1 +pkgrel=1 pkgdesc="Portable Open Source library to import various well-known 3D model formats in an uniform manner" arch=('i686' 'x86_64') license=('BSD') @@ -11,7 +11,7 @@ depends=('zlib' 'gcc-libs' 'boost-libs') makedepends=('cmake' 'boost') url=('http://assimp.sourceforge.net/index.html') source=("https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz") -md5sums=('b2d382a5fb15f247d0d8c8afd5744f5e') +md5sums=('ab9977edf95e9b2910d7cca286926e85') build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/community/ccid/PKGBUILD b/community/ccid/PKGBUILD index a0519e1fe..7441a6c5e 100644 --- a/community/ccid/PKGBUILD +++ b/community/ccid/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 109306 2014-04-13 07:27:36Z giovanni $ +# $Id: PKGBUILD 113348 2014-06-19 12:42:15Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Daniel Plaza <daniel.plaza.espi@gmail.com> pkgname=ccid -pkgver=1.4.16 +pkgver=1.4.17 pkgrel=1 pkgdesc="A generic USB Chip/Smart Card Interface Devices driver" arch=('i686' 'x86_64') @@ -12,8 +12,8 @@ license=('LGPL' 'GPL') depends=('pcsclite' 'libusbx' 'flex') makedepends=('pkg-config') backup=(etc/reader.conf.d/libccidtwin) -source=("https://alioth.debian.org/frs/download.php/file/4016/${pkgname}-${pkgver}.tar.bz2") -md5sums=('2f3ca6c4b4ad0f81d41a0e032e0f556f') +source=("https://alioth.debian.org/frs/download.php/file/4091/${pkgname}-${pkgver}.tar.bz2") +md5sums=('a227a20a0dd034cd4bb7400806a0a2d0') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/dart/PKGBUILD b/community/dart/PKGBUILD index d16fba800..0793c09be 100644 --- a/community/dart/PKGBUILD +++ b/community/dart/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 112702 2014-06-05 11:48:54Z arodseth $ +# $Id: PKGBUILD 113346 2014-06-19 09:22:21Z 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.4.2 +pkgver=1.4.3 pkgrel=1 pkgdesc='The dart programming language SDK' arch=('x86_64' 'i686') @@ -17,10 +17,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=('0ac41df11bdcbdcffe6b852116da338990224747c510875b5974cb579602a85a') + sha256sums=('f907e791085382f666c726aea8c5999d18e1743e4de086cc29191edfdac68007') else source=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip") - sha256sums=('bc7af36e4c88ca14a6e9ac3453157d3bcac9d3cdd069845a118013e87e980059') + sha256sums=('fd6e7d92584bee930725e7cbbd4895fca77534ebc0509305311d3a9d561733ac') fi prepare() { diff --git a/community/go/PKGBUILD b/community/go/PKGBUILD index 7ad91da1a..7f8c66fad 100644 --- a/community/go/PKGBUILD +++ b/community/go/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 111080 2014-05-13 11:01:57Z arodseth $ +# $Id: PKGBUILD 113369 2014-06-19 21:46:10Z arodseth $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Rémy Oudompheng <remy@archlinux.org> @@ -11,7 +11,7 @@ pkgname=go epoch=2 -pkgver=1.2.2 +pkgver=1.3 pkgrel=1 pkgdesc='Compiler and tools for the Go programming language from Google' arch=('x86_64' 'i686') @@ -29,7 +29,7 @@ source=("$pkgname-$pkgver::hg+https://code.google.com/p/$pkgname#tag=$pkgname$pk md5sums=('SKIP') build() { - cd "$srcdir/$pkgname-$pkgver/src" + cd "$pkgname-$pkgver/src" export GOROOT="$srcdir/$pkgname-$pkgver" export GOBIN="$GOROOT/bin" diff --git a/community/lazarus/PKGBUILD b/community/lazarus/PKGBUILD index 28000d7eb..625df6871 100644 --- a/community/lazarus/PKGBUILD +++ b/community/lazarus/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 110700 2014-05-05 09:48:16Z spupykin $ +# $Id: PKGBUILD 113354 2014-06-19 16:34:50Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jens Adam (byte/jra) <j_adam@web.de> # Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com> pkgbase=lazarus pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt') -pkgver=1.2.2 +pkgver=1.2.4 _pkgsubver=0 pkgrel=1 url='http://www.lazarus.freepascal.org/' @@ -15,7 +15,7 @@ makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync') options=('!emptydirs' '!makeflags') source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20$pkgver/lazarus-$pkgver-${_pkgsubver}.tar.gz" 'lazcontrols2.diff') -md5sums=('f6dccb86952906e60484ee46d2888838' +md5sums=('456dc5fe54fcb302ec8bc7e8df5ed3e2' '288bca6ad5ade79deec34c3602daaaa9') build() { diff --git a/community/libc++/PKGBUILD b/community/libc++/PKGBUILD index fc27155d1..5e1b867b9 100644 --- a/community/libc++/PKGBUILD +++ b/community/libc++/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Daniel Micay <danielmicay@gmail.com> # Contributor: MThinkCpp <mtc.maintainer[at]outlook.com> pkgname=libc++ -pkgver=3.4 +pkgver=3.4.2 pkgrel=1 pkgdesc='A new implementation of the C++ standard library, targeting C++11.' url='http://libcxx.llvm.org' @@ -10,20 +10,22 @@ arch=('i686' 'x86_64') # gcc-libs needed for libgcc_s, because Arch doesn't use a pure compiler-rt clang depends=('glibc' 'libc++abi' 'gcc-libs') makedepends=('clang' 'subversion' 'cmake') -source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz") -md5sums=('85c3c4e2233893b037256bf9f7077857') +source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz" + "http://www.llvm.org/releases/3.4.2/libcxx-${pkgver}.src.tar.gz.sig") +md5sums=('da134c8bb4576e6168fb4872526bb8b3' + 'SKIP') install=${pkgname}.install build() { - mkdir -p libcxx-${pkgver}/build - cd libcxx-${pkgver}/build + mkdir -p libcxx-${pkgver}.src/build + cd libcxx-${pkgver}.src/build CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libcxxabi \ -DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/usr/include \ - -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}" + -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src" make } package() { - install -Dm644 libcxx-${pkgver}/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" - cd libcxx-${pkgver}/build + install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" + cd libcxx-${pkgver}.src/build make DESTDIR="$pkgdir" install } diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD index d672c83bf..1a3dfd630 100644 --- a/community/mg/PKGBUILD +++ b/community/mg/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 107143 2014-03-13 09:28:15Z spupykin $ +# $Id: PKGBUILD 113352 2014-06-19 16:10:54Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Hannes Rist <hrist@phreeknet.org> pkgname=mg -pkgver=20140306 +pkgver=20140414 pkgrel=1 pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team." arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ makedepends=('libclens') license=('custom') source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz cleanup.patch) -md5sums=('bb29858c2c0a82b78ce48ae2929ae18d' +md5sums=('ad4a99a5e26d25db75af7936c6657fbe' '545eac98585e2f5fe0781093ddc07b36') prepare() { diff --git a/core/bash/PKGBUILD b/core/bash/PKGBUILD index 79ee624cb..966598e09 100644 --- a/core/bash/PKGBUILD +++ b/core/bash/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 213861 2014-05-30 16:36:55Z bpiotrowski $ +# $Id: PKGBUILD 215305 2014-06-19 12:33:38Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Aaron Griffin <aaron@archlinux.org> @@ -7,7 +7,7 @@ pkgname=bash _basever=4.3 _patchlevel=018 pkgver=$_basever.$_patchlevel -pkgrel=1 +pkgrel=3 pkgdesc='The GNU Bourne Again shell' arch=('i686' 'x86_64') license=('GPL') @@ -22,7 +22,8 @@ source=(http://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig} dot.bash_profile dot.bash_logout system.bashrc - system.bash_logout) + system.bash_logout + privmode-setuid-fail.patch) if [[ $((10#${_patchlevel})) -gt 0 ]]; then for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do @@ -37,6 +38,9 @@ prepare() { msg "applying patch bash${_basever//.}-$(printf "%03d" $_p)" patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p) done + + # http://hmarco.org/bugs/bash_4.3-setuid-bug.html (FS#40663) + patch -p0 -i ../privmode-setuid-fail.patch } build() { @@ -79,6 +83,7 @@ md5sums=('81348932d5da294953e15d4814c74dd1' '42f4400ed2314bd7519c020d0187edc5' '561949793177116b7be29a07c385ba8b' '472f536d7c9e8250dc4568ec4cfaf294' + 'a577d42e38249d298d6a8d4bf2823883' '1ab682b4e36afa4cf1b426aa7ac81c0d' 'SKIP' '8fc22cf50ec85da00f6af3d66f7ddc1b' diff --git a/core/bash/privmode-setuid-fail.patch b/core/bash/privmode-setuid-fail.patch new file mode 100644 index 000000000..059857d0b --- /dev/null +++ b/core/bash/privmode-setuid-fail.patch @@ -0,0 +1,29 @@ +*** ../bash-4.3-patched/shell.c 2014-01-14 08:04:32.000000000 -0500 +--- shell.c 2014-06-06 16:29:01.000000000 -0400 +*************** +*** 1227,1232 **** + disable_priv_mode () + { +! setuid (current_user.uid); +! setgid (current_user.gid); + current_user.euid = current_user.uid; + current_user.egid = current_user.gid; +--- 1229,1246 ---- + disable_priv_mode () + { +! int e; +! +! if (setuid (current_user.uid) < 0) +! { +! e = errno; +! sys_error (_("cannot set uid to %d: effective uid %d"), current_user.uid, current_user.euid); +! #if defined (EXIT_ON_SETUID_FAILURE) +! if (e == EAGAIN) +! exit (e); +! #endif +! } +! if (setgid (current_user.gid) < 0) +! sys_error (_("cannot set gid to %d: effective gid %d"), current_user.gid, current_user.egid); +! + current_user.euid = current_user.uid; + current_user.egid = current_user.gid; diff --git a/core/libusb/PKGBUILD b/core/libusb/PKGBUILD index 2dabc1e4b..0c75ae162 100644 --- a/core/libusb/PKGBUILD +++ b/core/libusb/PKGBUILD @@ -1,31 +1,31 @@ -# $Id: PKGBUILD 206056 2014-02-16 12:47:08Z tpowa $ -# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# $Id: PKGBUILD 215304 2014-06-19 12:33:36Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + pkgname=libusb -pkgver=1.0.18 +pkgver=1.0.19 pkgrel=1 -depends=('glibc' 'systemd') -pkgdesc="Library that provides generic access to USB device" -arch=(i686 x86_64) -url="http://libusbx.org" +pkgdesc='Library that provides generic access to USB devices' +arch=('i686' 'x86_64') +url='http://libusb.info/' license=('LGPL') -source=(http://downloads.sourceforge.net/${pkgname}/releases/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +depends=('glibc' 'systemd') replaces=('libusb1' 'libusbx') provides=("libusbx=$pkgver") -conflicts=("libusbx") -md5sums=('4a6d049923efc6496f1d383054dac1a6') +conflicts=('libusbx') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('f9e2bb5879968467e5ca756cb4e1fa7e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver ./configure --prefix=/usr --disable-static make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check + make -C $pkgname-$pkgver check } package () { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + make -C $pkgname-$pkgver DESTDIR="$pkgdir" install } diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD index 16a922a22..ffbf3cca0 100644 --- a/extra/mariadb/PKGBUILD +++ b/extra/mariadb/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 211923 2014-04-30 20:25:03Z bpiotrowski $ +# $Id: PKGBUILD 215306 2014-06-19 13:34:46Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> pkgbase=mariadb pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb') -pkgver=5.5.37 +pkgver=5.5.38 _pkgver=${pkgver/.a/a} pkgrel=1 arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ source=(http://mariadb.kisiek.net/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz mariadb.service mariadb-post.sh mariadb-tmpfile.conf) -md5sums=('15a2da0e3c5dd3ad5a353c2e3a38ff37' +md5sums=('fa9ba00b084b95a45fab70860c412f10' 'd488fffa9f62f9949c4aa1bb6e6db692' 'b79e65a5aa536e6b5bc60988eb0b78a2' '2fa6e456964d4ff5e6d4f9ff0126aed6') @@ -52,7 +52,7 @@ build() { -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \ -DWITH_INNOBASE_STORAGE_ENGINE=1 \ -DWITH_PARTITION_STORAGE_ENGINE=1 \ - -DWITH_TOKUDB_STORAGE_ENGINE=1 \ + -DWITHOUT_TOKUDB_STORAGE_ENGINE=1 \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \ -DWITHOUT_PBXT_STORAGE_ENGINE=1 \ |