Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 01:59:35 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53731: Update port: chinese/gbfs
Message-ID:  <20030625175935.1FA7A77F@freebsd.sinica.edu.tw>
Resent-Message-ID: <200306251800.h5PI0RsO013134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53731
>Category:       ports
>Synopsis:       Update port: chinese/gbfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 11:00:26 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #2: Mon Sep 9 10:45:46 CST 2002 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
update to 1.2
	
>How-To-Repeat:
	
>Fix:

diff -ruN gbfs.orig/Makefile gbfs/Makefile
--- gbfs.orig/Makefile	Thu Jun 26 01:48:49 2003
+++ gbfs/Makefile	Thu Jun 26 01:56:25 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gbfs
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	chinese
 MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/gbfs/
 
@@ -27,12 +27,16 @@
 MSDOSFSKODIR=	${SYSDIR}/modules/msdosfs
 MSDOSFSPATCH=	msdosfs.diff.5
 CD9660PATCH=	cd9660.diff.5
+NTFSDIR=	${SYSDIR}/fs/ntfs
+NTFSPATCH=	ntfs.diff.5
 .else
 MSDOSFSDIR=	${SYSDIR}/msdosfs
 MSDOSFSKO=	msdos.ko
 MSDOSFSKODIR=	${SYSDIR}/modules/msdos
 MSDOSFSPATCH=	msdosfs.diff
 CD9660PATCH=	cd9660.diff
+NTFSDIR=	${SYSDIR}/ntfs
+NTFSPATCH=	ntfs.diff
 .endif
 
 pre-extract:
@@ -50,6 +54,9 @@
 	@${CP} ${MSDOSFSKODIR}/Makefile ${WRKDIR}/msdos/Makefile.ori
 	@${CP} -R ${SYSDIR}/isofs/cd9660/*.[ch] ${WRKDIR}/cd9660
 	@${CP} ${SYSDIR}/modules/cd9660/Makefile ${WRKDIR}/cd9660/Makefile.ori
+	@${MKDIR} ${WRKDIR}/ntfs
+	@${CP} -R ${NTFSDIR}/*.[ch] ${WRKDIR}/ntfs
+	@${CP} ${SYSDIR}/modules/ntfs/Makefile ${WRKDIR}/ntfs/Makefile.ori
 	@(cd ${WRKDIR}; ${TAR} xzf ${DISTDIR}/${DISTFILES} )
 	@${SED} -e 's,@@PREFIX@@,${PREFIX},' ${FILESDIR}/gbfs.sh > ${WRKDIR}/gbfs.sh
 
@@ -58,10 +65,13 @@
 	@${SED} -e "/^\.PATH/d" ${WRKDIR}/msdos/Makefile.ori > ${WRKDIR}/msdos/Makefile
 	(cd ${WRKDIR}/cd9660; ${PATCH} --quiet < ${WRKDIR}/${CD9660PATCH} )
 	@${SED} -e "/^\.PATH/d" ${WRKDIR}/cd9660/Makefile.ori > ${WRKDIR}/cd9660/Makefile
+	(cd ${WRKDIR}/ntfs; ${PATCH} --quiet < ${WRKDIR}/${NTFSPATCH} )
+	@${SED} -e "/^\.PATH/d" ${WRKDIR}/ntfs/Makefile.ori > ${WRKDIR}/ntfs/Makefile
 
 do-build:
 	@(cd ${WRKDIR}/msdos; make all)
 	@(cd ${WRKDIR}/cd9660; make all)
+	@(cd ${WRKDIR}/ntfs; make all)
 
 pre-install:
 	@${MKDIR} ${KMODDIR}
@@ -70,5 +80,6 @@
 	@${INSTALL_SCRIPT} ${WRKDIR}/gbfs.sh ${PREFIX}/etc/rc.d
 	@${INSTALL_SCRIPT} ${WRKDIR}/msdos/${MSDOSFSKO} ${KMODDIR}/${MSDOSFSKO}
 	@${INSTALL_SCRIPT} ${WRKDIR}/cd9660/cd9660.ko ${KMODDIR}/cd9660.ko
+	@${INSTALL_SCRIPT} ${WRKDIR}/ntfs/ntfs.ko ${KMODDIR}/ntfs.ko
 
 .include <bsd.port.post.mk>
diff -ruN gbfs.orig/distinfo gbfs/distinfo
--- gbfs.orig/distinfo	Thu Jun 26 01:48:49 2003
+++ gbfs/distinfo	Thu Jun 26 01:33:36 2003
@@ -1 +1 @@
-MD5 (gbfs-1.1.tar.gz) = 4e3c765d052062edeb42446147536f31
+MD5 (gbfs-1.2.tar.gz) = 36a62ff2a154b3f9c3b216f76909d4a9
diff -ruN gbfs.orig/files/gbfs.sh gbfs/files/gbfs.sh
--- gbfs.orig/files/gbfs.sh	Sat May 25 00:21:33 2002
+++ gbfs/files/gbfs.sh	Thu Jun 26 01:55:01 2003
@@ -27,7 +27,7 @@
 	kldunload -v -n ntfs && echo -n ' GB-ntfs'
 	;;
 *)
-	echo "Usage: big5fs.sh {start|stop}" >&2
+	echo "Usage: gbfs.sh {start|stop}" >&2
 	exit 1
 	;;
 esac
diff -ruN gbfs.orig/pkg-plist gbfs/pkg-plist
--- gbfs.orig/pkg-plist	Sat May 25 00:21:31 2002
+++ gbfs/pkg-plist	Thu Jun 26 01:54:27 2003
@@ -1,4 +1,5 @@
 etc/rc.d/gbfs.sh
 modules/cd9660.ko
 modules/%%MSDOSFSKO%%
+modules/ntfs.ko
 @unexec rmdir %D/modules 2>/dev/null || true
	


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625175935.1FA7A77F>