pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mdigest: Import version 1.6
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By: micha
Date: Mon Jun 21 15:12:28 2021 +0200
Changeset: b9a783b3e5efc453b6329606ee0667890177cb2a
Modified Files:
Makefile
Added Files:
mdigest/DESCR
mdigest/Makefile
mdigest/PLIST
mdigest/distinfo
Log Message:
mdigest: Import 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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b9a783b3e5efc453b6329606ee0667890177cb2a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
mdigest/DESCR | 4 ++++
mdigest/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
mdigest/PLIST | 3 +++
mdigest/distinfo | 6 ++++++
5 files changed, 56 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 3408e12b74..c05c230299 100644
--- a/Makefile
+++ b/Makefile
@@ -2306,6 +2306,7 @@ SUBDIR+= mcwm
SUBDIR+= md4c
SUBDIR+= mdadm
SUBDIR+= mdbtools
+SUBDIR+= mdigest
SUBDIR+= mdpress
SUBDIR+= mediawiki-mode
SUBDIR+= meep
diff --git a/mdigest/DESCR b/mdigest/DESCR
new file mode 100644
index 0000000000..edfd970310
--- /dev/null
+++ b/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/mdigest/Makefile b/mdigest/Makefile
new file mode 100644
index 0000000000..79df9dae64
--- /dev/null
+++ b/mdigest/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+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@localhost
+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/mdigest/PLIST b/mdigest/PLIST
new file mode 100644
index 0000000000..6953f239a2
--- /dev/null
+++ b/mdigest/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mdigest
+man/man1/mdigest.1
diff --git a/mdigest/distinfo b/mdigest/distinfo
new file mode 100644
index 0000000000..87b0b12d22
--- /dev/null
+++ b/mdigest/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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
Home |
Main Index |
Thread Index |
Old Index