Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133013065
D41862.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D41862.id.diff
View Options
diff --git a/misc/Makefile b/misc/Makefile
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -507,6 +507,7 @@
SUBDIR += raspberrypi-userland
SUBDIR += raspbsd-led
SUBDIR += ree
+ SUBDIR += retry
SUBDIR += rfc
SUBDIR += ringtonetools
SUBDIR += rname
diff --git a/misc/retry/Makefile b/misc/retry/Makefile
new file mode 100644
--- /dev/null
+++ b/misc/retry/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= retry
+DISTVERSION= 1.0.5
+CATEGORIES= misc
+MASTER_SITES= https://github.com/minfrin/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
+
+MAINTAINER= jon@zikomo.xyz
+COMMENT= Retry a command until the command succeeds
+WWW= https://github.com/minfrin/retry
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= tar:bzip2
+
+GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/retry \
+ man/man1/retry.1.gz
+
+.include <bsd.port.mk>
diff --git a/misc/retry/distinfo b/misc/retry/distinfo
new file mode 100644
--- /dev/null
+++ b/misc/retry/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694647018
+SHA256 (retry-1.0.5.tar.bz2) = 68e241d10f0e2d784a165634bb2eb12b7baf0a9fd9d27c4d54315382597d892e
+SIZE (retry-1.0.5.tar.bz2) = 260264
diff --git a/misc/retry/pkg-descr b/misc/retry/pkg-descr
new file mode 100644
--- /dev/null
+++ b/misc/retry/pkg-descr
@@ -0,0 +1,8 @@
+Retry captures stdin into memory as the data is passed to the repeated command,
+and this captured stdin is then replayed should the command be repeated. This
+makes it possible to embed the retry tool into shell pipelines.
+
+Retry captures stdout into memory, and if the command was successful stdout is
+passed on to stdout as normal, while if the command was repeated stdout is
+passed to stderr instead. This ensures that output is passed to stdout once and
+once only.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 23, 1:45 AM (12 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24057918
Default Alt Text
D41862.id.diff (1 KB)
Attached To
Mode
D41862: misc/retry: Add new port
Attached
Detach File
Event Timeline
Log In to Comment