public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Christian Franke <Christian.Franke@t-online.de>
To: cygwin-apps@cygwin.com
Subject: [ITP] f3 8.0
Date: Sat, 17 Feb 2024 15:05:04 +0100	[thread overview]
Message-ID: <a3f2cdd4-8501-c911-53f1-ce39668ae30e@t-online.de> (raw)

[-- 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
}

             reply	other threads:[~2024-02-17 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-17 14:05 Christian Franke [this message]
2024-02-17 18:41 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a3f2cdd4-8501-c911-53f1-ce39668ae30e@t-online.de \
    --to=christian.franke@t-online.de \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).