Bug 180544 - sysutils/fusefs-zip: update to 0.3.0
Summary: sysutils/fusefs-zip: update to 0.3.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-13 22:40 UTC by Oleg Ginzburg
Modified: 2013-07-25 16:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.59 KB, patch)
2013-07-13 22:40 UTC, Oleg Ginzburg
no flags Details | Diff
fusefs-zip.patch (2.77 KB, patch)
2013-07-15 13:35 UTC, Oleg Ginzburg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ginzburg 2013-07-13 22:40:00 UTC
- Update to 0.3.0
- Add temporary patches from next version fusefs-zip for remove obsolete ifdefs to fix build on FreeBSD 10.

Fix: Patch attached with submission follows:
Comment 1 Oleg Ginzburg 2013-07-15 13:35:33 UTC
renew patch with additional test for correct libzip version
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2013-07-25 16:27:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-07-25 16:31:17 UTC
Author: pawel
Date: Thu Jul 25 15:31:03 2013
New Revision: 323650
URL: http://svnweb.freebsd.org/changeset/ports/323650

Log:
  Update to version 0.3.0
  
  PR:		ports/180544
  Submitted by:	Oleg Ginzburg <olevole@olevole.ru> (maintainer)

Added:
  head/sysutils/fusefs-zip/files/
  head/sysutils/fusefs-zip/files/patch-lib_fuse-zip.cpp   (contents, props changed)
  head/sysutils/fusefs-zip/files/patch-lib_zip.h   (contents, props changed)
Modified:
  head/sysutils/fusefs-zip/Makefile   (contents, props changed)
  head/sysutils/fusefs-zip/distinfo   (contents, props changed)

Modified: head/sysutils/fusefs-zip/Makefile
==============================================================================
--- head/sysutils/fusefs-zip/Makefile	Thu Jul 25 15:30:11 2013	(r323649)
+++ head/sysutils/fusefs-zip/Makefile	Thu Jul 25 15:31:03 2013	(r323650)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	fuse-zip
-PORTVERSION=	0.2.13
+PORTVERSION=	0.3.0
 CATEGORIES=	sysutils
 MASTER_SITES=	GOOGLE_CODE
 
@@ -11,6 +11,7 @@ COMMENT=	FUSE filesystem to mount ZIP ar
 LICENSE=	LGPL3
 
 LIB_DEPENDS=	zip:${PORTSDIR}/archivers/libzip
+BUILD_DEPENDS=	libzip>=0.11.1:${PORTSDIR}/archivers/libzip
 
 USE_GMAKE=	yes
 USES=		fuse pkgconfig

Modified: head/sysutils/fusefs-zip/distinfo
==============================================================================
--- head/sysutils/fusefs-zip/distinfo	Thu Jul 25 15:30:11 2013	(r323649)
+++ head/sysutils/fusefs-zip/distinfo	Thu Jul 25 15:31:03 2013	(r323650)
@@ -1,2 +1,2 @@
-SHA256 (fuse-zip-0.2.13.tar.gz) = e41c0746e3419db8f519fad7e819ef72ddb48ffca2de52773f038016aacd9804
-SIZE (fuse-zip-0.2.13.tar.gz) = 185431
+SHA256 (fuse-zip-0.3.0.tar.gz) = 7b0960e40da4e98f40a12c26c032fee99f683bea59bede24653de2f139d08543
+SIZE (fuse-zip-0.3.0.tar.gz) = 662401

Added: head/sysutils/fusefs-zip/files/patch-lib_fuse-zip.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-zip/files/patch-lib_fuse-zip.cpp	Thu Jul 25 15:31:03 2013	(r323650)
@@ -0,0 +1,22 @@
+--- lib/fuse-zip.cpp.orig	2013-07-15 16:25:13.000000000 +0400
++++ lib/fuse-zip.cpp	2013-07-15 16:25:37.000000000 +0400
+@@ -426,19 +426,11 @@
+     return 0;
+ }
+ 
+-#if ( __FreeBSD__ >= 10 )
+-int fusezip_setxattr(const char *, const char *, const char *, size_t, int, uint32_t) {
+-#else
+ int fusezip_setxattr(const char *, const char *, const char *, size_t, int) {
+-#endif
+     return -ENOTSUP;
+ }
+ 
+-#if ( __FreeBSD__ >= 10 )
+-int fusezip_getxattr(const char *, const char *, char *, size_t, uint32_t) {
+-#else
+ int fusezip_getxattr(const char *, const char *, char *, size_t) {
+-#endif
+     return -ENOTSUP;
+ }
+ 

Added: head/sysutils/fusefs-zip/files/patch-lib_zip.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-zip/files/patch-lib_zip.h	Thu Jul 25 15:31:03 2013	(r323650)
@@ -0,0 +1,16 @@
+--- lib/fuse-zip.h.orig	2013-07-15 16:25:43.000000000 +0400
++++ lib/fuse-zip.h	2013-07-15 16:25:53.000000000 +0400
+@@ -86,13 +86,8 @@
+ 
+ int fusezip_utimens(const char *path, const struct timespec tv[2]);
+ 
+-#if ( __FreeBSD__ >= 10 )
+-int fusezip_setxattr(const char *, const char *, const char *, size_t, int, uint32_t);
+-int fusezip_getxattr(const char *, const char *, char *, size_t, uint32_t);
+-#else
+ int fusezip_setxattr(const char *, const char *, const char *, size_t, int);
+ int fusezip_getxattr(const char *, const char *, char *, size_t);
+-#endif
+ 
+ int fusezip_listxattr(const char *, char *, size_t);
+
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2013-07-25 16:31:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!