Bug 257538 - [NEW PORT] sysutils/damager: Overrides chunks of files with garbage
Summary: [NEW PORT] sysutils/damager: Overrides chunks of files with garbage
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-01 16:19 UTC by Alberto Mijares
Modified: 2021-08-02 20:28 UTC (History)
2 users (show)

See Also:


Attachments
shar file for port (1.84 KB, text/plain)
2021-08-01 16:19 UTC, Alberto Mijares
no flags Details
shar file for port (1.88 KB, text/plain)
2021-08-01 16:22 UTC, Alberto Mijares
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Mijares 2021-08-01 16:19:28 UTC
Created attachment 226849 [details]
shar file for port

I didn't find anything alike in the ports. This is a very simple C program that I use for teaching basic concepts or porting, packaging and FreeBSD. Also useful for testing file alteration monitors within shell scripts.

portlint and poudriere pass perfectly.
Comment 1 Alberto Mijares 2021-08-01 16:22:25 UTC
Created attachment 226850 [details]
shar file for port

Adding LICENSE_FILE.
Comment 2 commit-hook freebsd_committer 2021-08-02 19:43:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a411f42160089e8abbe4fe2dba6eb251b860996

commit 7a411f42160089e8abbe4fe2dba6eb251b860996
Author:     Alberto Mijares <amijaresp@gmail.com>
AuthorDate: 2021-08-02 19:41:18 +0000
Commit:     Li-Wen Hsu <lwhsu@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 (new)  | 24 ++++++++++++++++++++++++
 sysutils/damager/distinfo (new)  |  3 +++
 sysutils/damager/pkg-descr (new) |  5 +++++
 4 files changed, 33 insertions(+)
Comment 3 Li-Wen Hsu freebsd_committer 2021-08-02 19:43:57 UTC
New port added, thanks!

Please note that the file you submitted is in dos format, not unix.
Comment 4 Alberto Mijares 2021-08-02 19:49:40 UTC
(In reply to Li-Wen Hsu from comment #3)
Thank you!!

I'll check if the xclip utility has something to do with this issue because I din't use any DOS or win32-like environment. Thanks too for the heads up.
Comment 5 Zsolt Udvari 2021-08-02 20:24:14 UTC
Sorry, a small typo in pkg-descr:
"Takes a small amount of ramdon..."

ramdon -> random (replace "n" and "m")
Comment 6 commit-hook freebsd_committer 2021-08-02 20:28:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d10abd6208b15951ed1369a09c0b5ad9942abf4c

commit d10abd6208b15951ed1369a09c0b5ad9942abf4c
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-08-02 20:26:39 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-08-02 20:26:39 +0000

    sysutils/damager: Fix typo in pkg-descr

    PR:             257538
    Reported by:    Zsolt Udvari <uzsolt@uzsolt.hu>

 sysutils/damager/pkg-descr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)