Remove the following obsolete ports from ports/security

py-Rijndael is python2-only, has no consumers, and hasn't been
updated since 2009

py-crack is python2-only, has no consumers, and hasn't been updated
since 2009

py-cryptkit is python2-only, has no consumers, and hasn't been updated
since it was imported in 2002

OK sthen@
This commit is contained in:
kmos 2019-08-14 18:57:44 +00:00
parent 862bb9c31a
commit 867c1de5fe
16 changed files with 1 additions and 234 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.549 2019/07/23 19:27:40 jasper Exp $
# $OpenBSD: Makefile,v 1.550 2019/08/14 18:57:44 kmos Exp $
SUBDIR =
SUBDIR += ADMsnmp
@ -273,7 +273,6 @@
SUBDIR += py-M2Crypto,python3
SUBDIR += py-PyNaCl
SUBDIR += py-PyNaCl,python3
SUBDIR += py-Rijndael
SUBDIR += py-aes
SUBDIR += py-aes,python3
SUBDIR += py-artifacts
@ -286,8 +285,6 @@
SUBDIR += py-axolotl-curve25519,python3
SUBDIR += py-bcrypt
SUBDIR += py-bcrypt,python3
SUBDIR += py-crack
SUBDIR += py-cryptkit
SUBDIR += py-cryptodome
SUBDIR += py-cryptodome,python3
SUBDIR += py-cryptography

View File

@ -1,32 +0,0 @@
# $OpenBSD: Makefile,v 1.20 2019/07/12 20:49:34 sthen Exp $
COMMENT = Python implementation of the Rijndael encryption algorithm
MODPY_EGG_VERSION = 1.4
DISTNAME = pyrijndael-v${MODPY_EGG_VERSION:S/./_/}
PKGNAME = py-Rijndael-${MODPY_EGG_VERSION}
REVISION= 2
CATEGORIES = security devel
HOMEPAGE = http://jclement.ca/software/pyrijndael/
# BSD
PERMIT_PACKAGE = Yes
MASTER_SITES = ${HOMEPAGE}
MODULES = lang/python
WRKSRC = ${WRKDIR}/pyrijndael
do-build:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKSRC}
do-install:
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}
${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${WRKINST}${MODPY_SITEPKG}
do-test:
@cd ${WRKSRC} && ${MODPY_BIN} ./pyRijndael.py
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pyrijndael-v1_4.tar.gz) = +bvWAg8duBE2yR+wADe4sY3OYp0+HKBoTGS9/aPsjo8=
SIZE (pyrijndael-v1_4.tar.gz) = 5195

View File

@ -1,4 +0,0 @@
A pure-python implementation of the AES Rijndael Block Cipher.
Basic on Phil Fresle's VB implementation. Notice: this has not
been verified to correctly implement the Rijndael cipher. You may
want to test it yourself before using in a hostile environment.

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2003/08/29 20:34:54 sturm Exp $
lib/python${MODPY_VERSION}/site-packages/pyRijndael.py
lib/python${MODPY_VERSION}/site-packages/pyRijndael.pyc

View File

@ -1,41 +0,0 @@
# $OpenBSD: Makefile,v 1.10 2019/07/12 20:49:34 sthen Exp $
COMMENT = Python bindings for cracklib
MODPY_EGG_VERSION = 0.5.1
DISTNAME = python-crack-${MODPY_EGG_VERSION}
PKGNAME = py-crack-${MODPY_EGG_VERSION}
REVISION= 4
CATEGORIES = security devel
HOMEPAGE = http://www.nongnu.org/python-crack/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# MIT/X Consortium License
PERMIT_PACKAGE = Yes
WANTLIB += ${MODPY_WANTLIB}
WANTLIB += crack pthread
MASTER_SITES = http://download.savannah.gnu.org/releases/python-crack/
MODULES = lang/python
LIB_DEPENDS = security/cracklib
MAKE_FLAGS = CC="${CC}" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
DEFAULT_DICTPATH="${LOCALBASE}/share/cracklib/cracklib-small"
AUTOCONF_VERSION = 2.59
post-install:
find ${WRKINST} -name \*.egg-info -exec rm {} \;
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (python-crack-0.5.1.tar.gz) = MWTvBypAW1u40CN2C/edRltCV0SBiItGamalrre8A+g=
SIZE (python-crack-0.5.1.tar.gz) = 120990

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-configure_ac,v 1.1.1.1 2009/05/26 08:13:04 benoit Exp $
--- configure.ac.orig Mon Apr 10 10:30:43 2006
+++ configure.ac Tue May 26 10:05:59 2009
@@ -7,7 +7,7 @@ dnl First some basic init macros
AC_INIT
AM_MAINTAINER_MODE
-AM_INIT_AUTOMAKE(python-crack, 0.5.1)
+AM_INIT_AUTOMAKE(py-crack, 0.5.1)
AC_SUBST(DATE, [`date +"%b%e, %Y"`])
AC_CHECK_LIB([crack], [FascistCheck], [], [AC_MSG_ERROR([you need to install cracklib2 development files])])

View File

@ -1,3 +0,0 @@
This module brings to Python programs the capability of evaluating password
strength. To achieve this noble aim it uses the well known cracklib toolkit,
hence the name.

View File

@ -1,28 +0,0 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/26 08:13:04 benoit Exp $
lib/python${MODPY_VERSION}/site-packages/_crack.so
lib/python${MODPY_VERSION}/site-packages/crack.py
lib/python${MODPY_VERSION}/site-packages/crack.pyc
lib/python${MODPY_VERSION}/site-packages/crack.pyo
share/doc/py-crack/
share/doc/py-crack/README
share/doc/py-crack/checkpass.py
share/doc/py-crack/html/
share/doc/py-crack/html/about.html
share/doc/py-crack/html/contents.html
share/doc/py-crack/html/crack-api.html
share/doc/py-crack/html/crack-example.html
share/doc/py-crack/html/front.html
share/doc/py-crack/html/icons/
share/doc/py-crack/html/icons/blank.png
share/doc/py-crack/html/icons/contents.png
share/doc/py-crack/html/icons/index.png
share/doc/py-crack/html/icons/modules.png
share/doc/py-crack/html/icons/next.png
share/doc/py-crack/html/icons/previous.png
share/doc/py-crack/html/icons/up.png
share/doc/py-crack/html/index.html
share/doc/py-crack/html/manual.css
share/doc/py-crack/html/requirements.html
share/doc/py-crack/html/security.html
share/doc/py-crack/html/what.html
share/doc/py-crack/html/why.html

View File

@ -1,26 +0,0 @@
# $OpenBSD: Makefile,v 1.22 2019/07/12 20:49:34 sthen Exp $
COMMENT= Python Cryptographic Toolkit
MODPY_EGG_VERSION= 0.9
DISTNAME= cryptkit-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
REVISION= 9
CATEGORIES= security devel
HOMEPAGE= http://sourceforge.net/projects/cryptkit/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += ${MODPY_WANTLIB}
WANTLIB += pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cryptkit/}
MODULES= lang/python
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (cryptkit-0.9.tar.gz) = FjWa+X0278HtSJuVll/S0DWEP2Aahf5mrA/KieMk6Tk=
SIZE (cryptkit-0.9.tar.gz) = 103627

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-ecc_src_onb_integer_c,v 1.1 2009/03/25 20:14:23 jasper Exp $
Fix potential 64-bit issue due to missing header.
--- ecc/src/onb_integer.c.orig Wed Mar 25 21:11:34 2009
+++ ecc/src/onb_integer.c Wed Mar 25 21:11:57 2009
@@ -21,6 +21,7 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "bigint.h"
#include "eliptic.h"

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-sha256_src_sha2_c,v 1.1 2009/03/25 20:14:23 jasper Exp $
Fix potential 64-bit issue due to missing header.
--- sha256/src/sha2.c.orig Wed Mar 25 21:12:12 2009
+++ sha256/src/sha2.c Wed Mar 25 21:12:28 2009
@@ -37,6 +37,7 @@
*/
+#include <stdlib.h>
#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */
#include <assert.h> /* assert() */
#include "sha2.h"

View File

@ -1,15 +0,0 @@
CryptKit is a developer's toolkit implementing several of the most
modern and efficient cryptographic algorithms. The kit is primarily
written in ANSI C for speed and subsequently wrapped with SWIG for
ease of use in Python.
CryptKit is small and fast, mainly because it implements excellent
algorithms: Rijndael (AES), SHA 256 bits, Elliptic Curve PKI,
Diffie-Hellman key exchange and Nyberg-Ruppel signature/verification.
These modules are combined to provide a faster, lighter and easier
to use secure socket alternative to SSL. CryptKit is not compatible
with SSL. Whereas SSL aims to support a wide variety of algorithms
that essentially perform the same task ( like DES/RC4/RC2 or MD5/SHA
), CryptKit takes the minimalist approach of implementing only one
version of each crypto primitive. Great care went into selecting the
best of what was available.

View File

@ -1,32 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2009/05/23 15:07:25 benoit Exp $
lib/python${MODPY_VERSION}/site-packages/aes/
lib/python${MODPY_VERSION}/site-packages/aes/__init__.py
lib/python${MODPY_VERSION}/site-packages/aes/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/aes/aes.py
lib/python${MODPY_VERSION}/site-packages/aes/aes.pyc
lib/python${MODPY_VERSION}/site-packages/cryptkit-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/cryptsock/
lib/python${MODPY_VERSION}/site-packages/cryptsock/__init__.py
lib/python${MODPY_VERSION}/site-packages/cryptsock/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/cryptsock/cryptsock.py
lib/python${MODPY_VERSION}/site-packages/cryptsock/cryptsock.pyc
lib/python${MODPY_VERSION}/site-packages/ecc/
lib/python${MODPY_VERSION}/site-packages/ecc/__init__.py
lib/python${MODPY_VERSION}/site-packages/ecc/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/ecc/ecc.py
lib/python${MODPY_VERSION}/site-packages/ecc/ecc.pyc
lib/python${MODPY_VERSION}/site-packages/ecc/elliptic.py
lib/python${MODPY_VERSION}/site-packages/ecc/elliptic.pyc
lib/python${MODPY_VERSION}/site-packages/ellipticc.so
lib/python${MODPY_VERSION}/site-packages/entropy/
lib/python${MODPY_VERSION}/site-packages/entropy/__init__.py
lib/python${MODPY_VERSION}/site-packages/entropy/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/entropy/entropy.py
lib/python${MODPY_VERSION}/site-packages/entropy/entropy.pyc
lib/python${MODPY_VERSION}/site-packages/rijndaelc.so
lib/python${MODPY_VERSION}/site-packages/sha256/
lib/python${MODPY_VERSION}/site-packages/sha256/__init__.py
lib/python${MODPY_VERSION}/site-packages/sha256/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/sha256/sha256.py
lib/python${MODPY_VERSION}/site-packages/sha256/sha256.pyc
lib/python${MODPY_VERSION}/site-packages/sha256c.so