Bug 180542 - Update sysutils/xfsprogs to version 2.9.8
Summary: Update sysutils/xfsprogs to version 2.9.8
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:10 UTC by Pedro F. Giffuni
Modified: 2014-02-01 17:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.80 KB, patch)
2013-07-13 22:10 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2013-07-13 22:10:00 UTC
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@wm.jp.nec.com>
          for this.
        - Disable the ability to turn off unwritten extents in mkfs.

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-07-14 07:45:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:10:18 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-02-01 16:12:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-02-01 17:01:21 UTC
Author: pawel
Date: Sat Feb  1 17:01:13 2014
New Revision: 342188
URL: http://svnweb.freebsd.org/changeset/ports/342188
QAT: https://qat.redports.org/buildarchive/r342188/

Log:
  - Update to version 2.9.8 [1]
  - Add LICENSE [1]
  - Remove leading article from COMMENT
  - Convert USE_GMAKE to USES=gmake
  - Respect CFLAGS by setting OPTIMIZER variable to space
    otherwise it is set to '-g -O2'
  - Consolidate targets to just post-patch and
    post-configure - this makes things simpler
  - Mute REINPLACE_CMD and FIND commands
  - Add support for staging
  
  PR:		ports/180542 [1]
  Submitted by:	Pedro Giffuni <giffunip@tutopia.com>

Deleted:
  head/sysutils/xfsprogs/files/patch-freebsd.c
Modified:
  head/sysutils/xfsprogs/Makefile
  head/sysutils/xfsprogs/distinfo
  head/sysutils/xfsprogs/pkg-plist

Modified: head/sysutils/xfsprogs/Makefile
==============================================================================
--- head/sysutils/xfsprogs/Makefile	Sat Feb  1 16:57:04 2014	(r342187)
+++ head/sysutils/xfsprogs/Makefile	Sat Feb  1 17:01:13 2014	(r342188)
@@ -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/
@@ -11,44 +10,41 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}
 EXTRACT_SUFX=	-1.tar.gz
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A set of utilities and library to manipulate an xfs filesystem
+COMMENT=	Set of utilities and library to manipulate an XFS filesystem
 
-USE_GMAKE=	yes
-USES=		gettext
+LICENSE=	GPLv2
+
+USES=		gettext gmake
 USE_AUTOTOOLS=	autoconf libtool:env
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=		INSTALL="${INSTALL} ${_BINOWNGRP}" \
-			LIBTOOL=${LIBTOOL}
+			LIBTOOL=${LIBTOOL} OPTIMIZER=" "
 MAKE_ENV+=		INSTALL="${INSTALL} ${_BINOWNGRP}"
 CONFIGURE_ARGS+=	--disable-shared --enable-readline
 ALL_TARGET=
 
-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
-
-NO_STAGE=	yes
-.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
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-pre-configure:
-	${RM} -f ${WRKSRC}/configure
+post-patch:
+	@${REINPLACE_CMD} -e '/utmp/d' \
+		${WRKSRC}/quota/report.c ${WRKSRC}/quota/util.c
+	@${FIND} ${WRKDIR} -name "*.m4" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|/usr/local|'${LOCALBASE}'|g'
+	@${RM} -f ${WRKSRC}/configure
 
 post-configure:
-	${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \
+	@${FIND} ${WRKSRC}/include -name "builddefs" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|LIBRT =|LIBRT = -lrt|g'
+	@${REINPLACE_CMD} 's|$$(PKG_DOC_DIR)|$$(DESTDIR)&|g' ${WRKSRC}/Makefile
+.for dir in db doc fsck growfs io logprint mdrestore mkfs quota repair rtcp
+	@${REINPLACE_CMD} -E 's,PKG_(BIN|DOC|INC|SBIN)_DIR,DESTDIR)$$(&,g' \
+		${WRKSRC}/${dir}/Makefile
+.endfor
+.for i in 3 5 8
+	@${REINPLACE_CMD} 's|$$(PKG_MAN_DIR)|$$(DESTDIR)&|g' \
+		${WRKSRC}/man/man${i}/Makefile
+.endfor
+	@${REINPLACE_CMD} 's|$$(PKG_LOCALE_DIR)|$$(DESTDIR)&|' \
+		${WRKSRC}/include/buildmacros
 
-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>

Modified: head/sysutils/xfsprogs/distinfo
==============================================================================
--- head/sysutils/xfsprogs/distinfo	Sat Feb  1 16:57:04 2014	(r342187)
+++ head/sysutils/xfsprogs/distinfo	Sat Feb  1 17:01:13 2014	(r342188)
@@ -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

Modified: head/sysutils/xfsprogs/pkg-plist
==============================================================================
--- head/sysutils/xfsprogs/pkg-plist	Sat Feb  1 16:57:04 2014	(r342187)
+++ head/sysutils/xfsprogs/pkg-plist	Sat Feb  1 17:01:13 2014	(r342188)
@@ -13,6 +13,26 @@ bin/xfs_mkfile
 bin/xfs_metadump
 bin/xfs_quota
 bin/xfs_rtcp
+man/man5/xfs.5.gz
+man/man8/fsck.xfs.8.gz
+man/man8/mkfs.xfs.8.gz
+man/man8/xfs_admin.8.gz
+man/man8/xfs_bmap.8.gz
+man/man8/xfs_check.8.gz
+man/man8/xfs_copy.8.gz
+man/man8/xfs_db.8.gz
+man/man8/xfs_freeze.8.gz
+man/man8/xfs_growfs.8.gz
+man/man8/xfs_info.8.gz
+man/man8/xfs_io.8.gz
+man/man8/xfs_logprint.8.gz
+man/man8/xfs_mdrestore.8.gz
+man/man8/xfs_metadump.8.gz
+man/man8/xfs_mkfile.8.gz
+man/man8/xfs_ncheck.8.gz
+man/man8/xfs_quota.8.gz
+man/man8/xfs_repair.8.gz
+man/man8/xfs_rtcp.8.gz
 sbin/fsck.xfs
 sbin/mkfs.xfs
 sbin/xfs_repair
_______________________________________________
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 5 Pawel Pekala freebsd_committer freebsd_triage 2014-02-01 17:01:29 UTC
State Changed
From-To: open->closed

Committed. Thanks!