From 58ee2a8b8164437294a44a627d05ee1c701ced57 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 6 May 2014 03:44:20 +0000 Subject: Tue May 6 03:39:24 UTC 2014 --- community/amsynth/PKGBUILD | 5 +- community/connman/PKGBUILD | 5 +- community/fish/CVE-2014-2905.patch | 263 +++++++++++++++++++++++++++++++++++++ community/fish/CVE-2014-2906.patch | 67 ++++++++++ community/fish/PKGBUILD | 22 +++- community/g2reverb/PKGBUILD | 27 ++++ community/lazarus/PKGBUILD | 8 +- community/libmicrohttpd/PKGBUILD | 6 +- community/libvirt/PKGBUILD | 8 +- community/openvswitch/PKGBUILD | 9 +- community/perl-curses/PKGBUILD | 6 +- community/perl-datetime/PKGBUILD | 6 +- community/python-msgpack/PKGBUILD | 22 ++-- community/python-psutil/PKGBUILD | 32 ++--- community/rev-plugins/PKGBUILD | 16 +-- community/rxvt-unicode/PKGBUILD | 6 +- community/sniffit/PKGBUILD | 21 ++- community/squid/PKGBUILD | 16 +-- community/tinyserial/PKGBUILD | 24 ++++ 19 files changed, 487 insertions(+), 82 deletions(-) create mode 100644 community/fish/CVE-2014-2905.patch create mode 100644 community/fish/CVE-2014-2906.patch create mode 100644 community/g2reverb/PKGBUILD create mode 100644 community/tinyserial/PKGBUILD (limited to 'community') diff --git a/community/amsynth/PKGBUILD b/community/amsynth/PKGBUILD index 038fecfa2..1941e1876 100644 --- a/community/amsynth/PKGBUILD +++ b/community/amsynth/PKGBUILD @@ -3,17 +3,18 @@ # Contributor: Alessio Biancalana pkgname=amsynth -pkgver=1.4.1 +pkgver=1.4.2 pkgrel=1 pkgdesc="Analogue Modeling SYNTHesizer" arch=('i686' 'x86_64') url="http://code.google.com/p/$pkgname/" license=('GPL') +groups=('dssi-plugins' 'lv2-plugins') depends=('gtkmm' 'jack' 'liblo' 'desktop-file-utils') makedepends=('dssi' 'ladspa') install="$pkgname.install" source=("http://downloads.sourceforge.net/project/amsynthe/amsynth-$pkgver.tar.gz") -md5sums=('ea3815142cf2000572f40c64b21fd982') +md5sums=('92aeadad41792e4dfedff5ab16a5cc5e') build() { cd $pkgname-$pkgver diff --git a/community/connman/PKGBUILD b/community/connman/PKGBUILD index 33453e9b7..ece52e3b8 100644 --- a/community/connman/PKGBUILD +++ b/community/connman/PKGBUILD @@ -1,16 +1,15 @@ -#$Id: PKGBUILD 109454 2014-04-14 22:41:47Z dwallace $ +#$Id: PKGBUILD 110674 2014-05-04 22:17:22Z dwallace $ # Maintainer: Daniel Wallace # Contributor: Lucas De Marchi pkgname=connman pkgver=1.23 -pkgrel=1 +pkgrel=2 pkgdesc="Wireless LAN network manager" url="http://connman.net/" arch=('i686' 'x86_64') license=('GPL2') depends=('dbus-core' 'iptables' 'gnutls' 'glib2') -conflicts=('openresolv') optdepends=('bluez: Support for Bluetooth devices' 'wpa_supplicant: For WiFi devices' 'pptpclient: for ppp support') diff --git a/community/fish/CVE-2014-2905.patch b/community/fish/CVE-2014-2905.patch new file mode 100644 index 000000000..539a0c3bb --- /dev/null +++ b/community/fish/CVE-2014-2905.patch @@ -0,0 +1,263 @@ +From 8412c867a501e3a68e55fef6215e86d3ac9f617b Mon Sep 17 00:00:00 2001 +From: David Adam +Date: Sun, 20 Apr 2014 17:51:27 +0800 +Subject: [PATCH] Check effective credentials of socket peers + +Fix for CVE-2014-2905. + +Code for getpeereid() on non-BSD systems imported from the PostgreSQL +project under a BSD-style license. +--- + configure.ac | 4 +-- + doc_src/license.hdr | 30 +++++++++++++++++++- + env_universal.cpp | 9 ++++++ + fallback.cpp | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++- + fallback.h | 4 +++ + fishd.cpp | 9 +++++- + osx/config.h | 6 ++++ + 7 files changed, 137 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index ea7c592..bdfa5f0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -557,7 +557,7 @@ LIBS=$LIBS_COMMON + # Check presense of various header files + # + +-AC_CHECK_HEADERS([getopt.h termios.h sys/resource.h term.h ncurses/term.h ncurses.h curses.h stropts.h siginfo.h sys/select.h sys/ioctl.h execinfo.h spawn.h sys/sysctl.h]) ++AC_CHECK_HEADERS([getopt.h termios.h sys/resource.h term.h ncurses/term.h ncurses.h curses.h stropts.h siginfo.h sys/select.h sys/ioctl.h execinfo.h spawn.h sys/sysctl.h sys/un.h sys/ucred.h ucred.h ]) + + if test x$local_gettext != xno; then + AC_CHECK_HEADERS([libintl.h]) +@@ -698,7 +698,7 @@ fi + AC_CHECK_FUNCS( wcsdup wcsndup wcslen wcscasecmp wcsncasecmp fwprintf ) + AC_CHECK_FUNCS( futimes wcwidth wcswidth wcstok fputwc fgetwc ) + AC_CHECK_FUNCS( wcstol wcslcat wcslcpy lrand48_r killpg ) +-AC_CHECK_FUNCS( backtrace backtrace_symbols sysconf getifaddrs ) ++AC_CHECK_FUNCS( backtrace backtrace_symbols sysconf getifaddrs getpeerucred getpeereid ) + + if test x$local_gettext != xno; then + AC_CHECK_FUNCS( gettext dcgettext ) +diff --git a/doc_src/license.hdr b/doc_src/license.hdr +index 64bab10..f292722 100644 +--- a/doc_src/license.hdr ++++ b/doc_src/license.hdr +@@ -1400,6 +1400,34 @@ POSSIBILITY OF SUCH DAMAGES. + +

+ +-*/ ++


++ ++

License for getpeereid

++ ++\c fish contains code imported from the PostgreSQL project under ++license, namely the getpeereid fallback function. This code is copyrighted ++by: ++ ++Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group ++ ++Portions Copyright (c) 1994, The Regents of the University of California ++ ++Permission to use, copy, modify, and distribute this software and its ++documentation for any purpose, without fee, and without a written agreement ++is hereby granted, provided that the above copyright notice and this ++paragraph and the following two paragraphs appear in all copies. ++ ++IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR ++DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING ++LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS ++DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE ++POSSIBILITY OF SUCH DAMAGE. ++ ++THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, ++INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY ++AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ++ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO ++PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + \htmlonly \endhtmlonly ++*/ +diff --git a/env_universal.cpp b/env_universal.cpp +index c7d060a..987f88b 100644 +--- a/env_universal.cpp ++++ b/env_universal.cpp +@@ -88,6 +88,8 @@ static int try_get_socket_once(void) + + wdir = path; + wuname = user; ++ uid_t seuid; ++ gid_t segid; + + if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) + { +@@ -135,6 +137,13 @@ static int try_get_socket_once(void) + return -1; + } + ++ if ((getpeereid(s, &seuid, &segid) != 0) || seuid != geteuid()) ++ { ++ debug(1, L"Wrong credentials for socket %s at fd %d", name.c_str(), s); ++ close(s); ++ return -1; ++ } ++ + if ((make_fd_nonblocking(s) != 0) || (fcntl(s, F_SETFD, FD_CLOEXEC) != 0)) + { + wperror(L"fcntl"); +diff --git a/fallback.cpp b/fallback.cpp +index 5e4b3e1..34db397 100644 +--- a/fallback.cpp ++++ b/fallback.cpp +@@ -15,8 +15,9 @@ + #include + #include + #include ++#include + #include +-#include ++#include + #include + #include + #include +@@ -1521,3 +1522,80 @@ static int mk_wcswidth(const wchar_t *pwcs, size_t n) + } + + #endif // HAVE_BROKEN_WCWIDTH ++ ++#ifndef HAVE_GETPEEREID ++ ++/*------------------------------------------------------------------------- ++ * ++ * getpeereid.c ++ * get peer userid for UNIX-domain socket connection ++ * ++ * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group ++ * ++ * ++ * IDENTIFICATION ++ * src/port/getpeereid.c ++ * ++ *------------------------------------------------------------------------- ++ */ ++ ++#ifdef HAVE_SYS_UN_H ++#include ++#endif ++#ifdef HAVE_UCRED_H ++#include ++#endif ++#ifdef HAVE_SYS_UCRED_H ++#include ++#endif ++ ++/* ++ * BSD-style getpeereid() for platforms that lack it. ++ */ ++int getpeereid(int sock, uid_t *uid, gid_t *gid) ++{ ++#if defined(SO_PEERCRED) ++ /* Linux: use getsockopt(SO_PEERCRED) */ ++ struct ucred peercred; ++ socklen_t so_len = sizeof(peercred); ++ ++ if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &peercred, &so_len) != 0 || ++ so_len != sizeof(peercred)) ++ return -1; ++ *uid = peercred.uid; ++ *gid = peercred.gid; ++ return 0; ++#elif defined(LOCAL_PEERCRED) ++ /* Debian with FreeBSD kernel: use getsockopt(LOCAL_PEERCRED) */ ++ struct xucred peercred; ++ socklen_t * so_len = sizeof(peercred); ++ ++ if (getsockopt(sock, 0, LOCAL_PEERCRED, &peercred, &so_len) != 0 || ++ so_len != sizeof(peercred) || ++ peercred.cr_version != XUCRED_VERSION) ++ return -1; ++ *uid = peercred.cr_uid; ++ *gid = peercred.cr_gid; ++ return 0; ++#elif defined(HAVE_GETPEERUCRED) ++ /* Solaris: use getpeerucred() */ ++ ucred_t *ucred; ++ ++ ucred = NULL; /* must be initialized to NULL */ ++ if (getpeerucred(sock, &ucred) == -1) ++ return -1; ++ ++ *uid = ucred_geteuid(ucred); ++ *gid = ucred_getegid(ucred); ++ ucred_free(ucred); ++ ++ if (*uid == (uid_t) (-1) || *gid == (gid_t) (-1)) ++ return -1; ++ return 0; ++#else ++ /* No implementation available on this platform */ ++ errno = ENOSYS; ++ return -1; ++#endif ++} ++#endif // HAVE_GETPEEREID +diff --git a/fallback.h b/fallback.h +index eba91be..6898ea5 100644 +--- a/fallback.h ++++ b/fallback.h +@@ -482,3 +482,7 @@ double nan(char *tagp); + + + #endif ++ ++#ifndef HAVE_GETPEEREID ++int getpeereid(int sock, uid_t *uid, gid_t *gid); ++#endif +diff --git a/fishd.cpp b/fishd.cpp +index edb79c2..1e09524 100644 +--- a/fishd.cpp ++++ b/fishd.cpp +@@ -880,6 +880,8 @@ int main(int argc, char ** argv) + int child_socket; + struct sockaddr_un remote; + socklen_t t; ++ uid_t sock_euid; ++ gid_t sock_egid; + int max_fd; + int update_count=0; + +@@ -1000,7 +1002,12 @@ int main(int argc, char ** argv) + { + debug(4, L"Connected with new child on fd %d", child_socket); + +- if (make_fd_nonblocking(child_socket) != 0) ++ if (((getpeereid(child_socket, &sock_euid, &sock_egid) != 0) || sock_euid != geteuid())) ++ { ++ debug(1, L"Wrong credentials for child on fd %d", child_socket); ++ close(child_socket); ++ } ++ else if (make_fd_nonblocking(child_socket) != 0) + { + wperror(L"fcntl"); + close(child_socket); +diff --git a/osx/config.h b/osx/config.h +index 4968a78..bc058ae 100644 +--- a/osx/config.h ++++ b/osx/config.h +@@ -40,6 +40,12 @@ + /* Define to 1 if you have the header file. */ + #define HAVE_GETOPT_H 1 + ++/* Define to 1 if you have the `getpeereid' function. */ ++#define HAVE_GETPEEREID 1 ++ ++/* Define to 1 if you have the `getpeerucred' function. */ ++/* #undef HAVE_GETPEERUCRED */ ++ + /* Define to 1 if you have the `gettext' function. */ + /* #undef HAVE_GETTEXT */ + +-- +1.9.1 + diff --git a/community/fish/CVE-2014-2906.patch b/community/fish/CVE-2014-2906.patch new file mode 100644 index 000000000..739eb71db --- /dev/null +++ b/community/fish/CVE-2014-2906.patch @@ -0,0 +1,67 @@ +From c0989dce2d882c94eb3183e7b94402ba53534abb Mon Sep 17 00:00:00 2001 +From: David Adam +Date: Sun, 20 Apr 2014 23:51:20 +0800 +Subject: [PATCH] use mktemp(1) to generate temporary file names + +Fix for CVE-2014-2906. + +Closes a race condition in funced which would allow execution of +arbitrary code; closes a race condition in psub which would allow +alternation of the data stream. + +Note that `psub -f` does not work (#1040); a fix should be committed +separately for ease of maintenance. +--- + share/functions/funced.fish | 6 +----- + share/functions/psub.fish | 11 +++-------- + 2 files changed, 4 insertions(+), 13 deletions(-) + +diff --git a/share/functions/funced.fish b/share/functions/funced.fish +index 3c2de06..ca2e277 100644 +--- a/share/functions/funced.fish ++++ b/share/functions/funced.fish +@@ -81,11 +81,7 @@ function funced --description 'Edit function definition' + return 0 + end + +- set -q TMPDIR; or set -l TMPDIR /tmp +- set -l tmpname (printf "$TMPDIR/fish_funced_%d_%d.fish" %self (random)) +- while test -f $tmpname +- set tmpname (printf "$TMPDIR/fish_funced_%d_%d.fish" %self (random)) +- end ++ set tmpname (mktemp -t fish_funced.XXXXXXXXXX) + + if functions -q -- $funcname + functions -- $funcname > $tmpname +diff --git a/share/functions/psub.fish b/share/functions/psub.fish +index 42e34c7..7877aa4 100644 +--- a/share/functions/psub.fish ++++ b/share/functions/psub.fish +@@ -45,21 +45,16 @@ function psub --description "Read from stdin into a file and output the filename + return + end + +- # Find unique file name for writing output to +- while true +- set filename /tmp/.psub.(echo %self).(random); +- if not test -e $filename +- break; +- end +- end +- + if test use_fifo = 1 + # Write output to pipe. This needs to be done in the background so + # that the command substitution exits without needing to wait for + # all the commands to exit ++ set dir (mktemp -d /tmp/.psub.XXXXXXXXXX); or return ++ set filename $dir/psub.fifo + mkfifo $filename + cat >$filename & + else ++ set filename (mktemp /tmp/.psub.XXXXXXXXXX) + cat >$filename + end + +-- +1.9.1 + diff --git a/community/fish/PKGBUILD b/community/fish/PKGBUILD index a538a3ca0..ff829d644 100644 --- a/community/fish/PKGBUILD +++ b/community/fish/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 106894 2014-03-09 17:38:13Z bpiotrowski $ +# $Id: PKGBUILD 110716 2014-05-05 14:15:56Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Kaiting Chen # Contributor: Abhishek Dasgupta @@ -7,7 +7,7 @@ pkgname=fish pkgver=2.1.0 -pkgrel=2 +pkgrel=3 pkgdesc='Smart and user friendly shell intended mostly for interactive use' arch=('i686' 'x86_64') url='http://fishshell.com/' @@ -15,14 +15,24 @@ license=('GPL2') depends=('bc' 'gcc-libs' 'inetutils' 'ncurses') optdepends=('python: for manual page completion parser and web configuration tool') install=fish.install -source=(http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz) -md5sums=('3a29aebde522b8f52d9975d7423db99e') +source=(http://fishshell.com/files/$pkgver/fish-$pkgver.tar.gz + CVE-2014-2905.patch + CVE-2014-2906.patch) +md5sums=('3a29aebde522b8f52d9975d7423db99e' + '1e194b61bb7ec49e2e005383724037b7' + 'cf0c216f528c9d9adac2aa5f8e9b716b') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../CVE-2014-2905.patch + patch -p1 -i ../CVE-2014-2906.patch + autoconf -f +} build() { cd $pkgname-$pkgver ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --without-xsel + --sysconfdir=/etc make } diff --git a/community/g2reverb/PKGBUILD b/community/g2reverb/PKGBUILD new file mode 100644 index 000000000..c78895ef0 --- /dev/null +++ b/community/g2reverb/PKGBUILD @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer : speps + +pkgname=g2reverb +pkgver=0.7.1 +pkgrel=1 +pkgdesc="LADSPA stereo reverb plugin based on greverb" +arch=('i686' 'x86_64') +url="http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/" +license=('GPL') +groups=('ladspa-plugins') +depends=('ladspa') +source=("${url}../downloads/$pkgname-$pkgver.tar.bz2") +md5sums=('072c2af1f0ed526be432ede7e7a529ae') + +build() { + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver + + # plugin + install -Dm755 $pkgname.so \ + "$pkgdir/usr/lib/ladspa/$pkgname.so" +} diff --git a/community/lazarus/PKGBUILD b/community/lazarus/PKGBUILD index 5c81fe1d0..28000d7eb 100644 --- a/community/lazarus/PKGBUILD +++ b/community/lazarus/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 107590 2014-03-18 08:37:39Z spupykin $ +# $Id: PKGBUILD 110700 2014-05-05 09:48:16Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jens Adam (byte/jra) # Contributor: BlackIkeEagle pkgbase=lazarus pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt') -pkgver=1.2 +pkgver=1.2.2 _pkgsubver=0 -pkgrel=2 +pkgrel=1 url='http://www.lazarus.freepascal.org/' license=('GPL2' 'MPL' 'custom:modifiedLGPL') arch=('i686' 'x86_64') @@ -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=('f36e7182cf5a5d75a7157104d1370e0b' +md5sums=('f6dccb86952906e60484ee46d2888838' '288bca6ad5ade79deec34c3602daaaa9') build() { diff --git a/community/libmicrohttpd/PKGBUILD b/community/libmicrohttpd/PKGBUILD index 10e012434..817bed807 100644 --- a/community/libmicrohttpd/PKGBUILD +++ b/community/libmicrohttpd/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 109027 2014-04-09 11:57:32Z spupykin $ +# $Id: PKGBUILD 110680 2014-05-05 09:14:21Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Norberto Lopes # Contributor: Kao Dome @@ -6,7 +6,7 @@ # Contributor: Mathias Rohnstock pkgname=libmicrohttpd -pkgver=0.9.34 +pkgver=0.9.35 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') @@ -16,7 +16,7 @@ depends=('gnutls' 'libgcrypt') optdepends=('file' 'curl') install=libmicrohttpd.install source=(ftp://ftp.gnu.org/gnu/libmicrohttpd/$pkgname-$pkgver.tar.gz) -md5sums=('2947eee13c2c8affb95023a0cb6fda0c') +md5sums=('a9d747b6666879569036bb791653a1c7') build() { cd ${pkgname}-${pkgver} diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index cba7eb63c..f457ffa6b 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 109400 2014-04-14 14:53:23Z spupykin $ +# $Id: PKGBUILD 110702 2014-05-05 09:50:23Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Jonathan Wiersma pkgname=libvirt -pkgver=1.2.3 -pkgrel=4 +pkgver=1.2.4 +pkgrel=1 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -62,7 +62,7 @@ source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" libvirtd.conf.d libvirtd-guests.conf.d libvirt.tmpfiles.d) -md5sums=('ad1602a2fcc3609c83b885a28f3eecbd' +md5sums=('da7a9ca519df45a460659189fe0024e6' '3ed0e24f5b5e25bf553f5427d64915e6' '0a96ed876ffb1fcb9dff5a9b3a609c1e' '020971887442ebbf1b6949e031c8dd3f') diff --git a/community/openvswitch/PKGBUILD b/community/openvswitch/PKGBUILD index 9cba87bd4..d7f88b1d0 100644 --- a/community/openvswitch/PKGBUILD +++ b/community/openvswitch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 110448 2014-04-30 09:59:12Z spupykin $ +# $Id: PKGBUILD 110682 2014-05-05 09:14:44Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Pedro Martinez-Julia (pedromj@um.es) # Contributor: Matt Monaco pkgname=openvswitch -pkgver=2.1.1 +pkgver=2.1.2 pkgrel=1 pkgdesc="Production Quality, Multilayer Open Virtual Switch" url="http://openvswitch.org" @@ -34,6 +34,11 @@ sha256sums=('43f228ac145f682a7c6681bae7b9bee004fcdd9d4a4503d87ca65c0e9fe1a04b' 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') +sha256sums=('875429b052c4001815b6cb38616c7a6cb212df4bba74602164ee0a99b172079b' + '9d30ed859214f4cdeb6b6450d5c5defaf31f2c593c05201109df66fa9373ef0c' + 'e8dc21e50fc886bfd6aa55991bdb3cb66907e11b071045452bb12de01a3ecbd9' + '5900728bca0292ec66e6da234eaa6f32f28ead6bda163d89a480eac08558c657' + 'c2cb5e2685240ea50b1aba4e77784f4dd66d157e7cd05a17853868aa8d8a2a45') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/perl-curses/PKGBUILD b/community/perl-curses/PKGBUILD index c501dc462..536f7cc29 100644 --- a/community/perl-curses/PKGBUILD +++ b/community/perl-curses/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 109110 2014-04-10 13:24:43Z fyan $ +# $Id: PKGBUILD 110686 2014-05-05 09:15:21Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch # Contributor: Francois Charette pkgname=perl-curses -pkgver=1.29 +pkgver=1.31 pkgrel=1 pkgdesc="Character screen handling and windowing" arch=('i686' 'x86_64') @@ -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=('236de0209223e40b458c55e5250da2b3') +md5sums=('119aff0faaa9347ed32dad127c4a6707') build() { cd $srcdir/Curses-$pkgver diff --git a/community/perl-datetime/PKGBUILD b/community/perl-datetime/PKGBUILD index 1319045c0..e6b3320e4 100644 --- a/community/perl-datetime/PKGBUILD +++ b/community/perl-datetime/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 107078 2014-03-12 10:56:22Z spupykin $ +# $Id: PKGBUILD 110688 2014-05-05 09:15:39Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-datetime -pkgver=1.08 +pkgver=1.09 pkgrel=1 pkgdesc="A complete, easy to use date and time object" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ LC_NUMERIC=C provides=("perl-datetime=`printf %.4f $pkgver`") options=('!emptydirs') source=(http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-$pkgver.tar.gz) -md5sums=('e928c3cdf31b7e39b2f7865f4037ce8b') +md5sums=('5bd3b4145ea08df1af71f2e8979ca178') build() { cd $srcdir/DateTime-$pkgver diff --git a/community/python-msgpack/PKGBUILD b/community/python-msgpack/PKGBUILD index ae85028e1..8b888b33c 100644 --- a/community/python-msgpack/PKGBUILD +++ b/community/python-msgpack/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 108457 2014-03-27 14:47:55Z fyan $ +# $Id: PKGBUILD 110722 2014-05-05 21:10:57Z seblu $ # Maintainer: Sébastien "Seblu" Luttringer pkgbase=python-msgpack pkgname=('python-msgpack' 'python2-msgpack') -pkgver=0.4.1 -pkgrel=2 +pkgver=0.4.2 +pkgrel=1 arch=('i686' 'x86_64') url='https://github.com/msgpack/msgpack-python' license=('Apache') makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools') checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six') source=("http://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-$pkgver.tar.gz") -md5sums=('3ff478e75e783f4e69c1a8d5ca63dea4') +md5sums=('e3a0fdfd864c72c958bb501d39b39caf') build() { cd msgpack-python-$pkgver @@ -21,13 +21,13 @@ build() { sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \; } -check() { - cd msgpack-python-$pkgver - msg2 'python' - PYTHONPATH=$PWD/build/python py.test test - msg2 'python2' - PYTHONPATH=$PWD/build/python2 py.test2 test -} +#check() { +# cd msgpack-python-$pkgver +# msg2 'python' +# PYTHONPATH=$PWD/build/python py.test test +# msg2 'python2' +# PYTHONPATH=$PWD/build/python2 py.test2 test +#} package_python-msgpack() { pkgdesc='MessagePack serializer implementation for Python' diff --git a/community/python-psutil/PKGBUILD b/community/python-psutil/PKGBUILD index 43032b93f..e59b536d6 100644 --- a/community/python-psutil/PKGBUILD +++ b/community/python-psutil/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 109232 2014-04-11 23:45:33Z seblu $ +# $Id: PKGBUILD 110728 2014-05-05 22:06:27Z seblu $ # Maintainer: Sébastien Luttringer pkgbase=python-psutil pkgname=('python-psutil' 'python2-psutil') -pkgver=2.1.0 +pkgver=2.1.1 pkgrel=1 arch=('i686' 'x86_64') url='http://code.google.com/p/psutil/' @@ -11,7 +11,7 @@ license=('custom: BSD') makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools') checkdepends=('net-tools' 'procps-ng') source=("https://pypi.python.org/packages/source/p/psutil/psutil-$pkgver.tar.gz") -md5sums=('ba1f51f4c8e2c74cba48cef70b8a5bec') +md5sums=('72a6b15d589fab11f6ca245b775bc3c6') build() { cd psutil-$pkgver @@ -25,19 +25,19 @@ build() { sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \; } -#check() { -# cd psutil-$pkgver -# -# msg2 python -# export PYTHONPATH="$PWD/build/python" -# #python test/test_psutil.py -# python test/test_memory_leaks.py -# -# msg2 python2 -# export PYTHONPATH="$PWD/build/python2" -# #python2 test/test_psutil.py -# python2 test/test_memory_leaks.py -#} +check() { + cd psutil-$pkgver + + msg2 python + export PYTHONPATH="$PWD/build/python" + #python test/test_psutil.py + python test/test_memory_leaks.py + + msg2 python2 + export PYTHONPATH="$PWD/build/python2" + #python2 test/test_psutil.py + python2 test/test_memory_leaks.py +} package_python-psutil() { pkgdesc='A cross-platform process and system utilities module for Python' diff --git a/community/rev-plugins/PKGBUILD b/community/rev-plugins/PKGBUILD index 83d6ee649..db44f1558 100644 --- a/community/rev-plugins/PKGBUILD +++ b/community/rev-plugins/PKGBUILD @@ -1,27 +1,27 @@ -# $Id: PKGBUILD 95493 2013-08-13 03:23:10Z speps $ +# $Id: PKGBUILD 110720 2014-05-05 19:45:33Z speps $ # Maintainer : speps pkgname=rev-plugins -pkgver=0.3.1 +pkgver=0.7.1 pkgrel=1 -pkgdesc="LADSPA stereo reverb plugin based on greverb" +pkgdesc="LADSPA stereo and ambisonic reverb plugin based on zita-rev1" arch=('i686' 'x86_64') url="http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/" license=('GPL') groups=('ladspa-plugins') depends=('ladspa') source=("${url}../downloads/REV-plugins-$pkgver.tar.bz2") -md5sums=('bca920c2cbf5e33989e7cafab6fbaee4') +md5sums=('9f0be0d26592f67ba5fe16102c6bc332') build() { - cd "$srcdir/REV-plugins-$pkgver" + cd REV-plugins-$pkgver make } package() { - cd "$srcdir/REV-plugins-$pkgver" + cd REV-plugins-$pkgver # plugin - install -Dm 755 g2reverb.so \ - "$pkgdir/usr/lib/ladspa/g2reverb.so" + install -Dm755 zita-reverbs.so \ + "$pkgdir/usr/lib/ladspa/zita-reverbs.so" } diff --git a/community/rxvt-unicode/PKGBUILD b/community/rxvt-unicode/PKGBUILD index 227014973..b1424c23a 100644 --- a/community/rxvt-unicode/PKGBUILD +++ b/community/rxvt-unicode/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 99594 2013-10-30 11:27:15Z seblu $ +# $Id: PKGBUILD 110724 2014-05-05 21:25:11Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Angel Velasquez # Contributor: tobias @@ -6,7 +6,7 @@ pkgbase=rxvt-unicode pkgname=('rxvt-unicode' 'rxvt-unicode-terminfo') -pkgver=9.19 +pkgver=9.20 pkgrel=1 arch=('i686' 'x86_64') url='http://software.schmorp.de/pkg/rxvt-unicode.html' @@ -18,7 +18,7 @@ source=( 'urxvtc.desktop' 'urxvt-tabbed.desktop' ) -md5sums=('45ad197eb9b5a840c0f65e3a8131921c' +md5sums=('4a5b823f08d21036f94a6c51e94d025b' 'fec94dc986fa37ec380079d81de3e0b2' 'fac55f0a8404c86dad3e702146762332' '8a5599197568c63720e282b9722a7990') diff --git a/community/sniffit/PKGBUILD b/community/sniffit/PKGBUILD index a117f5848..47effdc3d 100644 --- a/community/sniffit/PKGBUILD +++ b/community/sniffit/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 95658 2013-08-15 09:57:11Z spupykin $ +# $Id: PKGBUILD 110704 2014-05-05 09:50:50Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Kessia 'even' Pinheiro pkgname=sniffit pkgver=0.3.7.beta -pkgrel=14 +pkgrel=15 pkgdesc="Very good packet sniffer for unix with ncurses interactive mode" arch=('i686' 'x86_64') url="http://packages.ubuntu.com/source/sniffit" @@ -33,7 +33,18 @@ build() { package() { cd "${srcdir}/${pkgname}.${pkgver}" - install -d -m0755 -g root -o root ${pkgdir}/usr/{bin,share/licenses/${pkgname}} - install -D -m0744 -g root -o root sniffit ${pkgdir}/usr/bin/sniffit - install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname} + install -dm0755 -g root -o root ${pkgdir}/usr/{bin,share/licenses/${pkgname}} + install -Dm0744 -g root -o root sniffit ${pkgdir}/usr/bin/sniffit + install -Dm0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname} + + # docs + install -Dm0644 sniffit.5 $pkgdir/usr/share/man/man5/sniffit.5 + install -Dm0644 sniffit.8 $pkgdir/usr/share/man/man8/sniffit.8 + + for i in BETA-TESTING PLUGIN-HOWTO README.FIRST sniffit-FAQ; do + install -Dm0644 $i $pkgdir/usr/share/doc/sniffit/$i + done + for i in dns_plugin.plug dummy_plugin.plug sample_config_file; do + install -Dm0644 $i $pkgdir/usr/share/doc/sniffit/examples/$i + done } diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD index 5ceb3f71a..a4835349a 100644 --- a/community/squid/PKGBUILD +++ b/community/squid/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 110475 2014-04-30 16:04:37Z spupykin $ +# $Id: PKGBUILD 110696 2014-05-05 09:16:38Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Mark Coolen # Contributor: Tom Newsom # Contributor: Kevin Piche pkgname=squid -pkgver=3.4.4.2 -pkgrel=2 +pkgver=3.4.5 +pkgrel=1 pkgdesc='Full-featured Web proxy cache server' arch=('x86_64' 'i686') url='http://www.squid-cache.org' @@ -21,18 +21,16 @@ source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2" 'squid.pam' 'squid.cron' 'squid.service' - 'squid.tmpfiles' - "ssl.patch::http://bugs.squid-cache.org/attachment.cgi?id=3036") -md5sums=('d9d4a3d414db60e687d99080fbc68d1e' + 'squid.tmpfiles') +md5sums=('b6bee84755c9bd08a119a386c26c9189' '270977cdd9b47ef44c0c427ab9034777' 'a71425c4951f2e5b640d19e6a5048531' 'ceeb57c69ebb165676219222f109a24e' - 'd243da117c1aee03c0cc6052f023a380' - '4a21c881444707586095c4acc238eae6') + 'd243da117c1aee03c0cc6052f023a380') prepare() { cd "$srcdir/$pkgname-$pkgver" - patch -p0 <$srcdir/ssl.patch +# patch -p0 <$srcdir/ssl.patch } build() { diff --git a/community/tinyserial/PKGBUILD b/community/tinyserial/PKGBUILD new file mode 100644 index 000000000..e458ed875 --- /dev/null +++ b/community/tinyserial/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Anatol Pomozov +# Contributor: Jens Adam (byte/jra) + +pkgname=tinyserial +pkgver=20090305 +pkgrel=2 +pkgdesc="Small minicom replacement for accessing serial ports on Linux inspired by FreeBSD 'tip'" +url="http://brokestream.com/tinyserial.html" +license=(BSD) +arch=(i686 x86_64) +depends=(glibc) +source=(http://brokestream.com/com.c) +sha1sums=('720a3ec74eddd6799c0ca55ef50479a160a55b73') + +build() { + gcc $CFLAGS $LDFLAGS -o com com.c +} + +package() { + install -D com "$pkgdir"/usr/bin/com + + sed -n '16,36p' com.c > license.txt + install -Dm644 license.txt "$pkgdir"/usr/share/licenses/tinyserial/license.txt +} -- cgit v1.2.3-54-g00ecf