pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security net/hercules4sdl-crypto: new package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09542e8c903b
branches:  trunk
changeset: 769028:09542e8c903b
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Sat Nov 06 16:42:37 2021 +0000

description:
net/hercules4sdl-crypto: new package

needed for emulators/hercules4sdl.

diffstat:

 security/Makefile                          |   3 ++-
 security/hercules4sdl-crypto/DESCR         |   8 ++++++++
 security/hercules4sdl-crypto/Makefile      |  30 ++++++++++++++++++++++++++++++
 security/hercules4sdl-crypto/PLIST         |  10 ++++++++++
 security/hercules4sdl-crypto/buildlink3.mk |  14 ++++++++++++++
 security/hercules4sdl-crypto/distinfo      |   6 ++++++
 6 files changed, 70 insertions(+), 1 deletions(-)

diffs (105 lines):

diff -r 2a7aa46f1a0a -r 09542e8c903b security/Makefile
--- a/security/Makefile Sat Nov 06 16:42:10 2021 +0000
+++ b/security/Makefile Sat Nov 06 16:42:37 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.836 2021/08/24 10:17:40 mef Exp $
+# $NetBSD: Makefile,v 1.837 2021/11/06 16:42:37 rhialto Exp $
 #
 
 COMMENT=       Security and cryptography tools and libraries
@@ -122,6 +122,7 @@
 SUBDIR+=       hashcash
 SUBDIR+=       heimdal
 SUBDIR+=       heirloom-su
+SUBDIR+=       hercules4sdl-crypto
 SUBDIR+=       hitch
 SUBDIR+=       honeyd
 SUBDIR+=       honeyd-arpd
diff -r 2a7aa46f1a0a -r 09542e8c903b security/hercules4sdl-crypto/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hercules4sdl-crypto/DESCR        Sat Nov 06 16:42:37 2021 +0000
@@ -0,0 +1,8 @@
+Simple AES/DES encryption and SHA1/SHA2 hashing library
+
+Crypto provides a simple implementation of the Rijndael (now AES) and DES
+encryption algorithms as well as the SHA1 and SHA2 hashing algorithms. The
+library is almost a verbatim copy of the code from OpenBSD and PuTTY.
+
+This version is the one used by the SoftDevLabs version of
+Hercules 4.x (Hyperion).
diff -r 2a7aa46f1a0a -r 09542e8c903b security/hercules4sdl-crypto/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hercules4sdl-crypto/Makefile     Sat Nov 06 16:42:37 2021 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2021/11/06 16:42:37 rhialto Exp $
+
+DISTNAME=      hercules4sdl-crypto-1.0.0
+PKGREVISION=   20210105
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=SDL-Hercules-390/}
+GITHUB_PROJECT=        crypto
+GITHUB_TAG=    837705eff938ca044f2eab5f1ea5cd83b2b0ece7 # 5 Jan 2021
+
+MAINTAINER=    rhialto%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/SDL-Hercules-390/crypto
+COMMENT=       The SoftDevLabs version of crypto for Hercules 4.x
+LICENSE=       modified-bsd # some parts are less restricted
+
+USE_TOOLS+=    cmake
+USE_LANGUAGES+=        c
+
+USE_CMAKE=     yes
+BLDDIR=                ${WRKDIR}/crypto64.Release
+CONFIGURE_DIRS=        ${BLDDIR}
+CMAKE_ARG_PATH=        ${WRKSRC}
+CMAKE_ARGS+=   -D INSTALL_PREFIX=${PREFIX}/lib/hercules4sdl
+
+pre-configure:
+       ${MKDIR} ${BLDDIR}
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/lib/hercules4sdl/lib && ${MV} libcrypto64.a libcrypto_pic.a
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2a7aa46f1a0a -r 09542e8c903b security/hercules4sdl-crypto/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hercules4sdl-crypto/PLIST        Sat Nov 06 16:42:37 2021 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/06 16:42:37 rhialto Exp $
+lib/hercules4sdl/crypto.LICENSE.txt
+lib/hercules4sdl/crypto.README.txt
+lib/hercules4sdl/include/crypto.h
+lib/hercules4sdl/include/crypto_version.h
+lib/hercules4sdl/include/rijndael.h
+lib/hercules4sdl/include/sha1.h
+lib/hercules4sdl/include/sha2.h
+lib/hercules4sdl/include/sshdes.h
+lib/hercules4sdl/lib/libcrypto_pic.a
diff -r 2a7aa46f1a0a -r 09542e8c903b security/hercules4sdl-crypto/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hercules4sdl-crypto/buildlink3.mk        Sat Nov 06 16:42:37 2021 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/11/06 16:42:37 rhialto Exp $
+
+BUILDLINK_TREE+=       hercules4sdl-crypto
+
+.if !defined(HERCULES4SDL_CRYPTO_BUILDLINK3_MK)
+HERCULES4SDL_CRYPTO_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.hercules4sdl-crypto?=      build
+
+BUILDLINK_API_DEPENDS.hercules4sdl-crypto+=    hercules4sdl-crypto>=1.0.0
+BUILDLINK_PKGSRCDIR.hercules4sdl-crypto?=      ../../security/hercules4sdl-crypto
+.endif # HERCULES4SDL_CRYPTO_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hercules4sdl-crypto
diff -r 2a7aa46f1a0a -r 09542e8c903b security/hercules4sdl-crypto/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hercules4sdl-crypto/distinfo     Sat Nov 06 16:42:37 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/06 16:42:37 rhialto Exp $
+
+BLAKE2s (hercules4sdl-crypto-1.0.0-837705eff938ca044f2eab5f1ea5cd83b2b0ece7.tar.gz) = 04ccab03fe910fb0ae067420b426f1e99fe54fa0763176a2dd6ac062efec0018
+SHA512 (hercules4sdl-crypto-1.0.0-837705eff938ca044f2eab5f1ea5cd83b2b0ece7.tar.gz) = 
295d9f04b27e35d9c22a6709583840170675796cf1896350bb2463689e6fe0d5adce6b224bbf924946b7ccb2d2a52496982f5f529411938af12974a2549e4b38
+Size (hercules4sdl-crypto-1.0.0-837705eff938ca044f2eab5f1ea5cd83b2b0ece7.tar.gz) = 81375 bytes
+SHA1 (patch-cflags.txt) = 8e5833c2d43e7973dcf9d6c442976efefac30b26



Home | Main Index | Thread Index | Old Index