diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/git/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/gparted/PKGBUILD | 25 | ||||
-rw-r--r-- | extra/kdevelop-python/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/libtasn1/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/libtasn1/buffer_overflow_fix.diff | 75 | ||||
-rw-r--r-- | extra/qemu/PKGBUILD | 9 | ||||
-rw-r--r-- | extra/unison/PKGBUILD | 6 | ||||
-rw-r--r-- | extra/usermin/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/webmin/PKGBUILD | 8 | ||||
-rw-r--r-- | extra/xterm/PKGBUILD | 6 |
10 files changed, 159 insertions, 34 deletions
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD index 0fa9bee31..c32a6d532 100644 --- a/extra/git/PKGBUILD +++ b/extra/git/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 169498 2012-10-22 12:48:27Z dan $ +# $Id: PKGBUILD 172027 2012-11-26 16:17:46Z dan $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=git -pkgver=1.8.0 +pkgver=1.8.0.1 pkgrel=1 pkgdesc="the fast distributed version control system" arch=(i686 x86_64) @@ -109,8 +109,8 @@ package() { install -D -m 644 "$srcdir"/git-daemon.socket "$pkgdir"/usr/lib/systemd/system/git-daemon.socket } -md5sums=('12f4d20f34ae37086d86dd3b9d037bba' - '66f0a839d933c7d573fb40cb051b5e66' +md5sums=('3d598a31bd8ff04f6a72c65a4cd015a8' + '0354726bd084cace4318142b53ce5aa2' '8e2648910fd5dd4f1c41d3c7fa9e9156' '2e42bf97779a1c6411d89043334c9e78' '042524f942785772d7bd52a1f02fe5ae' diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD index 9515cdd67..97a596b82 100644 --- a/extra/gparted/PKGBUILD +++ b/extra/gparted/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 171955 2012-11-25 09:02:02Z giovanni $ +# $Id: PKGBUILD 172015 2012-11-26 14:36:27Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Andrew Simmons <andrew.simmons@gmail.com> # Contributor: György Balló <ballogy@freestart.hu> pkgname=gparted pkgver=0.14.0 -pkgrel=2 +pkgrel=3 pkgdesc="A Partition Magic clone, frontend to GNU Parted" arch=('i686' 'x86_64') url="http://gparted.sourceforge.net" license=('GPL') -depends=('parted' 'gtkmm' 'hicolor-icon-theme' 'gksu') +depends=('parted' 'gtkmm' 'hicolor-icon-theme') makedepends=('intltool' 'pkg-config' 'gnome-doc-utils') optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'jfsutils: for jfs partitions' @@ -18,11 +18,14 @@ optdepends=('dosfstools: for FAT16 and FAT32 partitions' 'reiserfsprogs: for reiser partitions' 'xfsprogs: for xfs partitions' 'nilfs-utils: for nilfs2 support' + 'polkit-gnome: to run gparted directly from menu' 'gpart: for recovering corrupt partition tables' 'mtools') install=gparted.install -source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('fc3507479e930967a2049c533907384d') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2" + 'org.archlinux.pkexec.gparted.policy') +md5sums=('fc3507479e930967a2049c533907384d' + '27c264cfad8fa413d75954dda7a2dd50') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -35,4 +38,16 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + + # Install policy file + install -Dm644 "${srcdir}/org.archlinux.pkexec.gparted.policy" "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gparted.policy" + + # Install launcher script + mkdir -p ${pkgdir}/usr/bin + echo '#!/bin/sh' > ${pkgdir}/usr/bin/gparted-pkexec + echo 'pkexec "/usr/sbin/gparted" "$@"' >> ${pkgdir}/usr/bin/gparted-pkexec + chmod 755 ${pkgdir}/usr/bin/gparted-pkexec + + # Modify desktop file + sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" ${pkgdir}/usr/share/applications/gparted.desktop } diff --git a/extra/kdevelop-python/PKGBUILD b/extra/kdevelop-python/PKGBUILD new file mode 100644 index 000000000..1a5551ab5 --- /dev/null +++ b/extra/kdevelop-python/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 172007 2012-11-26 13:00:02Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdevelop-python +pkgver=1.4.1 +pkgrel=1 +pkgdesc="Python language and documentation plugin for KDevelop" +arch=('i686' 'x86_64') +url="http://www.kdevelop.org/" +license=('GPL') +depends=('kdevelop') +makedepends=('cmake' 'automoc4' 'kdevelop-pg-qt') +source=("http://download.kde.org/stable/kdevelop/kdev-python/${pkgver}/src/kdev-python-v${pkgver}.tar.bz2") +sha1sums=('b887811d9a79eee3323cf3ad1be093c5801d31d6') + +build() { + mkdir build + cd build + cmake ../kdev-python-v${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install + + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/share/apps/kdevpythonsupport/encodings/encodings/rot_13.py +} diff --git a/extra/libtasn1/PKGBUILD b/extra/libtasn1/PKGBUILD index 699bae051..3b7021f5e 100644 --- a/extra/libtasn1/PKGBUILD +++ b/extra/libtasn1/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 170031 2012-10-31 05:15:58Z andyrtr $ +# $Id: PKGBUILD 172017 2012-11-26 14:46:50Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=libtasn1 -pkgver=3.0 +pkgver=3.1 pkgrel=1 pkgdesc="The ASN.1 library used in GNUTLS" arch=('i686' 'x86_64') @@ -12,12 +12,19 @@ url="http://www.gnu.org/software/libtasn1/" depends=('glibc' 'texinfo') options=('!libtool') install=libtasn1.install -source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) -sha1sums=('0ce12f8b0460ae6eabf2a608506dbd337bf78a71' - '48abf083dc9d36cc64f0d80cebd3da1dbc47d557') +source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig} + buffer_overflow_fix.diff) +md5sums=('a3c713c41a9a73851235dc37051be46f' + '43500f54858ffe021e5fd20896b165ad' + '4c9e248a4198d9710bf2f822a7c447a5') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # corrected possible buffer overflow in parser errors. + # http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=aa6e97f68d6c8d06f531d9b6bb462dc1c0720f77 + patch -Np1 -i ${srcdir}/buffer_overflow_fix.diff + ./configure --prefix=/usr \ --with-packager=Archlinux \ --with-packager-bug-reports="http://bugs.archlinux.org/" \ diff --git a/extra/libtasn1/buffer_overflow_fix.diff b/extra/libtasn1/buffer_overflow_fix.diff new file mode 100644 index 000000000..c1e71015c --- /dev/null +++ b/extra/libtasn1/buffer_overflow_fix.diff @@ -0,0 +1,75 @@ +From aa6e97f68d6c8d06f531d9b6bb462dc1c0720f77 Mon Sep 17 00:00:00 2001 +From: Nikos Mavrogiannopoulos <nmav@gnutls.org> +Date: Sun, 25 Nov 2012 14:16:24 +0100 +Subject: [PATCH] corrected possible buffer overflow in parser errors. + +--- + lib/ASN1.c | 6 +++--- + lib/ASN1.y | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/lib/ASN1.c b/lib/ASN1.c +index 2a60527..df6fb64 100644 +--- a/lib/ASN1.c ++++ b/lib/ASN1.c +@@ -119,7 +119,7 @@ static unsigned int line_number; /* line number describing the + parser position inside the + file */ + static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = ""; +-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */ ++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */ + static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file + to parse before the 'parse + error' */ +@@ -3283,7 +3283,7 @@ _asn1_yyerror (const char *s) + strcmp (last_token, "TeletexString") == 0 || + strcmp (last_token, "BMPString") == 0) + { +- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE, ++ snprintf (last_error_token, sizeof(last_error_token), + "%s", last_token); + fprintf(stderr, + "%s:%u: Warning: %s is a built-in ASN.1 type.\n", +@@ -3294,7 +3294,7 @@ _asn1_yyerror (const char *s) + + if (result_parse != ASN1_NAME_TOO_LONG) + { +- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE, ++ snprintf (last_error, sizeof(last_error), + "%s:%u: Error: %s near '%s'", file_name, + line_number, s, last_token); + result_parse = ASN1_SYNTAX_ERROR; +diff --git a/lib/ASN1.y b/lib/ASN1.y +index 874eb13..e0add54 100644 +--- a/lib/ASN1.y ++++ b/lib/ASN1.y +@@ -42,7 +42,7 @@ static unsigned int line_number; /* line number describing the + parser position inside the + file */ + static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = ""; +-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */ ++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */ + static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file + to parse before the 'parse + error' */ +@@ -869,7 +869,7 @@ _asn1_yyerror (const char *s) + strcmp (last_token, "TeletexString") == 0 || + strcmp (last_token, "BMPString") == 0) + { +- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE, ++ snprintf (last_error_token, sizeof(last_error_token), + "%s", last_token); + fprintf(stderr, + "%s:%u: Warning: %s is a built-in ASN.1 type.\n", +@@ -880,7 +880,7 @@ _asn1_yyerror (const char *s) + + if (result_parse != ASN1_NAME_TOO_LONG) + { +- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE, ++ snprintf (last_error, sizeof(last_error), + "%s:%u: Error: %s near '%s'", file_name, + line_number, s, last_token); + result_parse = ASN1_SYNTAX_ERROR; +-- +1.7.2.5 + diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD index b243184f7..4f57d8083 100644 --- a/extra/qemu/PKGBUILD +++ b/extra/qemu/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 166385 2012-09-07 12:55:19Z tpowa $ +# $Id: PKGBUILD 172024 2012-11-26 16:12:59Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=qemu -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation." arch=('i686' 'x86_64') @@ -42,8 +42,5 @@ package() { done } -md5sums=('78eb1e984f4532aa9f2bdd3c127b5b61' - 'b316a066d2f1bb57d8f5b7ea1d0d1caf' - '8687179e77ab954c4a43017d030f7349') -md5sums=('78eb1e984f4532aa9f2bdd3c127b5b61' +md5sums=('189bc5b87281a72f8c72a0f7ebaa6d00' 'b316a066d2f1bb57d8f5b7ea1d0d1caf') diff --git a/extra/unison/PKGBUILD b/extra/unison/PKGBUILD index f3c933315..c92284689 100644 --- a/extra/unison/PKGBUILD +++ b/extra/unison/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 166409 2012-09-07 16:52:52Z tpowa $ +# $Id: PKGBUILD 172029 2012-11-26 16:23:15Z tpowa $ #Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=unison -pkgver=2.40.65 +pkgver=2.40.102 pkgrel=1 pkgdesc="Unison is a file-synchronization tool" arch=(i686 x86_64) @@ -50,5 +50,5 @@ package() { # make versioned symlink #29827 ln -s unison unison-2.40 } -md5sums=('ade42565aa0f94834664040108119f5e' +md5sums=('42caf869f40440ed0e75eef07a605b2e' '2daecba7705455a8e4b769e48b059872') diff --git a/extra/usermin/PKGBUILD b/extra/usermin/PKGBUILD index bf55ea176..04b7e7235 100644 --- a/extra/usermin/PKGBUILD +++ b/extra/usermin/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 169610 2012-10-24 12:47:17Z tomegun $ +# $Id: PKGBUILD 172026 2012-11-26 16:13:58Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=usermin -pkgver=1.520 -pkgrel=2 +pkgver=1.530 +pkgrel=1 pkgdesc="a web interface that can be used to easily perform tasks like reading mail, setting up SSH or configuring mail forwarding" arch=(i686 x86_64) license=('custom:usermin') @@ -128,7 +128,7 @@ build() { #install license install -m 644 -D $startdir/src/$pkgname-$pkgver/LICENCE $startdir/pkg/usr/share/licenses/usermin/LICENCE } -md5sums=('5819ba87796d9373a92116e90d1a35d4' +md5sums=('5a00ec2d294935676efc12f607446fb4' 'cfef4490cd1ef9517c0b39a7bd75c968' 'a5bd5e5ee779f8a3cf3d776ca77ee36e' 'ec37a79f948f778224550930d2a7ca07') diff --git a/extra/webmin/PKGBUILD b/extra/webmin/PKGBUILD index c918677f2..f83690fe1 100644 --- a/extra/webmin/PKGBUILD +++ b/extra/webmin/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 170999 2012-11-14 16:17:47Z tpowa $ +# $Id: PKGBUILD 172025 2012-11-26 16:13:54Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=webmin -pkgver=1.600 -pkgrel=2 +pkgver=1.610 +pkgrel=1 pkgdesc="a web-based interface for system administration" arch=(i686 x86_64) license=('custom:webmin') @@ -214,7 +214,7 @@ build() { # install license install -m 644 -D $startdir/src/$pkgname-$pkgver/LICENCE $startdir/pkg/usr/share/licenses/webmin/LICENCE } -md5sums=('8a9124bdd180aeec13fc16fa75fb1419' +md5sums=('e5f51402c09558ee688efea3d03a3d83' 'b0b3e3fb231a12e60165b6b4d604dcfa' 'bfebb75bb94029b48c46b7f1ba1aa811' 'c77dfcd621b417a7826d25f56a1e60ae' diff --git a/extra/xterm/PKGBUILD b/extra/xterm/PKGBUILD index 9a77e9c1e..998538cf1 100644 --- a/extra/xterm/PKGBUILD +++ b/extra/xterm/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 169838 2012-10-30 20:17:05Z andyrtr $ +# $Id: PKGBUILD 172019 2012-11-26 14:56:12Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=xterm -pkgver=286 +pkgver=287 pkgrel=1 pkgdesc="X Terminal Emulator" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('custom') depends=('libxft' 'libxaw' 'ncurses' 'xorg-luit' 'xbitmaps') source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz LICENSE) -md5sums=('a72ac3809b3338899d97c17e13a9102a' +md5sums=('0e4385e66d40b5dd6017d02c3db2a4af' '10ecc3f8ee91e3189863a172f68282d2') build() { |