git: 5f5b3bd2b04e - main - security/rotate: New Port

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Thu, 15 Sep 2022 02:40:51 UTC
The branch main has been updated by nc:

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

commit 5f5b3bd2b04e96f76cea58f1bd7739755e3da816
Author:     Lady Serena Kitty <jlhawkwell@ladyserenakitty.com>
AuthorDate: 2022-09-15 02:38:55 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-15 02:40:39 +0000

    security/rotate: New Port
    
    Differential Revision:  https://reviews.freebsd.org/D36588
---
 security/Makefile         |  1 +
 security/rotate/Makefile  | 20 ++++++++++++++++++++
 security/rotate/distinfo  |  3 +++
 security/rotate/pkg-descr |  3 +++
 security/rotate/pkg-plist |  4 ++++
 5 files changed, 31 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index e583d051705f..35caf7d9f56e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1026,6 +1026,7 @@
     SUBDIR += rkhunter
     SUBDIR += rndpassw
     SUBDIR += rnp
+    SUBDIR += rotate
     SUBDIR += rubygem-acme-client
     SUBDIR += rubygem-aes_key_wrap
     SUBDIR += rubygem-airbrussh
diff --git a/security/rotate/Makefile b/security/rotate/Makefile
new file mode 100644
index 000000000000..4e8b6420c22a
--- /dev/null
+++ b/security/rotate/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=      rotate
+DISTVERSION=   1.2
+CATEGORIES=    security
+MASTER_SITES=  https://gitlab.com/LadySerenaKitty
+
+MAINTAINER=    jlhawkwell@ladyserenakitty.com
+COMMENT=       Binary rotation cipher (rot-13)
+WWW=           https://gitlab.com/LadySerenaKitty/rotate
+
+LICENSE=       BSD2CLAUSE
+LICENSE_FILE=  ${WRKSRC}/LICENSE
+
+USES=  cmake
+
+USE_GITLAB=    yes
+GL_ACCOUNT=    LadySerenaKitty
+GL_PROJECT=    ${PORTNAME}
+GL_COMMIT=     11865e9748bb1a949c9450771283e4423b7c7115
+
+.include <bsd.port.mk>
diff --git a/security/rotate/distinfo b/security/rotate/distinfo
new file mode 100644
index 000000000000..965a64a63c4b
--- /dev/null
+++ b/security/rotate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663206486
+SHA256 (LadySerenaKitty-rotate-11865e9748bb1a949c9450771283e4423b7c7115_GL0.tar.gz) = dcfab65d48ea44d555b6167ace8c675934b38f5dbc95c618afafa39682588f6a
+SIZE (LadySerenaKitty-rotate-11865e9748bb1a949c9450771283e4423b7c7115_GL0.tar.gz) = 2849
diff --git a/security/rotate/pkg-descr b/security/rotate/pkg-descr
new file mode 100644
index 000000000000..20ed8bd71cd1
--- /dev/null
+++ b/security/rotate/pkg-descr
@@ -0,0 +1,3 @@
+rotate/librotator provides binary rotation similar to the ROT-13 cipher, with
+the main difference being librotator runs at the binary level, so it can work
+on any binary data and any text regardless of encoding, not just latin text.
diff --git a/security/rotate/pkg-plist b/security/rotate/pkg-plist
new file mode 100644
index 000000000000..0ec5131f7381
--- /dev/null
+++ b/security/rotate/pkg-plist
@@ -0,0 +1,4 @@
+bin/etator
+bin/rotate
+include/rotate.h
+lib/librotator.so