pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

shellharden: Initial import of 4.1.1



Module Name:	pkgsrc-wip
Committed By:	Michael-John Turner <mj%mjturner.net@localhost>
Pushed By:	mj
Date:		Tue Jul 27 14:23:58 2021 +0100
Changeset:	9117524727550b8c0ec61510d77e20d68cb4d7d7

Modified Files:
	Makefile
Added Files:
	shellharden/DESCR
	shellharden/Makefile
	shellharden/PLIST
	shellharden/distinfo

Log Message:
shellharden: Initial import of 4.1.1

https://github.com/anordal/shellharden

Shellharden is a syntax highlighter and a tool to semi-automate the rewriting
of scripts to ShellCheck conformance, mainly focused on quoting.

The default mode of operation is like cat, but with syntax highlighting in
foreground colors and suggestive changes in background colors.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9117524727550b8c0ec61510d77e20d68cb4d7d7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 shellharden/DESCR    |  5 +++++
 shellharden/Makefile | 21 +++++++++++++++++++++
 shellharden/PLIST    |  2 ++
 shellharden/distinfo |  6 ++++++
 5 files changed, 35 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ad178d313a..610f812b05 100644
--- a/Makefile
+++ b/Makefile
@@ -5139,6 +5139,7 @@ SUBDIR+=	shaper
 SUBDIR+=	sharif-univ-ttf
 SUBDIR+=	shed
 SUBDIR+=	shell-fm
+SUBDIR+=	shellharden
 SUBDIR+=	shellinabox
 SUBDIR+=	shod
 SUBDIR+=	shotcut
diff --git a/shellharden/DESCR b/shellharden/DESCR
new file mode 100644
index 0000000000..3355b69316
--- /dev/null
+++ b/shellharden/DESCR
@@ -0,0 +1,5 @@
+Shellharden is a syntax highlighter and a tool to semi-automate the rewriting
+of scripts to ShellCheck conformance, mainly focused on quoting.
+
+The default mode of operation is like cat, but with syntax highlighting in
+foreground colors and suggestive changes in background colors.
diff --git a/shellharden/Makefile b/shellharden/Makefile
new file mode 100644
index 0000000000..ba396e14d5
--- /dev/null
+++ b/shellharden/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	shellharden-4.1.1
+MASTER_SITES=	${MASTER_SITE_GITHUB:=anordal/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	shells
+
+MAINTAINER=	mj%mjturner.net@localhost
+HOMEPAGE=	https://github.com/anordal/shellharden/
+COMMENT=	Shell script syntax highlighter and rewriter
+LICENSE=	mpl-2.0
+
+USE_LANGUAGES=	c
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/target/release/shellharden ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/shellharden/PLIST b/shellharden/PLIST
new file mode 100644
index 0000000000..be3397b8bb
--- /dev/null
+++ b/shellharden/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/shellharden
diff --git a/shellharden/distinfo b/shellharden/distinfo
new file mode 100644
index 0000000000..38e0534b68
--- /dev/null
+++ b/shellharden/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (shellharden-4.1.1.tar.gz) = b9ac21b7d7fa6f4938f1512a3ab5b4ddfcfa7497
+RMD160 (shellharden-4.1.1.tar.gz) = 541386c92294d310abbcf045f0692a946d567c14
+SHA512 (shellharden-4.1.1.tar.gz) = 994c08c7ee228e4d76c307a2117df4667bbc66cd1d794d43c8be7356faf8c1611b6cb297d17768b4e228e77b24f2c4d2148d08cac341e861f49e9fc0dbd813a0
+Size (shellharden-4.1.1.tar.gz) = 183147 bytes


Home | Main Index | Thread Index | Old Index