[arch-commits] Commit in avfs/trunk (PKGBUILD avfs-1.0.0-fix_open_missing_mode.patch)
Giovanni Scafora
giovanni at archlinux.org
Mon Feb 27 18:31:23 UTC 2012
Date: Monday, February 27, 2012 @ 13:31:23
Author: giovanni
Revision: 151580
upgpkg: avfs 1.0.0-1
signing rebuild, upstream release
Added:
avfs/trunk/avfs-1.0.0-fix_open_missing_mode.patch
Modified:
avfs/trunk/PKGBUILD
----------------------------------------+
PKGBUILD | 27 ++++++++++++++++++++-------
avfs-1.0.0-fix_open_missing_mode.patch | 11 +++++++++++
2 files changed, 31 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-27 18:26:20 UTC (rev 151579)
+++ PKGBUILD 2012-02-27 18:31:23 UTC (rev 151580)
@@ -3,20 +3,33 @@
# Contributor: K. Piche <kpiche at rogers.com>
pkgname=avfs
-pkgver=0.9.9
+pkgver=1.0.0
pkgrel=1
-pkgdesc="A virtual filesystem which enables programs to look inside archived or compressed files, or access remote files"
-arch=(i686 x86_64)
+pkgdesc="A virtual filesystem that allows browsing of compressed files"
+arch=('i686' 'x86_64')
license=('GPL')
url="http://avf.sourceforge.net/"
-source=(http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2)
+source=("http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2"
+ 'avfs-1.0.0-fix_open_missing_mode.patch')
options=(!emptydirs !libtool)
-depends=('fuse' 'sh')
-md5sums=('3e0df074188a6c4ed9df082f61cc6bf4')
+depends=('fuse' 'xz' 'perl')
+md5sums=('c58421e4f294125895f2c6653a7366a7'
+ 'bdd84b179a869bc6d64529a64a640fc6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-library --enable-fuse --disable-static
+
+ patch -Np1 -i "${srcdir}/avfs-1.0.0-fix_open_missing_mode.patch"
+
+ ./configure --prefix=/usr \
+ --enable-library \
+ --enable-fuse \
+ --disable-static
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
make DESTDIR="${pkgdir}" install
}
Added: avfs-1.0.0-fix_open_missing_mode.patch
===================================================================
--- avfs-1.0.0-fix_open_missing_mode.patch (rev 0)
+++ avfs-1.0.0-fix_open_missing_mode.patch 2012-02-27 18:31:23 UTC (rev 151580)
@@ -0,0 +1,11 @@
+--- a/modules/urar.c 2007-05-14 20:21:23.000000000 +0200
++++ b/modules/urar.c 2009-02-09 13:48:56.780225932 +0100
+@@ -587,7 +587,7 @@
+ if(res < 0)
+ return res;
+
+- fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC);
++ fd = open(tmpfile, O_RDWR | O_CREAT | O_TRUNC, 0644);
+ if(fd == -1) {
+ res = -errno;
+ av_log(AVLOG_ERROR, "RAR: Could not open %s: %s", tmpfile,
More information about the arch-commits
mailing list