public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] f3 8.0
@ 2024-02-17 14:05 Christian Franke
  2024-02-17 18:41 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Franke @ 2024-02-17 14:05 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]

I would like to contribute f3. Also present in Debian, Fedora, Ubuntu, ...

SUMMARY="Test real flash memory capacity"

DESCRIPTION="f3 is a simple tool that tests flash cards capacity and
performance to see if they live up to claimed specifications.
It fills the device with pseudorandom data and then checks if it
returns the same on reading.
F3 stands for Fight Flash Fraud, or Fight Fake Flash."

List of files:

f3-8.0-1.tar.xz:
usr/bin/f3read.exe
usr/bin/f3write.exe
usr/share/doc/f3/LICENSE
usr/share/doc/f3/README.rst
usr/share/doc/f3/changelog.gz
usr/share/doc/f3/contribute.rst.gz
usr/share/doc/f3/examples/f3write.h2w
usr/share/doc/f3/examples/log-f3wr
usr/share/doc/f3/history.rst.gz
usr/share/doc/f3/usage.rst.gz
usr/share/man/man1/f3read.1.gz
usr/share/man/man1/f3write.1.gz

f3-debuginfo-8.0-1.tar.xz:
usr/lib/debug/usr/bin/f3read.exe.dbg
usr/lib/debug/usr/bin/f3write.exe.dbg
usr/src/debug/f3-8.0-1/f3read.c
usr/src/debug/f3-8.0-1/f3write.c
usr/src/debug/f3-8.0-1/libflow.c
usr/src/debug/f3-8.0-1/libflow.h
usr/src/debug/f3-8.0-1/utils.c
usr/src/debug/f3-8.0-1/utils.h

f3-8.0-1.src.tar.xz:
f3-8.0-1.src/f3-8.0.tar.gz
f3-8.0-1.src/f3.cygport

The source package supports reproducible builds.

-- 
Regards,
Christian


[-- Attachment #2: f3.cygport --]
[-- Type: text/plain, Size: 1110 bytes --]

# cygport script for f3
NAME=f3
VERSION=8.0
RELEASE=1
SOURCE_DATE="2024-02-17 13:00:00 UTC"

SUMMARY="Test real flash memory capacity"

DESCRIPTION="f3 is a simple tool that tests flash cards capacity and
performance to see if they live up to claimed specifications.
It fills the device with pseudorandom data and then checks if it
returns the same on reading.  
F3 stands for Fight Flash Fraud, or Fight Fake Flash."

LICENSE="GPL-3.0-only" # or GPL-3.0-or-later ?
CATEGORY="Utils"
REQUIRES="" # libargp
BUILD_REQUIRES="binutils gcc-core gzip libargp-devel" # make

HOMEPAGE="https://fight-flash-fraud.readthedocs.io/"
SRC_URI="https://codeload.github.com/AltraMayor/f3/tar.gz/refs/tags/v${PV}#/${P}.tar.gz"

export SOURCE_DATE_EPOCH=$(date -d "$SOURCE_DATE" +%s)

src_compile() {
	cd ${B}
	lndirs
	cygmake PREFIX=/usr \
	        LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-Wl,--stack,4000000 -largp" 
}

src_install() {
	cd ${B}
	cyginstall PREFIX=/usr

	cd ${S}
	dodoc changelog doc/{contribute,history,usage}.rst
	gzip -9 -n ${D}/usr/share/doc/${PN}/{changelog,*.rst}

	docinto examples
	dodoc f3write.h2w log-f3wr
}

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

* Re: [ITP] f3 8.0
  2024-02-17 14:05 [ITP] f3 8.0 Christian Franke
@ 2024-02-17 18:41 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2024-02-17 18:41 UTC (permalink / raw)
  To: cygwin-apps

On 17/02/2024 15:05, Christian Franke via Cygwin-apps wrote:
> I would like to contribute f3. Also present in Debian, Fedora, Ubuntu, ...
> 
> SUMMARY="Test real flash memory capacity"
> 
> DESCRIPTION="f3 is a simple tool that tests flash cards capacity and
> performance to see if they live up to claimed specifications.
> It fills the device with pseudorandom data and then checks if it
> returns the same on reading.
> F3 stands for Fight Flash Fraud, or Fight Fake Flash."
> 

> 
> The source package supports reproducible builds.
> 
Hi Christian

Build and package LGTM, not tested on any flash.

Added on the Package list (cygwin-pkg-maint)


LICENSE="GPL-3.0-only" seems correct to me


Regards
Marco


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

end of thread, other threads:[~2024-02-17 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-17 14:05 [ITP] f3 8.0 Christian Franke
2024-02-17 18:41 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).