View | Details | Raw Unified | Return to bug 180542
Collapse All | Expand All

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

Return to bug 180542