[arch-commits] Commit in libupnp/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Aug 5 22:00:40 UTC 2016
Date: Friday, August 5, 2016 @ 22:00:40
Author: arojas
Revision: 273353
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libupnp/repos/testing-i686/
libupnp/repos/testing-i686/PKGBUILD
(from rev 273352, libupnp/trunk/PKGBUILD)
libupnp/repos/testing-x86_64/
libupnp/repos/testing-x86_64/PKGBUILD
(from rev 273352, libupnp/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: libupnp/repos/testing-i686/PKGBUILD (from rev 273352, libupnp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-08-05 22:00:40 UTC (rev 273353)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: kastor <kastor at fobos.org.ar>
+
+pkgname=libupnp
+pkgver=1.6.20
+pkgrel=1
+pkgdesc="Portable Open Source UPnP Development Kit"
+arch=('i686' 'x86_64')
+url="http://pupnp.sourceforge.net/"
+license=('BSD')
+depends=('glibc')
+makedepends=('pkgconfig')
+source=("http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
+ CVE-2016-6255.patch::"https://github.com/mjg59/pupnp-code/commit/be0a01bd.patch")
+md5sums=('6839c376b5ec71d2d56f7b64e829c438'
+ '101411c99ed0dd973e6e89848f0d2aaa')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Fix CVE-2016-6255
+ patch -p1 -i ../CVE-2016-6255.patch
+ autoreconf -vi
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
+}
Copied: libupnp/repos/testing-x86_64/PKGBUILD (from rev 273352, libupnp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-08-05 22:00:40 UTC (rev 273353)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: kastor <kastor at fobos.org.ar>
+
+pkgname=libupnp
+pkgver=1.6.20
+pkgrel=1
+pkgdesc="Portable Open Source UPnP Development Kit"
+arch=('i686' 'x86_64')
+url="http://pupnp.sourceforge.net/"
+license=('BSD')
+depends=('glibc')
+makedepends=('pkgconfig')
+source=("http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
+ CVE-2016-6255.patch::"https://github.com/mjg59/pupnp-code/commit/be0a01bd.patch")
+md5sums=('6839c376b5ec71d2d56f7b64e829c438'
+ '101411c99ed0dd973e6e89848f0d2aaa')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Fix CVE-2016-6255
+ patch -p1 -i ../CVE-2016-6255.patch
+ autoreconf -vi
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list