summaryrefslogtreecommitdiff
path: root/extra/avfs
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
commite87b42b0f90e1a4d8b255f1dab945f2f3bb13cdc (patch)
treee36d5720f76b5db9dd5f97260108607023d7d2e7 /extra/avfs
parentc0e37a8f32f335c12352f23cdc73113099e057ec (diff)
parent32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/avfs/PKGBUILD extra/gtk2/PKGBUILD extra/hercules/PKGBUILD multilib/lib32-libcap/PKGBUILD multilib/lib32-qt/PKGBUILD
Diffstat (limited to 'extra/avfs')
-rw-r--r--extra/avfs/PKGBUILD29
-rw-r--r--extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch11
2 files changed, 32 insertions, 8 deletions
diff --git a/extra/avfs/PKGBUILD b/extra/avfs/PKGBUILD
index 288312c7a..0cfa33f26 100644
--- a/extra/avfs/PKGBUILD
+++ b/extra/avfs/PKGBUILD
@@ -1,22 +1,35 @@
-# $Id: PKGBUILD 104091 2010-12-28 18:22:31Z kevin $
+# $Id: PKGBUILD 151581 2012-02-27 18:31:46Z giovanni $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@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 'mips64el')
+pkgdesc="A virtual filesystem that allows browsing of compressed files"
+arch=('i686' 'x86_64' 'mips64el')
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
}
diff --git a/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch b/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch
new file mode 100644
index 000000000..1e4a0a4d8
--- /dev/null
+++ b/extra/avfs/avfs-1.0.0-fix_open_missing_mode.patch
@@ -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,