pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security security/mdigest: Added version 1.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5354f8f44a7
branches:  trunk
changeset: 454986:b5354f8f44a7
user:      micha <micha%pkgsrc.org@localhost>
date:      Fri Jun 25 10:13:57 2021 +0000

description:
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:

 security/Makefile         |   3 ++-
 security/mdigest/DESCR    |   4 ++++
 security/mdigest/Makefile |  42 ++++++++++++++++++++++++++++++++++++++++++
 security/mdigest/PLIST    |   3 +++
 security/mdigest/distinfo |   6 ++++++
 5 files changed, 57 insertions(+), 1 deletions(-)

diffs (88 lines):

diff -r 5f3dcd42254d -r b5354f8f44a7 security/Makefile
--- a/security/Makefile Fri Jun 25 09:50:18 2021 +0000
+++ b/security/Makefile Fri Jun 25 10:13:57 2021 +0000
@@ -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+=       mcrypt
 SUBDIR+=       md4-collision
 SUBDIR+=       md5-collision
+SUBDIR+=       mdigest
 SUBDIR+=       merkletree
 SUBDIR+=       mhash
 SUBDIR+=       minisign
diff -r 5f3dcd42254d -r b5354f8f44a7 security/mdigest/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mdigest/DESCR    Fri Jun 25 10:13:57 2021 +0000
@@ -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 -r 5f3dcd42254d -r b5354f8f44a7 security/mdigest/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mdigest/Makefile Fri Jun 25 10:13:57 2021 +0000
@@ -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@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 -r 5f3dcd42254d -r b5354f8f44a7 security/mdigest/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mdigest/PLIST    Fri Jun 25 10:13:57 2021 +0000
@@ -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 -r 5f3dcd42254d -r b5354f8f44a7 security/mdigest/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/mdigest/distinfo Fri Jun 25 10:13:57 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index