pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Sat Nov  6 16:42:37 UTC 2021

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/hercules4sdl-crypto: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
net/hercules4sdl-crypto: new package

needed for emulators/hercules4sdl.


To generate a diff of this commit:
cvs rdiff -u -r1.836 -r1.837 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/hercules4sdl-crypto/DESCR \
    pkgsrc/security/hercules4sdl-crypto/Makefile \
    pkgsrc/security/hercules4sdl-crypto/PLIST \
    pkgsrc/security/hercules4sdl-crypto/buildlink3.mk \
    pkgsrc/security/hercules4sdl-crypto/distinfo

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

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.836 pkgsrc/security/Makefile:1.837
--- pkgsrc/security/Makefile:1.836      Tue Aug 24 10:17:40 2021
+++ pkgsrc/security/Makefile    Sat Nov  6 16:42:37 2021
@@ -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+=    hackbot
 SUBDIR+=       hashcash
 SUBDIR+=       heimdal
 SUBDIR+=       heirloom-su
+SUBDIR+=       hercules4sdl-crypto
 SUBDIR+=       hitch
 SUBDIR+=       honeyd
 SUBDIR+=       honeyd-arpd

Added files:

Index: pkgsrc/security/hercules4sdl-crypto/DESCR
diff -u /dev/null pkgsrc/security/hercules4sdl-crypto/DESCR:1.1
--- /dev/null   Sat Nov  6 16:42:37 2021
+++ pkgsrc/security/hercules4sdl-crypto/DESCR   Sat Nov  6 16:42:37 2021
@@ -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).
Index: pkgsrc/security/hercules4sdl-crypto/Makefile
diff -u /dev/null pkgsrc/security/hercules4sdl-crypto/Makefile:1.1
--- /dev/null   Sat Nov  6 16:42:37 2021
+++ pkgsrc/security/hercules4sdl-crypto/Makefile        Sat Nov  6 16:42:37 2021
@@ -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"
Index: pkgsrc/security/hercules4sdl-crypto/PLIST
diff -u /dev/null pkgsrc/security/hercules4sdl-crypto/PLIST:1.1
--- /dev/null   Sat Nov  6 16:42:37 2021
+++ pkgsrc/security/hercules4sdl-crypto/PLIST   Sat Nov  6 16:42:37 2021
@@ -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
Index: pkgsrc/security/hercules4sdl-crypto/buildlink3.mk
diff -u /dev/null pkgsrc/security/hercules4sdl-crypto/buildlink3.mk:1.1
--- /dev/null   Sat Nov  6 16:42:37 2021
+++ pkgsrc/security/hercules4sdl-crypto/buildlink3.mk   Sat Nov  6 16:42:37 2021
@@ -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
Index: pkgsrc/security/hercules4sdl-crypto/distinfo
diff -u /dev/null pkgsrc/security/hercules4sdl-crypto/distinfo:1.1
--- /dev/null   Sat Nov  6 16:42:37 2021
+++ pkgsrc/security/hercules4sdl-crypto/distinfo        Sat Nov  6 16:42:37 2021
@@ -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