Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 22:32:51 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378697 - in head/sysutils/squashfs-tools: . files
Message-ID:  <201502082232.t18MWp43047578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Sun Feb  8 22:32:50 2015
New Revision: 378697
URL: https://svnweb.freebsd.org/changeset/ports/378697
QAT: https://qat.redports.org/buildarchive/r378697/

Log:
  - Update to 4.3

Added:
  head/sysutils/squashfs-tools/files/patch-action.c   (contents, props changed)
Modified:
  head/sysutils/squashfs-tools/Makefile
  head/sysutils/squashfs-tools/distinfo
  head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
  head/sysutils/squashfs-tools/pkg-descr

Modified: head/sysutils/squashfs-tools/Makefile
==============================================================================
--- head/sysutils/squashfs-tools/Makefile	Sun Feb  8 22:26:31 2015	(r378696)
+++ head/sysutils/squashfs-tools/Makefile	Sun Feb  8 22:32:50 2015	(r378697)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	squashfs-tools
-PORTVERSION=	4.2
+PORTVERSION=	4.3
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/squashfs/squashfs/${DISTNAME}/
 DISTNAME=	squashfs${PORTVERSION}

Modified: head/sysutils/squashfs-tools/distinfo
==============================================================================
--- head/sysutils/squashfs-tools/distinfo	Sun Feb  8 22:26:31 2015	(r378696)
+++ head/sysutils/squashfs-tools/distinfo	Sun Feb  8 22:32:50 2015	(r378697)
@@ -1,2 +1,2 @@
-SHA256 (squashfs4.2.tar.gz) = d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
-SIZE (squashfs4.2.tar.gz) = 133173
+SHA256 (squashfs4.3.tar.gz) = 0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6
+SIZE (squashfs4.3.tar.gz) = 182550

Added: head/sysutils/squashfs-tools/files/patch-action.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/squashfs-tools/files/patch-action.c	Sun Feb  8 22:32:50 2015	(r378697)
@@ -0,0 +1,19 @@
+Hack for lack of strdupa() in BSD libc
+
+$FreeBSD$
+
+--- action.c.orig
++++ action.c
+@@ -44,6 +44,12 @@
+ #include "action.h"
+ #include "error.h"
+ 
++#ifndef strdupa
++#include <string.h>  // required for str*()
++#include <stdlib.h>  // required for alloca
++#define strdupa(foo) (strncpy( alloca( strlen(foo) + 1 ), foo, strlen( foo ) + 1 ))
++#endif
++
+ /*
+  * code to parse actions
+  */

Modified: head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
==============================================================================
--- head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c	Sun Feb  8 22:26:31 2015	(r378696)
+++ head/sysutils/squashfs-tools/files/patch-squashfs-tools_unsquashfs.c	Sun Feb  8 22:32:50 2015	(r378697)
@@ -1,21 +1,19 @@
 $FreeBSD$
 
---- unsquashfs.c.orig	2010-09-20 03:14:38.000000000 +0530
-+++ unsquashfs.c	2010-09-29 09:34:43.000000000 +0530
-@@ -29,9 +29,16 @@
- #include "compressor.h"
- #include "xattr.h"
+--- unsquashfs.c.orig
++++ unsquashfs.c
+@@ -31,7 +31,14 @@
+ #include "unsquashfs_info.h"
+ #include "stdarg.h"
  
 +#ifdef __linux__
  #include <sys/sysinfo.h>
 +#endif
 +
- #include <sys/types.h>
- 
 +#ifdef __FreeBSD__
 +#include <sys/sysctl.h>
 +#endif
 +
- struct cache *fragment_cache, *data_cache;
- struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
- pthread_t *thread, *deflator_thread;
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>

Modified: head/sysutils/squashfs-tools/pkg-descr
==============================================================================
--- head/sysutils/squashfs-tools/pkg-descr	Sun Feb  8 22:26:31 2015	(r378696)
+++ head/sysutils/squashfs-tools/pkg-descr	Sun Feb  8 22:32:50 2015	(r378697)
@@ -7,4 +7,4 @@ PowerPC, i586, Sparc and ARM architectur
 
 squashfs-tools are the set of tools to manipulate squashfs images.
 
-WWW:	http://squashfs.sourceforge.net/
+WWW: http://squashfs.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502082232.t18MWp43047578>