pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fsel: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Oct 7 20:39:36 2025 +0200
Changeset:	f442887bcd60a4b43f585759dd34dd318472ebfa

Modified Files:
	Makefile
Added Files:
	fsel/DESCR
	fsel/Makefile
	fsel/PLIST
	fsel/TODO
	fsel/distinfo
	fsel/patches/patch-Makefile

Log Message:
fsel: add new package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f442887bcd60a4b43f585759dd34dd318472ebfa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                    |  1 +
 fsel/DESCR                  |  4 ++++
 fsel/Makefile               | 21 +++++++++++++++++++++
 fsel/PLIST                  |  3 +++
 fsel/TODO                   |  1 +
 fsel/distinfo               |  6 ++++++
 fsel/patches/patch-Makefile | 13 +++++++++++++
 7 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 99d9914c08..d28dfe0e1b 100644
--- a/Makefile
+++ b/Makefile
@@ -1062,6 +1062,7 @@ SUBDIR+=	frogatto
 SUBDIR+=	frp
 SUBDIR+=	fs2open
 SUBDIR+=	fs2open-git
+SUBDIR+=	fsel
 SUBDIR+=	fsharp
 SUBDIR+=	fslsfonts
 SUBDIR+=	fsom
diff --git a/fsel/DESCR b/fsel/DESCR
new file mode 100644
index 0000000000..cfec964916
--- /dev/null
+++ b/fsel/DESCR
@@ -0,0 +1,4 @@
+fsel is a CLI utility that manages file selections for batch
+operations on Unix.  Store, retrieve, and manipulate file lists
+across command runs.  Selections persist until you explicitly clear
+them.
diff --git a/fsel/Makefile b/fsel/Makefile
new file mode 100644
index 0000000000..f747428a7d
--- /dev/null
+++ b/fsel/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	fsel-0.1.0
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=uwfmt/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/uwfmt/fsel/
+COMMENT=	Easily share selected files between shell commands
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=	${WRKDIR}/${DISTNAME}
+
+INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/fsel ${DESTDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/fsel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/fsel/PLIST b/fsel/PLIST
new file mode 100644
index 0000000000..d1c34687b2
--- /dev/null
+++ b/fsel/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/fsel
+man/man1/fsel.1
diff --git a/fsel/TODO b/fsel/TODO
new file mode 100644
index 0000000000..9daeafb986
--- /dev/null
+++ b/fsel/TODO
@@ -0,0 +1 @@
+test
diff --git a/fsel/distinfo b/fsel/distinfo
new file mode 100644
index 0000000000..222efe0106
--- /dev/null
+++ b/fsel/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (fsel-0.1.0.tar.gz) = c8482174ddcdf90cc22b4ecdca88c2ba4b739f767892eed6c5edcb02c453f5ce
+SHA512 (fsel-0.1.0.tar.gz) = 3686c4e94df845573b03f38b7f6ede9e5098b01f0e0fa6017c777b0569f45c5fcdc393299136954e404db173802b4a6b81e76dc04e0489c7c82f4473b490542d
+Size (fsel-0.1.0.tar.gz) = 20460 bytes
+SHA1 (patch-Makefile) = 1e4f3a59e1118b3b6ae73a17005f495e58d2c1ab
diff --git a/fsel/patches/patch-Makefile b/fsel/patches/patch-Makefile
new file mode 100644
index 0000000000..51d9cea68f
--- /dev/null
+++ b/fsel/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD$
+
+Fix build on NetBSD.
+
+--- Makefile.orig	2025-10-07 18:36:23.686122088 +0000
++++ Makefile
+@@ -1,5 +1,5 @@
+ CC = gcc
+-CFLAGS = -Wall -Wextra -std=c11 -D_XOPEN_SOURCE=500
++CFLAGS = -Wall -Wextra -std=c11
+ LDFLAGS =
+ LIBS = -lcrypto
+ PREFIX ?= /usr/local


Home | Main Index | Thread Index | Old Index