[arch-commits] Commit in avfs/repos (6 files)

Giovanni Scafora giovanni at archlinux.org
Mon Feb 27 13:31:47 EST 2012


    Date: Monday, February 27, 2012 @ 13:31:46
  Author: giovanni
Revision: 151581

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  avfs/repos/extra-i686/PKGBUILD
    (from rev 151580, avfs/trunk/PKGBUILD)
  avfs/repos/extra-i686/avfs-1.0.0-fix_open_missing_mode.patch
    (from rev 151580, avfs/trunk/avfs-1.0.0-fix_open_missing_mode.patch)
  avfs/repos/extra-x86_64/PKGBUILD
    (from rev 151580, avfs/trunk/PKGBUILD)
  avfs/repos/extra-x86_64/avfs-1.0.0-fix_open_missing_mode.patch
    (from rev 151580, avfs/trunk/avfs-1.0.0-fix_open_missing_mode.patch)
Deleted:
  avfs/repos/extra-i686/PKGBUILD
  avfs/repos/extra-x86_64/PKGBUILD

-----------------------------------------------------+
 extra-i686/PKGBUILD                                 |   57 +++++++++++-------
 extra-i686/avfs-1.0.0-fix_open_missing_mode.patch   |   11 +++
 extra-x86_64/PKGBUILD                               |   57 +++++++++++-------
 extra-x86_64/avfs-1.0.0-fix_open_missing_mode.patch |   11 +++
 4 files changed, 92 insertions(+), 44 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-02-27 18:31:23 UTC (rev 151580)
+++ extra-i686/PKGBUILD	2012-02-27 18:31:46 UTC (rev 151581)
@@ -1,22 +0,0 @@
-# $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
-# Contributor: K. Piche <kpiche at rogers.com>
-
-pkgname=avfs
-pkgver=0.9.9
-pkgrel=1
-pkgdesc="A virtual filesystem which enables programs to look inside archived or compressed files, or access remote files"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://avf.sourceforge.net/"
-source=(http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2)
-options=(!emptydirs !libtool)
-depends=('fuse' 'sh')
-md5sums=('3e0df074188a6c4ed9df082f61cc6bf4')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --enable-library --enable-fuse --disable-static
-  make
-  make DESTDIR="${pkgdir}" install
-}

Copied: avfs/repos/extra-i686/PKGBUILD (from rev 151580, avfs/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-27 18:31:46 UTC (rev 151581)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=avfs
+pkgver=1.0.0
+pkgrel=1
+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"
+        'avfs-1.0.0-fix_open_missing_mode.patch')
+options=(!emptydirs !libtool)
+depends=('fuse' 'xz' 'perl')
+md5sums=('c58421e4f294125895f2c6653a7366a7'
+         'bdd84b179a869bc6d64529a64a640fc6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  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
+}

Copied: avfs/repos/extra-i686/avfs-1.0.0-fix_open_missing_mode.patch (from rev 151580, avfs/trunk/avfs-1.0.0-fix_open_missing_mode.patch)
===================================================================
--- extra-i686/avfs-1.0.0-fix_open_missing_mode.patch	                        (rev 0)
+++ extra-i686/avfs-1.0.0-fix_open_missing_mode.patch	2012-02-27 18:31:46 UTC (rev 151581)
@@ -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,

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-02-27 18:31:23 UTC (rev 151580)
+++ extra-x86_64/PKGBUILD	2012-02-27 18:31:46 UTC (rev 151581)
@@ -1,22 +0,0 @@
-# $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
-# Contributor: K. Piche <kpiche at rogers.com>
-
-pkgname=avfs
-pkgver=0.9.9
-pkgrel=1
-pkgdesc="A virtual filesystem which enables programs to look inside archived or compressed files, or access remote files"
-arch=(i686 x86_64)
-license=('GPL')
-url="http://avf.sourceforge.net/"
-source=(http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2)
-options=(!emptydirs !libtool)
-depends=('fuse' 'sh')
-md5sums=('3e0df074188a6c4ed9df082f61cc6bf4')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --enable-library --enable-fuse --disable-static
-  make
-  make DESTDIR="${pkgdir}" install
-}

Copied: avfs/repos/extra-x86_64/PKGBUILD (from rev 151580, avfs/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-02-27 18:31:46 UTC (rev 151581)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=avfs
+pkgver=1.0.0
+pkgrel=1
+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"
+        'avfs-1.0.0-fix_open_missing_mode.patch')
+options=(!emptydirs !libtool)
+depends=('fuse' 'xz' 'perl')
+md5sums=('c58421e4f294125895f2c6653a7366a7'
+         'bdd84b179a869bc6d64529a64a640fc6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  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
+}

Copied: avfs/repos/extra-x86_64/avfs-1.0.0-fix_open_missing_mode.patch (from rev 151580, avfs/trunk/avfs-1.0.0-fix_open_missing_mode.patch)
===================================================================
--- extra-x86_64/avfs-1.0.0-fix_open_missing_mode.patch	                        (rev 0)
+++ extra-x86_64/avfs-1.0.0-fix_open_missing_mode.patch	2012-02-27 18:31:46 UTC (rev 151581)
@@ -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