summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2021-06-25 10:13:57 +0000
committermicha <micha@pkgsrc.org>2021-06-25 10:13:57 +0000
commitbe8a3766fc9c766f231cdd1e725712c96653afb6 (patch)
tree02038f6150c3222180e48d5159834a06e7479b82 /security
parentf4b56ed14f69591a4b6c7eee2ba5d2f15fe19b2e (diff)
downloadpkgsrc-be8a3766fc9c766f231cdd1e725712c96653afb6.tar.gz
security/mdigest: Added version 1.6
mdigest reads the files from the argument list and computes a message digest hash for the file content. If the argument list is empty mdigest reads from standard in.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/mdigest/DESCR4
-rw-r--r--security/mdigest/Makefile42
-rw-r--r--security/mdigest/PLIST3
-rw-r--r--security/mdigest/distinfo6
5 files changed, 57 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index d91f3ca4ec8..fd33974e8ee 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.829 2021/06/23 21:07:42 wiz Exp $
+# $NetBSD: Makefile,v 1.830 2021/06/25 10:13:57 micha Exp $
#
COMMENT= Security and cryptography tools and libraries
@@ -224,6 +224,7 @@ SUBDIR+= mbedtls
SUBDIR+= mcrypt
SUBDIR+= md4-collision
SUBDIR+= md5-collision
+SUBDIR+= mdigest
SUBDIR+= merkletree
SUBDIR+= mhash
SUBDIR+= minisign
diff --git a/security/mdigest/DESCR b/security/mdigest/DESCR
new file mode 100644
index 00000000000..edfd970310b
--- /dev/null
+++ b/security/mdigest/DESCR
@@ -0,0 +1,4 @@
+mdigest reads the files from the argument list and computes a message
+digest hash for the file content.
+
+If the argument list is empty mdigest reads from standard in.
diff --git a/security/mdigest/Makefile b/security/mdigest/Makefile
new file mode 100644
index 00000000000..dffe553f213
--- /dev/null
+++ b/security/mdigest/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2021/06/25 10:13:58 micha Exp $
+
+DISTNAME= schily-2021-06-07
+PKGNAME= mdigest-1.6
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= micha@NetBSD.org
+HOMEPAGE= https://sourceforge.net/projects/schilytools/
+COMMENT= Calculates a message digest
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.prefs.mk"
+
+TOOL_DEPENDS+= smake>=1.3nb11:../../devel/smake
+SMAKE= MAKEFLAGS= smake
+MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
+# Honor CPPFLAGS, CFLAGS and LDFLAGS
+MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
+
+do-build:
+ cd ${WRKSRC} && for library in libschily libmdigest ; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/mdigest && ${SMAKE} ${MAKE_FLAGS}
+
+do-install:
+ cd ${WRKSRC}/mdigest && ${SMAKE} ${MAKE_FLAGS} install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/mdigest/PLIST b/security/mdigest/PLIST
new file mode 100644
index 00000000000..17d44be6bee
--- /dev/null
+++ b/security/mdigest/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/25 10:13:58 micha Exp $
+bin/mdigest
+man/man1/mdigest.1
diff --git a/security/mdigest/distinfo b/security/mdigest/distinfo
new file mode 100644
index 00000000000..dd212ecd9d4
--- /dev/null
+++ b/security/mdigest/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/25 10:13:58 micha Exp $
+
+SHA1 (schily-2021-06-07.tar.bz2) = 355c162afdffb730e632902620397cc7851c3595
+RMD160 (schily-2021-06-07.tar.bz2) = 8239c965ad9da0d7ce21c39ed28f3f367f929cbf
+SHA512 (schily-2021-06-07.tar.bz2) = f71fb7b521e1b39e87ec9e44b29576eb2e67f0783e24760590f4323243ee1df7e7bdc214aa95d9e3cde6d090c14cab85ddfeaa8ea93b3942997c72c257b53a60
+Size (schily-2021-06-07.tar.bz2) = 4905609 bytes