mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ntfs-3g: new package
@ 2021-05-28 13:05 Michael Tretter
  2021-05-31  7:24 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tretter @ 2021-05-28 13:05 UTC (permalink / raw)
  To: ptxdist

The NTFS-3G driver is an open source, freely available NTFS driver for
Linux with read and write support.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 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..2b45c8f403ed
--- /dev/null
+++ b/rules/ntfs-3g.make
@@ -0,0 +1,88 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Thomas Haemmerle <thomas.haemmerle@wolfvision.net>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# 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
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+NTFS_3G_CONF_ENV	:= $(CROSS_ENV)
+
+#
+# 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 <thomas.haemmerle@wolfvision.net>")
+	@$(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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] ntfs-3g: new package
  2021-05-28 13:05 [ptxdist] [PATCH] ntfs-3g: new package Michael Tretter
@ 2021-05-31  7:24 ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2021-05-31  7:24 UTC (permalink / raw)
  To: ptxdist

On Fri, May 28, 2021 at 03:05:39PM +0200, Michael Tretter wrote:
> The NTFS-3G driver is an open source, freely available NTFS driver for
> Linux with read and write support.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> ---
>  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..2b45c8f403ed
> --- /dev/null
> +++ b/rules/ntfs-3g.make
> @@ -0,0 +1,88 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2017 by Thomas Haemmerle <thomas.haemmerle@wolfvision.net>

> +#
> +# See CREDITS for details about who has contributed to this project.

Remove this. CREDITS is gone.


> +#
> +# 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
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +NTFS_3G_CONF_ENV	:= $(CROSS_ENV)

Remove. This is the default.

> +
> +#
> +# 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 <thomas.haemmerle@wolfvision.net>")
> +	@$(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.

#	# ...

Otherwise it's a shell comment and will be visible in the output.

Michael

> +	@$(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
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH] ntfs-3g: new package
  2021-06-01  8:26 Michael Tretter
@ 2021-06-04 13:30 ` Roland Hieber
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Hieber @ 2021-06-04 13:30 UTC (permalink / raw)
  To: Michael Tretter; +Cc: ptxdist

On Tue, Jun 01, 2021 at 10:26:58AM +0200, Michael Tretter wrote:
> The NTFS-3G driver is an open source, freely available NTFS driver for
> Linux with read and write support.
> 
> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
> 
> ---
> v2:
> - remove CREDITS
> - remove setting of conf env in prepare
> - fix comment in targetinstall
> ---
>  rules/ntfs-3g.in   | 11 ++++++
>  rules/ntfs-3g.make | 84 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 95 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..e2e08c731f9e
> --- /dev/null
> +++ b/rules/ntfs-3g.make
> @@ -0,0 +1,84 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2017 by Thomas Haemmerle <thomas.haemmerle@wolfvision.net>
> +#
> +# 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

Could you add NTFS_3G_LICENSE_FILES too please? There's a COPYING, a
COPYING.LIB and a "Licenses" section in the README.

 - Roland

> +
> +# ----------------------------------------------------------------------------
> +# 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 <thomas.haemmerle@wolfvision.net>")
> +	@$(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
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH] ntfs-3g: new package
@ 2021-06-01  8:26 Michael Tretter
  2021-06-04 13:30 ` Roland Hieber
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tretter @ 2021-06-01  8:26 UTC (permalink / raw)
  To: ptxdist

The NTFS-3G driver is an open source, freely available NTFS driver for
Linux with read and write support.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>

---
v2:
- remove CREDITS
- remove setting of conf env in prepare
- fix comment in targetinstall
---
 rules/ntfs-3g.in   | 11 ++++++
 rules/ntfs-3g.make | 84 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 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..e2e08c731f9e
--- /dev/null
+++ b/rules/ntfs-3g.make
@@ -0,0 +1,84 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Thomas Haemmerle <thomas.haemmerle@wolfvision.net>
+#
+# 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
+
+# ----------------------------------------------------------------------------
+# 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 <thomas.haemmerle@wolfvision.net>")
+	@$(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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-04 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 13:05 [ptxdist] [PATCH] ntfs-3g: new package Michael Tretter
2021-05-31  7:24 ` Michael Olbrich
2021-06-01  8:26 Michael Tretter
2021-06-04 13:30 ` Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox