mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v3] f2fs-tools: new package
@ 2014-10-30 19:32 jon
  2014-11-13 16:57 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: jon @ 2014-10-30 19:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Jon Ringle

From: Jon Ringle <jringle@gridpoint.com>

The f2fs-tools package provides the filesystem utilities for use
with the f2fs filesystem (flash-friendly filesystem)
https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt

Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---

I added the md5sum of the .tar.xz created by ptxdist from the git repo.
I see now that the same md5sum is generated each time

Jon

 rules/f2fs-tools.in   | 10 +++++++
 rules/f2fs-tools.make | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 rules/f2fs-tools.in
 create mode 100644 rules/f2fs-tools.make

diff --git a/rules/f2fs-tools.in b/rules/f2fs-tools.in
new file mode 100644
index 0000000..a9f9b6f
--- /dev/null
+++ b/rules/f2fs-tools.in
@@ -0,0 +1,10 @@
+## SECTION=disk_and_file
+
+config F2FS_TOOLS
+	tristate
+	prompt "f2fs-tools"
+	select LIBUUID
+	help
+	  The f2fs-tools package provides the filesystem utilities for use
+	  with the f2fs filesystem (flash-friendly filesystem)
+	  https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
diff --git a/rules/f2fs-tools.make b/rules/f2fs-tools.make
new file mode 100644
index 0000000..6ba3744
--- /dev/null
+++ b/rules/f2fs-tools.make
@@ -0,0 +1,74 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Jon Ringle
+#
+# 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_F2FS_TOOLS) += f2fs-tools
+
+#
+# Paths and names
+#
+F2FS_TOOLS_VERSION	:= 1.4.0
+F2FS_TOOLS_MD5		:= 0c3e7f46c781449a5a9523d633b19740
+F2FS_TOOLS		:= f2fs-tools-$(F2FS_TOOLS_VERSION)
+F2FS_TOOLS_SUFFIX	:= tar.xz
+F2FS_TOOLS_URL		:= git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;tag=v$(F2FS_TOOLS_VERSION)
+F2FS_TOOLS_SOURCE	:= $(SRCDIR)/$(F2FS_TOOLS).$(F2FS_TOOLS_SUFFIX)
+F2FS_TOOLS_DIR		:= $(BUILDDIR)/$(F2FS_TOOLS)
+F2FS_TOOLS_LICENSE	:= GPLv2+ LGPLv2.1+
+
+$(STATEDIR)/f2fs-tools.extract: $(STATEDIR)/autogen-tools
+
+$(STATEDIR)/f2fs-tools.extract:
+	@$(call targetinfo)
+	@$(call clean, $(F2FS_TOOLS_DIR))
+	@$(call extract, F2FS_TOOLS, $(BUILDDIR))
+	@$(call patchin, F2FS_TOOLS, $(F2FS_TOOLS_DIR))
+	@cd $(F2FS_TOOLS_DIR); \
+	autoreconf --install
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+F2FS_TOOLS_CONF_ENV	:= \
+	$(CROSS_ENV) \
+	ac_cv_file__git=no
+
+#
+# autoconf
+#
+F2FS_TOOLS_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/f2fs-tools.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, f2fs-tools)
+	@$(call install_fixup, f2fs-tools,PRIORITY,optional)
+	@$(call install_fixup, f2fs-tools,SECTION,base)
+	@$(call install_fixup, f2fs-tools,AUTHOR,"Jon Ringle")
+	@$(call install_fixup, f2fs-tools,DESCRIPTION,missing)
+
+	@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/mkfs.f2fs)
+	@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/fsck.f2fs)
+
+	@$(call install_lib, f2fs-tools, 0, 0, 0644, libf2fs)
+
+	@$(call install_finish, f2fs-tools)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.8.5.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH v3] f2fs-tools: new package
  2014-10-30 19:32 [ptxdist] [PATCH v3] f2fs-tools: new package jon
@ 2014-11-13 16:57 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-11-13 16:57 UTC (permalink / raw)
  To: ptxdist

On Thu, Oct 30, 2014 at 03:32:55PM -0400, jon@ringle.org wrote:
> From: Jon Ringle <jringle@gridpoint.com>
> 
> The f2fs-tools package provides the filesystem utilities for use
> with the f2fs filesystem (flash-friendly filesystem)
> https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
> 
> Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> ---
> 
> I added the md5sum of the .tar.xz created by ptxdist from the git repo.
> I see now that the same md5sum is generated each time

Indeed. git-archive is very nice this way.

I've changed the autoreconf stuff. Please have a look.

Thanks, applied.

Michael

> 
> Jon
> 
>  rules/f2fs-tools.in   | 10 +++++++
>  rules/f2fs-tools.make | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 84 insertions(+)
>  create mode 100644 rules/f2fs-tools.in
>  create mode 100644 rules/f2fs-tools.make
> 
> diff --git a/rules/f2fs-tools.in b/rules/f2fs-tools.in
> new file mode 100644
> index 0000000..a9f9b6f
> --- /dev/null
> +++ b/rules/f2fs-tools.in
> @@ -0,0 +1,10 @@
> +## SECTION=disk_and_file
> +
> +config F2FS_TOOLS
> +	tristate
> +	prompt "f2fs-tools"
> +	select LIBUUID
> +	help
> +	  The f2fs-tools package provides the filesystem utilities for use
> +	  with the f2fs filesystem (flash-friendly filesystem)
> +	  https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
> diff --git a/rules/f2fs-tools.make b/rules/f2fs-tools.make
> new file mode 100644
> index 0000000..6ba3744
> --- /dev/null
> +++ b/rules/f2fs-tools.make
> @@ -0,0 +1,74 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Jon Ringle
> +#
> +# 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_F2FS_TOOLS) += f2fs-tools
> +
> +#
> +# Paths and names
> +#
> +F2FS_TOOLS_VERSION	:= 1.4.0
> +F2FS_TOOLS_MD5		:= 0c3e7f46c781449a5a9523d633b19740
> +F2FS_TOOLS		:= f2fs-tools-$(F2FS_TOOLS_VERSION)
> +F2FS_TOOLS_SUFFIX	:= tar.xz
> +F2FS_TOOLS_URL		:= git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;tag=v$(F2FS_TOOLS_VERSION)
> +F2FS_TOOLS_SOURCE	:= $(SRCDIR)/$(F2FS_TOOLS).$(F2FS_TOOLS_SUFFIX)
> +F2FS_TOOLS_DIR		:= $(BUILDDIR)/$(F2FS_TOOLS)
> +F2FS_TOOLS_LICENSE	:= GPLv2+ LGPLv2.1+
> +
> +$(STATEDIR)/f2fs-tools.extract: $(STATEDIR)/autogen-tools
> +
> +$(STATEDIR)/f2fs-tools.extract:
> +	@$(call targetinfo)
> +	@$(call clean, $(F2FS_TOOLS_DIR))
> +	@$(call extract, F2FS_TOOLS, $(BUILDDIR))
> +	@$(call patchin, F2FS_TOOLS, $(F2FS_TOOLS_DIR))
> +	@cd $(F2FS_TOOLS_DIR); \
> +	autoreconf --install
> +	@$(call touch)
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +F2FS_TOOLS_CONF_ENV	:= \
> +	$(CROSS_ENV) \
> +	ac_cv_file__git=no
> +
> +#
> +# autoconf
> +#
> +F2FS_TOOLS_CONF_TOOL	:= autoconf
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/f2fs-tools.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, f2fs-tools)
> +	@$(call install_fixup, f2fs-tools,PRIORITY,optional)
> +	@$(call install_fixup, f2fs-tools,SECTION,base)
> +	@$(call install_fixup, f2fs-tools,AUTHOR,"Jon Ringle")
> +	@$(call install_fixup, f2fs-tools,DESCRIPTION,missing)
> +
> +	@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/mkfs.f2fs)
> +	@$(call install_copy, f2fs-tools, 0, 0, 0755, -, /sbin/fsck.f2fs)
> +
> +	@$(call install_lib, f2fs-tools, 0, 0, 0644, libf2fs)
> +
> +	@$(call install_finish, f2fs-tools)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 1.8.5.4
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-11-13 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-30 19:32 [ptxdist] [PATCH v3] f2fs-tools: new package jon
2014-11-13 16:57 ` Michael Olbrich

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