Updated, though for the record I think you can get away with just rebuilding without updating the source version.
Search Criteria
Package Details: rar2fs 1.20.0-4
Package Actions
| Package Base: | rar2fs |
|---|---|
| Description: | Fuse file system for reading Rar archives |
| Upstream URL: | https://code.google.com/p/rar2fs/ |
| Category: | system |
| Licenses: | |
| Submitter: | vadmium |
| Maintainer: | vadmium |
| Last Packager: | vadmium |
| Votes: | 9 |
| First Submitted: | 2012-02-15 04:42 |
| Last Updated: | 2015-05-17 05:17 |
Required by (0)
Sources
Latest Comments
Comment by vadmium
Comment by FadedParadigm
This got out of date again. Can build with these changes to the PKGFILE:
source+=(http://www.rarlab.com/rar/unrarsrc-5.2.7.tar.gz)
md5sums+=(0c145e1ac47d428553123462c0740279)
If this is broken for you at the time of reading - you can determine which source version to fetch for your system with:
pacman -Qs unrar
(will show version number)
Download this version by name from rarlab.com and verify the checksum with md5sum.
Comment by usommerl
@vadmium: Works like a charm. Thanks!
Comment by vadmium
[This problem seems to be caused by Pacman 4.2, and is described in <https://bbs.archlinux.org/viewtopic.php?id=192018>. A workaround might be to adjust the PKGBUILD to move the file from /usr/sbin/ to /usr/bin/, or see if there is a “configure” option, though it really seems like a bug in Pacman to me. I will investigate further when I get a chance.]
Okay updated to work around the problem now.
Comment by usommerl
I get the following error when i try to install this package:
error: failed to commit transaction (conflicting files)
rar2fs: /usr/sbin exists in filesystem
Comment by vadmium
I have fixed the doubled -2 release number shown in the AUR, if that was what you were worried about. It was just an artifact of the AUR interpreting the AURINFO file differently; it shouldn’t have affected building the package.
Comment by komitaltrade
Please fix package update loop. After update still ask update (update is registered like rar2fs 1.20.0-2) to rar2fs 1.20.0-2-2 (don't exist).
Comment by vadmium
Sorry about that. Now updated to unrar 5.2.2.
Comment by FadedParadigm
@Flydiverny -- Thank you! I have been using this project to provide easy access of some rar'd video files to plexmediaserver. I recently started getting sudden "Transport endpoint is not connected" errors. A mis-matched version of libunrar was definitely the culprit!
Comment by Flydiverny
To get it working properly with libunrar 5.2.2-1 I had to rebuild using;
source+=(http://www.rarlab.com/rar/unrarsrc-5.2.2.tar.gz)
md5sums+=(69ef5af8442cbb7dfdebe298bfb9c61a)
Comment by vadmium
Updated to 1.20.0 with libunrar 5.1.2
Comment by vadmium
Thanks for the nudge; updated to 1.18.0 and libunrar 5 now
Comment by pdelacr2
I had to update the PKGBUILD to the following in order to compile and install:
pkgname=rar2fs
pkgver=1.18.0
_rls="$pkgname-$pkgver"
pkgrel=1
pkgdesc="Fuse file system for reading Rar archives"
arch=(i686 x86_64)
license=(GPL3)
url="https://code.google.com/p/$pkgname"
depends=(fuse "libunrar")
makedepends=("libunrar")
source=("https://$pkgname.googlecode.com/files/$_rls.tar.gz")
sha1sums=(43585590a73d5f8fb59605c43e172e5e73d12c8f)
source+=(http://www.rarlab.com/rar/unrarsrc-5.0.12.tar.gz)
sha1sums+=(03d61213ff810650fc06113ffe153712176af4dd)
build() {
cd "$srcdir/$_rls"
./configure --prefix=/usr --with-unrar=../unrar
make
}
package() {
make -C "$srcdir/$_rls" install DESTDIR="$pkgdir"
}
Comment by vadmium
Re-owned and updated to 1.17.0. Building against “libunrar” 4.2.4 still because there doesn’t seem to be a package for version 5 yet.
[Previously:
I’m back in business but 1.16.0 has a problem during installation. Fixes have been made so hopefully we can get another release.
Wrong use of $(DESTDIR) causing build failures in package managers
https://code.google.com/p/rar2fs/issues/detail?id=12]
Comment by vadmium
Disowned because I will be unable to update this for a while. Feel free to take it over in the meantime if you want!
Comment by vadmium
Updated to build against Unrar 4.2.4 library. I assume that’s what you wanted, though I’m not sure if it brings any relevant changes.