summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorstacktic <stacktic>2009-11-02 18:58:10 +0000
committerstacktic <stacktic>2009-11-02 18:58:10 +0000
commit304b8fecb9caa9639d033082c13d7472633fb187 (patch)
treec3ec91f71f18faf4621ba2727e9694edc1459c2e /filesystems
parentfb658bf7bf71810dae49ea2bc80e04f6d6292f9d (diff)
downloadpkgsrc-304b8fecb9caa9639d033082c13d7472633fb187.tar.gz
Updated filesystems/fs-utils to version 20091102
- Added support for FreeBSD and Linux
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/fs-utils/Makefile46
-rw-r--r--filesystems/fs-utils/PLIST6
-rw-r--r--filesystems/fs-utils/distinfo8
3 files changed, 44 insertions, 16 deletions
diff --git a/filesystems/fs-utils/Makefile b/filesystems/fs-utils/Makefile
index 0ffb098d1bf..0cd2c06adb0 100644
--- a/filesystems/fs-utils/Makefile
+++ b/filesystems/fs-utils/Makefile
@@ -1,21 +1,45 @@
-# $NetBSD: Makefile,v 1.6 2009/06/05 07:14:18 stacktic Exp $
+# $NetBSD: Makefile,v 1.7 2009/11/02 18:58:10 stacktic Exp $
#
-DISTNAME= fs-utils_20090527
-PKGNAME= ${DISTNAME:S/_/-/}
-CATEGORIES= filesystems
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/stacktic/
+DISTNAME= fs-utils_20091102
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= filesystems
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/stacktic/
-MAINTAINER= stacktic@NetBSD.org
-HOMEPAGE= http://www.NetBSD.org/~stacktic/fs-utils.html
-COMMENT= Tools to access/modify a file system image through RUMP
+MAINTAINER= stacktic@NetBSD.org
+HOMEPAGE= http://www.NetBSD.org/~stacktic/fs-utils.html
+COMMENT= Tools to access/modify a file system image through RUMP
-ONLY_FOR_PLATFORM= NetBSD-4.99.7[2-9]-* NetBSD-[5-9]*-*
+ONLY_FOR_PLATFORM= NetBSD-[5-9]*-* FreeBSD-*-* Linux-*-*
PKG_DESTDIR_SUPPORT= user-destdir
-
USE_BSD_MAKEFILE= yes
+WRKSRC= ${WRKDIR}/fs-utils
+INSTALLATION_DIRS= bin lib include ${PKGMANDIR}/man1 ${PKGMANDIR}/man3
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_MESSAGE.path= Adjusting path.
+SUBST_FILES.path= Makefile.inc
+SUBST_SED.path= -e "s|/usr/pkg|${LOCALBASE}|g"
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/lib/libfsu_utils/fsu_fts.h \
+ ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lib/libfsu_utils/fsu_utils.h \
+ ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lib/libfsu_utils/fts2fsufts.h \
+ ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lib/libfsu_mount/fsu_mount.h \
+ ${DESTDIR}${PREFIX}/include
+
+OSNAME!= uname -s
+.if ${OSNAME} != "NetBSD"
+MAKEFLAGS+= NOGCCERROR=1
+USE_FEATURES= nbcompat
+NBCOMPAT_CONFIGURE_ARGS+= CFLAGS='-D_FILE_OFFSET_BITS=64'
-INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man3
+.include "../../misc/rump/buildlink3.mk"
+.endif # !NetBSD
.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/fs-utils/PLIST b/filesystems/fs-utils/PLIST
index 5ac253bb4e6..da9692131af 100644
--- a/filesystems/fs-utils/PLIST
+++ b/filesystems/fs-utils/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/05 07:14:18 stacktic Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/11/02 18:58:10 stacktic Exp $
bin/fsu_cat
bin/fsu_chflags
bin/fsu_chmod
@@ -22,6 +22,10 @@ bin/fsu_rm
bin/fsu_rmdir
bin/fsu_touch
bin/fsu_write
+include/fsu_fts.h
+include/fsu_mount.h
+include/fsu_utils.h
+include/fts2fsufts.h
lib/libfsu_mount.a
lib/libfsu_mount.so
lib/libfsu_mount.so.0
diff --git a/filesystems/fs-utils/distinfo b/filesystems/fs-utils/distinfo
index 260ca9ec672..571fdfc05bf 100644
--- a/filesystems/fs-utils/distinfo
+++ b/filesystems/fs-utils/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2009/06/05 07:14:18 stacktic Exp $
+$NetBSD: distinfo,v 1.6 2009/11/02 18:58:10 stacktic Exp $
-SHA1 (fs-utils_20090527.tar.gz) = 853661485d23245c231c7cb67777453c446f64f7
-RMD160 (fs-utils_20090527.tar.gz) = 3a8ce94dfaf17bfe8beb98ce7a2f4df43a69e863
-Size (fs-utils_20090527.tar.gz) = 130448 bytes
+SHA1 (fs-utils_20091102.tar.gz) = f40a4a114aa68faefdd502c295f474944c834957
+RMD160 (fs-utils_20091102.tar.gz) = df3f59273b423586d0ac99d76e316578dc337197
+Size (fs-utils_20091102.tar.gz) = 161091 bytes