SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
COMMENT= extended script command
DISTNAME= superscript-0.0
CATEGORIES= sysutils
MASTER_SITES= https://distfiles.sigtrap.nl/
WANTLIB= c util
# BSD
PERMIT_PACKAGE= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/superscript ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/superscript.1 ${PREFIX}/man/man1
NO_TEST= Yes
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (superscript-0.0.tar.gz) = qzflQ2bgn3YM3oXMXOVitDXfqUe4lYb7Win+zmxH95Q=
SIZE (superscript-0.0.tar.gz) = 4665

View file

@ -0,0 +1,19 @@
--- superscript.c.orig Tue Sep 27 11:59:40 2005
+++ superscript.c Mon Mar 16 16:03:19 2015
@@ -69,7 +69,6 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
-#include <tzfile.h>
#include <unistd.h>
#include <util.h>
@@ -305,7 +304,7 @@ dooutput(const char *fname, int oflg, int silent)
sa.sa_handler = scriptflush;
(void)sigaction(SIGALRM, &sa, NULL);
- value.it_interval.tv_sec = SECSPERMIN / 2;
+ value.it_interval.tv_sec = 30;
value.it_interval.tv_usec = 0;
value.it_value = value.it_interval;
(void)setitimer(ITIMER_REAL, &value, NULL);

View file

@ -0,0 +1,4 @@
superscript is a superset of the script(1) command, containing
some useful options such as -p. Instead of first logging a
session to a file and then analysing it, it becomes possible
to log the commands in real time.

View file

@ -0,0 +1,2 @@
bin/superscript
@man man/man1/superscript.1