From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 07 Jun 2021 09:48:00 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lq9zM-0001O9-3H for lore@lore.pengutronix.de; Mon, 07 Jun 2021 09:48:00 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lq9zL-00070F-SF; Mon, 07 Jun 2021 09:47:59 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lq9yk-000707-FQ for ptxdist@pengutronix.de; Mon, 07 Jun 2021 09:47:22 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lq9yj-00051M-TQ for ptxdist@pengutronix.de; Mon, 07 Jun 2021 09:47:21 +0200 Received: from mtr by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lq9yj-006Egc-SY for ptxdist@pengutronix.de; Mon, 07 Jun 2021 09:47:21 +0200 From: Michael Tretter To: ptxdist@pengutronix.de Date: Mon, 7 Jun 2021 09:47:21 +0200 Message-Id: <20210607074721.1486377-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [ptxdist] [PATCH v3] ntfs-3g: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support. Signed-off-by: Michael Tretter --- v3: - add README (partially), COPYING, and COPYING.LIB to LICENSE_FILES v2: - remove CREDITS - remove setting of conf env in prepare - fix comment in targetinstall --- rules/ntfs-3g.in | 11 ++++++ rules/ntfs-3g.make | 88 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 rules/ntfs-3g.in create mode 100644 rules/ntfs-3g.make diff --git a/rules/ntfs-3g.in b/rules/ntfs-3g.in new file mode 100644 index 000000000000..a61d6a374eac --- /dev/null +++ b/rules/ntfs-3g.in @@ -0,0 +1,11 @@ +## SECTION=disk_and_file + +config NTFS_3G + tristate + prompt "ntfs-3g" + select FUSE + select FUSE_LIB + select LIBUUID + help + The NTFS-3G driver is an open source, freely available NTFS driver + for Linux with read and write support. diff --git a/rules/ntfs-3g.make b/rules/ntfs-3g.make new file mode 100644 index 000000000000..54450e8fb506 --- /dev/null +++ b/rules/ntfs-3g.make @@ -0,0 +1,88 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 by Thomas Haemmerle +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_NTFS_3G) += ntfs-3g + +# +# Paths and names +# +NTFS_3G_VERSION := 2017.3.23 +NTFS_3G_MD5 := d97474ae1954f772c6d2fa386a6f462c +NTFS_3G := ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION) +NTFS_3G_SUFFIX := tgz +NTFS_3G_URL := http://tuxera.com/opensource/$(NTFS_3G).$(NTFS_3G_SUFFIX) +NTFS_3G_SOURCE := $(SRCDIR)/$(NTFS_3G).$(NTFS_3G_SUFFIX) +NTFS_3G_DIR := $(BUILDDIR)/$(NTFS_3G) +NTFS_3G_LICENSE := GPL-2.0-or-later AND LGPL-2.0-only +NTFS_3G_LICENSE_FILES := \ + file://README;startline=35;endline=42;md5=a3204cfad57631a62a347096d10f3498 \ + file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +NTFS_3G_CONF_TOOL := autoconf +NTFS_3G_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --exec-prefix=/usr \ + --disable-debug \ + --enable-warnings \ + --disable-pedantic \ + --disable-really-static \ + --disable-mount-helper \ + --disable-ldconfig \ + --disable-ldscript \ + --disable-library \ + --disable-mtab \ + --disable-posix-acls \ + --disable-xattr-mappings \ + --disable-plugins \ + --enable-device-default-io-ops \ + --enable-ntfs-3g \ + --disable-ntfsprogs \ + --disable-crypto \ + --disable-quarantined \ + --disable-extras \ + --disable-nfconv \ + --with-fuse=external \ + --with-uuid \ + --without-hd \ + $(GLOBAL_LARGE_FILE_OPTION) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/ntfs-3g.targetinstall: + @$(call targetinfo) + + @$(call install_init, ntfs-3g) + @$(call install_fixup, ntfs-3g,PRIORITY,optional) + @$(call install_fixup, ntfs-3g,SECTION,base) + @$(call install_fixup, ntfs-3g,AUTHOR,"Thomas Haemmerle ") + @$(call install_fixup, ntfs-3g,DESCRIPTION,missing) + + @$(call install_copy, ntfs-3g, 0, 0, 0755, -, /usr/bin/ntfs-3g) + +# # ntfs-g3 creates the links in /sbin. Create our own links. + @$(call install_link, ntfs-3g, ../bin/ntfs-3g, /usr/sbin/mount.ntfs) + @$(call install_link, ntfs-3g, ../bin/ntfs-3g, /usr/sbin/mount.ntfs-3g) + + @$(call install_finish, ntfs-3g) + + @$(call touch) + +# vim: syntax=make -- 2.29.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de