ports/145914: New Port: sysutils/squashfs-tools Set of tools to manipulate squashfs images
Ashish SHUKLA
wahjava at gmail.com
Wed Apr 21 23:10:04 UTC 2010
The following reply was made to PR ports/145914; it has been noted by GNATS.
From: Ashish SHUKLA <wahjava at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/145914: New Port: sysutils/squashfs-tools Set of tools
to manipulate squashfs images
Date: Thu, 22 Apr 2010 04:36:18 +0530
--NDin8bjvE/0mNLFQ
Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY"
Content-Disposition: inline
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Please discard the earlier shar file. And use the attached shar file.
Thanks
--=20
Ashish SHUKLA
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="squashfs-tools.sh"
Content-Transfer-Encoding: quoted-printable
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# squashfs-tools/
# squashfs-tools/Makefile
# squashfs-tools/distinfo
# squashfs-tools/files
# squashfs-tools/files/patch-squashfs-tools_Makefile
# squashfs-tools/files/patch-squashfs-tools_pseudo.c
# squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
# squashfs-tools/pkg-descr
#
echo c - squashfs-tools/
mkdir -p squashfs-tools/ > /dev/null 2>&1
echo x - squashfs-tools/Makefile
sed 's/^X//' >squashfs-tools/Makefile << 'd1522743f6ce112e86d6dd8a9e7fdaef'
X# New ports collection makefile for: squashfs-tools
X# Date created: 2010-04-21
X# Whom: Ashish SHUKLA <wahjava at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=3D squashfs-tools
XPORTVERSION=3D 4.0
XCATEGORIES=3D sysutils
XMASTER_SITES=3D SF/squashfs/squashfs/${DISTNAME}/
XDISTNAME=3D squashfs${PORTVERSION}
X
XMAINTAINER=3D wahjava at gmail.com
XCOMMENT=3D Set of tools to manipulate squashfs images
X
XPLIST_FILES=3D bin/mksquashfs \
X bin/unsquashfs
X
X.ifndef NOPORTDOCS
XPORTDOCS=3D ACKNOWLEDGEMENTS CHANGES COPYING \
X PERFORMANCE.README README README-4.0
X.endif
X
Xpost-patch:
X @${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
X ${WRKSRC}/squashfs-tools/Makefile
X
Xdo-build:
X @${MAKE} -C ${WRKSRC}/squashfs-tools
X
Xdo-install:
X @${MAKE} -C ${WRKSRC}/squashfs-tools ${INSTALL}
X.ifndef NOPORTDOCS
X @${MKDIR} ${DOCSDIR}
X @for i in ${PORTDOCS}; do ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; done
X.endif
X
X.include <bsd.port.mk>
d1522743f6ce112e86d6dd8a9e7fdaef
echo x - squashfs-tools/distinfo
sed 's/^X//' >squashfs-tools/distinfo << 'afb1226344cbf2978631791c7a3fa394'
XMD5 (squashfs4.0.tar.gz) =3D a3c23391da4ebab0ac4a75021ddabf96
XSHA256 (squashfs4.0.tar.gz) =3D 18948edbe06bac2c4307eea99bfb962643e4b82e5b=
7edd541b4d743748e12e21
XSIZE (squashfs4.0.tar.gz) =3D 103979
afb1226344cbf2978631791c7a3fa394
echo c - squashfs-tools/files
mkdir -p squashfs-tools/files > /dev/null 2>&1
echo x - squashfs-tools/files/patch-squashfs-tools_Makefile
sed 's/^X//' >squashfs-tools/files/patch-squashfs-tools_Makefile << 'bcbd4a=
922864729693ecc9535983af62'
X
X$FreeBSD$
X
X--- squashfs-tools/Makefile.orig
X+++ squashfs-tools/Makefile
X@@ -1,8 +1,8 @@
X-INSTALL_DIR =3D /usr/local/bin
X+INSTALL_DIR =3D %%PREFIX%%/bin
X=20
X INCLUDEDIR =3D .
X=20
X-CFLAGS :=3D -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE =
-D_GNU_SOURCE -O2
X+CFLAGS :=3D -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE =
-D_GNU_SOURCE -O2 -DFNM_EXTMATCH=3D0
X=20
X all: mksquashfs unsquashfs
X=20
bcbd4a922864729693ecc9535983af62
echo x - squashfs-tools/files/patch-squashfs-tools_pseudo.c
sed 's/^X//' >squashfs-tools/files/patch-squashfs-tools_pseudo.c << '39828b=
bd00e540dddff52058a2f02d06'
X
X$FreeBSD$
X
X--- squashfs-tools/pseudo.c.orig
X+++ squashfs-tools/pseudo.c
X@@ -31,6 +31,10 @@
X #include <stdlib.h>
X #include <sys/types.h>
X=20
X+#ifdef __FreeBSD__
X+#include <sys/stat.h>
X+#endif
X+
X #include "pseudo.h"
X=20
X #ifdef SQUASHFS_TRACE
39828bbd00e540dddff52058a2f02d06
echo x - squashfs-tools/files/patch-squashfs-tools_unsquashfs.c
sed 's/^X//' >squashfs-tools/files/patch-squashfs-tools_unsquashfs.c << 'ae=
cb59117f25b0dc9d3b206cf5c87b0d'
X
X$FreeBSD$
X
X--- squashfs-tools/unsquashfs.c.orig
X+++ squashfs-tools/unsquashfs.c
X@@ -26,6 +26,10 @@
X #include "squashfs_compat.h"
X #include "read_fs.h"
X=20
X+#ifdef __FreeBSD__
X+#include <sys/sysctl.h>
X+#endif
X+
X struct cache *fragment_cache, *data_cache;
X struct queue *to_reader, *to_deflate, *to_writer, *from_writer;
X pthread_t *thread, *deflator_thread;
aecb59117f25b0dc9d3b206cf5c87b0d
echo x - squashfs-tools/pkg-descr
sed 's/^X//' >squashfs-tools/pkg-descr << '0b62b36cc2edebc11ebe1e464f87dc34'
XSquashfs is a compressed read-only filesystem for Linux. Squashfs is=20
Xintended for general read-only filesystem use, for archival use (i.e.
Xin cases where a .tar.gz file may be used), and in constrained block
Xdevice/memory systems (e.g. embedded systems) where low overhead is
Xneeded. The filesystem is currently stable, and has been tested on
XPowerPC, i586, Sparc and ARM architectures.
X
Xsquashfs-tools are the set of tools to manipulate squashfs images.
X
XWWW: http://squashfs.sourceforge.net/
0b62b36cc2edebc11ebe1e464f87dc34
exit
--4Ckj6UjgE2iN1+kY--
--NDin8bjvE/0mNLFQ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQIcBAEBCgAGBQJLz4TqAAoJEMdGz6nnT6Sw6gkP/iW8ssOVbww6DVf+8eZXMA1z
pHvlFkXqR7RkGKkmdSS5uttQS77FxmPndsmnCq8mm20nFsaZmiOI679x0Q83VPHY
Gp3Ql3hItHeJZrr7vbcTdkRf2O9Qc4PCxnHAaNyCDCUOp+fW0INxNYXkfMbx2C2J
gBCdn6eD9ZQ0xZbiBcpv3+vblgODPjW/RljHeao1g8pKS098IgJb1GLw76KiT+fj
bOy/hCgxTIyS/NrwUW3LbVpHY6Q9gtIrz5IzpSIQfrPDsk8uAFs0201G9h7ozsCm
HROx/t9fnzSSYu9y3dR9pIcd/RTrACsD1BFVRVsSXJLpdSNGy4p7ETBw5tuCkDWM
bHPcBaQjMXaomYF68xp7k5NC8+MEXsKNs+fsSgsV4aWMzIwGmvzqqdMaLvjY7Jir
t81RXtcDemXHQdkST7IBb7EKwh6CTu4+k1zO99CywH6yA5emGEl+x823Qr9dQVDj
sqVUf1Frf8WQvjTzHhczL7qOT23Kh13MugTS5Lt+Zn5c0zUqqJ7gYA56XGhZNDpW
MLgYIL31nUJf6iAEIZ8Uc9EotXe1BaCxfoo8wUtpAhZL8GRDgwd8hvt/7V/9nQlf
uLsMT+Jk4alm9hRR7KtOsKPo92ddt/vI5ZHBsrJ+X1T++RWjoPEX0vrwK/qpJD6x
GuTvwW1sttNgCveLKr9i
=GXp6
-----END PGP SIGNATURE-----
--NDin8bjvE/0mNLFQ--
More information about the freebsd-ports-bugs
mailing list