ports/180542: Update sysutils/xfsprogs to version 2.9.8

Pedro Giffuni giffunip at tutopia.com
Sat Jul 13 21:10:00 UTC 2013


>Number:         180542
>Category:       ports
>Synopsis:       Update sysutils/xfsprogs to version 2.9.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 13 21:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pedro Giffuni
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD pcbsd-1465 9.1-STABLE FreeBSD 9.1-STABLE #1 r252419:252420M: Sun Jun 30 20:08:00 COT 2013     pfg at pcbsd-1465:/usr/obj/usr/src/sys/DELL  amd64

>Description:
Clean up the port file:
- No need for a symlink anymore
- Add LICENSE
- Drop a patch that has been upstreamed.

Update to 2.9.8, from the CHANGES file:

xfsprogs-2.9.8 (21 April 2008)
        - Add support for sb_features2 in wrong location in mkfs.xfs,
          xfs_repair and xfs_db.
        - Improve memory limits for libxfs cache in xfs_repair and added
          a -m option to manually limit usage of xfs_repair.
        - Add -c option to xfs_admin to turn lazy-counters on/off.
        - Added support for mdp in libdisk/mkfs.xfs, thanks to
          Hubert Verstraete.
        - Add -p option to fsck.xfs, thanks to Markus Rothe.
        - Cleanup sys v3 bzero/bcopy calls, thanks to Nigel Kukard.

xfsprogs-2.9.7 (1 Mar 2008)
        - Lazy superblock counters not yet the default with mkfs.xfs.
        - Add -y (another no-op) fsck option.
        - Resolve mkfs allocation group count issue with small devices.
        - Fix mkfs to sector align the device size so zeroing the end
          of the device doesn't fail.

xfsprogs-2.9.6 (7 Feb 2008)
        - Fix regression introduced by changing the mkfs.xfs defaults.
        - Made lazy superblock counters the default with mkfs.xfs.

xfsprogs-2.9.5 (21 Jan 2008)
        - Updated mkfs.xfs defaults.
        - Make xfs_info handle mount points with spaces.
        - Improve xfs_repair's handling of invalid freespace btree extents.
        - Rebuild directories in xfs_repair if "." and ".." aren't the first
          two directory entries. This guarantees a directory is deletable.
        - Changed mkfs.xfs -f to wipe all old AG headers, not just the ones
          up to the end of the new filesystem size.
        - Purged the end of device whack buffer in mkfs.xfs to prevent a
          warning in certain device sizes.
        - Man page fixes. Thanks to Utako Kusaka <u-kusaka at wm.jp.nec.com>
          for this.
        - Disable the ability to turn off unwritten extents in mkfs.



>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: xfsprogs/Makefile
===================================================================
--- xfsprogs/Makefile	(revision 322300)
+++ xfsprogs/Makefile	(working copy)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	xfsprogs
-PORTVERSION=	2.9.4
-PORTREVISION=	3
+PORTVERSION=	2.9.8
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://oss.sgi.com/projects/xfs/cmd_tars/ \
 		ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
@@ -13,6 +12,8 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A set of utilities and library to manipulate an xfs filesystem
 
+LICENSE=	GPLv2
+
 USE_GMAKE=	yes
 USES=		gettext
 USE_AUTOTOOLS=	autoconf libtool:env
@@ -23,19 +24,25 @@
 CONFIGURE_ARGS+=	--disable-shared --enable-readline
 ALL_TARGET=
 
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 MAN5=	xfs.5
 MAN8=	fsck.xfs.8 mkfs.xfs.8 xfs_admin.8 xfs_bmap.8 xfs_check.8 \
 	xfs_copy.8 xfs_db.8 xfs_freeze.8 xfs_growfs.8 xfs_info.8 \
 	xfs_io.8 xfs_logprint.8 xfs_mdrestore.8 xfs_metadump.8 xfs_mkfile.8 xfs_ncheck.8 \
 	xfs_quota.8 xfs_repair.8 xfs_rtcp.8
 
-.include <bsd.port.pre.mk>
-
 post-extract:
-	${LN} -sf ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${WRKSRC}
 	${REINPLACE_CMD} -e '/utmp/d' \
 		${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c
 
+post-patch:
+	${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|/usr/local|'${LOCALBASE}'|g'
+.ifdef NOPORTDOCS
+	@${REINPLACE_CMD} -e 's/doc//' -e '/PKG_DOC_DIR/d' ${WRKSRC}/Makefile
+.endif
+
 pre-configure:
 	${RM} -f ${WRKSRC}/configure
 
@@ -43,11 +50,4 @@
 	${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|LIBRT =|LIBRT = -lrt|g'
 
-post-patch:
-	${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|/usr/local|'${LOCALBASE}'|g'
-.ifdef NOPORTDOCS
-	@${REINPLACE_CMD} -e 's/doc//' -e '/PKG_DOC_DIR/d' ${WRKSRC}/Makefile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: xfsprogs/distinfo
===================================================================
--- xfsprogs/distinfo	(revision 322300)
+++ xfsprogs/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (xfsprogs_2.9.4-1.tar.gz) = ae6b2481ab1cc23ba5179ca444c29c6e519504b412a0b2deaa13e05dc8f6f189
-SIZE (xfsprogs_2.9.4-1.tar.gz) = 997236
+SHA256 (xfsprogs_2.9.8-1.tar.gz) = 84e8e32c9b2ead2ce6b97cc11da23f90a825c0593263508e14e0ef3ea4f61dff
+SIZE (xfsprogs_2.9.8-1.tar.gz) = 1003288
Index: xfsprogs/files/patch-freebsd.c
===================================================================
--- xfsprogs/files/patch-freebsd.c	(revision 322300)
+++ xfsprogs/files/patch-freebsd.c	(working copy)
@@ -1,10 +0,0 @@
---- libxfs/freebsd.c.orig	2007-10-18 22:02:28.000000000 -0400
-+++ libxfs/freebsd.c	2007-10-18 22:02:39.000000000 -0400
-@@ -21,6 +21,7 @@
- #include <sys/disk.h>
- #include <sys/mount.h>
- #include <sys/ioctl.h>
-+#include <sys/sysctl.h>
- 
- int platform_has_uuid = 1;
- extern char *progname;


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list