Bug 111979 - Unbreak sysutils/fusefs-ntfs
Summary: Unbreak sysutils/fusefs-ntfs
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: Max Khon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 07:30 UTC by Eugene Grosbein
Modified: 2007-04-25 20:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Grosbein 2007-04-21 07:30:03 UTC
	Distfile for fusefs-ntfs-1.0 is not fetchable for now.
	OTOH, version 1.0 is obsolete.

Fix: 

Let's upgrade to fusefs-ntfs-1.417.
	This patch also moves ntfs-3g binary from bin to sbin directory
	and makes mount_ntfs-3g symlink, so "mount -t ntfs-3g ... " would work.
	And it will when a change proposed in
	http://www.freebsd.org/cgi/query-pr.cgi?pr=111978
	be commited:

	export SYSPATH=/sbin:/usr/sbin:/usr/local/sbin
	mount -t ntfs-3g spec node

Eugene Grosbein
How-To-Repeat: 	N/A
Comment 1 Edwin Groothuis freebsd_committer 2007-04-21 07:30:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->fjoe

Over to maintainer
Comment 2 Eugene Grosbein 2007-04-21 09:15:00 UTC
Oops, forgot to include the patch itself:

diff -urN fusefs-ntfs.orig/Makefile fusefs-ntfs/Makefile
--- fusefs-ntfs.orig/Makefile	Fri Feb 23 14:56:07 2007
+++ fusefs-ntfs/Makefile	Sat Apr 21 13:11:40 2007
@@ -5,7 +5,7 @@
 #
 
 PORTNAME=	ntfs
-PORTVERSION=	1.0
+PORTVERSION=	1.417
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ntfs-3g.org/
 MASTER_SITE_SUBDIR=	fuse
diff -urN fusefs-ntfs.orig/distinfo fusefs-ntfs/distinfo
--- fusefs-ntfs.orig/distinfo	Fri Feb 23 14:56:07 2007
+++ fusefs-ntfs/distinfo	Sat Apr 21 13:42:37 2007
@@ -1,3 +1,3 @@
-MD5 (ntfs-3g-1.0.tgz) = 873a8de662849d129fc7c475ad3f5447
-SHA256 (ntfs-3g-1.0.tgz) = b5bbf81230bb21573d69fc471721b0b0c404eaa5040ef28e7dcec38320a1b2e4
-SIZE (ntfs-3g-1.0.tgz) = 562452
+MD5 (ntfs-3g-1.417.tgz) = 9e451f1084461795a96170adb6c4376b
+SHA256 (ntfs-3g-1.417.tgz) = 6eff152c670cb9cab1c3d423aac1ce7825f3bc5f53be5ff1857c0079bd27ecc0
+SIZE (ntfs-3g-1.417.tgz) = 562094
diff -urN fusefs-ntfs.orig/files/patch-ntfs-3g.c fusefs-ntfs/files/patch-ntfs-3g.c
--- fusefs-ntfs.orig/files/patch-ntfs-3g.c	Thu Jan  1 07:00:00 1970
+++ fusefs-ntfs/files/patch-ntfs-3g.c	Sat Apr 21 13:40:58 2007
@@ -0,0 +1,11 @@
+--- src/ntfs-3g.c.orig	Sat Apr 21 13:40:33 2007
++++ src/ntfs-3g.c	Sat Apr 21 13:40:37 2007
+@@ -134,7 +134,7 @@
+ } opts;
+ 
+ static const char *EXEC_NAME = "ntfs-3g";
+-static char def_opts[] = "silent,allow_other,nonempty,";
++static char def_opts[] = "silent,allow_other,";
+ static ntfs_fuse_context_t *ctx;
+ static u32 ntfs_sequence;
+ 
diff -urN fusefs-ntfs.orig/files/patch-src-Makefile.in fusefs-ntfs/files/patch-src-Makefile.in
--- fusefs-ntfs.orig/files/patch-src-Makefile.in	Thu Jan 11 04:54:31 2007
+++ fusefs-ntfs/files/patch-src-Makefile.in	Sat Apr 21 14:03:14 2007
@@ -1,16 +1,22 @@
---- src/Makefile.in.orig	Tue Jan  2 02:21:12 2007
-+++ src/Makefile.in	Thu Jan 11 03:38:55 2007
-@@ -521,11 +521,11 @@
- 
- install-data-am: install-man
+--- src/Makefile.in.orig	Mon Apr 16 07:50:19 2007
++++ src/Makefile.in	Sat Apr 21 14:02:51 2007
+@@ -252,15 +252,16 @@
+ 	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+ install-binPROGRAMS: $(bin_PROGRAMS)
  	@$(NORMAL_INSTALL)
--	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
-+#	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
- 
- install-exec-am: install-binPROGRAMS
- 	@$(NORMAL_INSTALL)
--	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
-+#	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
- 
- install-info: install-info-am
+-	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++	test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
+ 	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+ 	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ 	  if test -f $$p \
+ 	     || test -f $$p1 \
+ 	  ; then \
+ 	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+-	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+-	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
++	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" && \
++	   $(LN_S) -f $(DESTDIR)$(sbindir)/ntfs-3g $(DESTDIR)$(sbindir)/mount_ntfs-3g || exit 1; \
+ 	  else :; fi; \
+ 	done
  
diff -urN fusefs-ntfs.orig/pkg-plist fusefs-ntfs/pkg-plist
--- fusefs-ntfs.orig/pkg-plist	Wed Dec  6 05:15:46 2006
+++ fusefs-ntfs/pkg-plist	Sat Apr 21 14:03:53 2007
@@ -1,4 +1,5 @@
-bin/ntfs-3g
+sbin/mount_ntfs-3g
+sbin/ntfs-3g
 include/ntfs-3g/attrib.h
 include/ntfs-3g/attrlist.h
 include/ntfs-3g/bitmap.h
@@ -31,5 +32,5 @@
 lib/libntfs-3g.a
 lib/libntfs-3g.la
 lib/libntfs-3g.so
-lib/libntfs-3g.so.0
+lib/libntfs-3g.so.1
 @dirrm include/ntfs-3g
Comment 3 dfilter service freebsd_committer 2007-04-25 19:55:45 UTC
fjoe        2007-04-25 18:55:38 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/fusefs-ntfs Makefile distinfo pkg-plist 
  Added files:
    sysutils/fusefs-ntfs/files patch-src-ntfs-3g.c 
  Removed files:
    sysutils/fusefs-ntfs/files patch-src-Makefile.in 
  Log:
  Update to 1.417.
  
  PR:             111979
  Submitted by:   Eugene Grosbein
  
  Revision  Changes    Path
  1.9       +1 -1      ports/sysutils/fusefs-ntfs/Makefile
  1.6       +3 -3      ports/sysutils/fusefs-ntfs/distinfo
  1.2       +0 -16     ports/sysutils/fusefs-ntfs/files/patch-src-Makefile.in (dead)
  1.1       +11 -0     ports/sysutils/fusefs-ntfs/files/patch-src-ntfs-3g.c (new)
  1.2       +1 -1      ports/sysutils/fusefs-ntfs/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Max Khon freebsd_committer 2007-04-25 19:57:24 UTC
State Changed
From-To: open->closed

Committed. I decided to not touch layout for a while.