Ignore:
Timestamp:
2010-07-31T13:39:11+02:00 (6 years ago)
Author:
florian
Message:

[package] add mount.ntfs-3.g

This patch defines new ntfs-3g package mount.ntfs-3g. The package helps to
add ntfs hotplug mount support for block-hotplug package. Please dont forget
to enable mount helper support in Busybox.

Signed-off-by: Zintis Petersons <zintis.petersons@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/ntfs-3g/Makefile

    r21830 r22430  
    4141 
    4242define Package/ntfs-3g/common 
    43         SECTION:=utils 
    44         CATEGORY:=Utilities 
    45         URL:=http://www.tuxera.com 
    46         SUBMENU:=Filesystem 
    47         TITLE:=Stable Read/Write NTFS Driver 
    48         MAINTAINER:=Bud <wrt_buddhay@gmx.net> 
     43  SECTION:=utils 
     44  CATEGORY:=Utilities 
     45  URL:=http://www.tuxera.com 
     46  SUBMENU:=Filesystem 
     47  TITLE:=Stable Read/Write NTFS Driver 
     48  MAINTAINER:=Bud <wrt_buddhay@gmx.net> 
    4949endef 
    5050 
    5151define Package/ntfs-3g 
    52         $(call Package/ntfs-3g/common) 
    53         DEPENDS:= +kmod-fuse +PACKAGE_NTFS-3G_USE_LIBFUSE:libfuse 
    54         DEPENDS+= +libpthread 
     52  $(call Package/ntfs-3g/common) 
     53  DEPENDS:= +kmod-fuse +PACKAGE_NTFS-3G_USE_LIBFUSE:libfuse 
     54  DEPENDS+= +libpthread 
    5555endef 
    5656 
    5757define Package/ntfs-3g/description 
    58 Ntfs-3g is a NTFS driver, which can create, remove, rename,  
    59 move files, directories, hard links, and streams. It can read  
    60 and write files, including streams and sparse files. It can  
    61 handle special files like symbolic links, devices, and FIFOs.  
    62 Moreover it can also read transparently compressed files. 
     58  Ntfs-3g is a NTFS driver, which can create, remove, rename, 
     59  move files, directories, hard links, and streams. It can read 
     60  and write files, including streams and sparse files. It can 
     61  handle special files like symbolic links, devices, and FIFOs. 
     62  Moreover it can also read transparently compressed files. 
    6363 
    64 Contains: 
    65  - ntfs-3g 
    66  - ntfs-3g.probe 
     64  Contains: 
     65   - ntfs-3g 
     66   - ntfs-3g.probe 
    6767 
    6868endef 
     
    8282 
    8383define Package/ntfs-3g-utils 
    84         $(call Package/ntfs-3g/common) 
    85         TITLE:=ntfs-3g utilities (ntfs-3g.secaudit, ntfs-3g.usermap) 
    86         DEFAULT:=n 
    87         DEPENDS+= +ntfs-3g 
     84  $(call Package/ntfs-3g/common) 
     85  TITLE:=ntfs-3g utilities (ntfs-3g.secaudit, ntfs-3g.usermap) 
     86  DEFAULT:=n 
     87  DEPENDS+= +ntfs-3g 
    8888endef 
    8989 
    9090define Package/ntfs-3g-utils/description 
    91 Additional ntfs-3g utilities. Not included by default for size  
    92 considerations. All binaries except ntfs-3g, ntfs-3g.probe. 
     91  Additional ntfs-3g utilities. Not included by default for size 
     92  considerations. All binaries except ntfs-3g, ntfs-3g.probe. 
    9393 
    94 Currently: 
    95  - ntfs-3g.secaudit 
    96  - ntfs-3g.usermap 
     94  Currently: 
     95   - ntfs-3g.secaudit 
     96   - ntfs-3g.usermap 
    9797 
     98endef 
     99 
     100define Package/mount.ntfs-3g 
     101  $(call Package/ntfs-3g/common) 
     102  TITLE:=ntfs-3g mount helper 
     103  DEFAULT:=y 
     104  DEPENDS+= +ntfs-3g 
     105endef 
     106 
     107define Package/mount.ntfs-3g/description 
     108  ntfs-3g mount helper. You must enable busybox mount helper too. 
    98109endef 
    99110 
     
    132143endef 
    133144 
     145define Package/mount.ntfs-3g/install 
     146        $(INSTALL_DIR) $(1)/sbin 
     147        $(CP) $(PKG_INSTALL_DIR)/sbin/mount.ntfs-3g $(1)/sbin/ 
     148endef 
     149 
     150define Package/mount.ntfs-3g/postinst 
     151#!/bin/sh 
     152 
     153if [ -z "$$(grep ^\\ntfs-3g: $${IPKG_INSTROOT}/etc/filesystems)" ]; then 
     154        echo "ntfs-3g" >> $${IPKG_INSTROOT}/etc/filesystems 
     155fi 
     156 
     157endef 
     158 
    134159define Package/ntfs-3g-utils/install 
    135160        $(INSTALL_DIR) $(1)/usr/bin 
     
    139164$(eval $(call BuildPackage,ntfs-3g)) 
    140165$(eval $(call BuildPackage,ntfs-3g-utils)) 
     166$(eval $(call BuildPackage,mount.ntfs-3g)) 
    141167 
Note: See TracChangeset for help on using the changeset viewer.