summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/a2ps/PKGBUILD19
-rw-r--r--extra/a2ps/a2ps-4.13-security.patch65
-rw-r--r--extra/avogadro/PKGBUILD2
-rw-r--r--extra/icedtea-web-java7/PKGBUILD4
-rw-r--r--extra/libftdi/PKGBUILD8
-rw-r--r--extra/libmbim/PKGBUILD8
-rw-r--r--extra/modemmanager/PKGBUILD45
-rw-r--r--extra/modemmanager/modemmanager.install13
-rw-r--r--extra/pango/PKGBUILD6
-rw-r--r--extra/python-lxml/PKGBUILD7
-rw-r--r--extra/vlc/PKGBUILD8
11 files changed, 126 insertions, 59 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index 8c0eed41e..f82f5b6b4 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD 197210 2013-10-24 03:42:33Z eric $
+# $Id: PKGBUILD 205465 2014-02-05 16:42:48Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=a2ps
pkgver=4.14
-pkgrel=5
+pkgrel=6
pkgdesc="An Any to PostScript filter"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/a2ps/"
license=('GPL3')
-depends=('ghostscript' 'psutils' 'imagemagick')
+depends=('psutils' 'imagemagick')
makedepends=('gperf')
backup=('etc/a2ps/a2ps.cfg' 'etc/a2ps/a2ps-site.cfg')
install=a2ps.install
source=(ftp://ftp.gnu.org/gnu/a2ps/${pkgname}-${pkgver}.tar.gz{,.sig}
- a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
- a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
- a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch)
+ a2ps-4.13c-fnmatch-replacement.patch a2ps-4.13c-emacs.patch
+ a2ps-4.13-manpage-chmod.patch a2ps-4.14-check-mempcpy.patch
+ a2ps-4.14-fix-stpcpy-proto.patch a2ps-texinfo5.patch
+ a2ps-4.13-security.patch)
sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
'SKIP'
'8783952d3410d8d59ed953e1db45e2ef1a0b8f65'
@@ -23,7 +24,8 @@ sha1sums=('365abbbe4b7128bf70dad16d06e23c5701874852'
'2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce'
'6aed29c1399e79f3914b408059610f9e7c0fc38e'
'58fa90134f1027e3f05aeb08212cbcc10f420738'
- '81269db9dd29685b0ece2539070ced3f7a8472df')
+ '81269db9dd29685b0ece2539070ced3f7a8472df'
+ '93a4db17edfaa99e3498c7d952c560dab49dbe42')
prepare() {
cd ${pkgname}-${pkgver}
@@ -37,13 +39,14 @@ prepare() {
patch -p1 -i "${srcdir}/a2ps-4.14-check-mempcpy.patch"
patch -p0 -i "${srcdir}/a2ps-4.14-fix-stpcpy-proto.patch"
patch -p1 -i "${srcdir}/a2ps-texinfo5.patch"
+ patch -p1 -i "${srcdir}/a2ps-4.13-security.patch"
}
build() {
cd ${pkgname}-${pkgver}
libtoolize --force --copy
autoreconf --force --install -I m4
- ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
+ LIBS+="-lm" ./configure --prefix=/usr --sysconfdir=/etc/a2ps \
--includedir=/usr/include --enable-shared --enable-nls
make
}
diff --git a/extra/a2ps/a2ps-4.13-security.patch b/extra/a2ps/a2ps-4.13-security.patch
new file mode 100644
index 000000000..cff622535
--- /dev/null
+++ b/extra/a2ps/a2ps-4.13-security.patch
@@ -0,0 +1,65 @@
+--- a2ps-4.13/lib/routines.c.security Sat Oct 16 05:46:37 1999
++++ a2ps-4.13/lib/routines.c Mon Feb 12 17:45:15 2001
+@@ -242,3 +242,50 @@
+ /* Don't complain if you can't unlink. Who cares of a tmp file? */
+ unlink (filename);
+ }
++
++/*
++ * Securely generate a temp file, and make sure it gets
++ * deleted upon exit.
++ */
++static char ** tempfiles;
++static unsigned ntempfiles;
++
++static void
++cleanup_tempfiles()
++{
++ while (ntempfiles--)
++ unlink(tempfiles[ntempfiles]);
++}
++
++char *
++safe_tempnam(const char *pfx)
++{
++ char *dirname, *filename;
++ int fd;
++
++ if (!(dirname = getenv("TMPDIR")))
++ dirname = "/tmp";
++
++ tempfiles = (char **) realloc(tempfiles,
++ (ntempfiles+1) * sizeof(char *));
++ if (tempfiles == NULL)
++ return NULL;
++
++ filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX"));
++ if (!filename)
++ return NULL;
++
++ sprintf(filename, "%s/%sXXXXXX", dirname, pfx);
++
++ if ((fd = mkstemp(filename)) < 0) {
++ free(filename);
++ return NULL;
++ }
++ close(fd);
++
++ if (ntempfiles == 0)
++ atexit(cleanup_tempfiles);
++ tempfiles[ntempfiles++] = filename;
++
++ return filename;
++}
+--- a2ps-4.13/lib/routines.h.security Mon Oct 18 21:24:41 1999
++++ a2ps-4.13/lib/routines.h Mon Feb 12 17:39:30 2001
+@@ -255,7 +255,8 @@
+ /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */
+ #define tempname_ensure(Str) \
+ do { \
+- (Str) = (Str) ? (Str) : tempnam (NULL, "a2_"); \
++ (Str) = (Str) ? (Str) : safe_tempnam("a2_"); \
+ } while (0)
++char * safe_tempnam(const char *);
+
+ #endif
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD
index b84f80722..e7fbea6a3 100644
--- a/extra/avogadro/PKGBUILD
+++ b/extra/avogadro/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 204748 2014-01-26 12:10:54Z andrea $
+# $Id: PKGBUILD 205472 2014-02-05 17:31:40Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
diff --git a/extra/icedtea-web-java7/PKGBUILD b/extra/icedtea-web-java7/PKGBUILD
index bd5110482..dbd1e5292 100644
--- a/extra/icedtea-web-java7/PKGBUILD
+++ b/extra/icedtea-web-java7/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase=icedtea-web-java7
pkgname=('icedtea-web-java7' 'icedtea-web-java7-doc')
-pkgver=1.4.1
+pkgver=1.4.2
pkgrel=1
arch=('i686' 'x86_64')
url="http://icedtea.classpath.org/wiki/IcedTea-Web"
@@ -11,7 +11,7 @@ license=('GPL2')
makedepends=('jdk7-openjdk' 'zip' 'libxtst' 'npapi-sdk' 'rhino' 'junit' 'firefox' 'chromium' 'epiphany')
noextract=${pkgbase/-java7/}-$pkgver.tar.gz # due to broken path names in the tarball that fails with LANG=C in our chroot
source=(http://icedtea.classpath.org/download/source/${pkgbase/-java7/}-$pkgver.tar.gz)
-sha256sums=('09100207396a09784e04f2ad40d65212930c1d43839e7fa63b9dffaf8567d77b')
+md5sums=('ad4fd669f482e5f69a124061229df517')
_javaver=7
_jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk
diff --git a/extra/libftdi/PKGBUILD b/extra/libftdi/PKGBUILD
index 76e3f588b..d269075a6 100644
--- a/extra/libftdi/PKGBUILD
+++ b/extra/libftdi/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 200729 2013-12-03 16:51:00Z eric $
+# $Id: PKGBUILD 205481 2014-02-05 19:47:07Z eric $
# Maintainer:
pkgname=libftdi
-pkgver=1.0
-pkgrel=2
+pkgver=1.1
+pkgrel=1
pkgdesc="A library to talk to FTDI chips"
arch=('i686' 'x86_64')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
@@ -11,7 +11,7 @@ license=('GPL2' 'LGPL2.1')
depends=('libusbx')
makedepends=('boost' 'cmake')
source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig})
-sha1sums=('5be76cfd7cd36c5291054638f7caf4137303386f'
+sha1sums=('f05ade5614aa31e64f91a30ce3782f7ca3704d18'
'SKIP')
prepare() {
diff --git a/extra/libmbim/PKGBUILD b/extra/libmbim/PKGBUILD
index 4c8b79b97..11c05cbf0 100644
--- a/extra/libmbim/PKGBUILD
+++ b/extra/libmbim/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 198195 2013-10-30 13:23:07Z allan $
+# $Id: PKGBUILD 205456 2014-02-05 15:22:56Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=libmbim
-pkgver=1.4.0
+pkgver=1.6.0
pkgrel=1
pkgdesc="MBIM modem protocol helper library"
arch=(i686 x86_64)
@@ -11,12 +11,12 @@ license=(GPL2)
depends=(glib2 bash systemd)
makedepends=(gtk-doc python)
source=(http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('a7fa909df229574eb11baac89075ac1366a2ac1670f586483bdf0173257cf781')
+sha256sums=('e0efbdaf2aeddec033b4c7c5d0f7934c91ce535c5c9f0cadf1e67527d10ab082')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static
+ --disable-static --with-tests --libexecdir=/usr/lib
make
}
diff --git a/extra/modemmanager/PKGBUILD b/extra/modemmanager/PKGBUILD
index d4ecf45e2..7519c974e 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -1,35 +1,48 @@
-# $Id: PKGBUILD 202884 2013-12-28 22:44:05Z bpiotrowski $
+# $Id: PKGBUILD 205463 2014-02-05 16:17:43Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-pkgname=modemmanager
-_realname=ModemManager
-pkgver=1.0.0
+pkgbase=modemmanager
+pkgname=(modemmanager libmm-glib)
+pkgver=1.2.0
pkgrel=2
pkgdesc="Mobile broadband modem management service"
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/ModemManager/"
-license=(GPL2)
-depends=(udev ppp libqmi libmbim polkit hicolor-icon-theme)
-makedepends=(intltool gtk-doc)
-optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
-install=modemmanager.install
-source=(http://www.freedesktop.org/software/$_realname/$_realname-$pkgver.tar.xz)
-sha256sums=('e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563')
+license=(GPL2 LGPL2.1)
+depends=(systemd polkit ppp libqmi libmbim)
+makedepends=(intltool gtk-doc gobject-introspection vala)
+source=(http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz)
+sha256sums=('8bd9d8c3b506f34a9f927e95784026d1fe132c9d60fc426a892b690f7d6408bc')
build() {
- cd $_realname-$pkgver
+ cd ModemManager-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--with-udev-base-dir=/usr/lib/udev \
- --disable-static \
- --with-polkit=permissive
+ --with-polkit=permissive \
+ --enable-gtk-doc \
+ --disable-static
make
}
-package() {
- cd $_realname-$pkgver
+package_modemmanager() {
+ depends+=(libmm-glib)
+ optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+
+ cd ModemManager-$pkgver
make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C libmm-glib uninstall
+ make DESTDIR="$pkgdir" -C vapi uninstall
+}
+
+package_libmm-glib() {
+ pkgdesc="ModemManager library"
+ depends=(glib2)
+
+ cd ModemManager-$pkgver
+ make DESTDIR="$pkgdir" -C libmm-glib install
+ make DESTDIR="$pkgdir" -C vapi install
}
diff --git a/extra/modemmanager/modemmanager.install b/extra/modemmanager/modemmanager.install
deleted file mode 100644
index d0e87bc18..000000000
--- a/extra/modemmanager/modemmanager.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- if type -P gtk-update-icon-cache &>/dev/null; then
- gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
- fi
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/pango/PKGBUILD b/extra/pango/PKGBUILD
index 4c8bd8403..d73ad4c59 100644
--- a/extra/pango/PKGBUILD
+++ b/extra/pango/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 199375 2013-11-11 18:06:12Z heftig $
+# $Id: PKGBUILD 205450 2014-02-05 06:13:22Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pango
-pkgver=1.36.1
+pkgver=1.36.2
pkgrel=1
pkgdesc="A library for layout and rendering of text"
arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@ makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introsp
install=pango.install
source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
url="http://www.pango.org/"
-sha256sums=('42e4b51cdc99e6878a9ea2a5ef2b31b79c1033f8518726df738a3c54c90e59f8')
+sha256sums=('f07f9392c9cf20daf5c17a210b2c3f3823d517e1917b72f20bb19353b2bc2c63')
build() {
cd ${pkgname}-${pkgver}
diff --git a/extra/python-lxml/PKGBUILD b/extra/python-lxml/PKGBUILD
index cf01df7a1..5f867ca5d 100644
--- a/extra/python-lxml/PKGBUILD
+++ b/extra/python-lxml/PKGBUILD
@@ -1,16 +1,15 @@
-# $Id: PKGBUILD 200744 2013-12-03 23:01:49Z angvp $
+# $Id: PKGBUILD 205479 2014-02-05 18:47:19Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
-
pkgbase=python-lxml
pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
-pkgver=3.2.4
+pkgver=3.3.0
pkgrel=1
arch=('i686' 'x86_64')
license=('BSD' 'custom')
url="http://lxml.de/"
makedepends=('python2' 'python' 'libxslt' 'python-cssselect' 'python2-cssselect')
source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
-md5sums=('cc363499060f615aca1ec8dcc04df331'
+md5sums=('ca2f02fd762f3614a1930c568847052b'
'SKIP')
# Temporary commented due a conflict with devtools and lxml
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index 50c1fd740..c1c0fcb19 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 204426 2014-01-19 16:28:59Z bpiotrowski $
+# $Id: PKGBUILD 205478 2014-02-05 18:23:46Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
# Contributor: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=vlc
-pkgver=2.1.2
-pkgrel=3
+pkgver=2.1.3
+pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
@@ -58,7 +58,7 @@ options=('!emptydirs')
install=vlc.install
source=("http://download.videolan.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
'vlc-2.0.7-vaapi-compat.patch')
-md5sums=('fb6787ad749aadcfaeab3471939b3426'
+md5sums=('56a489d093ffef9aa29809116985adba'
'6df10774bb7acf20e09d6139e5c7839e')
prepare() {