git: 7a411f421600 - main - sysutils/damager: (New) Overrides chunks of files with garbage
Li-Wen Hsu
lwhsu at FreeBSD.org
Mon Aug 2 19:42:35 UTC 2021
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a411f42160089e8abbe4fe2dba6eb251b860996
commit 7a411f42160089e8abbe4fe2dba6eb251b860996
Author: Alberto Mijares <amijaresp at gmail.com>
AuthorDate: 2021-08-02 19:41:18 +0000
Commit: Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-08-02 19:42:22 +0000
sysutils/damager: (New) Overrides chunks of files with garbage
PR: 257538
---
sysutils/Makefile | 1 +
sysutils/damager/Makefile | 24 ++++++++++++++++++++++++
sysutils/damager/distinfo | 3 +++
sysutils/damager/pkg-descr | 5 +++++
4 files changed, 33 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 2f572efe665f..5521ca1406e7 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -238,6 +238,7 @@
SUBDIR += daemontools
SUBDIR += daemontools-encore
SUBDIR += daggy
+ SUBDIR += damager
SUBDIR += dar
SUBDIR += datadog-agent
SUBDIR += datadog-integrations
diff --git a/sysutils/damager/Makefile b/sysutils/damager/Makefile
new file mode 100644
index 000000000000..6f84eb67f401
--- /dev/null
+++ b/sysutils/damager/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= damager
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1
+CATEGORIES= sysutils
+
+MAINTAINER= amijaresp at gmail.com
+COMMENT= Overrides chunks of files with garbage
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= granalberto
+
+ALL_TARGET= ${PORTNAME}
+
+PLIST_FILES= bin/damager \
+ man/man1/damager.1.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/sysutils/damager/distinfo b/sysutils/damager/distinfo
new file mode 100644
index 000000000000..8ef877b2c804
--- /dev/null
+++ b/sysutils/damager/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627832966
+SHA256 (granalberto-damager-v0.1_GH0.tar.gz) = e21c63dd8d895175b9a17064c97e4361330bf3df9f2e9ea0cc1ca71c2c889847
+SIZE (granalberto-damager-v0.1_GH0.tar.gz) = 1557
diff --git a/sysutils/damager/pkg-descr b/sysutils/damager/pkg-descr
new file mode 100644
index 000000000000..b2adf1f0a8ee
--- /dev/null
+++ b/sysutils/damager/pkg-descr
@@ -0,0 +1,5 @@
+Takes a small amount of ramdon data from /dev/random and writes it to
+some place inside the file passed as argument. Then you can test your
+FAM or checksuming system for integrity protection.
+
+WWW: https://github.com/granalberto/damager
More information about the dev-commits-ports-all
mailing list